npm-pkgbuild 14.2.5 → 14.2.7
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 +4 -4
- package/src/util.mjs +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -53,19 +53,19 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@npmcli/arborist": "^7.4.0",
|
|
55
55
|
"@vercel/nft": "^0.26.4",
|
|
56
|
-
"aggregate-async-iterator": "^1.2.
|
|
56
|
+
"aggregate-async-iterator": "^1.2.1",
|
|
57
57
|
"commander": "^12.0.0",
|
|
58
58
|
"compare-versions": "^6.1.0",
|
|
59
59
|
"content-entry": "^10.0.1",
|
|
60
60
|
"content-entry-filesystem": "^6.0.0",
|
|
61
61
|
"content-entry-transform": "^1.4.29",
|
|
62
62
|
"execa": "^8.0.1",
|
|
63
|
-
"expression-expander": "^7.2.
|
|
63
|
+
"expression-expander": "^7.2.3",
|
|
64
64
|
"globby": "^14.0.1",
|
|
65
65
|
"ini": "^4.1.2",
|
|
66
66
|
"iterable-string-interceptor": "^3.0.0",
|
|
67
67
|
"key-value-transformer": "^3.2.3",
|
|
68
|
-
"npm-package-walker": "^7.0.
|
|
68
|
+
"npm-package-walker": "^7.0.1",
|
|
69
69
|
"npm-packlist": "^8.0.2",
|
|
70
70
|
"pacote": "^17.0.6",
|
|
71
71
|
"pkg-dir": "^8.0.0",
|
package/src/util.mjs
CHANGED
|
@@ -190,12 +190,14 @@ export async function* copyEntries(
|
|
|
190
190
|
expander = v => v
|
|
191
191
|
) {
|
|
192
192
|
for await (const entry of source) {
|
|
193
|
+
// @ts-ignore
|
|
193
194
|
const d = entry.destination;
|
|
194
195
|
|
|
195
196
|
const name = expander(
|
|
196
197
|
d === undefined ? entry.name : d.endsWith("/") ? join(d, entry.name) : d
|
|
197
198
|
).replace(/^\//, "");
|
|
198
199
|
|
|
200
|
+
// @ts-ignore
|
|
199
201
|
entry.destination = name;
|
|
200
202
|
const destination = join(destinationDirectory, name);
|
|
201
203
|
await mkdir(dirname(destination), { recursive: true });
|