@encharm/cws 4.5.1 → 4.5.3

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.
Files changed (249) hide show
  1. package/README.md +3 -5
  2. package/binding.gyp +1 -1
  3. package/dist/bindings/cws_darwin_arm64_node115.node +0 -0
  4. package/dist/bindings/cws_darwin_arm64_node115.node.dSYM/Contents/Info.plist +20 -0
  5. package/dist/bindings/cws_darwin_arm64_node115.node.dSYM/Contents/Resources/DWARF/cws_darwin_arm64_node115.node +0 -0
  6. package/dist/bindings/cws_darwin_arm64_node115.node.dSYM/Contents/Resources/Relocations/aarch64/cws_darwin_arm64_node115.node.yml +931 -0
  7. package/dist/bindings/cws_darwin_arm64_node127.node +0 -0
  8. package/dist/bindings/cws_darwin_arm64_node127.node.dSYM/Contents/Info.plist +20 -0
  9. package/dist/bindings/cws_darwin_arm64_node127.node.dSYM/Contents/Resources/DWARF/cws_darwin_arm64_node127.node +0 -0
  10. package/dist/bindings/cws_darwin_arm64_node127.node.dSYM/Contents/Resources/Relocations/aarch64/cws_darwin_arm64_node127.node.yml +931 -0
  11. package/dist/bindings/cws_darwin_arm64_node137.node +0 -0
  12. package/dist/bindings/cws_linux_x64_node137.node +0 -0
  13. package/dist/bindings/cws_win32_x64_node137.node +0 -0
  14. package/package.json +1 -1
  15. package/src/Addon.h +6 -1
  16. package/src/headers/24/acorn_version.h +6 -0
  17. package/src/headers/24/addon_permission.h +31 -0
  18. package/src/headers/24/agent.h +195 -0
  19. package/src/headers/24/aliased_buffer-inl.h +244 -0
  20. package/src/headers/24/aliased_buffer.h +206 -0
  21. package/src/headers/24/aliased_struct-inl.h +54 -0
  22. package/src/headers/24/aliased_struct.h +63 -0
  23. package/src/headers/24/amaro_version.h +6 -0
  24. package/src/headers/24/application.h +165 -0
  25. package/src/headers/24/async_context_frame.h +33 -0
  26. package/src/headers/24/async_wrap-inl.h +96 -0
  27. package/src/headers/24/async_wrap.h +244 -0
  28. package/src/headers/24/base_object-inl.h +330 -0
  29. package/src/headers/24/base_object.h +338 -0
  30. package/src/headers/24/base_object_types.h +74 -0
  31. package/src/headers/24/bindingdata.h +272 -0
  32. package/src/headers/24/blob_serializer_deserializer-inl.h +385 -0
  33. package/src/headers/24/blob_serializer_deserializer.h +132 -0
  34. package/src/headers/24/callback_queue-inl.h +97 -0
  35. package/src/headers/24/callback_queue.h +79 -0
  36. package/src/headers/24/cares_wrap.h +447 -0
  37. package/src/headers/24/child_process_permission.h +31 -0
  38. package/src/headers/24/cid.h +127 -0
  39. package/src/headers/24/cjs_module_lexer_version.h +6 -0
  40. package/src/headers/24/cleanup_queue-inl.h +36 -0
  41. package/src/headers/24/cleanup_queue.h +79 -0
  42. package/src/headers/24/compile_cache.h +113 -0
  43. package/src/headers/24/connect_wrap.h +26 -0
  44. package/src/headers/24/connection_wrap.h +30 -0
  45. package/src/headers/24/cppgc_helpers-inl.h +65 -0
  46. package/src/headers/24/cppgc_helpers.h +162 -0
  47. package/src/headers/24/crypto/crypto_aes.h +97 -0
  48. package/src/headers/24/crypto/crypto_argon2.h +86 -0
  49. package/src/headers/24/crypto/crypto_bio.h +193 -0
  50. package/src/headers/24/crypto/crypto_chacha20_poly1305.h +64 -0
  51. package/src/headers/24/crypto/crypto_cipher.h +281 -0
  52. package/src/headers/24/crypto/crypto_clienthello-inl.h +90 -0
  53. package/src/headers/24/crypto/crypto_clienthello.h +131 -0
  54. package/src/headers/24/crypto/crypto_common.h +48 -0
  55. package/src/headers/24/crypto/crypto_context.h +171 -0
  56. package/src/headers/24/crypto/crypto_dh.h +126 -0
  57. package/src/headers/24/crypto/crypto_dsa.h +50 -0
  58. package/src/headers/24/crypto/crypto_ec.h +163 -0
  59. package/src/headers/24/crypto/crypto_hash.h +89 -0
  60. package/src/headers/24/crypto/crypto_hkdf.h +61 -0
  61. package/src/headers/24/crypto/crypto_hmac.h +92 -0
  62. package/src/headers/24/crypto/crypto_kem.h +113 -0
  63. package/src/headers/24/crypto/crypto_keygen.h +290 -0
  64. package/src/headers/24/crypto/crypto_keys.h +392 -0
  65. package/src/headers/24/crypto/crypto_ml_dsa.h +21 -0
  66. package/src/headers/24/crypto/crypto_pbkdf2.h +74 -0
  67. package/src/headers/24/crypto/crypto_random.h +124 -0
  68. package/src/headers/24/crypto/crypto_rsa.h +136 -0
  69. package/src/headers/24/crypto/crypto_scrypt.h +85 -0
  70. package/src/headers/24/crypto/crypto_sig.h +156 -0
  71. package/src/headers/24/crypto/crypto_spkac.h +21 -0
  72. package/src/headers/24/crypto/crypto_timing.h +20 -0
  73. package/src/headers/24/crypto/crypto_tls.h +309 -0
  74. package/src/headers/24/crypto/crypto_util.h +598 -0
  75. package/src/headers/24/crypto/crypto_x509.h +140 -0
  76. package/src/headers/24/data.h +148 -0
  77. package/src/headers/24/debug_utils-inl.h +232 -0
  78. package/src/headers/24/debug_utils.h +193 -0
  79. package/src/headers/24/defs.h +254 -0
  80. package/src/headers/24/diagnosticfilename-inl.h +33 -0
  81. package/src/headers/24/embedded_data.h +17 -0
  82. package/src/headers/24/encoding_binding.h +60 -0
  83. package/src/headers/24/endpoint.h +421 -0
  84. package/src/headers/24/env-inl.h +935 -0
  85. package/src/headers/24/env.h +1257 -0
  86. package/src/headers/24/env_properties.h +561 -0
  87. package/src/headers/24/fs_permission.h +167 -0
  88. package/src/headers/24/handle_wrap.h +123 -0
  89. package/src/headers/24/histogram-inl.h +107 -0
  90. package/src/headers/24/histogram.h +279 -0
  91. package/src/headers/24/http3.h +44 -0
  92. package/src/headers/24/inspector_agent.h +165 -0
  93. package/src/headers/24/inspector_io.h +78 -0
  94. package/src/headers/24/inspector_permission.h +31 -0
  95. package/src/headers/24/inspector_profiler.h +149 -0
  96. package/src/headers/24/inspector_socket.h +60 -0
  97. package/src/headers/24/inspector_socket_server.h +110 -0
  98. package/src/headers/24/io_agent.h +30 -0
  99. package/src/headers/24/js_native_api.h +615 -0
  100. package/src/headers/24/js_native_api_types.h +211 -0
  101. package/src/headers/24/js_native_api_v8.h +485 -0
  102. package/src/headers/24/js_native_api_v8_internals.h +45 -0
  103. package/src/headers/24/js_stream.h +52 -0
  104. package/src/headers/24/json_parser.h +40 -0
  105. package/src/headers/24/json_utils.h +172 -0
  106. package/src/headers/24/logstream.h +81 -0
  107. package/src/headers/24/main_thread_interface.h +116 -0
  108. package/src/headers/24/memory_tracker-inl.h +454 -0
  109. package/src/headers/24/memory_tracker.h +333 -0
  110. package/src/headers/24/module_wrap.h +229 -0
  111. package/src/headers/24/ncrypto.h +1625 -0
  112. package/src/headers/24/network_agent.h +118 -0
  113. package/src/headers/24/network_inspector.h +45 -0
  114. package/src/headers/24/network_resource_manager.h +29 -0
  115. package/src/headers/24/node.h +1620 -0
  116. package/src/headers/24/node_api.h +269 -0
  117. package/src/headers/24/node_api_internals.h +46 -0
  118. package/src/headers/24/node_api_types.h +52 -0
  119. package/src/headers/24/node_binding.h +163 -0
  120. package/src/headers/24/node_blob.h +159 -0
  121. package/src/headers/24/node_bob-inl.h +36 -0
  122. package/src/headers/24/node_bob.h +107 -0
  123. package/src/headers/24/node_buffer.h +92 -0
  124. package/src/headers/24/node_builtins.h +223 -0
  125. package/src/headers/24/node_config_file.h +65 -0
  126. package/src/headers/24/node_constants.h +82 -0
  127. package/src/headers/24/node_context_data.h +168 -0
  128. package/src/headers/24/node_contextify.h +261 -0
  129. package/src/headers/24/node_crypto.h +62 -0
  130. package/src/headers/24/node_debug.h +25 -0
  131. package/src/headers/24/node_dir.h +52 -0
  132. package/src/headers/24/node_dotenv.h +45 -0
  133. package/src/headers/24/node_errors.h +391 -0
  134. package/src/headers/24/node_exit_code.h +54 -0
  135. package/src/headers/24/node_external_reference.h +167 -0
  136. package/src/headers/24/node_file-inl.h +412 -0
  137. package/src/headers/24/node_file.h +540 -0
  138. package/src/headers/24/node_http2.h +1175 -0
  139. package/src/headers/24/node_http2_state.h +159 -0
  140. package/src/headers/24/node_http_common-inl.h +198 -0
  141. package/src/headers/24/node_http_common.h +535 -0
  142. package/src/headers/24/node_i18n.h +132 -0
  143. package/src/headers/24/node_internals.h +476 -0
  144. package/src/headers/24/node_json.h +24 -0
  145. package/src/headers/24/node_large_page.h +34 -0
  146. package/src/headers/24/node_locks.h +180 -0
  147. package/src/headers/24/node_main_instance.h +67 -0
  148. package/src/headers/24/node_mem-inl.h +112 -0
  149. package/src/headers/24/node_mem.h +45 -0
  150. package/src/headers/24/node_messaging.h +389 -0
  151. package/src/headers/24/node_metadata.h +164 -0
  152. package/src/headers/24/node_modules.h +93 -0
  153. package/src/headers/24/node_mutex.h +323 -0
  154. package/src/headers/24/node_object_wrap.h +132 -0
  155. package/src/headers/24/node_options-inl.h +524 -0
  156. package/src/headers/24/node_options.h +682 -0
  157. package/src/headers/24/node_perf.h +166 -0
  158. package/src/headers/24/node_perf_common.h +102 -0
  159. package/src/headers/24/node_platform.h +286 -0
  160. package/src/headers/24/node_process-inl.h +26 -0
  161. package/src/headers/24/node_process.h +111 -0
  162. package/src/headers/24/node_realm-inl.h +153 -0
  163. package/src/headers/24/node_realm.h +236 -0
  164. package/src/headers/24/node_report.h +43 -0
  165. package/src/headers/24/node_revert.h +82 -0
  166. package/src/headers/24/node_root_certs.h +3546 -0
  167. package/src/headers/24/node_sea.h +74 -0
  168. package/src/headers/24/node_shadow_realm.h +46 -0
  169. package/src/headers/24/node_snapshot_builder.h +57 -0
  170. package/src/headers/24/node_snapshotable.h +174 -0
  171. package/src/headers/24/node_sockaddr-inl.h +257 -0
  172. package/src/headers/24/node_sockaddr.h +394 -0
  173. package/src/headers/24/node_sqlite.h +270 -0
  174. package/src/headers/24/node_stat_watcher.h +73 -0
  175. package/src/headers/24/node_string.h +101 -0
  176. package/src/headers/24/node_task_runner.h +92 -0
  177. package/src/headers/24/node_threadsafe_cow-inl.h +54 -0
  178. package/src/headers/24/node_threadsafe_cow.h +105 -0
  179. package/src/headers/24/node_trace_buffer.h +83 -0
  180. package/src/headers/24/node_trace_writer.h +75 -0
  181. package/src/headers/24/node_union_bytes.h +81 -0
  182. package/src/headers/24/node_url.h +101 -0
  183. package/src/headers/24/node_url_pattern.h +118 -0
  184. package/src/headers/24/node_v8.h +77 -0
  185. package/src/headers/24/node_v8_platform-inl.h +185 -0
  186. package/src/headers/24/node_version.h +110 -0
  187. package/src/headers/24/node_wasi.h +185 -0
  188. package/src/headers/24/node_wasm_web_api.h +55 -0
  189. package/src/headers/24/node_watchdog.h +154 -0
  190. package/src/headers/24/node_webstorage.h +60 -0
  191. package/src/headers/24/node_worker.h +159 -0
  192. package/src/headers/24/packet.h +155 -0
  193. package/src/headers/24/path.h +33 -0
  194. package/src/headers/24/permission/addon_permission.h +31 -0
  195. package/src/headers/24/permission/child_process_permission.h +31 -0
  196. package/src/headers/24/permission/fs_permission.h +167 -0
  197. package/src/headers/24/permission/inspector_permission.h +31 -0
  198. package/src/headers/24/permission/permission.h +100 -0
  199. package/src/headers/24/permission/permission_base.h +65 -0
  200. package/src/headers/24/permission/wasi_permission.h +31 -0
  201. package/src/headers/24/permission/worker_permission.h +31 -0
  202. package/src/headers/24/permission.h +100 -0
  203. package/src/headers/24/permission_base.h +65 -0
  204. package/src/headers/24/pipe_wrap.h +80 -0
  205. package/src/headers/24/preferredaddress.h +72 -0
  206. package/src/headers/24/protocol_helper.h +27 -0
  207. package/src/headers/24/queue.h +306 -0
  208. package/src/headers/24/req_wrap-inl.h +176 -0
  209. package/src/headers/24/req_wrap.h +79 -0
  210. package/src/headers/24/runtime_agent.h +41 -0
  211. package/src/headers/24/session.h +528 -0
  212. package/src/headers/24/sessionticket.h +108 -0
  213. package/src/headers/24/spawn_sync.h +243 -0
  214. package/src/headers/24/stream_base-inl.h +173 -0
  215. package/src/headers/24/stream_base.h +478 -0
  216. package/src/headers/24/stream_pipe.h +76 -0
  217. package/src/headers/24/stream_wrap.h +132 -0
  218. package/src/headers/24/streams.h +370 -0
  219. package/src/headers/24/string_bytes.h +109 -0
  220. package/src/headers/24/string_decoder-inl.h +31 -0
  221. package/src/headers/24/string_decoder.h +49 -0
  222. package/src/headers/24/target_agent.h +75 -0
  223. package/src/headers/24/tcp_wrap.h +105 -0
  224. package/src/headers/24/threadpoolwork-inl.h +70 -0
  225. package/src/headers/24/timer_wrap-inl.h +32 -0
  226. package/src/headers/24/timer_wrap.h +87 -0
  227. package/src/headers/24/timers.h +75 -0
  228. package/src/headers/24/tlscontext.h +228 -0
  229. package/src/headers/24/tokens.h +256 -0
  230. package/src/headers/24/trace_event.h +722 -0
  231. package/src/headers/24/trace_event_common.h +1109 -0
  232. package/src/headers/24/traced_value.h +129 -0
  233. package/src/headers/24/tracing/agent.h +195 -0
  234. package/src/headers/24/tracing/trace_event.h +722 -0
  235. package/src/headers/24/tracing_agent.h +43 -0
  236. package/src/headers/24/transportparams.h +166 -0
  237. package/src/headers/24/tty_wrap.h +65 -0
  238. package/src/headers/24/udp_wrap.h +230 -0
  239. package/src/headers/24/undici_version.h +6 -0
  240. package/src/headers/24/util-inl.h +711 -0
  241. package/src/headers/24/util.h +1016 -0
  242. package/src/headers/24/v8-external-memory-accounter.h +60 -0
  243. package/src/headers/24/v8-fast-api-calls.h +819 -0
  244. package/src/headers/24/v8-inspector.h +426 -0
  245. package/src/headers/24/wasi_permission.h +31 -0
  246. package/src/headers/24/worker_agent.h +40 -0
  247. package/src/headers/24/worker_inspector.h +124 -0
  248. package/src/headers/24/worker_permission.h +31 -0
  249. package/src/headers/24/zlib_version.h +6 -0
