@vltpkg/package-info 1.4.0 → 1.6.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/dist/index.js +2 -2
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -643,7 +643,7 @@ export class PackageInfoClient {
|
|
|
643
643
|
r.integrity = found;
|
|
644
644
|
const buf = response.buffer();
|
|
645
645
|
try {
|
|
646
|
-
await (await this.getTarPool()).unpack(buf, target);
|
|
646
|
+
await (await this.getTarPool()).unpack(buf, target, tarballFormat(r.resolved));
|
|
647
647
|
}
|
|
648
648
|
catch (er) {
|
|
649
649
|
throw this.#resolveError(spec, options, 'remote tar unpack failed', { cause: er });
|
|
@@ -1179,7 +1179,7 @@ export class PackageInfoClient {
|
|
|
1179
1179
|
// fetches again and records
|
|
1180
1180
|
const integrity = storedIntegrity(response);
|
|
1181
1181
|
try {
|
|
1182
|
-
await (await this.getTarPool()).unpack(buf, dir);
|
|
1182
|
+
await (await this.getTarPool()).unpack(buf, dir, tarballFormat(remoteURL));
|
|
1183
1183
|
}
|
|
1184
1184
|
catch (er) {
|
|
1185
1185
|
throw this.#resolveError(s, options, 'tar unpack failed', { cause: er });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vltpkg/package-info",
|
|
3
3
|
"description": "Resolve and fetch package metadata and tarballs",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/vltpkg/vltpkg.git",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"url": "http://vlt.sh"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vltpkg/error-cause": "1.
|
|
17
|
-
"@vltpkg/git": "1.
|
|
18
|
-
"@vltpkg/output": "1.
|
|
19
|
-
"@vltpkg/package-json": "1.
|
|
20
|
-
"@vltpkg/pick-manifest": "1.
|
|
21
|
-
"@vltpkg/registry-client": "1.
|
|
22
|
-
"@vltpkg/spec": "1.
|
|
23
|
-
"@vltpkg/tar": "1.
|
|
24
|
-
"@vltpkg/types": "1.
|
|
25
|
-
"@vltpkg/workspaces": "1.
|
|
26
|
-
"@vltpkg/xdg": "1.
|
|
16
|
+
"@vltpkg/error-cause": "1.6.0",
|
|
17
|
+
"@vltpkg/git": "1.6.0",
|
|
18
|
+
"@vltpkg/output": "1.6.0",
|
|
19
|
+
"@vltpkg/package-json": "1.6.0",
|
|
20
|
+
"@vltpkg/pick-manifest": "1.6.0",
|
|
21
|
+
"@vltpkg/registry-client": "1.6.0",
|
|
22
|
+
"@vltpkg/spec": "1.6.0",
|
|
23
|
+
"@vltpkg/tar": "1.6.0",
|
|
24
|
+
"@vltpkg/types": "1.6.0",
|
|
25
|
+
"@vltpkg/workspaces": "1.6.0",
|
|
26
|
+
"@vltpkg/xdg": "1.6.0",
|
|
27
27
|
"tar": "^7.5.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@types/node": "^22.19.2",
|
|
32
32
|
"@types/pacote": "^11.1.8",
|
|
33
33
|
"@vltpkg/benchmark": "0.0.0",
|
|
34
|
-
"@vltpkg/cache-unzip": "1.
|
|
35
|
-
"@vltpkg/vlt-json": "1.
|
|
34
|
+
"@vltpkg/cache-unzip": "1.6.0",
|
|
35
|
+
"@vltpkg/vlt-json": "1.6.0",
|
|
36
36
|
"eslint": "^9.39.1",
|
|
37
37
|
"pacote": "^21.0.4",
|
|
38
38
|
"prettier": "^3.7.4",
|