Skip to content

Commit 76c32bc

Browse files
chore(deps): bump the production group across 1 directory with 2 updates (#206)
* chore(deps): bump the production group across 1 directory with 2 updates Bumps the production group with 2 updates in the / directory: [command-line-args](https://github.com/75lb/command-line-args) and [tar](https://github.com/isaacs/node-tar). Updates `command-line-args` from 5.2.1 to 6.0.0 - [Release notes](https://github.com/75lb/command-line-args/releases) - [Commits](75lb/command-line-args@v5.2.1...v6.0.0) Updates `tar` from 7.2.0 to 7.4.0 - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v7.2.0...v7.4.0) --- updated-dependencies: - dependency-name: command-line-args dependency-type: direct:production update-type: version-update:semver-major dependency-group: production - dependency-name: tar dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Michael Cousins <[email protected]>
1 parent 6894fd7 commit 76c32bc

File tree

5 files changed

+77
-76
lines changed

5 files changed

+77
-76
lines changed

dist/main.js

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+60-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
},
8080
"dependencies": {
8181
"@types/semver": "^7.5.2",
82-
"command-line-args": "5.2.1",
82+
"command-line-args": "6.0.0",
8383
"semver": "7.6.2",
84-
"tar": "7.2.0",
84+
"tar": "7.4.0",
8585
"validate-npm-package-name": "^5.0.1"
8686
}
8787
}

src/read-manifest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ const readPackageJson = async (...pathSegments: string[]): Promise<string> => {
6060

6161
const readTarballPackageJson = async (file: string): Promise<string> => {
6262
const data: Buffer[] = [];
63-
const onentry = (entry: ReadEntry) => {
63+
const onReadEntry = (entry: ReadEntry) => {
6464
if (entry.path === "package/package.json") {
6565
entry.on("data", (chunk) => data.push(chunk));
6666
}
6767
};
6868

6969
try {
70-
await tarList({ file, onentry });
70+
await tarList({ file, onReadEntry });
7171

7272
if (data.length === 0) {
7373
throw new Error("package.json not found inside archive");

0 commit comments

Comments
 (0)