node-aix-ppc64 22.0.0 → 22.2.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 +312 -0
- package/LICENSE +3 -33
- package/README.md +56 -52
- package/bin/node +0 -0
- package/include/node/common.gypi +34 -12
- package/include/node/config.gypi +8 -7
- package/include/node/node.exp +13951 -12850
- package/include/node/node.h +8 -3
- package/include/node/node_version.h +1 -1
- package/package.json +1 -1
- package/share/man/man1/node.1 +15 -12
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;
|
|
@@ -537,6 +537,7 @@ class EmbedderSnapshotData {
|
|
|
537
537
|
// If the snapshot is invalid, this returns an empty pointer.
|
|
538
538
|
static Pointer FromFile(FILE* in);
|
|
539
539
|
static Pointer FromBlob(const std::vector<char>& in);
|
|
540
|
+
static Pointer FromBlob(std::string_view in);
|
|
540
541
|
|
|
541
542
|
// Write this EmbedderSnapshotData object to an output file.
|
|
542
543
|
// Calling this method will not close the FILE* handle.
|
|
@@ -656,7 +657,11 @@ enum Flags : uint64_t {
|
|
|
656
657
|
// This control is needed by embedders who may not want to initialize the V8
|
|
657
658
|
// inspector in situations where one has already been created,
|
|
658
659
|
// e.g. Blink's in Chromium.
|
|
659
|
-
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
|
|
660
665
|
};
|
|
661
666
|
} // namespace EnvironmentFlags
|
|
662
667
|
|
package/package.json
CHANGED
package/share/man/man1/node.1
CHANGED
|
@@ -142,6 +142,11 @@ is `delete`, the property will be removed entirely. If
|
|
|
142
142
|
is `throw`, accesses to the property will throw an exception with the code
|
|
143
143
|
`ERR_PROTO_ACCESS`.
|
|
144
144
|
.
|
|
145
|
+
.It Fl -disable-wasm-trap-handler Ns = Ns Ar mode
|
|
146
|
+
Disable trap-handler-based WebAssembly bound checks and fall back to
|
|
147
|
+
inline bound checks so that WebAssembly can be run with limited virtual
|
|
148
|
+
memory.
|
|
149
|
+
.
|
|
145
150
|
.It Fl -disallow-code-generation-from-strings
|
|
146
151
|
Make built-in language features like `eval` and `new Function` that generate
|
|
147
152
|
code from strings throw an exception instead. This does not affect the Node.js
|
|
@@ -174,9 +179,6 @@ Enable experimental support for loading modules using `import` over `https:`.
|
|
|
174
179
|
.It Fl -experimental-permission
|
|
175
180
|
Enable the experimental permission model.
|
|
176
181
|
.
|
|
177
|
-
.It Fl -experimental-policy
|
|
178
|
-
Use the specified file as a security policy.
|
|
179
|
-
.
|
|
180
182
|
.It Fl -experimental-shadow-realm
|
|
181
183
|
Use this flag to enable ShadowRealm support.
|
|
182
184
|
.
|
|
@@ -279,6 +281,11 @@ and
|
|
|
279
281
|
Default is
|
|
280
282
|
.Sy stderr,http .
|
|
281
283
|
.
|
|
284
|
+
.It Fl -inspect-wait Ns = Ns Ar [host:]port
|
|
285
|
+
Activate inspector on
|
|
286
|
+
.Ar host:port
|
|
287
|
+
and wait for debugger to be attached.
|
|
288
|
+
.
|
|
282
289
|
.It Fl -inspect Ns = Ns Ar [host:]port
|
|
283
290
|
Activate inspector on
|
|
284
291
|
.Ar host:port .
|
|
@@ -343,9 +350,6 @@ Among other uses, this can be used to enable FIPS-compliant crypto if Node.js is
|
|
|
343
350
|
.It Fl -pending-deprecation
|
|
344
351
|
Emit pending deprecation warnings.
|
|
345
352
|
.
|
|
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
353
|
.It Fl -preserve-symlinks
|
|
350
354
|
Instructs the module loader to preserve symbolic links when resolving and caching modules other than the main module.
|
|
351
355
|
.
|
|
@@ -442,7 +446,11 @@ option set.
|
|
|
442
446
|
.
|
|
443
447
|
.It Fl -test-shard
|
|
444
448
|
Test suite shard to execute in a format of <index>/<total>.
|
|
445
|
-
|
|
449
|
+
.
|
|
450
|
+
.It Fl -test-skip-pattern
|
|
451
|
+
A regular expression that configures the test runner to skip tests
|
|
452
|
+
whose name matches the provided pattern.
|
|
453
|
+
.
|
|
446
454
|
.It Fl -test-timeout
|
|
447
455
|
A number of milliseconds the test execution will fail after.
|
|
448
456
|
.
|
|
@@ -794,8 +802,3 @@ GitHub repository and issue tracker:
|
|
|
794
802
|
IRC (general questions):
|
|
795
803
|
.Sy "libera.chat #node.js"
|
|
796
804
|
(unofficial)
|
|
797
|
-
.
|
|
798
|
-
.\"======================================================================
|
|
799
|
-
.Sh AUTHORS
|
|
800
|
-
Written and maintained by 1000+ contributors:
|
|
801
|
-
.Sy https://github.com/nodejs/node/blob/HEAD/AUTHORS
|