supabase 1.159.4 → 1.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/scripts/postinstall.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supabase",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.161.0",
|
|
4
4
|
"description": "Supabase CLI",
|
|
5
5
|
"repository": "supabase/cli",
|
|
6
6
|
"homepage": "https://supabase.com/docs/reference/cli",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bin-links": "^4.0.3",
|
|
25
25
|
"https-proxy-agent": "^7.0.2",
|
|
26
26
|
"node-fetch": "^3.3.2",
|
|
27
|
-
"tar": "
|
|
27
|
+
"tar": "7.0.1"
|
|
28
28
|
},
|
|
29
29
|
"release": {
|
|
30
30
|
"branches": [
|
package/scripts/postinstall.js
CHANGED
|
@@ -11,7 +11,7 @@ import fetch from "node-fetch";
|
|
|
11
11
|
import { Agent } from "https";
|
|
12
12
|
import { HttpsProxyAgent } from "https-proxy-agent";
|
|
13
13
|
import path from "path";
|
|
14
|
-
import
|
|
14
|
+
import { extract } from "tar";
|
|
15
15
|
import zlib from "zlib";
|
|
16
16
|
|
|
17
17
|
// Mapping from Node's `process.arch` to Golang's `$GOARCH`
|
|
@@ -111,7 +111,7 @@ async function main() {
|
|
|
111
111
|
// First we will Un-GZip, then we will untar.
|
|
112
112
|
const ungz = zlib.createGunzip();
|
|
113
113
|
const binName = path.basename(binPath);
|
|
114
|
-
const untar =
|
|
114
|
+
const untar = extract({ cwd: binDir }, [binName]);
|
|
115
115
|
|
|
116
116
|
const url = getDownloadUrl(pkg);
|
|
117
117
|
console.info("Downloading", url);
|