pnpm 10.20.0 → 10.22.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/node_modules/.modules.yaml +13 -11
- package/dist/node_modules/.pnpm/lock.yaml +13 -13
- package/dist/node_modules/.pnpm-workspace-state-v1.json +1 -1
- package/dist/node_modules/cross-spawn/node_modules/isexe/package.json +31 -0
- package/dist/node_modules/cross-spawn/node_modules/which/package.json +43 -0
- package/dist/node_modules/ip-address/dist/ipv4.d.ts.map +1 -1
- package/dist/node_modules/ip-address/dist/ipv4.js +33 -0
- package/dist/node_modules/ip-address/dist/ipv4.js.map +1 -1
- package/dist/node_modules/ip-address/package.json +1 -1
- package/dist/node_modules/isexe/LICENSE +1 -1
- package/dist/node_modules/isexe/package.json +79 -14
- package/dist/node_modules/minipass-flush/node_modules/yallist/package.json +29 -0
- package/dist/node_modules/{node-gyp/node_modules/isexe → minipass-pipeline/node_modules/yallist}/LICENSE +1 -1
- package/dist/node_modules/minipass-pipeline/node_modules/yallist/iterator.js +8 -0
- package/dist/node_modules/minipass-pipeline/node_modules/yallist/package.json +29 -0
- package/dist/node_modules/minipass-pipeline/node_modules/yallist/yallist.js +426 -0
- package/dist/node_modules/minipass-sized/node_modules/yallist/LICENSE +15 -0
- package/dist/node_modules/minipass-sized/node_modules/yallist/iterator.js +8 -0
- package/dist/node_modules/minipass-sized/node_modules/yallist/package.json +29 -0
- package/dist/node_modules/minipass-sized/node_modules/yallist/yallist.js +426 -0
- package/dist/node_modules/p-map/index.js +7 -5
- package/dist/node_modules/p-map/package.json +1 -1
- package/dist/node_modules/tar/dist/commonjs/header.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/header.js +21 -12
- package/dist/node_modules/tar/dist/commonjs/header.js.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/list.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/list.js +4 -2
- package/dist/node_modules/tar/dist/commonjs/list.js.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/mkdir.js.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/options.js.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/pack.js +4 -1
- package/dist/node_modules/tar/dist/commonjs/pack.js.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/commonjs/parse.js +2 -4
- package/dist/node_modules/tar/dist/commonjs/parse.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/header.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/esm/header.js +21 -12
- package/dist/node_modules/tar/dist/esm/header.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/list.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/esm/list.js +4 -2
- package/dist/node_modules/tar/dist/esm/list.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/esm/mkdir.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/options.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/pack.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/esm/pack.js +4 -1
- package/dist/node_modules/tar/dist/esm/pack.js.map +1 -1
- package/dist/node_modules/tar/dist/esm/parse.d.ts.map +1 -1
- package/dist/node_modules/tar/dist/esm/parse.js +2 -4
- package/dist/node_modules/tar/dist/esm/parse.js.map +1 -1
- package/dist/node_modules/tar/package.json +2 -2
- package/dist/node_modules/which/package.json +29 -20
- package/dist/node_modules/yallist/package.json +51 -12
- package/dist/pnpm.cjs +16828 -18917
- package/dist/worker.js +28 -145
- package/package.json +1 -1
- package/dist/node_modules/node-gyp/node_modules/isexe/package.json +0 -96
- package/dist/node_modules/node-gyp/node_modules/which/package.json +0 -52
- package/dist/node_modules/tar/node_modules/yallist/package.json +0 -68
- /package/dist/node_modules/{node-gyp/node_modules/which → cross-spawn/node_modules/isexe}/LICENSE +0 -0
- /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/index.js +0 -0
- /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/mode.js +0 -0
- /package/dist/node_modules/{isexe → cross-spawn/node_modules/isexe}/windows.js +0 -0
- /package/dist/node_modules/{tar → cross-spawn/node_modules/which}/LICENSE +0 -0
- /package/dist/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
- /package/dist/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
- /package/dist/node_modules/{yallist → minipass-flush/node_modules/yallist}/LICENSE +0 -0
- /package/dist/node_modules/{yallist → minipass-flush/node_modules/yallist}/iterator.js +0 -0
- /package/dist/node_modules/{yallist → minipass-flush/node_modules/yallist}/yallist.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/which → which}/bin/which.js +0 -0
- /package/dist/node_modules/{node-gyp/node_modules/which → which}/lib/index.js +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts.map +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js.map +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/package.json +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts.map +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js.map +0 -0
- /package/dist/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/package.json +0 -0
|
@@ -76,14 +76,14 @@ hoistedLocations:
|
|
|
76
76
|
- node_modules/iconv-lite
|
|
77
77
|
imurmurhash@0.1.4:
|
|
78
78
|
- node_modules/imurmurhash
|
|
79
|
-
ip-address@10.0
|
|
79
|
+
ip-address@10.1.0:
|
|
80
80
|
- node_modules/ip-address
|
|
81
81
|
is-fullwidth-code-point@3.0.0:
|
|
82
82
|
- node_modules/is-fullwidth-code-point
|
|
83
83
|
isexe@2.0.0:
|
|
84
|
-
- node_modules/isexe
|
|
84
|
+
- node_modules/cross-spawn/node_modules/isexe
|
|
85
85
|
isexe@3.1.1:
|
|
86
|
-
- node_modules/
|
|
86
|
+
- node_modules/isexe
|
|
87
87
|
jackspeak@3.4.3:
|
|
88
88
|
- node_modules/jackspeak
|
|
89
89
|
lru-cache@10.4.3:
|
|
@@ -103,8 +103,8 @@ hoistedLocations:
|
|
|
103
103
|
minipass-sized@1.0.3:
|
|
104
104
|
- node_modules/minipass-sized
|
|
105
105
|
minipass@3.3.6:
|
|
106
|
-
- node_modules/minipass-flush/node_modules/minipass
|
|
107
106
|
- node_modules/minipass-pipeline/node_modules/minipass
|
|
107
|
+
- node_modules/minipass-flush/node_modules/minipass
|
|
108
108
|
- node_modules/minipass-sized/node_modules/minipass
|
|
109
109
|
minipass@7.1.2:
|
|
110
110
|
- node_modules/minipass
|
|
@@ -118,7 +118,7 @@ hoistedLocations:
|
|
|
118
118
|
- node_modules/node-gyp
|
|
119
119
|
nopt@8.1.0:
|
|
120
120
|
- node_modules/nopt
|
|
121
|
-
p-map@7.0.
|
|
121
|
+
p-map@7.0.4:
|
|
122
122
|
- node_modules/p-map
|
|
123
123
|
package-json-from-dist@1.0.1:
|
|
124
124
|
- node_modules/package-json-from-dist
|
|
@@ -163,7 +163,7 @@ hoistedLocations:
|
|
|
163
163
|
- node_modules/strip-ansi-cjs
|
|
164
164
|
strip-ansi@7.1.2:
|
|
165
165
|
- node_modules/strip-ansi
|
|
166
|
-
tar@7.5.
|
|
166
|
+
tar@7.5.2:
|
|
167
167
|
- node_modules/tar
|
|
168
168
|
tinyglobby@0.2.15:
|
|
169
169
|
- node_modules/tinyglobby
|
|
@@ -174,17 +174,19 @@ hoistedLocations:
|
|
|
174
174
|
v8-compile-cache@2.4.0:
|
|
175
175
|
- node_modules/v8-compile-cache
|
|
176
176
|
which@2.0.2:
|
|
177
|
-
- node_modules/which
|
|
177
|
+
- node_modules/cross-spawn/node_modules/which
|
|
178
178
|
which@5.0.0:
|
|
179
|
-
- node_modules/
|
|
179
|
+
- node_modules/which
|
|
180
180
|
wrap-ansi@7.0.0:
|
|
181
181
|
- node_modules/wrap-ansi-cjs
|
|
182
182
|
wrap-ansi@8.1.0:
|
|
183
183
|
- node_modules/wrap-ansi
|
|
184
184
|
yallist@4.0.0:
|
|
185
|
-
- node_modules/yallist
|
|
185
|
+
- node_modules/minipass-pipeline/node_modules/yallist
|
|
186
|
+
- node_modules/minipass-flush/node_modules/yallist
|
|
187
|
+
- node_modules/minipass-sized/node_modules/yallist
|
|
186
188
|
yallist@5.0.0:
|
|
187
|
-
- node_modules/
|
|
189
|
+
- node_modules/yallist
|
|
188
190
|
included:
|
|
189
191
|
dependencies: true
|
|
190
192
|
devDependencies: true
|
|
@@ -194,7 +196,7 @@ layoutVersion: 5
|
|
|
194
196
|
nodeLinker: hoisted
|
|
195
197
|
packageManager: pnpm@10.19.0
|
|
196
198
|
pendingBuilds: []
|
|
197
|
-
prunedAt:
|
|
199
|
+
prunedAt: Wed, 12 Nov 2025 13:49:26 GMT
|
|
198
200
|
publicHoistPattern: []
|
|
199
201
|
registries:
|
|
200
202
|
'@jsr': https://npm.jsr.io/
|
|
@@ -191,8 +191,8 @@ packages:
|
|
|
191
191
|
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
|
|
192
192
|
engines: {node: '>=0.8.19'}
|
|
193
193
|
|
|
194
|
-
ip-address@10.0
|
|
195
|
-
resolution: {integrity: sha512-
|
|
194
|
+
ip-address@10.1.0:
|
|
195
|
+
resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==}
|
|
196
196
|
engines: {node: '>= 12'}
|
|
197
197
|
|
|
198
198
|
is-fullwidth-code-point@3.0.0:
|
|
@@ -269,8 +269,8 @@ packages:
|
|
|
269
269
|
engines: {node: ^18.17.0 || >=20.5.0}
|
|
270
270
|
hasBin: true
|
|
271
271
|
|
|
272
|
-
p-map@7.0.
|
|
273
|
-
resolution: {integrity: sha512-
|
|
272
|
+
p-map@7.0.4:
|
|
273
|
+
resolution: {integrity: sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==}
|
|
274
274
|
engines: {node: '>=18'}
|
|
275
275
|
|
|
276
276
|
package-json-from-dist@1.0.1:
|
|
@@ -352,8 +352,8 @@ packages:
|
|
|
352
352
|
resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==}
|
|
353
353
|
engines: {node: '>=12'}
|
|
354
354
|
|
|
355
|
-
tar@7.5.
|
|
356
|
-
resolution: {integrity: sha512-
|
|
355
|
+
tar@7.5.2:
|
|
356
|
+
resolution: {integrity: sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==}
|
|
357
357
|
engines: {node: '>=18'}
|
|
358
358
|
|
|
359
359
|
tinyglobby@0.2.15:
|
|
@@ -470,9 +470,9 @@ snapshots:
|
|
|
470
470
|
minipass-collect: 2.0.1
|
|
471
471
|
minipass-flush: 1.0.5
|
|
472
472
|
minipass-pipeline: 1.2.4
|
|
473
|
-
p-map: 7.0.
|
|
473
|
+
p-map: 7.0.4
|
|
474
474
|
ssri: 12.0.0
|
|
475
|
-
tar: 7.5.
|
|
475
|
+
tar: 7.5.2
|
|
476
476
|
unique-filename: 4.0.0
|
|
477
477
|
optional: true
|
|
478
478
|
|
|
@@ -578,7 +578,7 @@ snapshots:
|
|
|
578
578
|
imurmurhash@0.1.4:
|
|
579
579
|
optional: true
|
|
580
580
|
|
|
581
|
-
ip-address@10.0
|
|
581
|
+
ip-address@10.1.0:
|
|
582
582
|
optional: true
|
|
583
583
|
|
|
584
584
|
is-fullwidth-code-point@3.0.0:
|
|
@@ -679,7 +679,7 @@ snapshots:
|
|
|
679
679
|
nopt: 8.1.0
|
|
680
680
|
proc-log: 5.0.0
|
|
681
681
|
semver: 7.7.3
|
|
682
|
-
tar: 7.5.
|
|
682
|
+
tar: 7.5.2
|
|
683
683
|
tinyglobby: 0.2.15
|
|
684
684
|
which: 5.0.0
|
|
685
685
|
transitivePeerDependencies:
|
|
@@ -691,7 +691,7 @@ snapshots:
|
|
|
691
691
|
abbrev: 3.0.1
|
|
692
692
|
optional: true
|
|
693
693
|
|
|
694
|
-
p-map@7.0.
|
|
694
|
+
p-map@7.0.4:
|
|
695
695
|
optional: true
|
|
696
696
|
|
|
697
697
|
package-json-from-dist@1.0.1:
|
|
@@ -752,7 +752,7 @@ snapshots:
|
|
|
752
752
|
|
|
753
753
|
socks@2.8.7:
|
|
754
754
|
dependencies:
|
|
755
|
-
ip-address: 10.0
|
|
755
|
+
ip-address: 10.1.0
|
|
756
756
|
smart-buffer: 4.2.0
|
|
757
757
|
optional: true
|
|
758
758
|
|
|
@@ -785,7 +785,7 @@ snapshots:
|
|
|
785
785
|
ansi-regex: 6.2.2
|
|
786
786
|
optional: true
|
|
787
787
|
|
|
788
|
-
tar@7.5.
|
|
788
|
+
tar@7.5.2:
|
|
789
789
|
dependencies:
|
|
790
790
|
'@isaacs/fs-minipass': 4.0.1
|
|
791
791
|
chownr: 3.0.0
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "isexe",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Minimal module to check if a file is executable.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"mkdirp": "^0.5.1",
|
|
11
|
+
"rimraf": "^2.5.0",
|
|
12
|
+
"tap": "^10.3.0"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"test": "tap test/*.js --100",
|
|
16
|
+
"preversion": "npm test",
|
|
17
|
+
"postversion": "npm publish",
|
|
18
|
+
"postpublish": "git push origin --all; git push origin --tags"
|
|
19
|
+
},
|
|
20
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/isaacs/isexe.git"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [],
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/isaacs/isexe/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/isaacs/isexe#readme"
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
|
|
3
|
+
"name": "which",
|
|
4
|
+
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
|
|
5
|
+
"version": "2.0.2",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git://github.com/isaacs/node-which.git"
|
|
9
|
+
},
|
|
10
|
+
"main": "which.js",
|
|
11
|
+
"bin": {
|
|
12
|
+
"node-which": "./bin/node-which"
|
|
13
|
+
},
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"isexe": "^2.0.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"mkdirp": "^0.5.0",
|
|
20
|
+
"rimraf": "^2.6.2",
|
|
21
|
+
"tap": "^14.6.9"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"test": "tap",
|
|
25
|
+
"preversion": "npm test",
|
|
26
|
+
"postversion": "npm publish",
|
|
27
|
+
"prepublish": "npm run changelog",
|
|
28
|
+
"prechangelog": "bash gen-changelog.sh",
|
|
29
|
+
"changelog": "git add CHANGELOG.md",
|
|
30
|
+
"postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
|
|
31
|
+
"postpublish": "git push origin --follow-tags"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"which.js",
|
|
35
|
+
"bin/node-which"
|
|
36
|
+
],
|
|
37
|
+
"tap": {
|
|
38
|
+
"check-coverage": true
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">= 8"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipv4.d.ts","sourceRoot":"","sources":["../src/ipv4.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAInC;;;;GAIG;AACH,qBAAa,QAAQ;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAoB;IAClC,aAA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IAInB;;;;;OAKG;IACH,QAAQ,IAAI,MAAM;IAelB;;;;;OAKG;IACH,MAAM,IAAI,MAAM;IAIhB;;;;;OAKG;IACH,aAAa,IAAI,MAAM;IAIvB;;;;;;OAMG;IACH,YAAY,IAAI,QAAQ;IAIxB;;;;;;OAMG;IACH,qBAAqB,IAAI,QAAQ;IAKjC;;;;;OAKG;IACH,WAAW,IAAI,MAAM;IAIrB;;;;;;OAMG;IACH,UAAU,IAAI,QAAQ;IAItB;;;;;;OAMG;IACH,mBAAmB,IAAI,QAAQ;IAK/B;;;;;;OAMG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ;IAI3C;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,QAAQ;IAepD;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,QAAQ;IAS5D;;;;;;OAMG;IACH,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM;IAQ3B;;;;;OAKG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAIhD;;;;;;;OAOG;IACH,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,MAAM;IAcxD;;;;;OAKG;IACH,UAAU,2BAAqB;IAE/B;;;;;OAKG;IACH,WAAW,IAAI,OAAO;IAItB;;;;;OAKG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,UAAU,IAAI,MAAM;CAYrB"}
|
|
@@ -252,6 +252,39 @@ class Address4 {
|
|
|
252
252
|
static fromBigInt(bigInt) {
|
|
253
253
|
return Address4.fromHex(bigInt.toString(16));
|
|
254
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Convert a byte array to an Address4 object
|
|
257
|
+
* @memberof Address4
|
|
258
|
+
* @static
|
|
259
|
+
* @param {Array<number>} bytes - an array of 4 bytes (0-255)
|
|
260
|
+
* @returns {Address4}
|
|
261
|
+
*/
|
|
262
|
+
static fromByteArray(bytes) {
|
|
263
|
+
if (bytes.length !== 4) {
|
|
264
|
+
throw new address_error_1.AddressError('IPv4 addresses require exactly 4 bytes');
|
|
265
|
+
}
|
|
266
|
+
// Validate that all bytes are within valid range (0-255)
|
|
267
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
268
|
+
if (!Number.isInteger(bytes[i]) || bytes[i] < 0 || bytes[i] > 255) {
|
|
269
|
+
throw new address_error_1.AddressError('All bytes must be integers between 0 and 255');
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
return this.fromUnsignedByteArray(bytes);
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Convert an unsigned byte array to an Address4 object
|
|
276
|
+
* @memberof Address4
|
|
277
|
+
* @static
|
|
278
|
+
* @param {Array<number>} bytes - an array of 4 unsigned bytes (0-255)
|
|
279
|
+
* @returns {Address4}
|
|
280
|
+
*/
|
|
281
|
+
static fromUnsignedByteArray(bytes) {
|
|
282
|
+
if (bytes.length !== 4) {
|
|
283
|
+
throw new address_error_1.AddressError('IPv4 addresses require exactly 4 bytes');
|
|
284
|
+
}
|
|
285
|
+
const address = bytes.join('.');
|
|
286
|
+
return new Address4(address);
|
|
287
|
+
}
|
|
255
288
|
/**
|
|
256
289
|
* Returns the first n bits of the address, defaulting to the
|
|
257
290
|
* subnet mask
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipv4.js","sourceRoot":"","sources":["../src/ipv4.ts"],"names":[],"mappings":";AAAA,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtC,iDAAmC;AACnC,0DAA4C;AAC5C,mDAA+C;AAE/C;;;;GAIG;AACH,MAAa,QAAQ;IAUnB,YAAY,OAAe;QAP3B,WAAM,GAAW,SAAS,CAAC,MAAM,CAAC;QAClC,kBAAa,GAAa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E,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACH,UAAU;QACR,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC;QAEpC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CACzB,SAAS,CAAC,UAAU,EACpB,8CAA8C,QAAQ;aACnD,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;aACX,IAAI,CAAC,GAAG,CAAC,sDAAsD,QAAQ;aACvE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;aACX,IAAI,CAAC,GAAG,CAAC,SAAS,CACtB,CAAC;IACJ,CAAC;CACF;AA9XD,4BA8XC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The ISC License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
3
|
+
Copyright (c) 2016-2022 Isaac Z. Schlueter and Contributors
|
|
4
4
|
|
|
5
5
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
6
|
purpose with or without fee is hereby granted, provided that the above
|
|
@@ -1,31 +1,96 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isexe",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Minimal module to check if a file is executable.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"
|
|
7
|
-
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
|
+
"module": "./dist/mjs/index.js",
|
|
7
|
+
"types": "./dist/cjs/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./dist/mjs/index.d.ts",
|
|
15
|
+
"default": "./dist/mjs/index.js"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/cjs/index.d.ts",
|
|
19
|
+
"default": "./dist/cjs/index.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"./posix": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/mjs/posix.d.ts",
|
|
25
|
+
"default": "./dist/mjs/posix.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./dist/cjs/posix.d.ts",
|
|
29
|
+
"default": "./dist/cjs/posix.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"./win32": {
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/mjs/win32.d.ts",
|
|
35
|
+
"default": "./dist/mjs/win32.js"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/cjs/win32.d.ts",
|
|
39
|
+
"default": "./dist/cjs/win32.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"./package.json": "./package.json"
|
|
8
43
|
},
|
|
9
44
|
"devDependencies": {
|
|
45
|
+
"@types/node": "^20.4.5",
|
|
46
|
+
"@types/tap": "^15.0.8",
|
|
47
|
+
"c8": "^8.0.1",
|
|
10
48
|
"mkdirp": "^0.5.1",
|
|
49
|
+
"prettier": "^2.8.8",
|
|
11
50
|
"rimraf": "^2.5.0",
|
|
12
|
-
"
|
|
51
|
+
"sync-content": "^1.0.2",
|
|
52
|
+
"tap": "^16.3.8",
|
|
53
|
+
"ts-node": "^10.9.1",
|
|
54
|
+
"typedoc": "^0.24.8",
|
|
55
|
+
"typescript": "^5.1.6"
|
|
13
56
|
},
|
|
14
57
|
"scripts": {
|
|
15
|
-
"test": "tap test/*.js --100",
|
|
16
58
|
"preversion": "npm test",
|
|
17
59
|
"postversion": "npm publish",
|
|
18
|
-
"
|
|
60
|
+
"prepublishOnly": "git push origin --follow-tags",
|
|
61
|
+
"prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash ./scripts/fixup.sh",
|
|
62
|
+
"pretest": "npm run prepare",
|
|
63
|
+
"presnap": "npm run prepare",
|
|
64
|
+
"test": "c8 tap",
|
|
65
|
+
"snap": "c8 tap",
|
|
66
|
+
"format": "prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache",
|
|
67
|
+
"typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts"
|
|
19
68
|
},
|
|
20
69
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
21
70
|
"license": "ISC",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
71
|
+
"tap": {
|
|
72
|
+
"coverage": false,
|
|
73
|
+
"node-arg": [
|
|
74
|
+
"--enable-source-maps",
|
|
75
|
+
"--no-warnings",
|
|
76
|
+
"--loader",
|
|
77
|
+
"ts-node/esm"
|
|
78
|
+
],
|
|
79
|
+
"ts": false
|
|
25
80
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"
|
|
81
|
+
"prettier": {
|
|
82
|
+
"semi": false,
|
|
83
|
+
"printWidth": 75,
|
|
84
|
+
"tabWidth": 2,
|
|
85
|
+
"useTabs": false,
|
|
86
|
+
"singleQuote": true,
|
|
87
|
+
"jsxSingleQuote": false,
|
|
88
|
+
"bracketSameLine": true,
|
|
89
|
+
"arrowParens": "avoid",
|
|
90
|
+
"endOfLine": "lf"
|
|
29
91
|
},
|
|
30
|
-
"
|
|
92
|
+
"repository": "https://github.com/isaacs/isexe",
|
|
93
|
+
"engines": {
|
|
94
|
+
"node": ">=16"
|
|
95
|
+
}
|
|
31
96
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yallist",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "Yet Another Linked List",
|
|
5
|
+
"main": "yallist.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"yallist.js",
|
|
11
|
+
"iterator.js"
|
|
12
|
+
],
|
|
13
|
+
"dependencies": {},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"tap": "^12.1.0"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "tap test/*.js --100",
|
|
19
|
+
"preversion": "npm test",
|
|
20
|
+
"postversion": "npm publish",
|
|
21
|
+
"postpublish": "git push origin --all; git push origin --tags"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/isaacs/yallist.git"
|
|
26
|
+
},
|
|
27
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
28
|
+
"license": "ISC"
|
|
29
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The ISC License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4
4
|
|
|
5
5
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
6
|
purpose with or without fee is hereby granted, provided that the above
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yallist",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "Yet Another Linked List",
|
|
5
|
+
"main": "yallist.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"yallist.js",
|
|
11
|
+
"iterator.js"
|
|
12
|
+
],
|
|
13
|
+
"dependencies": {},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"tap": "^12.1.0"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "tap test/*.js --100",
|
|
19
|
+
"preversion": "npm test",
|
|
20
|
+
"postversion": "npm publish",
|
|
21
|
+
"postpublish": "git push origin --all; git push origin --tags"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/isaacs/yallist.git"
|
|
26
|
+
},
|
|
27
|
+
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
28
|
+
"license": "ISC"
|
|
29
|
+
}
|