@@ -0,0 +1,561 @@
1
+ #ifndef SRC_ENV_PROPERTIES_H_
2
+ #define SRC_ENV_PROPERTIES_H_
3
+
4
+ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5
+
6
+ // PER_ISOLATE_* macros: We have a lot of per-isolate properties
7
+ // and adding and maintaining their getters and setters by hand would be
8
+ // difficult so let's make the preprocessor generate them for us.
9
+ //
10
+ // In each macro, `V` is expected to be the name of a macro or function which
11
+ // accepts the number of arguments provided in each tuple in the macro body,
12
+ // typically two. The named function will be invoked against each tuple.
13
+ //
14
+ // Make sure that any macro V defined for use with the PER_ISOLATE_* macros is
15
+ // undefined again after use.
16
+
17
+ // Private symbols are per-isolate primitives but Environment proxies them
18
+ // for the sake of convenience. Strings should be ASCII-only and have a
19
+ // "node:" prefix to avoid name clashes with third-party code.
20
+ #define PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(V) \
21
+ V(arrow_message_private_symbol, "node:arrowMessage") \
22
+ V(contextify_context_private_symbol, "node:contextify:context") \
23
+ V(decorated_private_symbol, "node:decorated") \
24
+ V(transfer_mode_private_symbol, "node:transfer_mode") \
25
+ V(host_defined_option_symbol, "node:host_defined_option_symbol") \
26
+ V(js_transferable_wrapper_private_symbol, "node:js_transferable_wrapper") \
27
+ V(entry_point_module_private_symbol, "node:entry_point_module") \
28
+ V(entry_point_promise_private_symbol, "node:entry_point_promise") \
29
+ V(module_source_private_symbol, "node:module_source") \
30
+ V(module_export_names_private_symbol, "node:module_export_names") \
31
+ V(module_circular_visited_private_symbol, "node:module_circular_visited") \
32
+ V(module_export_private_symbol, "node:module_export") \
33
+ V(module_parent_private_symbol, "node:module_parent") \
34
+ V(napi_type_tag, "node:napi:type_tag") \
35
+ V(napi_wrapper, "node:napi:wrapper") \
36
+ V(untransferable_object_private_symbol, "node:untransferableObject") \
37
+ V(exit_info_private_symbol, "node:exit_info_private_symbol") \
38
+ V(promise_trace_id, "node:promise_trace_id") \
39
+ V(source_map_data_private_symbol, "node:source_map_data_private_symbol")
40
+
41
+ // Symbols are per-isolate primitives but Environment proxies them
42
+ // for the sake of convenience.
43
+ #define PER_ISOLATE_SYMBOL_PROPERTIES(V) \
44
+ V(fs_use_promises_symbol, "fs_use_promises_symbol") \
45
+ V(async_id_symbol, "async_id_symbol") \
46
+ V(constructor_key_symbol, "constructor_key_symbol") \
47
+ V(handle_onclose_symbol, "handle_onclose") \
48
+ V(no_message_symbol, "no_message_symbol") \
49
+ V(messaging_deserialize_symbol, "messaging_deserialize_symbol") \
50
+ V(imported_cjs_symbol, "imported_cjs_symbol") \
51
+ V(messaging_transfer_symbol, "messaging_transfer_symbol") \
52
+ V(messaging_clone_symbol, "messaging_clone_symbol") \
53
+ V(messaging_transfer_list_symbol, "messaging_transfer_list_symbol") \
54
+ V(oninit_symbol, "oninit") \
55
+ V(owner_symbol, "owner_symbol") \
56
+ V(onpskexchange_symbol, "onpskexchange") \
57
+ V(resource_symbol, "resource_symbol") \
58
+ V(trigger_async_id_symbol, "trigger_async_id_symbol") \
59
+ V(source_text_module_default_hdo, "source_text_module_default_hdo") \
60
+ V(vm_context_no_contextify, "vm_context_no_contextify") \
61
+ V(vm_dynamic_import_default_internal, "vm_dynamic_import_default_internal") \
62
+ V(vm_dynamic_import_main_context_default, \
63
+ "vm_dynamic_import_main_context_default") \
64
+ V(vm_dynamic_import_missing_flag, "vm_dynamic_import_missing_flag") \
65
+ V(vm_dynamic_import_no_callback, "vm_dynamic_import_no_callback")
66
+
67
+ // Strings are per-isolate primitives but Environment proxies them
68
+ // for the sake of convenience. Strings should be ASCII-only.
69
+ #define PER_ISOLATE_STRING_PROPERTIES(V) \
70
+ V(__filename_string, "__filename") \
71
+ V(__dirname_string, "__dirname") \
72
+ V(ack_string, "ack") \
73
+ V(address_string, "address") \
74
+ V(aliases_string, "aliases") \
75
+ V(allow_bare_named_params_string, "allowBareNamedParameters") \
76
+ V(allow_unknown_named_params_string, "allowUnknownNamedParameters") \
77
+ V(alpn_callback_string, "ALPNCallback") \
78
+ V(args_string, "args") \
79
+ V(asn1curve_string, "asn1Curve") \
80
+ V(async_ids_stack_string, "async_ids_stack") \
81
+ V(attributes_string, "attributes") \
82
+ V(backup_string, "backup") \
83
+ V(base_string, "base") \
84
+ V(base_url_string, "baseURL") \
85
+ V(bits_string, "bits") \
86
+ V(block_list_string, "blockList") \
87
+ V(buffer_string, "buffer") \
88
+ V(bytes_parsed_string, "bytesParsed") \
89
+ V(bytes_read_string, "bytesRead") \
90
+ V(bytes_written_string, "bytesWritten") \
91
+ V(ca_string, "ca") \
92
+ V(cached_data_produced_string, "cachedDataProduced") \
93
+ V(cached_data_rejected_string, "cachedDataRejected") \
94
+ V(cached_data_string, "cachedData") \
95
+ V(cache_key_string, "cacheKey") \
96
+ V(cert_usage_string, "certUsage") \
97
+ V(change_string, "change") \
98
+ V(changes_string, "changes") \
99
+ V(channel_string, "channel") \
100
+ V(chunks_sent_since_last_write_string, "chunksSentSinceLastWrite") \
101
+ V(client_id_string, "clientId") \
102
+ V(clone_unsupported_type_str, "Cannot clone object of unsupported type.") \
103
+ V(clone_transfer_needed_str, \
104
+ "Object that needs transfer was found in message but not listed in " \
105
+ "transferList") \
106
+ V(clone_untransferable_str, "Found invalid value in transferList.") \
107
+ V(code_string, "code") \
108
+ V(column_number_string, "columnNumber") \
109
+ V(column_string, "column") \
110
+ V(commonjs_string, "commonjs") \
111
+ V(config_string, "config") \
112
+ V(constants_string, "constants") \
113
+ V(crypto_dh_string, "dh") \
114
+ V(crypto_dsa_string, "dsa") \
115
+ V(crypto_ec_string, "ec") \
116
+ V(crypto_ed25519_string, "ed25519") \
117
+ V(crypto_ed448_string, "ed448") \
118
+ V(crypto_ml_dsa_44_string, "ml-dsa-44") \
119
+ V(crypto_ml_dsa_65_string, "ml-dsa-65") \
120
+ V(crypto_ml_dsa_87_string, "ml-dsa-87") \
121
+ V(crypto_ml_kem_512_string, "ml-kem-512") \
122
+ V(crypto_ml_kem_768_string, "ml-kem-768") \
123
+ V(crypto_ml_kem_1024_string, "ml-kem-1024") \
124
+ V(crypto_x25519_string, "x25519") \
125
+ V(crypto_x448_string, "x448") \
126
+ V(crypto_rsa_string, "rsa") \
127
+ V(crypto_rsa_pss_string, "rsa-pss") \
128
+ V(cwd_string, "cwd") \
129
+ V(data_string, "data") \
130
+ V(database_string, "database") \
131
+ V(default_is_true_string, "defaultIsTrue") \
132
+ V(deserialize_info_string, "deserializeInfo") \
133
+ V(dest_string, "dest") \
134
+ V(destroyed_string, "destroyed") \
135
+ V(detached_string, "detached") \
136
+ V(dh_string, "DH") \
137
+ V(dirname_string, "dirname") \
138
+ V(divisor_length_string, "divisorLength") \
139
+ V(dns_a_string, "A") \
140
+ V(dns_aaaa_string, "AAAA") \
141
+ V(dns_caa_string, "CAA") \
142
+ V(dns_critical_string, "critical") \
143
+ V(dns_cname_string, "CNAME") \
144
+ V(dns_mx_string, "MX") \
145
+ V(dns_naptr_string, "NAPTR") \
146
+ V(dns_ns_string, "NS") \
147
+ V(dns_ptr_string, "PTR") \
148
+ V(dns_soa_string, "SOA") \
149
+ V(dns_srv_string, "SRV") \
150
+ V(dns_tlsa_string, "TLSA") \
151
+ V(dns_txt_string, "TXT") \
152
+ V(done_string, "done") \
153
+ V(duration_string, "duration") \
154
+ V(ecdh_string, "ECDH") \
155
+ V(emit_string, "emit") \
156
+ V(emit_warning_string, "emitWarning") \
157
+ V(empty_object_string, "{}") \
158
+ V(encoding_string, "encoding") \
159
+ V(entries_string, "entries") \
160
+ V(entry_type_string, "entryType") \
161
+ V(env_pairs_string, "envPairs") \
162
+ V(env_var_settings_string, "envVarSettings") \
163
+ V(err_sqlite_error_string, "ERR_SQLITE_ERROR") \
164
+ V(errcode_string, "errcode") \
165
+ V(errno_string, "errno") \
166
+ V(error_string, "error") \
167
+ V(errstr_string, "errstr") \
168
+ V(events_waiting, "eventsWaiting") \
169
+ V(events, "events") \
170
+ V(exchange_string, "exchange") \
171
+ V(expire_string, "expire") \
172
+ V(exponent_string, "exponent") \
173
+ V(exports_string, "exports") \
174
+ V(ext_key_usage_string, "ext_key_usage") \
175
+ V(external_stream_string, "_externalStream") \
176
+ V(family_string, "family") \
177
+ V(fatal_exception_string, "_fatalException") \
178
+ V(fd_string, "fd") \
179
+ V(fields_string, "fields") \
180
+ V(file_string, "file") \
181
+ V(filename_string, "filename") \
182
+ V(filter_string, "filter") \
183
+ V(fingerprint256_string, "fingerprint256") \
184
+ V(fingerprint512_string, "fingerprint512") \
185
+ V(fingerprint_string, "fingerprint") \
186
+ V(flags_string, "flags") \
187
+ V(flowlabel_string, "flowlabel") \
188
+ V(fragment_string, "fragment") \
189
+ V(frames_received_string, "framesReceived") \
190
+ V(frames_sent_string, "framesSent") \
191
+ V(function_name_string, "functionName") \
192
+ V(function_string, "function") \
193
+ V(get_string, "get") \
194
+ V(get_data_clone_error_string, "_getDataCloneError") \
195
+ V(get_shared_array_buffer_id_string, "_getSharedArrayBufferId") \
196
+ V(gid_string, "gid") \
197
+ V(groups_string, "groups") \
198
+ V(has_regexp_groups_string, "hasRegExpGroups") \
199
+ V(hash_string, "hash") \
200
+ V(h2_string, "h2") \
201
+ V(handle_string, "handle") \
202
+ V(hash_algorithm_string, "hashAlgorithm") \
203
+ V(held_string, "held") \
204
+ V(help_text_string, "helpText") \
205
+ V(homedir_string, "homedir") \
206
+ V(host_string, "host") \
207
+ V(hostmaster_string, "hostmaster") \
208
+ V(hostname_string, "hostname") \
209
+ V(href_string, "href") \
210
+ V(http_1_1_string, "http/1.1") \
211
+ V(id_string, "id") \
212
+ V(identity_string, "identity") \
213
+ V(ignore_case_string, "ignoreCase") \
214
+ V(ignore_string, "ignore") \
215
+ V(infoaccess_string, "infoAccess") \
216
+ V(inherit_string, "inherit") \
217
+ V(input_string, "input") \
218
+ V(inputs_string, "inputs") \
219
+ V(internal_binding_string, "internalBinding") \
220
+ V(internal_string, "internal") \
221
+ V(inverse_string, "inverse") \
222
+ V(ipv4_string, "IPv4") \
223
+ V(ipv6_string, "IPv6") \
224
+ V(isclosing_string, "isClosing") \
225
+ V(isfinished_string, "isFinished") \
226
+ V(issuer_string, "issuer") \
227
+ V(issuercert_string, "issuerCertificate") \
228
+ V(iterator_string, "Iterator") \
229
+ V(jwk_akp_string, "AKP") \
230
+ V(jwk_alg_string, "alg") \
231
+ V(jwk_crv_string, "crv") \
232
+ V(jwk_d_string, "d") \
233
+ V(jwk_dp_string, "dp") \
234
+ V(jwk_dq_string, "dq") \
235
+ V(jwk_dsa_string, "DSA") \
236
+ V(jwk_e_string, "e") \
237
+ V(jwk_ec_string, "EC") \
238
+ V(jwk_g_string, "g") \
239
+ V(jwk_k_string, "k") \
240
+ V(jwk_kty_string, "kty") \
241
+ V(jwk_n_string, "n") \
242
+ V(jwk_oct_string, "oct") \
243
+ V(jwk_okp_string, "OKP") \
244
+ V(jwk_p_string, "p") \
245
+ V(jwk_priv_string, "priv") \
246
+ V(jwk_pub_string, "pub") \
247
+ V(jwk_q_string, "q") \
248
+ V(jwk_qi_string, "qi") \
249
+ V(jwk_rsa_string, "RSA") \
250
+ V(jwk_x_string, "x") \
251
+ V(jwk_y_string, "y") \
252
+ V(kill_signal_string, "killSignal") \
253
+ V(kind_string, "kind") \
254
+ V(last_insert_rowid_string, "lastInsertRowid") \
255
+ V(length_string, "length") \
256
+ V(library_string, "library") \
257
+ V(line_number_string, "lineNumber") \
258
+ V(loop_count, "loopCount") \
259
+ V(mac_string, "mac") \
260
+ V(match_string, "match") \
261
+ V(max_buffer_string, "maxBuffer") \
262
+ V(max_concurrent_streams_string, "maxConcurrentStreams") \
263
+ V(message_port_constructor_string, "MessagePort") \
264
+ V(message_port_string, "messagePort") \
265
+ V(message_string, "message") \
266
+ V(messageerror_string, "messageerror") \
267
+ V(mgf1_hash_algorithm_string, "mgf1HashAlgorithm") \
268
+ V(minttl_string, "minttl") \
269
+ V(mode_string, "mode") \
270
+ V(module_string, "module") \
271
+ V(modulus_string, "modulus") \
272
+ V(modulus_length_string, "modulusLength") \
273
+ V(name_string, "name") \
274
+ V(named_curve_string, "namedCurve") \
275
+ V(netmask_string, "netmask") \
276
+ V(next_string, "next") \
277
+ V(nistcurve_string, "nistCurve") \
278
+ V(node_string, "node") \
279
+ V(nsname_string, "nsname") \
280
+ V(num_cols_string, "num_cols") \
281
+ V(object_string, "Object") \
282
+ V(ocsp_request_string, "OCSPRequest") \
283
+ V(oncertcb_string, "oncertcb") \
284
+ V(onchange_string, "onchange") \
285
+ V(onclienthello_string, "onclienthello") \
286
+ V(oncomplete_string, "oncomplete") \
287
+ V(onconflict_string, "onConflict") \
288
+ V(onconnection_string, "onconnection") \
289
+ V(ondone_string, "ondone") \
290
+ V(onerror_string, "onerror") \
291
+ V(onexit_string, "onexit") \
292
+ V(onhandshakedone_string, "onhandshakedone") \
293
+ V(onhandshakestart_string, "onhandshakestart") \
294
+ V(onkeylog_string, "onkeylog") \
295
+ V(onmessage_string, "onmessage") \
296
+ V(onnewsession_string, "onnewsession") \
297
+ V(onocspresponse_string, "onocspresponse") \
298
+ V(onreadstart_string, "onreadstart") \
299
+ V(onreadstop_string, "onreadstop") \
300
+ V(onshutdown_string, "onshutdown") \
301
+ V(onsignal_string, "onsignal") \
302
+ V(onunpipe_string, "onunpipe") \
303
+ V(onwrite_string, "onwrite") \
304
+ V(ongracefulclosecomplete_string, "ongracefulclosecomplete") \
305
+ V(openssl_error_stack, "opensslErrorStack") \
306
+ V(options_string, "options") \
307
+ V(order_string, "order") \
308
+ V(original_string, "original") \
309
+ V(output_string, "output") \
310
+ V(overlapped_string, "overlapped") \
311
+ V(parse_error_string, "Parse Error") \
312
+ V(password_string, "password") \
313
+ V(path_string, "path") \
314
+ V(pathname_string, "pathname") \
315
+ V(pending_handle_string, "pendingHandle") \
316
+ V(pending_string, "pending") \
317
+ V(permission_string, "permission") \
318
+ V(phase_string, "phase") \
319
+ V(pid_string, "pid") \
320
+ V(ping_rtt_string, "pingRTT") \
321
+ V(pipe_source_string, "pipeSource") \
322
+ V(pipe_string, "pipe") \
323
+ V(pipe_target_string, "pipeTarget") \
324
+ V(port1_string, "port1") \
325
+ V(port2_string, "port2") \
326
+ V(port_string, "port") \
327
+ V(preference_string, "preference") \
328
+ V(primordials_string, "primordials") \
329
+ V(priority_string, "priority") \
330
+ V(process_string, "process") \
331
+ V(progress_string, "progress") \
332
+ V(promise_string, "promise") \
333
+ V(protocol_string, "protocol") \
334
+ V(prototype_string, "prototype") \
335
+ V(psk_string, "psk") \
336
+ V(pubkey_string, "pubkey") \
337
+ V(public_exponent_string, "publicExponent") \
338
+ V(query_string, "query") \
339
+ V(rate_string, "rate") \
340
+ V(raw_string, "raw") \
341
+ V(read_host_object_string, "_readHostObject") \
342
+ V(readable_string, "readable") \
343
+ V(read_bigints_string, "readBigInts") \
344
+ V(reason_string, "reason") \
345
+ V(refresh_string, "refresh") \
346
+ V(regexp_string, "regexp") \
347
+ V(remaining_pages_string, "remainingPages") \
348
+ V(rename_string, "rename") \
349
+ V(replacement_string, "replacement") \
350
+ V(required_module_facade_url_string, \
351
+ "node:internal/require_module_default_facade") \
352
+ V(required_module_facade_source_string, \
353
+ "export * from 'original'; export { default } from 'original'; export " \
354
+ "const __esModule = true;") \
355
+ V(require_string, "require") \
356
+ V(resolve_string, "resolve") \
357
+ V(resource_string, "resource") \
358
+ V(result_string, "result") \
359
+ V(retry_string, "retry") \
360
+ V(return_arrays_string, "returnArrays") \
361
+ V(return_string, "return") \
362
+ V(salt_length_string, "saltLength") \
363
+ V(scheme_string, "scheme") \
364
+ V(scopeid_string, "scopeid") \
365
+ V(script_id_string, "scriptId") \
366
+ V(script_name_string, "scriptName") \
367
+ V(search_string, "search") \
368
+ V(selector_string, "selector") \
369
+ V(serial_number_string, "serialNumber") \
370
+ V(serial_string, "serial") \
371
+ V(servername_string, "servername") \
372
+ V(service_string, "service") \
373
+ V(session_id_string, "sessionId") \
374
+ V(set_string, "set") \
375
+ V(shell_string, "shell") \
376
+ V(signal_string, "signal") \
377
+ V(sink_string, "sink") \
378
+ V(size_string, "size") \
379
+ V(sni_context_err_string, "Invalid SNI context") \
380
+ V(sni_context_string, "sni_context") \
381
+ V(source_string, "source") \
382
+ V(source_map_url_string, "sourceMapURL") \
383
+ V(source_url_string, "sourceURL") \
384
+ V(specifier_string, "specifier") \
385
+ V(stack_string, "stack") \
386
+ V(standard_name_string, "standardName") \
387
+ V(start_string, "start") \
388
+ V(start_time_string, "startTime") \
389
+ V(state_string, "state") \
390
+ V(statement_string, "statement") \
391
+ V(stats_string, "stats") \
392
+ V(status_string, "status") \
393
+ V(stdio_string, "stdio") \
394
+ V(step_string, "step") \
395
+ V(stream_average_duration_string, "streamAverageDuration") \
396
+ V(stream_count_string, "streamCount") \
397
+ V(subject_string, "subject") \
398
+ V(subjectaltname_string, "subjectaltname") \
399
+ V(syscall_string, "syscall") \
400
+ V(table_string, "table") \
401
+ V(target_string, "target") \
402
+ V(thread_id_string, "threadId") \
403
+ V(thread_name_string, "threadName") \
404
+ V(ticketkeycallback_string, "onticketkeycallback") \
405
+ V(timeout_string, "timeout") \
406
+ V(time_to_first_byte_string, "timeToFirstByte") \
407
+ V(time_to_first_byte_sent_string, "timeToFirstByteSent") \
408
+ V(time_to_first_header_string, "timeToFirstHeader") \
409
+ V(tls_ticket_string, "tlsTicket") \
410
+ V(total_pages_string, "totalPages") \
411
+ V(transfer_string, "transfer") \
412
+ V(transfer_unsupported_type_str, \
413
+ "Cannot transfer object of unsupported type.") \
414
+ V(ttl_string, "ttl") \
415
+ V(type_string, "type") \
416
+ V(uid_string, "uid") \
417
+ V(unknown_string, "<unknown>") \
418
+ V(url_special_ftp_string, "ftp:") \
419
+ V(url_special_file_string, "file:") \
420
+ V(url_special_http_string, "http:") \
421
+ V(url_special_https_string, "https:") \
422
+ V(url_special_ws_string, "ws:") \
423
+ V(url_special_wss_string, "wss:") \
424
+ V(url_string, "url") \
425
+ V(username_string, "username") \
426
+ V(valid_from_string, "valid_from") \
427
+ V(valid_to_string, "valid_to") \
428
+ V(value_string, "value") \
429
+ V(verify_error_string, "verifyError") \
430
+ V(version_string, "version") \
431
+ V(weight_string, "weight") \
432
+ V(windows_hide_string, "windowsHide") \
433
+ V(windows_verbatim_arguments_string, "windowsVerbatimArguments") \
434
+ V(wrap_string, "wrap") \
435
+ V(writable_string, "writable") \
436
+ V(write_host_object_string, "_writeHostObject") \
437
+ V(write_queue_size_string, "writeQueueSize") \
438
+ V(x_forwarded_string, "x-forwarded-for")
439
+
440
+ #define PER_ISOLATE_TEMPLATE_PROPERTIES(V) \
441
+ V(async_wrap_ctor_template, v8::FunctionTemplate) \
442
+ V(async_wrap_object_ctor_template, v8::FunctionTemplate) \
443
+ V(binding_data_default_template, v8::ObjectTemplate) \
444
+ V(blob_constructor_template, v8::FunctionTemplate) \
445
+ V(blob_reader_constructor_template, v8::FunctionTemplate) \
446
+ V(blocklist_constructor_template, v8::FunctionTemplate) \
447
+ V(contextify_global_template, v8::ObjectTemplate) \
448
+ V(contextify_wrapper_template, v8::ObjectTemplate) \
449
+ V(crypto_key_object_handle_constructor, v8::FunctionTemplate) \
450
+ V(env_proxy_template, v8::ObjectTemplate) \
451
+ V(env_proxy_ctor_template, v8::FunctionTemplate) \
452
+ V(dir_instance_template, v8::ObjectTemplate) \
453
+ V(fd_constructor_template, v8::ObjectTemplate) \
454
+ V(fdclose_constructor_template, v8::ObjectTemplate) \
455
+ V(fdentry_constructor_template, v8::FunctionTemplate) \
456
+ V(filehandlereadwrap_template, v8::ObjectTemplate) \
457
+ V(fsreqpromise_constructor_template, v8::ObjectTemplate) \
458
+ V(handle_wrap_ctor_template, v8::FunctionTemplate) \
459
+ V(histogram_ctor_template, v8::FunctionTemplate) \
460
+ V(http2settings_constructor_template, v8::ObjectTemplate) \
461
+ V(http2stream_constructor_template, v8::ObjectTemplate) \
462
+ V(http2ping_constructor_template, v8::ObjectTemplate) \
463
+ V(i18n_converter_template, v8::ObjectTemplate) \
464
+ V(intervalhistogram_constructor_template, v8::FunctionTemplate) \
465
+ V(js_transferable_constructor_template, v8::FunctionTemplate) \
466
+ V(libuv_stream_wrap_ctor_template, v8::FunctionTemplate) \
467
+ V(lock_holder_constructor_template, v8::FunctionTemplate) \
468
+ V(message_port_constructor_template, v8::FunctionTemplate) \
469
+ V(module_wrap_constructor_template, v8::FunctionTemplate) \
470
+ V(microtask_queue_ctor_template, v8::FunctionTemplate) \
471
+ V(pipe_constructor_template, v8::FunctionTemplate) \
472
+ V(promise_wrap_template, v8::ObjectTemplate) \
473
+ V(sab_lifetimepartner_constructor_template, v8::FunctionTemplate) \
474
+ V(script_context_constructor_template, v8::FunctionTemplate) \
475
+ V(secure_context_constructor_template, v8::FunctionTemplate) \
476
+ V(shutdown_wrap_template, v8::ObjectTemplate) \
477
+ V(socketaddress_constructor_template, v8::FunctionTemplate) \
478
+ V(sqlite_statement_sync_constructor_template, v8::FunctionTemplate) \
479
+ V(sqlite_statement_sync_iterator_constructor_template, v8::FunctionTemplate) \
480
+ V(sqlite_session_constructor_template, v8::FunctionTemplate) \
481
+ V(streambaseentry_ctor_template, v8::FunctionTemplate) \
482
+ V(streambaseoutputstream_constructor_template, v8::ObjectTemplate) \
483
+ V(streamentry_ctor_template, v8::FunctionTemplate) \
484
+ V(streamentry_opaque_ctor_template, v8::FunctionTemplate) \
485
+ V(qlogoutputstream_constructor_template, v8::ObjectTemplate) \
486
+ V(tcp_constructor_template, v8::FunctionTemplate) \
487
+ V(tty_constructor_template, v8::FunctionTemplate) \
488
+ V(write_wrap_template, v8::ObjectTemplate) \
489
+ V(worker_cpu_usage_taker_template, v8::ObjectTemplate) \
490
+ V(worker_heap_snapshot_taker_template, v8::ObjectTemplate) \
491
+ V(worker_heap_statistics_taker_template, v8::ObjectTemplate) \
492
+ V(x509_constructor_template, v8::FunctionTemplate)
493
+
494
+ #define PER_REALM_STRONG_PERSISTENT_VALUES(V) \
495
+ V(async_hooks_after_function, v8::Function) \
496
+ V(async_hooks_before_function, v8::Function) \
497
+ V(async_hooks_callback_trampoline, v8::Function) \
498
+ V(async_hooks_binding, v8::Object) \
499
+ V(async_hooks_destroy_function, v8::Function) \
500
+ V(async_hooks_init_function, v8::Function) \
501
+ V(async_hooks_promise_resolve_function, v8::Function) \
502
+ V(buffer_prototype_object, v8::Object) \
503
+ V(crypto_key_object_constructor, v8::Function) \
504
+ V(crypto_key_object_private_constructor, v8::Function) \
505
+ V(crypto_key_object_public_constructor, v8::Function) \
506
+ V(crypto_key_object_secret_constructor, v8::Function) \
507
+ V(domexception_function, v8::Function) \
508
+ V(enhance_fatal_stack_after_inspector, v8::Function) \
509
+ V(enhance_fatal_stack_before_inspector, v8::Function) \
510
+ V(get_source_map_error_source, v8::Function) \
511
+ V(host_import_module_dynamically_callback, v8::Function) \
512
+ V(host_initialize_import_meta_object_callback, v8::Function) \
513
+ V(http2session_on_altsvc_function, v8::Function) \
514
+ V(http2session_on_error_function, v8::Function) \
515
+ V(http2session_on_frame_error_function, v8::Function) \
516
+ V(http2session_on_goaway_data_function, v8::Function) \
517
+ V(http2session_on_headers_function, v8::Function) \
518
+ V(http2session_on_origin_function, v8::Function) \
519
+ V(http2session_on_ping_function, v8::Function) \
520
+ V(http2session_on_priority_function, v8::Function) \
521
+ V(http2session_on_settings_function, v8::Function) \
522
+ V(http2session_on_stream_close_function, v8::Function) \
523
+ V(http2session_on_stream_trailers_function, v8::Function) \
524
+ V(internal_binding_loader, v8::Function) \
525
+ V(immediate_callback_function, v8::Function) \
526
+ V(inspector_console_extension_installer, v8::Function) \
527
+ V(inspector_disable_async_hooks, v8::Function) \
528
+ V(inspector_disable_network_tracking, v8::Function) \
529
+ V(inspector_enable_async_hooks, v8::Function) \
530
+ V(inspector_enable_network_tracking, v8::Function) \
531
+ V(maybe_cache_generated_source_map, v8::Function) \
532
+ V(messaging_deserialize_create_object, v8::Function) \
533
+ V(message_port, v8::Object) \
534
+ V(builtin_module_require, v8::Function) \
535
+ V(performance_entry_callback, v8::Function) \
536
+ V(prepare_stack_trace_callback, v8::Function) \
537
+ V(process_object, v8::Object) \
538
+ V(process_emit_warning_sync, v8::Function) \
539
+ V(primordials, v8::Object) \
540
+ V(primordials_safe_map_prototype_object, v8::Object) \
541
+ V(primordials_safe_set_prototype_object, v8::Object) \
542
+ V(primordials_safe_weak_map_prototype_object, v8::Object) \
543
+ V(primordials_safe_weak_set_prototype_object, v8::Object) \
544
+ V(promise_hook_handler, v8::Function) \
545
+ V(promise_reject_callback, v8::Function) \
546
+ V(snapshot_serialize_callback, v8::Function) \
547
+ V(snapshot_deserialize_callback, v8::Function) \
548
+ V(snapshot_deserialize_main, v8::Function) \
549
+ V(source_map_cache_getter, v8::Function) \
550
+ V(tick_callback_function, v8::Function) \
551
+ V(timers_callback_function, v8::Function) \
552
+ V(tls_wrap_constructor_function, v8::Function) \
553
+ V(trace_category_state_function, v8::Function) \
554
+ V(udp_constructor_function, v8::Function) \
555
+ V(url_constructor_function, v8::Function) \
556
+ V(wasm_streaming_compilation_impl, v8::Function) \
557
+ V(wasm_streaming_object_constructor, v8::Function)
558
+
559
+ #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
560
+
561
+ #endif // SRC_ENV_PROPERTIES_H_