@yao-pkg/pkg-fetch 3.5.23 → 3.5.25
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/lib-es5/build.js +39 -16
- package/lib-es5/expected-shas.json +33 -23
- package/lib-es5/utils.js +11 -2
- package/package.json +1 -1
- package/patches/{node.v20.19.1.cpp.patch → node.v20.19.5.cpp.patch} +6 -6
- package/patches/{node.v22.15.1.cpp.patch → node.v22.19.0.cpp.patch} +80 -43
- package/patches/node.v24.8.0.cpp.patch +855 -0
- package/patches/patches.json +3 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
diff --git node/common.gypi node/common.gypi
|
|
2
|
-
index
|
|
2
|
+
index 7780ae106b4..584d3756ee5 100644
|
|
3
3
|
--- node/common.gypi
|
|
4
4
|
+++ node/common.gypi
|
|
5
|
-
@@ -
|
|
5
|
+
@@ -192,7 +192,7 @@
|
|
6
6
|
['clang==1', {
|
|
7
7
|
'lto': ' -flto ', # Clang
|
|
8
8
|
}, {
|
|
@@ -12,7 +12,7 @@ index 372409f4b0..5431580b6c 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 7d3ab39bf82..67a48dee53a 100644
|
|
16
16
|
--- node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
17
17
|
+++ node/deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c
|
|
18
18
|
@@ -34,10 +34,7 @@
|
|
@@ -28,7 +28,7 @@ index 7d3ab39bf8..67a48dee53 100644
|
|
|
28
28
|
#else /* !((defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || \
|
|
29
29
|
(defined(_M_ARM64) && _MSC_VER < 1941))) || defined(WIN32)) */
|
|
30
30
|
diff --git node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
31
|
-
index
|
|
31
|
+
index 353afca4d48..dea944aed5a 100644
|
|
32
32
|
--- node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
33
33
|
+++ node/deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
|
|
34
34
|
@@ -33,10 +33,7 @@
|
|
@@ -44,7 +44,7 @@ index 353afca4d4..dea944aed5 100644
|
|
|
44
44
|
# else /* !((defined(_MSC_VER) && !defined(__clang__) && (defined(_M_ARM) || \
|
|
45
45
|
(defined(_M_ARM64) && _MSC_VER < 1941))) || defined(WIN32)) */
|
|
46
46
|
diff --git node/deps/v8/include/v8-initialization.h node/deps/v8/include/v8-initialization.h
|
|
47
|
-
index
|
|
47
|
+
index d3e35d6ec5f..6e9bbe38491 100644
|
|
48
48
|
--- node/deps/v8/include/v8-initialization.h
|
|
49
49
|
+++ node/deps/v8/include/v8-initialization.h
|
|
50
50
|
@@ -89,6 +89,10 @@ class V8_EXPORT V8 {
|
|
@@ -59,7 +59,7 @@ index d3e35d6ec5..6e9bbe3849 100644
|
|
|
59
59
|
static const char* GetVersion();
|
|
60
60
|
|
|
61
61
|
diff --git node/deps/v8/src/api/api.cc node/deps/v8/src/api/api.cc
|
|
62
|
-
index
|
|
62
|
+
index 2dd476dda34..8a51f25b572 100644
|
|
63
63
|
--- node/deps/v8/src/api/api.cc
|
|
64
64
|
+++ node/deps/v8/src/api/api.cc
|
|
65
65
|
@@ -624,6 +624,28 @@ void V8::SetFlagsFromCommandLine(int* argc, char** argv, bool remove_flags) {
|
|
@@ -91,11 +91,25 @@ index 2dd476dda3..8a51f25b57 100644
|
|
|
91
91
|
RegisteredExtension* RegisteredExtension::first_extension_ = nullptr;
|
|
92
92
|
|
|
93
93
|
RegisteredExtension::RegisteredExtension(std::unique_ptr<Extension> extension)
|
|
94
|
+
diff --git node/deps/v8/src/codegen/code-stub-assembler.h node/deps/v8/src/codegen/code-stub-assembler.h
|
|
95
|
+
index b082bb8dc7b..285683ecdc8 100644
|
|
96
|
+
--- node/deps/v8/src/codegen/code-stub-assembler.h
|
|
97
|
+
+++ node/deps/v8/src/codegen/code-stub-assembler.h
|
|
98
|
+
@@ -286,7 +286,8 @@ enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol };
|
|
99
|
+
|
|
100
|
+
// This is a check that always calls into the runtime if it aborts.
|
|
101
|
+
// This also exits silently when --hole-fuzzing is enabled.
|
|
102
|
+
-#define CSA_HOLE_SECURITY_CHECK(csa, x) CSA_CHECK_WITH_ABORT(csa, x)
|
|
103
|
+
+#define CSA_HOLE_SECURITY_CHECK(csa, x) \
|
|
104
|
+
+ (csa)->Check([&]() -> TNode<BoolT> { return x; }, #x, "placeholder", 1)
|
|
105
|
+
|
|
106
|
+
#ifdef DEBUG
|
|
107
|
+
// CSA_DCHECK_ARGS generates an
|
|
94
108
|
diff --git node/deps/v8/src/codegen/compiler.cc node/deps/v8/src/codegen/compiler.cc
|
|
95
|
-
index
|
|
109
|
+
index 9048655363c..ab81c326fc4 100644
|
|
96
110
|
--- node/deps/v8/src/codegen/compiler.cc
|
|
97
111
|
+++ node/deps/v8/src/codegen/compiler.cc
|
|
98
|
-
@@ -
|
|
112
|
+
@@ -3634,7 +3634,7 @@ MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForScriptImpl(
|
|
99
113
|
maybe_script = lookup_result.script();
|
|
100
114
|
maybe_result = lookup_result.toplevel_sfi();
|
|
101
115
|
is_compiled_scope = lookup_result.is_compiled_scope();
|
|
@@ -105,7 +119,7 @@ index 49afab11b6..4c81f9f90b 100644
|
|
|
105
119
|
} else if (can_consume_code_cache) {
|
|
106
120
|
compile_timer.set_consuming_code_cache();
|
|
107
121
|
diff --git node/deps/v8/src/compiler/wasm-compiler.cc node/deps/v8/src/compiler/wasm-compiler.cc
|
|
108
|
-
index
|
|
122
|
+
index 16f1f1470b7..4bfeca49e64 100644
|
|
109
123
|
--- node/deps/v8/src/compiler/wasm-compiler.cc
|
|
110
124
|
+++ node/deps/v8/src/compiler/wasm-compiler.cc
|
|
111
125
|
@@ -8613,12 +8613,13 @@ wasm::WasmCompilationResult CompileWasmImportCallWrapper(
|
|
@@ -149,7 +163,7 @@ index 16f1f1470b..4bfeca49e6 100644
|
|
|
149
163
|
// Compile the wrapper
|
|
150
164
|
if (job->ExecuteJob(isolate->counters()->runtime_call_stats()) ==
|
|
151
165
|
diff --git node/deps/v8/src/heap/marking-visitor-inl.h node/deps/v8/src/heap/marking-visitor-inl.h
|
|
152
|
-
index
|
|
166
|
+
index 39a5bbd22c2..4b860f55d5e 100644
|
|
153
167
|
--- node/deps/v8/src/heap/marking-visitor-inl.h
|
|
154
168
|
+++ node/deps/v8/src/heap/marking-visitor-inl.h
|
|
155
169
|
@@ -329,6 +329,13 @@ bool MarkingVisitorBase<ConcreteVisitor>::HasBytecodeArrayForFlushing(
|
|
@@ -167,7 +181,7 @@ index 39a5bbd22c..4b860f55d5 100644
|
|
|
167
181
|
}
|
|
168
182
|
|
|
169
183
|
diff --git node/deps/v8/src/objects/js-function.cc node/deps/v8/src/objects/js-function.cc
|
|
170
|
-
index
|
|
184
|
+
index 529e283bbf0..c997c53a18c 100644
|
|
171
185
|
--- node/deps/v8/src/objects/js-function.cc
|
|
172
186
|
+++ node/deps/v8/src/objects/js-function.cc
|
|
173
187
|
@@ -1308,6 +1308,10 @@ Handle<String> JSFunction::ToString(Handle<JSFunction> function) {
|
|
@@ -182,7 +196,7 @@ index 529e283bbf..c997c53a18 100644
|
|
|
182
196
|
ClassPositions::cast(*maybe_class_positions);
|
|
183
197
|
int start_position = class_positions->start();
|
|
184
198
|
diff --git node/deps/v8/src/objects/objects.cc node/deps/v8/src/objects/objects.cc
|
|
185
|
-
index
|
|
199
|
+
index 8e013c2544e..7ac03149d86 100644
|
|
186
200
|
--- node/deps/v8/src/objects/objects.cc
|
|
187
201
|
+++ node/deps/v8/src/objects/objects.cc
|
|
188
202
|
@@ -4263,7 +4263,12 @@ void Script::InitLineEndsInternal(IsolateT* isolate, Handle<Script> script) {
|
|
@@ -200,7 +214,7 @@ index 8e013c2544..7ac03149d8 100644
|
|
|
200
214
|
}
|
|
201
215
|
|
|
202
216
|
diff --git node/deps/v8/src/parsing/parsing.cc node/deps/v8/src/parsing/parsing.cc
|
|
203
|
-
index
|
|
217
|
+
index f160b27ea4d..748452ba451 100644
|
|
204
218
|
--- node/deps/v8/src/parsing/parsing.cc
|
|
205
219
|
+++ node/deps/v8/src/parsing/parsing.cc
|
|
206
220
|
@@ -42,6 +42,7 @@ bool ParseProgram(ParseInfo* info, Handle<Script> script,
|
|
@@ -221,7 +235,7 @@ index f160b27ea4..748452ba45 100644
|
|
|
221
235
|
std::unique_ptr<Utf16CharacterStream> stream(
|
|
222
236
|
ScannerStream::For(isolate, source, shared_info->StartPosition(),
|
|
223
237
|
diff --git node/deps/v8/src/snapshot/code-serializer.cc node/deps/v8/src/snapshot/code-serializer.cc
|
|
224
|
-
index
|
|
238
|
+
index ec69ad51239..5bc92af5aad 100644
|
|
225
239
|
--- node/deps/v8/src/snapshot/code-serializer.cc
|
|
226
240
|
+++ node/deps/v8/src/snapshot/code-serializer.cc
|
|
227
241
|
@@ -703,10 +703,6 @@ SerializedCodeSanityCheckResult SerializedCodeData::SanityCheck(
|
|
@@ -235,7 +249,7 @@ index ec69ad5123..1894032344 100644
|
|
|
235
249
|
return SerializedCodeSanityCheckResult::kSuccess;
|
|
236
250
|
}
|
|
237
251
|
|
|
238
|
-
@@ -723,
|
|
252
|
+
@@ -723,13 +719,12 @@ SerializedCodeSanityCheckResult SerializedCodeData::SanityCheckWithoutSource(
|
|
239
253
|
if (version_hash != Version::Hash()) {
|
|
240
254
|
return SerializedCodeSanityCheckResult::kVersionMismatch;
|
|
241
255
|
}
|
|
@@ -246,11 +260,31 @@ index ec69ad5123..1894032344 100644
|
|
|
246
260
|
uint32_t ro_snapshot_checksum =
|
|
247
261
|
GetHeaderValue(kReadOnlySnapshotChecksumOffset);
|
|
248
262
|
if (ro_snapshot_checksum != expected_ro_snapshot_checksum) {
|
|
263
|
+
+ // for debugging snapshot checkum issues
|
|
264
|
+
+ // PrintF("[pkg] ReadOnlySnapshotChecksum mismatch: code=%08x built=%08x\n",
|
|
265
|
+
+ // ro_snapshot_checksum, expected_ro_snapshot_checksum);
|
|
266
|
+
return SerializedCodeSanityCheckResult::kReadOnlySnapshotChecksumMismatch;
|
|
267
|
+
}
|
|
268
|
+
uint32_t payload_length = GetHeaderValue(kPayloadLengthOffset);
|
|
269
|
+
diff --git node/deps/v8/src/snapshot/read-only-serializer.cc node/deps/v8/src/snapshot/read-only-serializer.cc
|
|
270
|
+
index 29c69a782ef..4431cd14ac8 100644
|
|
271
|
+
--- node/deps/v8/src/snapshot/read-only-serializer.cc
|
|
272
|
+
+++ node/deps/v8/src/snapshot/read-only-serializer.cc
|
|
273
|
+
@@ -237,6 +237,9 @@ class EncodeRelocationsVisitor final : public ObjectVisitor {
|
|
274
|
+
|
|
275
|
+
// Encode:
|
|
276
|
+
ro::EncodedTagged encoded = Encode(isolate_, o.GetHeapObject());
|
|
277
|
+
+ #ifndef V8_COMPRESS_POINTERS
|
|
278
|
+
+ memset(segment_->contents.get() + slot_offset, 0, kTaggedSize);
|
|
279
|
+
+ #endif
|
|
280
|
+
memcpy(segment_->contents.get() + slot_offset, &encoded,
|
|
281
|
+
ro::EncodedTagged::kSize);
|
|
282
|
+
|
|
249
283
|
diff --git node/lib/child_process.js node/lib/child_process.js
|
|
250
|
-
index
|
|
284
|
+
index 655349b6fa1..77092e0cd5b 100644
|
|
251
285
|
--- node/lib/child_process.js
|
|
252
286
|
+++ node/lib/child_process.js
|
|
253
|
-
@@ -
|
|
287
|
+
@@ -171,7 +171,7 @@ function fork(modulePath, args = [], options) {
|
|
254
288
|
throw new ERR_CHILD_PROCESS_IPC_REQUIRED('options.stdio');
|
|
255
289
|
}
|
|
256
290
|
|
|
@@ -261,7 +295,7 @@ index bb27670112..d175723c74 100644
|
|
|
261
295
|
function _forkChild(fd, serializationMode) {
|
|
262
296
|
diff --git node/lib/internal/bootstrap/pkg.js node/lib/internal/bootstrap/pkg.js
|
|
263
297
|
new file mode 100644
|
|
264
|
-
index
|
|
298
|
+
index 00000000000..a697294fdfe
|
|
265
299
|
--- /dev/null
|
|
266
300
|
+++ node/lib/internal/bootstrap/pkg.js
|
|
267
301
|
@@ -0,0 +1,49 @@
|
|
@@ -315,10 +349,10 @@ index 0000000000..a697294fdf
|
|
|
315
349
|
+ }());
|
|
316
350
|
+}());
|
|
317
351
|
diff --git node/lib/internal/modules/cjs/loader.js node/lib/internal/modules/cjs/loader.js
|
|
318
|
-
index
|
|
352
|
+
index a7d8fa1139c..bffe5a8a538 100644
|
|
319
353
|
--- node/lib/internal/modules/cjs/loader.js
|
|
320
354
|
+++ node/lib/internal/modules/cjs/loader.js
|
|
321
|
-
@@ -
|
|
355
|
+
@@ -252,14 +252,18 @@ function stat(filename) {
|
|
322
356
|
// Guard against internal bugs where a non-string filename is passed in by mistake.
|
|
323
357
|
assert(typeof filename === 'string');
|
|
324
358
|
|
|
@@ -328,19 +362,22 @@ index 33385fa792..61cb88dc0f 100644
|
|
|
328
362
|
const result = statCache.get(filename);
|
|
329
363
|
if (result !== undefined) { return result; }
|
|
330
364
|
}
|
|
331
|
-
- const result = internalFsBinding.internalModuleStat(
|
|
365
|
+
- const result = internalFsBinding.internalModuleStat(filename);
|
|
332
366
|
+ const fs = require('fs');
|
|
333
367
|
+ const result = fs.existsSync(origFilename) ?
|
|
334
368
|
+ (fs.statSync(origFilename).isDirectory() ? 1 : 0) : -1;
|
|
335
369
|
+
|
|
336
370
|
if (statCache !== null && result >= 0) {
|
|
337
|
-
|
|
371
|
+
- // Only set cache when `internalModuleStat(filename)` succeeds.
|
|
372
|
+
+ // Only set cache when `internalModuleStat(internalFsBinding, filename)` succeeds.
|
|
338
373
|
statCache.set(filename, result);
|
|
374
|
+
}
|
|
375
|
+
return result;
|
|
339
376
|
diff --git node/lib/internal/modules/package_json_reader.js node/lib/internal/modules/package_json_reader.js
|
|
340
|
-
index
|
|
377
|
+
index fb669ea12ee..6ad993581bb 100644
|
|
341
378
|
--- node/lib/internal/modules/package_json_reader.js
|
|
342
379
|
+++ node/lib/internal/modules/package_json_reader.js
|
|
343
|
-
@@ -
|
|
380
|
+
@@ -108,17 +108,20 @@ const requiresJSONParse = (value) => (value !== undefined && (value[0] === '[' |
|
|
344
381
|
* @returns {PackageConfig}
|
|
345
382
|
*/
|
|
346
383
|
function read(jsonPath, { base, specifier, isESM } = kEmptyObject) {
|
|
@@ -373,7 +410,7 @@ index 3c746fa0e7..c39ba93379 100644
|
|
|
373
410
|
__proto__: null,
|
|
374
411
|
...result.data,
|
|
375
412
|
diff --git node/lib/internal/process/pre_execution.js node/lib/internal/process/pre_execution.js
|
|
376
|
-
index
|
|
413
|
+
index 98ed40e3076..f9da878ea06 100644
|
|
377
414
|
--- node/lib/internal/process/pre_execution.js
|
|
378
415
|
+++ node/lib/internal/process/pre_execution.js
|
|
379
416
|
@@ -50,7 +50,11 @@ const {
|
|
@@ -388,7 +425,7 @@ index d1c05d1717..c6c806f73c 100644
|
|
|
388
425
|
return prepareExecution({
|
|
389
426
|
expandArgv1,
|
|
390
427
|
initializeModules,
|
|
391
|
-
@@ -
|
|
428
|
+
@@ -243,7 +247,8 @@ function patchProcessObject(expandArgv1) {
|
|
392
429
|
let mainEntry;
|
|
393
430
|
// If requested, update process.argv[1] to replace whatever the user provided with the resolved absolute file path of
|
|
394
431
|
// the entry point.
|
|
@@ -398,7 +435,7 @@ index d1c05d1717..c6c806f73c 100644
|
|
|
398
435
|
// Expand process.argv[1] into a full path.
|
|
399
436
|
const path = require('path');
|
|
400
437
|
try {
|
|
401
|
-
@@ -
|
|
438
|
+
@@ -725,6 +730,7 @@ function loadPreloadModules() {
|
|
402
439
|
// For user code, we preload modules if `-r` is passed
|
|
403
440
|
const preloadModules = getOptionValue('--require');
|
|
404
441
|
if (preloadModules && preloadModules.length > 0) {
|
|
@@ -407,7 +444,7 @@ index d1c05d1717..c6c806f73c 100644
|
|
|
407
444
|
Module: {
|
|
408
445
|
_preloadModules,
|
|
409
446
|
diff --git node/lib/vm.js node/lib/vm.js
|
|
410
|
-
index
|
|
447
|
+
index ae710806201..b05638de759 100644
|
|
411
448
|
--- node/lib/vm.js
|
|
412
449
|
+++ node/lib/vm.js
|
|
413
450
|
@@ -98,6 +98,7 @@ class Script extends ContextifyScript {
|
|
@@ -429,10 +466,10 @@ index ae71080620..b05638de75 100644
|
|
|
429
466
|
throw e; /* node-do-not-add-exception-line */
|
|
430
467
|
}
|
|
431
468
|
diff --git node/src/inspector_agent.cc node/src/inspector_agent.cc
|
|
432
|
-
index
|
|
469
|
+
index aca49fddce0..ddc54909ea7 100644
|
|
433
470
|
--- node/src/inspector_agent.cc
|
|
434
471
|
+++ node/src/inspector_agent.cc
|
|
435
|
-
@@ -
|
|
472
|
+
@@ -832,11 +832,6 @@ bool Agent::Start(const std::string& path,
|
|
436
473
|
StartIoThreadAsyncCallback));
|
|
437
474
|
uv_unref(reinterpret_cast<uv_handle_t*>(&start_io_thread_async));
|
|
438
475
|
start_io_thread_async.data = this;
|
|
@@ -445,10 +482,10 @@ index 7c63c22112..830c8be5ca 100644
|
|
|
445
482
|
parent_env_->AddCleanupHook([](void* data) {
|
|
446
483
|
Environment* env = static_cast<Environment*>(data);
|
|
447
484
|
diff --git node/src/node.cc node/src/node.cc
|
|
448
|
-
index
|
|
485
|
+
index 1b5e989e545..20f49ba2f26 100644
|
|
449
486
|
--- node/src/node.cc
|
|
450
487
|
+++ node/src/node.cc
|
|
451
|
-
@@ -
|
|
488
|
+
@@ -404,6 +404,8 @@ MaybeLocal<Value> StartExecution(Environment* env, StartExecutionCallback cb) {
|
|
452
489
|
return env->RunSnapshotDeserializeMain();
|
|
453
490
|
}
|
|
454
491
|
|
|
@@ -457,7 +494,7 @@ index a0f1deadfc..b8e241a5b4 100644
|
|
|
457
494
|
if (env->worker_context() != nullptr) {
|
|
458
495
|
return StartExecution(env, "internal/main/worker_thread");
|
|
459
496
|
}
|
|
460
|
-
@@ -
|
|
497
|
+
@@ -628,14 +630,6 @@ static void PlatformInit(ProcessInitializationFlags::Flags flags) {
|
|
461
498
|
}
|
|
462
499
|
|
|
463
500
|
if (!(flags & ProcessInitializationFlags::kNoDefaultSignalHandling)) {
|
|
@@ -473,7 +510,7 @@ index a0f1deadfc..b8e241a5b4 100644
|
|
|
473
510
|
}
|
|
474
511
|
|
|
475
512
|
diff --git node/src/node_contextify.cc node/src/node_contextify.cc
|
|
476
|
-
index
|
|
513
|
+
index 386102dfe7e..fa452538bf1 100644
|
|
477
514
|
--- node/src/node_contextify.cc
|
|
478
515
|
+++ node/src/node_contextify.cc
|
|
479
516
|
@@ -86,6 +86,7 @@ using v8::Symbol;
|
|
@@ -484,7 +521,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
484
521
|
|
|
485
522
|
// The vm module executes code in a sandboxed environment with a different
|
|
486
523
|
// global object than the rest of the code. This is achieved by applying
|
|
487
|
-
@@ -
|
|
524
|
+
@@ -993,13 +994,13 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
488
525
|
Local<ArrayBufferView> cached_data_buf;
|
|
489
526
|
bool produce_cached_data = false;
|
|
490
527
|
Local<Context> parsing_context = context;
|
|
@@ -501,7 +538,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
501
538
|
CHECK(args[2]->IsNumber());
|
|
502
539
|
line_offset = args[2].As<Int32>()->Value();
|
|
503
540
|
CHECK(args[3]->IsNumber());
|
|
504
|
-
@@ -
|
|
541
|
+
@@ -1020,6 +1021,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
505
542
|
}
|
|
506
543
|
CHECK(args[7]->IsSymbol());
|
|
507
544
|
id_symbol = args[7].As<Symbol>();
|
|
@@ -512,7 +549,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
512
549
|
}
|
|
513
550
|
|
|
514
551
|
ContextifyScript* contextify_script =
|
|
515
|
-
@@ -
|
|
552
|
+
@@ -1067,6 +1072,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
516
553
|
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
|
|
517
554
|
Context::Scope scope(parsing_context);
|
|
518
555
|
|
|
@@ -523,7 +560,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
523
560
|
MaybeLocal<UnboundScript> maybe_v8_script =
|
|
524
561
|
ScriptCompiler::CompileUnboundScript(isolate, &source, compile_options);
|
|
525
562
|
|
|
526
|
-
@@ -
|
|
563
|
+
@@ -1081,6 +1090,12 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
527
564
|
return;
|
|
528
565
|
}
|
|
529
566
|
|
|
@@ -536,7 +573,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
536
573
|
contextify_script->script_.Reset(isolate, v8_script);
|
|
537
574
|
contextify_script->script_.SetWeak();
|
|
538
575
|
contextify_script->object()->SetInternalField(kUnboundScriptSlot, v8_script);
|
|
539
|
-
@@ -
|
|
576
|
+
@@ -1120,6 +1135,10 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
|
|
540
577
|
.IsNothing())
|
|
541
578
|
return;
|
|
542
579
|
|
|
@@ -548,7 +585,7 @@ index 187ba89290..dbed6342a9 100644
|
|
|
548
585
|
}
|
|
549
586
|
|
|
550
587
|
diff --git node/src/node_main.cc node/src/node_main.cc
|
|
551
|
-
index
|
|
588
|
+
index f66099a5570..4048f6bd937 100644
|
|
552
589
|
--- node/src/node_main.cc
|
|
553
590
|
+++ node/src/node_main.cc
|
|
554
591
|
@@ -22,6 +22,8 @@
|
|
@@ -658,10 +695,10 @@ index f66099a557..4048f6bd93 100644
|
|
|
658
695
|
+ return adjacent(c, nargv);
|
|
659
696
|
+}
|
|
660
697
|
diff --git node/src/node_options.cc node/src/node_options.cc
|
|
661
|
-
index
|
|
698
|
+
index 249361e3519..ef61e29dfb3 100644
|
|
662
699
|
--- node/src/node_options.cc
|
|
663
700
|
+++ node/src/node_options.cc
|
|
664
|
-
@@ -
|
|
701
|
+
@@ -319,6 +319,7 @@ void Parse(
|
|
665
702
|
// TODO(addaleax): Make that unnecessary.
|
|
666
703
|
|
|
667
704
|
DebugOptionsParser::DebugOptionsParser() {
|
|
@@ -670,7 +707,7 @@ index 1444acd59d..f2eec6b35f 100644
|
|
|
670
707
|
if (sea::IsSingleExecutable()) return;
|
|
671
708
|
#endif
|
|
672
709
|
diff --git node/tools/icu/icu-generic.gyp node/tools/icu/icu-generic.gyp
|
|
673
|
-
index
|
|
710
|
+
index f007c65232c..002a00a6aee 100644
|
|
674
711
|
--- node/tools/icu/icu-generic.gyp
|
|
675
712
|
+++ node/tools/icu/icu-generic.gyp
|
|
676
713
|
@@ -52,7 +52,7 @@
|