node-aix-ppc64 20.16.0 → 20.18.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.
@@ -658,10 +658,14 @@ enum Flags : uint64_t {
658
658
  // inspector in situations where one has already been created,
659
659
  // e.g. Blink's in Chromium.
660
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
661
+ // Controls whether or not the InspectorAgent for this Environment should
662
+ // call StartDebugSignalHandler. This control is needed by embedders who may
663
663
  // not want to allow other processes to start the V8 inspector.
664
- kNoStartDebugSignalHandler = 1 << 10
664
+ kNoStartDebugSignalHandler = 1 << 10,
665
+ // Controls whether the InspectorAgent created for this Environment waits for
666
+ // Inspector frontend events during the Environment creation. It's used to
667
+ // call node::Stop(env) on a Worker thread that is waiting for the events.
668
+ kNoWaitForInspectorFrontend = 1 << 11
665
669
  };
666
670
  } // namespace EnvironmentFlags
667
671
 
@@ -131,7 +131,7 @@ NAPI_EXTERN napi_status NAPI_CDECL
131
131
  napi_create_external_buffer(napi_env env,
132
132
  size_t length,
133
133
  void* data,
134
- node_api_nogc_finalize finalize_cb,
134
+ node_api_basic_finalize finalize_cb,
135
135
  void* finalize_hint,
136
136
  napi_value* result);
137
137
  #endif // NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED
@@ -159,20 +159,20 @@ napi_create_async_work(napi_env env,
159
159
  napi_async_work* result);
160
160
  NAPI_EXTERN napi_status NAPI_CDECL napi_delete_async_work(napi_env env,
161
161
  napi_async_work work);
162
- NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(node_api_nogc_env env,
162
+ NAPI_EXTERN napi_status NAPI_CDECL napi_queue_async_work(node_api_basic_env env,
163
163
  napi_async_work work);
164
- NAPI_EXTERN napi_status NAPI_CDECL napi_cancel_async_work(node_api_nogc_env env,
165
- napi_async_work work);
164
+ NAPI_EXTERN napi_status NAPI_CDECL
165
+ napi_cancel_async_work(node_api_basic_env env, napi_async_work work);
166
166
 
167
167
  // version management
168
- NAPI_EXTERN napi_status NAPI_CDECL
169
- napi_get_node_version(node_api_nogc_env env, const napi_node_version** version);
168
+ NAPI_EXTERN napi_status NAPI_CDECL napi_get_node_version(
169
+ node_api_basic_env env, const napi_node_version** version);
170
170
 
171
171
  #if NAPI_VERSION >= 2
172
172
 
173
173
  // Return the current libuv event loop for a given environment
174
174
  NAPI_EXTERN napi_status NAPI_CDECL
175
- napi_get_uv_event_loop(node_api_nogc_env env, struct uv_loop_s** loop);
175
+ napi_get_uv_event_loop(node_api_basic_env env, struct uv_loop_s** loop);
176
176
 
177
177
  #endif // NAPI_VERSION >= 2
178
178
 
@@ -182,10 +182,10 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_fatal_exception(napi_env env,
182
182
  napi_value err);
183
183
 
184
184
  NAPI_EXTERN napi_status NAPI_CDECL napi_add_env_cleanup_hook(
185
- node_api_nogc_env env, napi_cleanup_hook fun, void* arg);
185
+ node_api_basic_env env, napi_cleanup_hook fun, void* arg);
186
186
 
187
187
  NAPI_EXTERN napi_status NAPI_CDECL napi_remove_env_cleanup_hook(
188
- node_api_nogc_env env, napi_cleanup_hook fun, void* arg);
188
+ node_api_basic_env env, napi_cleanup_hook fun, void* arg);
189
189
 
190
190
  NAPI_EXTERN napi_status NAPI_CDECL
191
191
  napi_open_callback_scope(napi_env env,
@@ -229,17 +229,17 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_release_threadsafe_function(
229
229
  napi_threadsafe_function func, napi_threadsafe_function_release_mode mode);
230
230
 
231
231
  NAPI_EXTERN napi_status NAPI_CDECL napi_unref_threadsafe_function(
232
- node_api_nogc_env env, napi_threadsafe_function func);
232
+ node_api_basic_env env, napi_threadsafe_function func);
233
233
 
234
234
  NAPI_EXTERN napi_status NAPI_CDECL napi_ref_threadsafe_function(
235
- node_api_nogc_env env, napi_threadsafe_function func);
235
+ node_api_basic_env env, napi_threadsafe_function func);
236
236
 
237
237
  #endif // NAPI_VERSION >= 4
238
238
 
239
239
  #if NAPI_VERSION >= 8
240
240
 
241
241
  NAPI_EXTERN napi_status NAPI_CDECL
242
- napi_add_async_cleanup_hook(node_api_nogc_env env,
242
+ napi_add_async_cleanup_hook(node_api_basic_env env,
243
243
  napi_async_cleanup_hook hook,
244
244
  void* arg,
245
245
  napi_async_cleanup_hook_handle* remove_handle);
@@ -252,7 +252,7 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
252
252
  #if NAPI_VERSION >= 9
253
253
 
254
254
  NAPI_EXTERN napi_status NAPI_CDECL
255
- node_api_get_module_file_name(node_api_nogc_env env, const char** result);
255
+ node_api_get_module_file_name(node_api_basic_env env, const char** result);
256
256
 
257
257
  #endif // NAPI_VERSION >= 9
258
258
 
@@ -23,7 +23,7 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 20
26
- #define NODE_MINOR_VERSION 16
26
+ #define NODE_MINOR_VERSION 18
27
27
  #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-aix-ppc64",
3
- "version": "v20.16.0",
3
+ "version": "v20.18.0",
4
4
  "description": "node",
5
5
  "bin": {
6
6
  "node": "bin/node"
@@ -4,9 +4,6 @@
4
4
  .\" * Language reference:
5
5
  .\" https://man.openbsd.org/mdoc.7
6
6
  .\"
7
- .\" * Atom editor support:
8
- .\" https://atom.io/packages/language-roff
9
- .\"
10
7
  .\" * Linting changes:
11
8
  .\" mandoc -Wall -Tlint /path/to/this.file # BSD
12
9
  .\" groff -w all -z /path/to/this.file # GNU/Linux, macOS
@@ -168,9 +165,6 @@ Interpret as either ES modules or CommonJS modules input via --eval or STDIN, wh
168
165
  .js or extensionless files with no sibling or parent package.json;
169
166
  .js or extensionless files whose nearest parent package.json lacks a "type" field, unless under node_modules.
170
167
  .
171
- .It Fl -experimental-global-webcrypto
172
- Expose the Web Crypto API on the global scope.
173
- .
174
168
  .It Fl -experimental-import-meta-resolve
175
169
  Enable experimental ES modules support for import.meta.resolve().
176
170
  .
@@ -194,6 +188,12 @@ Use this flag to enable ShadowRealm support.
194
188
  .It Fl -experimental-test-coverage
195
189
  Enable code coverage in the test runner.
196
190
  .
191
+ .It Fl -experimental-test-module-mocks
192
+ Enable module mocking in the test runner.
193
+ .
194
+ .It Fl -experimental-eventsource
195
+ Enable experimental support for the EventSource Web API.
196
+ .
197
197
  .It Fl -experimental-websocket
198
198
  Enable experimental support for the WebSocket API.
199
199
  .