Skip to content

Commit

Permalink
chore(deps): bump tar from 6.2.1 to 7.0.1 (#2155)
Browse files Browse the repository at this point in the history
* chore(deps): bump tar from 6.2.1 to 7.0.1

Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.1 to 7.0.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.1...v7.0.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update tar import

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
  • Loading branch information
dependabot[bot] and sweatybridge authored Apr 17, 2024
1 parent 5a07d37 commit e0d0f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"bin-links": "^4.0.3",
"https-proxy-agent": "^7.0.2",
"node-fetch": "^3.3.2",
"tar": "6.2.1"
"tar": "7.0.1"
},
"release": {
"branches": [
Expand Down
4 changes: 2 additions & 2 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import fetch from "node-fetch";
import { Agent } from "https";
import { HttpsProxyAgent } from "https-proxy-agent";
import path from "path";
import tar from "tar";
import { extract } from "tar";
import zlib from "zlib";

// Mapping from Node's `process.arch` to Golang's `$GOARCH`
Expand Down Expand Up @@ -111,7 +111,7 @@ async function main() {
// First we will Un-GZip, then we will untar.
const ungz = zlib.createGunzip();
const binName = path.basename(binPath);
const untar = tar.x({ cwd: binDir }, [binName]);
const untar = extract({ cwd: binDir }, [binName]);

const url = getDownloadUrl(pkg);
console.info("Downloading", url);
Expand Down

0 comments on commit e0d0f70

Please sign in to comment.