@yao-pkg/pkg-fetch 3.5.13 → 3.5.15
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/README.md +5 -1
- package/lib-es5/build.js +34 -27
- package/lib-es5/expected-shas.json +1 -1
- package/lib-es5/index.js +34 -27
- package/lib-es5/log.js +8 -4
- package/lib-es5/utils.js +9 -8
- package/package.json +3 -5
- package/patches/{node.v20.17.0.cpp.patch → node.v20.18.0.cpp.patch} +63 -21
- package/patches/{node.v22.9.0.cpp.patch → node.v22.10.0.cpp.patch} +26 -20
- package/patches/patches.json +2 -2
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ This project deploys multiple defense measures to ensure that the safe binaries
|
|
|
42
42
|
- GPG-signed hashes are available in [Releases](https://github.com/yao-pkg/pkg-fetch/releases)
|
|
43
43
|
- Easy to spot a compromise.
|
|
44
44
|
- `pkg-fetch` package on npm is strictly permission-controlled
|
|
45
|
-
- Only
|
|
45
|
+
- Only @robertsLando can push new revisions to npm.
|
|
46
46
|
|
|
47
47
|
## Contributing Updates to Patches
|
|
48
48
|
|
|
@@ -112,6 +112,10 @@ For example:
|
|
|
112
112
|
|
|
113
113
|
`yarn start --node-range node18 --arch x64 --output dist`
|
|
114
114
|
|
|
115
|
+
## Small ICU
|
|
116
|
+
|
|
117
|
+
Node.js binaries built by this project use the `small-icu` option to reduce the size of the binary. If you need a Node.js binary with full ICU support, you can build it yourself by setting the `--with-intl=full-icu` option. Small ICU is sufficient for most use cases, and it reduces the binary size by about 30 MB.
|
|
118
|
+
|
|
115
119
|
## Environment
|
|
116
120
|
|
|
117
121
|
| Var | Description |
|
package/lib-es5/build.js
CHANGED
|
@@ -62,7 +62,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
62
62
|
exports.prepBuildPath = exports.fetchExtractApply = void 0;
|
|
63
63
|
var zlib_1 = require("zlib");
|
|
64
64
|
var crypto_1 = __importDefault(require("crypto"));
|
|
65
|
-
var
|
|
65
|
+
var fs_1 = require("fs");
|
|
66
|
+
var promises_1 = require("fs/promises");
|
|
66
67
|
var os_1 = __importDefault(require("os"));
|
|
67
68
|
var path_1 = __importDefault(require("path"));
|
|
68
69
|
var stream_1 = require("stream");
|
|
@@ -125,38 +126,38 @@ function getConfigureArgs(major, targetPlatform) {
|
|
|
125
126
|
}
|
|
126
127
|
function tarFetch(nodeVersion) {
|
|
127
128
|
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
-
var distUrl, tarName, archivePath, hashPath, _a, _b
|
|
129
|
-
return __generator(this, function (
|
|
130
|
-
switch (
|
|
129
|
+
var distUrl, tarName, archivePath, hashPath, _a, _b;
|
|
130
|
+
return __generator(this, function (_c) {
|
|
131
|
+
switch (_c.label) {
|
|
131
132
|
case 0:
|
|
132
133
|
log_1.log.info('Fetching Node.js source archive from nodejs.org...');
|
|
133
134
|
distUrl = "".concat(nodeRepo, "/").concat(nodeVersion);
|
|
134
135
|
tarName = "node-".concat(nodeVersion, ".tar.gz");
|
|
135
136
|
archivePath = path_1.default.join(nodeArchivePath, tarName);
|
|
136
137
|
hashPath = path_1.default.join(nodeArchivePath, "".concat(tarName, ".sha256sum"));
|
|
137
|
-
if (
|
|
138
|
+
if ((0, fs_1.existsSync)(hashPath) && (0, fs_1.existsSync)(archivePath)) {
|
|
138
139
|
return [2 /*return*/];
|
|
139
140
|
}
|
|
140
|
-
return [4 /*yield*/,
|
|
141
|
+
return [4 /*yield*/, (0, promises_1.rm)(hashPath, { recursive: true, force: true }).catch(function () { return undefined; })];
|
|
141
142
|
case 1:
|
|
142
|
-
|
|
143
|
-
return [4 /*yield*/,
|
|
143
|
+
_c.sent();
|
|
144
|
+
return [4 /*yield*/, (0, promises_1.rm)(archivePath, { recursive: true, force: true }).catch(function () { return undefined; })];
|
|
144
145
|
case 2:
|
|
145
|
-
|
|
146
|
+
_c.sent();
|
|
146
147
|
return [4 /*yield*/, (0, utils_1.downloadUrl)("".concat(distUrl, "/SHASUMS256.txt"), hashPath)];
|
|
147
148
|
case 3:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
return [4 /*yield*/,
|
|
152
|
-
case 4: return [4 /*yield*/,
|
|
149
|
+
_c.sent();
|
|
150
|
+
_a = promises_1.writeFile;
|
|
151
|
+
_b = [hashPath];
|
|
152
|
+
return [4 /*yield*/, (0, promises_1.readFile)(hashPath, 'utf8')];
|
|
153
|
+
case 4: return [4 /*yield*/, _a.apply(void 0, _b.concat([(_c.sent())
|
|
153
154
|
.split('\n')
|
|
154
155
|
.filter(function (l) { return l.includes(tarName); })[0]]))];
|
|
155
156
|
case 5:
|
|
156
|
-
|
|
157
|
+
_c.sent();
|
|
157
158
|
return [4 /*yield*/, (0, utils_1.downloadUrl)("".concat(distUrl, "/").concat(tarName), archivePath)];
|
|
158
159
|
case 6:
|
|
159
|
-
|
|
160
|
+
_c.sent();
|
|
160
161
|
return [2 /*return*/];
|
|
161
162
|
}
|
|
162
163
|
});
|
|
@@ -170,23 +171,29 @@ function tarExtract(nodeVersion, suppressTarOutput) {
|
|
|
170
171
|
case 0:
|
|
171
172
|
log_1.log.info('Extracting Node.js source archive...');
|
|
172
173
|
tarName = "node-".concat(nodeVersion, ".tar.gz");
|
|
173
|
-
return [4 /*yield*/,
|
|
174
|
+
return [4 /*yield*/, (0, promises_1.readFile)(path_1.default.join(nodeArchivePath, "".concat(tarName, ".sha256sum")), 'utf8')];
|
|
174
175
|
case 1:
|
|
175
176
|
expectedHash = (_a.sent()).split(' ')[0];
|
|
176
177
|
return [4 /*yield*/, (0, utils_1.hash)(path_1.default.join(nodeArchivePath, tarName))];
|
|
177
178
|
case 2:
|
|
178
179
|
actualHash = _a.sent();
|
|
179
180
|
if (!(expectedHash !== actualHash)) return [3 /*break*/, 5];
|
|
180
|
-
return [4 /*yield*/,
|
|
181
|
+
return [4 /*yield*/, (0, promises_1.rm)(path_1.default.join(nodeArchivePath, tarName), {
|
|
182
|
+
recursive: true,
|
|
183
|
+
force: true,
|
|
184
|
+
})];
|
|
181
185
|
case 3:
|
|
182
186
|
_a.sent();
|
|
183
|
-
return [4 /*yield*/,
|
|
187
|
+
return [4 /*yield*/, (0, promises_1.rm)(path_1.default.join(nodeArchivePath, "".concat(tarName, ".sha256sum")), {
|
|
188
|
+
recursive: true,
|
|
189
|
+
force: true,
|
|
190
|
+
})];
|
|
184
191
|
case 4:
|
|
185
192
|
_a.sent();
|
|
186
193
|
throw (0, log_1.wasReported)("Hash mismatch for ".concat(tarName));
|
|
187
194
|
case 5:
|
|
188
195
|
pipe = (0, util_1.promisify)(stream_1.pipeline);
|
|
189
|
-
source =
|
|
196
|
+
source = (0, fs_1.createReadStream)(path_1.default.join(nodeArchivePath, tarName));
|
|
190
197
|
gunzip = (0, zlib_1.createGunzip)();
|
|
191
198
|
extract = tar_fs_1.default.extract(nodePath, {
|
|
192
199
|
strip: 1,
|
|
@@ -383,13 +390,13 @@ function prepBuildPath() {
|
|
|
383
390
|
return __awaiter(this, void 0, void 0, function () {
|
|
384
391
|
return __generator(this, function (_a) {
|
|
385
392
|
switch (_a.label) {
|
|
386
|
-
case 0: return [4 /*yield*/,
|
|
393
|
+
case 0: return [4 /*yield*/, (0, promises_1.rm)(buildPath, { recursive: true, force: true })];
|
|
387
394
|
case 1:
|
|
388
395
|
_a.sent();
|
|
389
|
-
return [4 /*yield*/,
|
|
396
|
+
return [4 /*yield*/, (0, promises_1.mkdir)(nodePath, { recursive: true })];
|
|
390
397
|
case 2:
|
|
391
398
|
_a.sent();
|
|
392
|
-
return [4 /*yield*/,
|
|
399
|
+
return [4 /*yield*/, (0, promises_1.mkdir)(nodeArchivePath, { recursive: true })];
|
|
393
400
|
case 3:
|
|
394
401
|
_a.sent();
|
|
395
402
|
return [2 /*return*/];
|
|
@@ -415,16 +422,16 @@ function build(nodeVersion, targetArch, targetPlatform, local) {
|
|
|
415
422
|
return [4 /*yield*/, (0, utils_1.hash)(output)];
|
|
416
423
|
case 4:
|
|
417
424
|
outputHash = _a.sent();
|
|
418
|
-
return [4 /*yield*/,
|
|
425
|
+
return [4 /*yield*/, (0, promises_1.mkdir)(path_1.default.dirname(local), { recursive: true })];
|
|
419
426
|
case 5:
|
|
420
427
|
_a.sent();
|
|
421
|
-
return [4 /*yield*/,
|
|
428
|
+
return [4 /*yield*/, (0, promises_1.cp)(output, local)];
|
|
422
429
|
case 6:
|
|
423
430
|
_a.sent();
|
|
424
|
-
return [4 /*yield*/,
|
|
431
|
+
return [4 /*yield*/, (0, promises_1.writeFile)("".concat(local, ".sha256sum"), "".concat(outputHash, " ").concat(path_1.default.basename(local), "\n"))];
|
|
425
432
|
case 7:
|
|
426
433
|
_a.sent();
|
|
427
|
-
return [4 /*yield*/,
|
|
434
|
+
return [4 /*yield*/, (0, promises_1.rm)(buildPath, { recursive: true, force: true })];
|
|
428
435
|
case 8:
|
|
429
436
|
_a.sent();
|
|
430
437
|
return [2 /*return*/];
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"node-v22.9.0-macos-arm64": "d74c297b69ae697fd0ddba6dd69af059704357c7ab6c8ce5a9d1f9cd6e34e0d1",
|
|
54
54
|
"node-v22.9.0-macos-x64": "495df5c07003d0695ba4ada2ea88c84a1fabb4e08061ac7ca81a76392e8c6a34",
|
|
55
55
|
"node-v22.9.0-win-arm64": "039526a19a9ccebde669cfaa4668f0578fcba7fe69b94a796bd6002dfcdd95ea",
|
|
56
|
-
"node-v22.
|
|
56
|
+
"node-v22.10.0-win-x64": "09b6224d9966b4d2983c6b7b9a859af749c8028df7f663cbd16f2243cc281d69"
|
|
57
57
|
}
|
package/lib-es5/index.js
CHANGED
|
@@ -63,7 +63,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
63
63
|
};
|
|
64
64
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65
65
|
exports.system = exports.need = exports.getNodeVersion = exports.satisfyingNodeVersion = void 0;
|
|
66
|
-
var
|
|
66
|
+
var fs_1 = require("fs");
|
|
67
|
+
var promises_1 = require("fs/promises");
|
|
67
68
|
var path_1 = __importDefault(require("path"));
|
|
68
69
|
var semver_1 = __importDefault(require("semver"));
|
|
69
70
|
var expected_1 = require("./expected");
|
|
@@ -109,7 +110,7 @@ function exists(file) {
|
|
|
109
110
|
switch (_a.label) {
|
|
110
111
|
case 0:
|
|
111
112
|
_a.trys.push([0, 2, , 3]);
|
|
112
|
-
return [4 /*yield*/,
|
|
113
|
+
return [4 /*yield*/, (0, promises_1.stat)(file)];
|
|
113
114
|
case 1:
|
|
114
115
|
_a.sent();
|
|
115
116
|
return [2 /*return*/, true];
|
|
@@ -146,9 +147,9 @@ function getNodeVersion(nodeRange) {
|
|
|
146
147
|
exports.getNodeVersion = getNodeVersion;
|
|
147
148
|
function need(opts) {
|
|
148
149
|
return __awaiter(this, void 0, void 0, function () {
|
|
149
|
-
var _a, forceFetch, forceBuild, dryRun, output, nodeRange, _b, platform, arch, nodeVersion, fetched, built, remote, fetchFailed;
|
|
150
|
-
return __generator(this, function (
|
|
151
|
-
switch (
|
|
150
|
+
var _a, forceFetch, forceBuild, dryRun, output, nodeRange, _b, platform, arch, nodeVersion, fetched, built, remote, fetchFailed, _c;
|
|
151
|
+
return __generator(this, function (_d) {
|
|
152
|
+
switch (_d.label) {
|
|
152
153
|
case 0:
|
|
153
154
|
_a = opts || {}, forceFetch = _a.forceFetch, forceBuild = _a.forceBuild, dryRun = _a.dryRun, output = _a.output, nodeRange = _a.nodeRange;
|
|
154
155
|
_b = opts || {}, platform = _b.platform, arch = _b.arch;
|
|
@@ -178,51 +179,57 @@ function need(opts) {
|
|
|
178
179
|
output: output,
|
|
179
180
|
});
|
|
180
181
|
remote = (0, places_1.remotePlace)({ arch: arch, nodeVersion: nodeVersion, platform: platform, version: package_json_1.version });
|
|
181
|
-
if (!!forceBuild) return [3 /*break*/,
|
|
182
|
+
if (!!forceBuild) return [3 /*break*/, 4];
|
|
182
183
|
return [4 /*yield*/, exists(fetched)];
|
|
183
184
|
case 1:
|
|
184
|
-
if (!
|
|
185
|
+
if (!_d.sent()) return [3 /*break*/, 4];
|
|
185
186
|
if (dryRun) {
|
|
186
187
|
return [2 /*return*/, 'exists'];
|
|
187
188
|
}
|
|
189
|
+
_c = !!process.env.PKG_NODE_PATH;
|
|
190
|
+
if (_c) return [3 /*break*/, 3];
|
|
188
191
|
return [4 /*yield*/, (0, utils_1.hash)(fetched)];
|
|
189
192
|
case 2:
|
|
190
|
-
|
|
193
|
+
_c = (_d.sent()) === expected_1.EXPECTED_HASHES[remote.name];
|
|
194
|
+
_d.label = 3;
|
|
195
|
+
case 3:
|
|
196
|
+
// when node path is set, skip hash check
|
|
197
|
+
if (_c) {
|
|
191
198
|
return [2 /*return*/, fetched];
|
|
192
199
|
}
|
|
193
200
|
log_1.log.info('Binary hash does NOT match. Re-fetching...');
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
case 3:
|
|
197
|
-
if (!!forceFetch) return [3 /*break*/, 5];
|
|
198
|
-
return [4 /*yield*/, exists(built)];
|
|
201
|
+
(0, fs_1.unlinkSync)(fetched);
|
|
202
|
+
_d.label = 4;
|
|
199
203
|
case 4:
|
|
200
|
-
if (
|
|
204
|
+
if (!!forceFetch) return [3 /*break*/, 6];
|
|
205
|
+
return [4 /*yield*/, exists(built)];
|
|
206
|
+
case 5:
|
|
207
|
+
if (_d.sent()) {
|
|
201
208
|
if (dryRun)
|
|
202
209
|
return [2 /*return*/, 'exists'];
|
|
203
210
|
if (forceBuild)
|
|
204
211
|
log_1.log.info('Reusing base binaries built locally:', built);
|
|
205
212
|
return [2 /*return*/, built];
|
|
206
213
|
}
|
|
207
|
-
|
|
208
|
-
case
|
|
209
|
-
if (!!forceBuild) return [3 /*break*/,
|
|
214
|
+
_d.label = 6;
|
|
215
|
+
case 6:
|
|
216
|
+
if (!!forceBuild) return [3 /*break*/, 10];
|
|
210
217
|
if (dryRun)
|
|
211
218
|
return [2 /*return*/, 'fetched'];
|
|
212
219
|
return [4 /*yield*/, download(remote, fetched)];
|
|
213
|
-
case 6:
|
|
214
|
-
if (!_c.sent()) return [3 /*break*/, 8];
|
|
215
|
-
return [4 /*yield*/, (0, utils_1.hash)(fetched)];
|
|
216
220
|
case 7:
|
|
217
|
-
if (
|
|
221
|
+
if (!_d.sent()) return [3 /*break*/, 9];
|
|
222
|
+
return [4 /*yield*/, (0, utils_1.hash)(fetched)];
|
|
223
|
+
case 8:
|
|
224
|
+
if ((_d.sent()) === expected_1.EXPECTED_HASHES[remote.name]) {
|
|
218
225
|
return [2 /*return*/, fetched];
|
|
219
226
|
}
|
|
220
|
-
|
|
227
|
+
(0, fs_1.unlinkSync)(fetched);
|
|
221
228
|
throw (0, log_1.wasReported)('Binary hash does NOT match.');
|
|
222
|
-
case 8:
|
|
223
|
-
fetchFailed = true;
|
|
224
|
-
_c.label = 9;
|
|
225
229
|
case 9:
|
|
230
|
+
fetchFailed = true;
|
|
231
|
+
_d.label = 10;
|
|
232
|
+
case 10:
|
|
226
233
|
if (!dryRun && fetchFailed) {
|
|
227
234
|
log_1.log.info('Not found in remote cache:', JSON.stringify(remote));
|
|
228
235
|
if (forceFetch) {
|
|
@@ -244,8 +251,8 @@ function need(opts) {
|
|
|
244
251
|
return [2 /*return*/, 'built'];
|
|
245
252
|
}
|
|
246
253
|
return [4 /*yield*/, (0, build_1.default)(nodeVersion, arch, platform, built)];
|
|
247
|
-
case
|
|
248
|
-
|
|
254
|
+
case 11:
|
|
255
|
+
_d.sent();
|
|
249
256
|
return [2 /*return*/, built];
|
|
250
257
|
}
|
|
251
258
|
});
|
package/lib-es5/log.js
CHANGED
|
@@ -22,7 +22,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
22
22
|
exports.wasReported = exports.log = void 0;
|
|
23
23
|
var progress_1 = __importDefault(require("progress"));
|
|
24
24
|
var assert_1 = __importDefault(require("assert"));
|
|
25
|
-
var
|
|
25
|
+
var picocolors_1 = __importDefault(require("picocolors"));
|
|
26
|
+
var tty_1 = require("tty");
|
|
27
|
+
// workaround until picocolors improves its color detection
|
|
28
|
+
// https://github.com/alexeyraspopov/picocolors/issues/85
|
|
29
|
+
var pc = picocolors_1.default.createColors(tty_1.WriteStream.prototype.hasColors());
|
|
26
30
|
var Log = /** @class */ (function () {
|
|
27
31
|
function Log() {
|
|
28
32
|
this.debugMode = false;
|
|
@@ -44,7 +48,7 @@ var Log = /** @class */ (function () {
|
|
|
44
48
|
if (!this.debugMode) {
|
|
45
49
|
return;
|
|
46
50
|
}
|
|
47
|
-
console.log("> ".concat(
|
|
51
|
+
console.log("> ".concat(pc.green('[debug]'), " ").concat(text));
|
|
48
52
|
this.lines(lines);
|
|
49
53
|
};
|
|
50
54
|
Log.prototype.info = function (text, lines) {
|
|
@@ -52,12 +56,12 @@ var Log = /** @class */ (function () {
|
|
|
52
56
|
this.lines(lines);
|
|
53
57
|
};
|
|
54
58
|
Log.prototype.warn = function (text, lines) {
|
|
55
|
-
console.log("> ".concat(
|
|
59
|
+
console.log("> ".concat(pc.blue('Warning'), " ").concat(text));
|
|
56
60
|
this.lines(lines);
|
|
57
61
|
};
|
|
58
62
|
Log.prototype.error = function (text, lines) {
|
|
59
63
|
var message = text instanceof Error ? text.stack : text;
|
|
60
|
-
console.log("> ".concat(
|
|
64
|
+
console.log("> ".concat(pc.red('Error!'), " ").concat(message));
|
|
61
65
|
this.lines(lines);
|
|
62
66
|
};
|
|
63
67
|
Log.prototype.enableProgress = function (text) {
|
package/lib-es5/utils.js
CHANGED
|
@@ -42,7 +42,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
42
42
|
exports.nodeBinarySortFunction = exports.spawn = exports.plusx = exports.hash = exports.downloadUrl = void 0;
|
|
43
43
|
var node_fetch_1 = __importDefault(require("node-fetch"));
|
|
44
44
|
var crypto_1 = __importDefault(require("crypto"));
|
|
45
|
-
var
|
|
45
|
+
var fs_1 = require("fs");
|
|
46
|
+
var promises_1 = require("fs/promises");
|
|
46
47
|
var https_proxy_agent_1 = __importDefault(require("https-proxy-agent"));
|
|
47
48
|
var path_1 = __importDefault(require("path"));
|
|
48
49
|
var child_process_1 = require("child_process");
|
|
@@ -67,8 +68,8 @@ function downloadUrl(url, file) {
|
|
|
67
68
|
throw (0, log_1.wasReported)("".concat(res.status, ": ").concat(res.statusText));
|
|
68
69
|
}
|
|
69
70
|
tempFile = "".concat(file, ".downloading");
|
|
70
|
-
|
|
71
|
-
ws =
|
|
71
|
+
(0, fs_1.mkdirSync)(path_1.default.dirname(tempFile), { recursive: true });
|
|
72
|
+
ws = (0, fs_1.createWriteStream)(tempFile);
|
|
72
73
|
totalSize = Number(res.headers.get('content-length'));
|
|
73
74
|
currentSize = 0;
|
|
74
75
|
res.body.on('data', function (chunk) {
|
|
@@ -82,13 +83,13 @@ function downloadUrl(url, file) {
|
|
|
82
83
|
stream_1.default.finished(ws, function (err) {
|
|
83
84
|
if (err) {
|
|
84
85
|
log_1.log.disableProgress();
|
|
85
|
-
|
|
86
|
+
(0, fs_1.rmSync)(tempFile);
|
|
86
87
|
reject((0, log_1.wasReported)("".concat(err.name, ": ").concat(err.message)));
|
|
87
88
|
}
|
|
88
89
|
else {
|
|
89
90
|
log_1.log.showProgress(100);
|
|
90
91
|
log_1.log.disableProgress();
|
|
91
|
-
|
|
92
|
+
(0, fs_1.renameSync)(tempFile, file);
|
|
92
93
|
resolve();
|
|
93
94
|
}
|
|
94
95
|
});
|
|
@@ -103,7 +104,7 @@ function hash(filePath) {
|
|
|
103
104
|
return __generator(this, function (_a) {
|
|
104
105
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
105
106
|
var resultHash = crypto_1.default.createHash('sha256');
|
|
106
|
-
var input =
|
|
107
|
+
var input = (0, fs_1.createReadStream)(filePath);
|
|
107
108
|
input.on('error', function (e) {
|
|
108
109
|
reject(e);
|
|
109
110
|
});
|
|
@@ -126,14 +127,14 @@ function plusx(file) {
|
|
|
126
127
|
var s, newMode, base8;
|
|
127
128
|
return __generator(this, function (_a) {
|
|
128
129
|
switch (_a.label) {
|
|
129
|
-
case 0: return [4 /*yield*/,
|
|
130
|
+
case 0: return [4 /*yield*/, (0, promises_1.stat)(file)];
|
|
130
131
|
case 1:
|
|
131
132
|
s = _a.sent();
|
|
132
133
|
newMode = s.mode | 64 | 8 | 1;
|
|
133
134
|
if (s.mode === newMode)
|
|
134
135
|
return [2 /*return*/];
|
|
135
136
|
base8 = newMode.toString(8).slice(-3);
|
|
136
|
-
return [4 /*yield*/,
|
|
137
|
+
return [4 /*yield*/, (0, promises_1.chmod)(file, base8)];
|
|
137
138
|
case 2:
|
|
138
139
|
_a.sent();
|
|
139
140
|
return [2 /*return*/];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yao-pkg/pkg-fetch",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.15",
|
|
4
4
|
"description": "Compiles and stores base binaries for pkg",
|
|
5
5
|
"main": "lib-es5/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,10 +18,9 @@
|
|
|
18
18
|
"patches/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"chalk": "^4.1.2",
|
|
22
|
-
"fs-extra": "^9.1.0",
|
|
23
21
|
"https-proxy-agent": "^5.0.0",
|
|
24
22
|
"node-fetch": "^2.6.6",
|
|
23
|
+
"picocolors": "^1.1.0",
|
|
25
24
|
"progress": "^2.0.3",
|
|
26
25
|
"semver": "^7.3.5",
|
|
27
26
|
"tar-fs": "^2.1.1",
|
|
@@ -29,8 +28,7 @@
|
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
30
|
"@release-it/conventional-changelog": "^7.0.2",
|
|
32
|
-
"@types/
|
|
33
|
-
"@types/node": "^14.17.32",
|
|
31
|
+
"@types/node": "^16.18.113",
|
|
34
32
|
"@types/node-fetch": "^2.5.12",
|
|
35
33
|
"@types/progress": "^2.0.5",
|
|
36
34
|
"@types/semver": "^7.3.9",
|
|
@@ -1,16 +1,58 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index 1ece4f5e49..5107053bec 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
5
|
@@ -184,7 +184,7 @@
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
['clang==1', {
|
|
7
|
+
'lto': ' -flto ', # Clang
|
|
8
|
+
}, {
|
|
9
9
|
- 'lto': ' -flto=4 -fuse-linker-plugin -ffat-lto-objects ', # GCC
|
|
10
10
|
+ 'lto': ' -flto=4 -ffat-lto-objects ', # GCC
|
|
11
|
-
}, {
|
|
12
|
-
'lto': ' -flto ', # Clang
|
|
13
11
|
}],
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
diff --git node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
15
|
+
index 5e7775f1a5..eeebf67796 100644
|
|
16
|
+
--- node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
17
|
+
+++ node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
18
|
+
@@ -33,16 +33,6 @@
|
|
19
|
+
|
|
20
|
+
#include "nghttp3_macro.h"
|
|
21
|
+
|
|
22
|
+
-#if defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || defined(_M_ARM64))
|
|
23
|
+
-unsigned int __popcnt(unsigned int x) {
|
|
24
|
+
- unsigned int c = 0;
|
|
25
|
+
- for (; x; ++c) {
|
|
26
|
+
- x &= x - 1;
|
|
27
|
+
- }
|
|
28
|
+
- return c;
|
|
29
|
+
-}
|
|
30
|
+
-#endif
|
|
31
|
+
-
|
|
32
|
+
int nghttp3_ringbuf_init(nghttp3_ringbuf *rb, size_t nmemb, size_t size,
|
|
33
|
+
const nghttp3_mem *mem) {
|
|
34
|
+
if (nmemb) {
|
|
35
|
+
diff --git node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
36
|
+
index 74e488bce7..36ca05e80e 100644
|
|
37
|
+
--- node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
38
|
+
+++ node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
39
|
+
@@ -31,16 +31,6 @@
|
|
40
|
+
|
|
41
|
+
#include "ngtcp2_macro.h"
|
|
42
|
+
|
|
43
|
+
-#if defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || defined(_M_ARM64))
|
|
44
|
+
-unsigned int __popcnt(unsigned int x) {
|
|
45
|
+
- unsigned int c = 0;
|
|
46
|
+
- for (; x; ++c) {
|
|
47
|
+
- x &= x - 1;
|
|
48
|
+
- }
|
|
49
|
+
- return c;
|
|
50
|
+
-}
|
|
51
|
+
-#endif
|
|
52
|
+
-
|
|
53
|
+
int ngtcp2_ringbuf_init(ngtcp2_ringbuf *rb, size_t nmemb, size_t size,
|
|
54
|
+
const ngtcp2_mem *mem) {
|
|
55
|
+
uint8_t *buf = ngtcp2_mem_malloc(mem, nmemb * size);
|
|
14
56
|
diff --git node/deps/v8/include/v8-initialization.h node/deps/v8/include/v8-initialization.h
|
|
15
57
|
index d3e35d6ec5..6e9bbe3849 100644
|
|
16
58
|
--- node/deps/v8/include/v8-initialization.h
|
|
@@ -246,7 +288,7 @@ index 88c079d10d..a7eaca0574 100644
|
|
|
246
288
|
const permission = require('internal/process/permission');
|
|
247
289
|
const { kEmptyObject } = require('internal/util');
|
|
248
290
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
249
|
-
index
|
|
291
|
+
index ea7afd52fa..ea70fecf5d 100644
|
|
250
292
|
--- node/lib/internal/process/pre_execution.js
|
|
251
293
|
+++ node/lib/internal/process/pre_execution.js
|
|
252
294
|
@@ -51,7 +51,11 @@ const {
|
|
@@ -261,7 +303,7 @@ index 59308ab817..35583f830a 100644
|
|
|
261
303
|
return prepareExecution({
|
|
262
304
|
expandArgv1,
|
|
263
305
|
initializeModules,
|
|
264
|
-
@@ -
|
|
306
|
+
@@ -245,7 +249,8 @@ function patchProcessObject(expandArgv1) {
|
|
265
307
|
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
|
|
266
308
|
// the entry point.
|
|
267
309
|
if (expandArgv1 && process.argv[1] &&
|
|
@@ -271,7 +313,7 @@ index 59308ab817..35583f830a 100644
|
|
|
271
313
|
// Expand process.argv[1] into a full path.
|
|
272
314
|
const path = require('path');
|
|
273
315
|
try {
|
|
274
|
-
@@ -
|
|
316
|
+
@@ -741,6 +746,7 @@ function loadPreloadModules() {
|
|
275
317
|
// For user code, we preload modules if `-r` is passed
|
|
276
318
|
const preloadModules = getOptionValue('--require');
|
|
277
319
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -280,10 +322,10 @@ index 59308ab817..35583f830a 100644
|
|
|
280
322
|
Module: {
|
|
281
323
|
_preloadModules,
|
|
282
324
|
diff --git node/lib/vm.js node/lib/vm.js
|
|
283
|
-
index
|
|
325
|
+
index cb64404ef0..71209f89d3 100644
|
|
284
326
|
--- node/lib/vm.js
|
|
285
327
|
+++ node/lib/vm.js
|
|
286
|
-
@@ -
|
|
328
|
+
@@ -98,6 +98,7 @@ class Script extends ContextifyScript {
|
|
287
329
|
produceCachedData = false,
|
|
288
330
|
importModuleDynamically,
|
|
289
331
|
[kParsingContext]: parsingContext,
|
|
@@ -291,7 +333,7 @@ index 34814c430d..db1f4779b6 100644
|
|
|
291
333
|
} = options;
|
|
292
334
|
|
|
293
335
|
validateString(filename, 'options.filename');
|
|
294
|
-
@@ -
|
|
336
|
+
@@ -121,7 +122,8 @@ class Script extends ContextifyScript {
|
|
295
337
|
cachedData,
|
|
296
338
|
produceCachedData,
|
|
297
339
|
parsingContext,
|
|
@@ -302,10 +344,10 @@ index 34814c430d..db1f4779b6 100644
|
|
|
302
344
|
throw e; /* node-do-not-add-exception-line */
|
|
303
345
|
}
|
|
304
346
|
diff --git node/src/inspector_agent.cc node/src/inspector_agent.cc
|
|
305
|
-
index
|
|
347
|
+
index bb39a0cb42..5fa6cb65cc 100644
|
|
306
348
|
--- node/src/inspector_agent.cc
|
|
307
349
|
+++ node/src/inspector_agent.cc
|
|
308
|
-
@@ -
|
|
350
|
+
@@ -766,11 +766,6 @@ bool Agent::Start(const std::string& path,
|
|
309
351
|
StartIoThreadAsyncCallback));
|
|
310
352
|
uv_unref(reinterpret_cast<uv_handle_t*>(&start_io_thread_async));
|
|
311
353
|
start_io_thread_async.data = this;
|
|
@@ -346,7 +388,7 @@ index 9f6f8e53ab..ee8fa43f2f 100644
|
|
|
346
388
|
}
|
|
347
389
|
|
|
348
390
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
349
|
-
index
|
|
391
|
+
index 8951cd378a..746fb9939a 100644
|
|
350
392
|
--- node/src/node_contextify.cc
|
|
351
393
|
+++ node/src/node_contextify.cc
|
|
352
394
|
@@ -76,6 +76,7 @@ using v8::String;
|
|
@@ -357,7 +399,7 @@ index d873792ab9..588e53377d 100644
|
|
|
357
399
|
using v8::Value;
|
|
358
400
|
using v8::WeakCallbackInfo;
|
|
359
401
|
|
|
360
|
-
@@ -
|
|
402
|
+
@@ -816,13 +817,14 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
361
403
|
Local<ArrayBufferView> cached_data_buf;
|
|
362
404
|
bool produce_cached_data = false;
|
|
363
405
|
Local<Context> parsing_context = context;
|
|
@@ -374,7 +416,7 @@ index d873792ab9..588e53377d 100644
|
|
|
374
416
|
CHECK(args[2]->IsNumber());
|
|
375
417
|
line_offset = args[2].As<Int32>()->Value();
|
|
376
418
|
CHECK(args[3]->IsNumber());
|
|
377
|
-
@@ -
|
|
419
|
+
@@ -843,6 +845,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
378
420
|
}
|
|
379
421
|
CHECK(args[7]->IsSymbol());
|
|
380
422
|
id_symbol = args[7].As<Symbol>();
|
|
@@ -385,7 +427,7 @@ index d873792ab9..588e53377d 100644
|
|
|
385
427
|
}
|
|
386
428
|
|
|
387
429
|
ContextifyScript* contextify_script =
|
|
388
|
-
@@ -
|
|
430
|
+
@@ -891,6 +897,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
389
431
|
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
|
|
390
432
|
Context::Scope scope(parsing_context);
|
|
391
433
|
|
|
@@ -396,7 +438,7 @@ index d873792ab9..588e53377d 100644
|
|
|
396
438
|
MaybeLocal<UnboundScript> maybe_v8_script =
|
|
397
439
|
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
|
|
398
440
|
|
|
399
|
-
@@ -
|
|
441
|
+
@@ -905,6 +915,11 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
400
442
|
return;
|
|
401
443
|
}
|
|
402
444
|
|
|
@@ -408,7 +450,7 @@ index d873792ab9..588e53377d 100644
|
|
|
408
450
|
contextify_script->script_.Reset(isolate, v8_script);
|
|
409
451
|
contextify_script->script_.SetWeak();
|
|
410
452
|
contextify_script->object()->SetInternalFieldForNodeCore(kUnboundScriptSlot,
|
|
411
|
-
@@ -
|
|
453
|
+
@@ -938,6 +953,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
412
454
|
.IsNothing())
|
|
413
455
|
return;
|
|
414
456
|
|
|
@@ -530,7 +572,7 @@ index f66099a557..4048f6bd93 100644
|
|
|
530
572
|
+ return adjacent(c, nargv);
|
|
531
573
|
+}
|
|
532
574
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
533
|
-
index
|
|
575
|
+
index dba59c5560..cb661fc7c4 100644
|
|
534
576
|
--- node/src/node_options.cc
|
|
535
577
|
+++ node/src/node_options.cc
|
|
536
578
|
@@ -307,6 +307,7 @@ void Parse(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index de83a56672..840333d8eb 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
5
|
@@ -187,7 +187,7 @@
|
|
@@ -12,14 +12,14 @@ index a97e77860e..09444e795f 100644
|
|
|
12
12
|
],
|
|
13
13
|
},
|
|
14
14
|
diff --git node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
15
|
-
index
|
|
15
|
+
index 38b5460837..eeebf67796 100644
|
|
16
16
|
--- node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
17
17
|
+++ node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
18
18
|
@@ -33,17 +33,6 @@
|
|
19
19
|
|
|
20
20
|
#include "nghttp3_macro.h"
|
|
21
21
|
|
|
22
|
-
-#if defined(_MSC_VER) && !defined(__clang__) && \
|
|
22
|
+
-#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
|
|
23
23
|
- (defined(_M_ARM) || defined(_M_ARM64))
|
|
24
24
|
-unsigned int __popcnt(unsigned int x) {
|
|
25
25
|
- unsigned int c = 0;
|
|
@@ -34,14 +34,14 @@ index 61a7d06cad..eeebf67796 100644
|
|
|
34
34
|
const nghttp3_mem *mem) {
|
|
35
35
|
if (nmemb) {
|
|
36
36
|
diff --git node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
37
|
-
index
|
|
37
|
+
index ecfdeb63b3..6894bc2308 100644
|
|
38
38
|
--- node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
39
39
|
+++ node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
40
40
|
@@ -31,17 +31,6 @@
|
|
41
41
|
|
|
42
42
|
#include "ngtcp2_macro.h"
|
|
43
43
|
|
|
44
|
-
-#if defined(_MSC_VER) && !defined(__clang__) && \
|
|
44
|
+
-#if defined(_MSC_VER) && _MSC_VER < 1941 && !defined(__clang__) && \
|
|
45
45
|
- (defined(_M_ARM) || defined(_M_ARM64))
|
|
46
46
|
-static unsigned int __popcnt(unsigned int x) {
|
|
47
47
|
- unsigned int c = 0;
|
|
@@ -259,7 +259,7 @@ index ec69ad5123..1894032344 100644
|
|
|
259
259
|
GetHeaderValue(kReadOnlySnapshotChecksumOffset);
|
|
260
260
|
if (ro_snapshot_checksum != expected_ro_snapshot_checksum) {
|
|
261
261
|
diff --git node/lib/child_process.js node/lib/child_process.js
|
|
262
|
-
index
|
|
262
|
+
index 51fc6fe995..ed019a4645 100644
|
|
263
263
|
--- node/lib/child_process.js
|
|
264
264
|
+++ node/lib/child_process.js
|
|
265
265
|
@@ -168,7 +168,7 @@ function fork(modulePath, args = [], options) {
|
|
@@ -327,20 +327,26 @@ index 0000000000..a697294fdf
|
|
|
327
327
|
+ }());
|
|
328
328
|
+}());
|
|
329
329
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
330
|
-
index
|
|
330
|
+
index b0210e4d96..fb1e265a1f 100644
|
|
331
331
|
--- node/lib/internal/modules/cjs/loader.js
|
|
332
332
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
333
|
-
@@ -
|
|
333
|
+
@@ -230,12 +230,16 @@ function wrapModuleLoad(request, parent, isMain) {
|
|
334
|
+
* @param {string} filename Absolute path to the file
|
|
335
|
+
*/
|
|
336
|
+
function stat(filename) {
|
|
337
|
+
+ const origFilename = filename;
|
|
338
|
+
filename = path.toNamespacedPath(filename);
|
|
339
|
+
if (statCache !== null) {
|
|
334
340
|
const result = statCache.get(filename);
|
|
335
341
|
if (result !== undefined) { return result; }
|
|
336
342
|
}
|
|
337
|
-
- const result = internalFsBinding.internalModuleStat(filename);
|
|
343
|
+
- const result = internalFsBinding.internalModuleStat(internalFsBinding, filename);
|
|
338
344
|
+ const fs = require('fs');
|
|
339
|
-
+ const result = fs.existsSync(
|
|
340
|
-
+ (fs.statSync(
|
|
345
|
+
+ const result = fs.existsSync(origFilename) ?
|
|
346
|
+
+ (fs.statSync(origFilename).isDirectory() ? 1 : 0) : -1;
|
|
341
347
|
+
|
|
342
348
|
if (statCache !== null && result >= 0) {
|
|
343
|
-
// Only set cache when `internalModuleStat(filename)` succeeds.
|
|
349
|
+
// Only set cache when `internalModuleStat(internalFsBinding, filename)` succeeds.
|
|
344
350
|
statCache.set(filename, result);
|
|
345
351
|
diff --git node/lib/internal/modules/package_json_reader.js node/lib/internal/modules/package_json_reader.js
|
|
346
352
|
index 9a9dcebb79..9f00ec6a85 100644
|
|
@@ -375,11 +381,11 @@ index 9a9dcebb79..9f00ec6a85 100644
|
|
|
375
381
|
|
|
376
382
|
/**
|
|
377
383
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
378
|
-
index
|
|
384
|
+
index 848ff7f142..9f8e125329 100644
|
|
379
385
|
--- node/lib/internal/process/pre_execution.js
|
|
380
386
|
+++ node/lib/internal/process/pre_execution.js
|
|
381
|
-
@@ -
|
|
382
|
-
|
|
387
|
+
@@ -51,7 +51,11 @@ const {
|
|
388
|
+
runDeserializeCallbacks,
|
|
383
389
|
} = require('internal/v8/startup_snapshot');
|
|
384
390
|
|
|
385
391
|
+let _alreadyPrepared = false;
|
|
@@ -390,7 +396,7 @@ index cb96fd1bc4..e6c5b11c0a 100644
|
|
|
390
396
|
return prepareExecution({
|
|
391
397
|
expandArgv1,
|
|
392
398
|
initializeModules,
|
|
393
|
-
@@ -
|
|
399
|
+
@@ -243,7 +247,8 @@ function patchProcessObject(expandArgv1) {
|
|
394
400
|
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
|
|
395
401
|
// the entry point.
|
|
396
402
|
if (expandArgv1 && process.argv[1] &&
|
|
@@ -400,7 +406,7 @@ index cb96fd1bc4..e6c5b11c0a 100644
|
|
|
400
406
|
// Expand process.argv[1] into a full path.
|
|
401
407
|
const path = require('path');
|
|
402
408
|
try {
|
|
403
|
-
@@ -
|
|
409
|
+
@@ -721,6 +726,7 @@ function loadPreloadModules() {
|
|
404
410
|
// For user code, we preload modules if `-r` is passed
|
|
405
411
|
const preloadModules = getOptionValue('--require');
|
|
406
412
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -447,7 +453,7 @@ index bb39a0cb42..5fa6cb65cc 100644
|
|
|
447
453
|
parent_env_->AddCleanupHook([](void* data) {
|
|
448
454
|
Environment* env = static_cast<Environment*>(data);
|
|
449
455
|
diff --git node/src/node.cc node/src/node.cc
|
|
450
|
-
index
|
|
456
|
+
index 1a2a43bdd3..76fd756438 100644
|
|
451
457
|
--- node/src/node.cc
|
|
452
458
|
+++ node/src/node.cc
|
|
453
459
|
@@ -394,6 +394,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
|
|
@@ -475,7 +481,7 @@ index ccc1085a84..882ab5f0c9 100644
|
|
|
475
481
|
}
|
|
476
482
|
|
|
477
483
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
478
|
-
index
|
|
484
|
+
index 5f4529262a..4ecfaf0513 100644
|
|
479
485
|
--- node/src/node_contextify.cc
|
|
480
486
|
+++ node/src/node_contextify.cc
|
|
481
487
|
@@ -85,6 +85,7 @@ using v8::Symbol;
|
|
@@ -660,7 +666,7 @@ index f66099a557..4048f6bd93 100644
|
|
|
660
666
|
+ return adjacent(c, nargv);
|
|
661
667
|
+}
|
|
662
668
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
663
|
-
index
|
|
669
|
+
index d3b59690e9..23b52a6e00 100644
|
|
664
670
|
--- node/src/node_options.cc
|
|
665
671
|
+++ node/src/node_options.cc
|
|
666
672
|
@@ -307,6 +307,7 @@ void Parse(
|
package/patches/patches.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"v22.
|
|
3
|
-
"v20.
|
|
2
|
+
"v22.10.0": ["node.v22.10.0.cpp.patch"],
|
|
3
|
+
"v20.18.0": ["node.v20.18.0.cpp.patch"],
|
|
4
4
|
"v18.20.4": ["node.v18.20.4.cpp.patch"],
|
|
5
5
|
"v16.20.2": ["node.v16.20.2.cpp.patch"],
|
|
6
6
|
"v14.21.3": ["node.v14.21.3.cpp.patch"],
|