node-aix-ppc64 22.1.0 → 22.3.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/CHANGELOG.md +326 -0
- package/README.md +22 -16
- package/bin/node +0 -0
- package/include/node/common.gypi +34 -12
- package/include/node/config.gypi +9 -6
- package/include/node/node.exp +498 -179
- package/include/node/node.h +7 -3
- package/include/node/node_version.h +1 -1
- package/include/node/v8-version.h +1 -1
- package/package.json +1 -1
- package/share/man/man1/node.1 +25 -11
package/include/node/node.h
CHANGED
|
@@ -349,7 +349,7 @@ NODE_DEPRECATED("Use InitializeOncePerProcess() instead",
|
|
|
349
349
|
// including the arguments split into argv/exec_argv, a list of potential
|
|
350
350
|
// errors encountered during initialization, and a potential suggested
|
|
351
351
|
// exit code.
|
|
352
|
-
NODE_EXTERN std::
|
|
352
|
+
NODE_EXTERN std::shared_ptr<InitializationResult> InitializeOncePerProcess(
|
|
353
353
|
const std::vector<std::string>& args,
|
|
354
354
|
ProcessInitializationFlags::Flags flags =
|
|
355
355
|
ProcessInitializationFlags::kNoFlags);
|
|
@@ -358,7 +358,7 @@ NODE_EXTERN std::unique_ptr<InitializationResult> InitializeOncePerProcess(
|
|
|
358
358
|
NODE_EXTERN void TearDownOncePerProcess();
|
|
359
359
|
// Convenience overload for specifying multiple flags without having
|
|
360
360
|
// to worry about casts.
|
|
361
|
-
inline std::
|
|
361
|
+
inline std::shared_ptr<InitializationResult> InitializeOncePerProcess(
|
|
362
362
|
const std::vector<std::string>& args,
|
|
363
363
|
std::initializer_list<ProcessInitializationFlags::Flags> list) {
|
|
364
364
|
uint64_t flags_accum = ProcessInitializationFlags::kNoFlags;
|
|
@@ -657,7 +657,11 @@ enum Flags : uint64_t {
|
|
|
657
657
|
// This control is needed by embedders who may not want to initialize the V8
|
|
658
658
|
// inspector in situations where one has already been created,
|
|
659
659
|
// e.g. Blink's in Chromium.
|
|
660
|
-
kNoCreateInspector = 1 << 9
|
|
660
|
+
kNoCreateInspector = 1 << 9,
|
|
661
|
+
// Controls where or not the InspectorAgent for this Environment should
|
|
662
|
+
// call StartDebugSignalHandler. This control is needed by embedders who may
|
|
663
|
+
// not want to allow other processes to start the V8 inspector.
|
|
664
|
+
kNoStartDebugSignalHandler = 1 << 10
|
|
661
665
|
};
|
|
662
666
|
} // namespace EnvironmentFlags
|
|
663
667
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#define V8_MAJOR_VERSION 12
|
|
12
12
|
#define V8_MINOR_VERSION 4
|
|
13
13
|
#define V8_BUILD_NUMBER 254
|
|
14
|
-
#define V8_PATCH_LEVEL
|
|
14
|
+
#define V8_PATCH_LEVEL 20
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -88,6 +88,9 @@ Allow using native addons when using the permission model.
|
|
|
88
88
|
.It Fl -allow-child-process
|
|
89
89
|
Allow spawning process when using the permission model.
|
|
90
90
|
.
|
|
91
|
+
.It Fl -allow-wasi
|
|
92
|
+
Allow execution of WASI when using the permission model.
|
|
93
|
+
.
|
|
91
94
|
.It Fl -allow-worker
|
|
92
95
|
Allow creating worker threads when using the permission model.
|
|
93
96
|
.
|
|
@@ -142,6 +145,11 @@ is `delete`, the property will be removed entirely. If
|
|
|
142
145
|
is `throw`, accesses to the property will throw an exception with the code
|
|
143
146
|
`ERR_PROTO_ACCESS`.
|
|
144
147
|
.
|
|
148
|
+
.It Fl -disable-wasm-trap-handler Ns = Ns Ar mode
|
|
149
|
+
Disable trap-handler-based WebAssembly bound checks and fall back to
|
|
150
|
+
inline bound checks so that WebAssembly can be run with limited virtual
|
|
151
|
+
memory.
|
|
152
|
+
.
|
|
145
153
|
.It Fl -disallow-code-generation-from-strings
|
|
146
154
|
Make built-in language features like `eval` and `new Function` that generate
|
|
147
155
|
code from strings throw an exception instead. This does not affect the Node.js
|
|
@@ -174,15 +182,21 @@ Enable experimental support for loading modules using `import` over `https:`.
|
|
|
174
182
|
.It Fl -experimental-permission
|
|
175
183
|
Enable the experimental permission model.
|
|
176
184
|
.
|
|
177
|
-
.It Fl -experimental-policy
|
|
178
|
-
Use the specified file as a security policy.
|
|
179
|
-
.
|
|
180
185
|
.It Fl -experimental-shadow-realm
|
|
181
186
|
Use this flag to enable ShadowRealm support.
|
|
182
187
|
.
|
|
183
188
|
.It Fl -experimental-test-coverage
|
|
184
189
|
Enable code coverage in the test runner.
|
|
185
190
|
.
|
|
191
|
+
.It Fl -experimental-test-module-mocks
|
|
192
|
+
Enable module mocking in the test runner.
|
|
193
|
+
.
|
|
194
|
+
.It Fl -experimental-test-snapshots
|
|
195
|
+
Enable snapshot testing in the test runner.
|
|
196
|
+
.
|
|
197
|
+
.It Fl -experimental-eventsource
|
|
198
|
+
Enable experimental support for the EventSource Web API.
|
|
199
|
+
.
|
|
186
200
|
.It Fl -no-experimental-fetch
|
|
187
201
|
Disable experimental support for the Fetch API.
|
|
188
202
|
.
|
|
@@ -279,6 +293,11 @@ and
|
|
|
279
293
|
Default is
|
|
280
294
|
.Sy stderr,http .
|
|
281
295
|
.
|
|
296
|
+
.It Fl -inspect-wait Ns = Ns Ar [host:]port
|
|
297
|
+
Activate inspector on
|
|
298
|
+
.Ar host:port
|
|
299
|
+
and wait for debugger to be attached.
|
|
300
|
+
.
|
|
282
301
|
.It Fl -inspect Ns = Ns Ar [host:]port
|
|
283
302
|
Activate inspector on
|
|
284
303
|
.Ar host:port .
|
|
@@ -343,9 +362,6 @@ Among other uses, this can be used to enable FIPS-compliant crypto if Node.js is
|
|
|
343
362
|
.It Fl -pending-deprecation
|
|
344
363
|
Emit pending deprecation warnings.
|
|
345
364
|
.
|
|
346
|
-
.It Fl -policy-integrity Ns = Ns Ar sri
|
|
347
|
-
Instructs Node.js to error prior to running any code if the policy does not have the specified integrity. It expects a Subresource Integrity string as a parameter.
|
|
348
|
-
.
|
|
349
365
|
.It Fl -preserve-symlinks
|
|
350
366
|
Instructs the module loader to preserve symbolic links when resolving and caching modules other than the main module.
|
|
351
367
|
.
|
|
@@ -450,6 +466,9 @@ whose name matches the provided pattern.
|
|
|
450
466
|
.It Fl -test-timeout
|
|
451
467
|
A number of milliseconds the test execution will fail after.
|
|
452
468
|
.
|
|
469
|
+
.It Fl -test-update-snapshots
|
|
470
|
+
Regenerates the snapshot file used by the test runner for snapshot testing.
|
|
471
|
+
.
|
|
453
472
|
.It Fl -throw-deprecation
|
|
454
473
|
Throw errors for deprecations.
|
|
455
474
|
.
|
|
@@ -798,8 +817,3 @@ GitHub repository and issue tracker:
|
|
|
798
817
|
IRC (general questions):
|
|
799
818
|
.Sy "libera.chat #node.js"
|
|
800
819
|
(unofficial)
|
|
801
|
-
.
|
|
802
|
-
.\"======================================================================
|
|
803
|
-
.Sh AUTHORS
|
|
804
|
-
Written and maintained by 1000+ contributors:
|
|
805
|
-
.Sy https://github.com/nodejs/node/blob/HEAD/AUTHORS
|