Skip to content

Commit

Permalink
chore(deps): bump the production group across 1 directory with 2 upda…
Browse files Browse the repository at this point in the history
…tes (#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]>
  • Loading branch information
dependabot[bot] and mcous authored Jul 6, 2024
1 parent 6894fd7 commit 76c32bc
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 76 deletions.
21 changes: 11 additions & 10 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/main.js.map

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
},
"dependencies": {
"@types/semver": "^7.5.2",
"command-line-args": "5.2.1",
"command-line-args": "6.0.0",
"semver": "7.6.2",
"tar": "7.2.0",
"tar": "7.4.0",
"validate-npm-package-name": "^5.0.1"
}
}
4 changes: 2 additions & 2 deletions src/read-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ const readPackageJson = async (...pathSegments: string[]): Promise<string> => {

const readTarballPackageJson = async (file: string): Promise<string> => {
const data: Buffer[] = [];
const onentry = (entry: ReadEntry) => {
const onReadEntry = (entry: ReadEntry) => {
if (entry.path === "package/package.json") {
entry.on("data", (chunk) => data.push(chunk));
}
};

try {
await tarList({ file, onentry });
await tarList({ file, onReadEntry });

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

0 comments on commit 76c32bc

Please sign in to comment.