visaljs 0.0.7 → 0.0.9

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 (434) hide show
  1. package/README.md +68 -4
  2. package/THIRD_PARTY_LICENSES +1216 -0
  3. package/cli.js +4461 -321
  4. package/node/include/js_node.h +57 -1
  5. package/node/include/js_uv.h +8 -1
  6. package/node/prelude/_http_agent.js +5 -0
  7. package/node/prelude/_http_server.js +7 -0
  8. package/node/prelude/_stream_duplex.js +4 -0
  9. package/node/prelude/_stream_passthrough.js +4 -0
  10. package/node/prelude/_stream_readable.js +4 -0
  11. package/node/prelude/_stream_transform.js +4 -0
  12. package/node/prelude/_stream_writable.js +4 -0
  13. package/node/prelude/assert.js +1334 -0
  14. package/node/prelude/assert_strict.js +12 -0
  15. package/node/prelude/async_hooks.js +1 -1
  16. package/node/prelude/buffer.js +43 -3
  17. package/node/prelude/child_process.js +1098 -0
  18. package/node/prelude/cluster.js +52 -0
  19. package/node/prelude/console.js +328 -0
  20. package/node/prelude/constants.js +10 -0
  21. package/node/prelude/crypto.js +1 -1
  22. package/node/prelude/diagnostics_channel.js +1 -1
  23. package/node/prelude/dns.js +8 -2
  24. package/node/prelude/domain.js +115 -0
  25. package/node/prelude/events.js +148 -16
  26. package/node/prelude/fs.js +1138 -151
  27. package/node/prelude/fs_promises.js +117 -11
  28. package/node/prelude/http.js +784 -301
  29. package/node/prelude/http2.js +1 -1
  30. package/node/prelude/https.js +159 -0
  31. package/node/prelude/inspector.js +27 -0
  32. package/node/prelude/inspector_promises.js +4 -0
  33. package/node/prelude/internal/async_context.js +1 -1
  34. package/node/prelude/internal/buffer_transcode.js +44 -0
  35. package/node/prelude/internal/comparisons.js +916 -0
  36. package/node/prelude/internal/compression_streams.js +153 -0
  37. package/node/prelude/internal/crypto/asym.js +27 -14
  38. package/node/prelude/internal/crypto/cipher.js +16 -5
  39. package/node/prelude/internal/crypto/diffiehellman.js +3 -2
  40. package/node/prelude/internal/crypto/hash.js +2 -1
  41. package/node/prelude/internal/crypto/kdf.js +14 -9
  42. package/node/prelude/internal/crypto/keys.js +63 -50
  43. package/node/prelude/internal/crypto/random.js +2 -1
  44. package/node/prelude/internal/crypto/util.js +4 -4
  45. package/node/prelude/internal/dotenv.js +98 -0
  46. package/node/prelude/internal/errors.js +21 -5
  47. package/node/prelude/internal/events_extras.js +113 -0
  48. package/node/prelude/internal/events_on.js +100 -0
  49. package/node/prelude/internal/features.js +72 -0
  50. package/node/prelude/internal/fetch.js +364 -0
  51. package/node/prelude/internal/form_data.js +376 -0
  52. package/node/prelude/internal/fs_bigint_stats.js +41 -0
  53. package/node/prelude/internal/fs_blob.js +19 -0
  54. package/node/prelude/internal/fs_cp.js +709 -0
  55. package/node/prelude/internal/fs_dir.js +166 -0
  56. package/node/prelude/internal/fs_filehandle.js +287 -0
  57. package/node/prelude/internal/fs_glob.js +296 -0
  58. package/node/prelude/internal/fs_statfs.js +42 -0
  59. package/node/prelude/internal/fs_stats.js +89 -0
  60. package/node/prelude/internal/fs_streams.js +541 -0
  61. package/node/prelude/internal/fs_utils.js +286 -0
  62. package/node/prelude/internal/fs_watch.js +580 -0
  63. package/node/prelude/internal/http_agent.js +114 -2
  64. package/node/prelude/internal/http_symbols.js +3 -0
  65. package/node/prelude/internal/mime.js +249 -0
  66. package/node/prelude/internal/net.js +1 -0
  67. package/node/prelude/internal/net_bound.js +123 -0
  68. package/node/prelude/internal/net_onread.js +73 -0
  69. package/node/prelude/internal/net_tos.js +54 -0
  70. package/node/prelude/internal/parse_args.js +288 -0
  71. package/node/prelude/internal/perf_histogram.js +435 -0
  72. package/node/prelude/internal/perf_observe.js +125 -0
  73. package/node/prelude/internal/performance_global.js +19 -0
  74. package/node/prelude/internal/process_events.js +49 -1
  75. package/node/prelude/internal/process_memory.js +14 -0
  76. package/node/prelude/internal/process_more.js +414 -0
  77. package/node/prelude/internal/process_signals.js +2 -1
  78. package/node/prelude/internal/process_stdin.js +52 -0
  79. package/node/prelude/internal/process_stdio.js +36 -0
  80. package/node/prelude/internal/querystring.js +0 -0
  81. package/node/prelude/internal/readline.js +338 -0
  82. package/node/prelude/internal/socketaddress.js +8 -4
  83. package/node/prelude/internal/source_map.js +122 -0
  84. package/node/prelude/internal/stream_compose.js +74 -0
  85. package/node/prelude/internal/stream_from.js +6 -0
  86. package/node/prelude/internal/stream_operators.js +23 -0
  87. package/node/prelude/internal/stream_pipeline.js +7 -0
  88. package/node/prelude/internal/stream_transform.js +10 -0
  89. package/node/prelude/internal/stream_web_adapters.js +143 -0
  90. package/node/prelude/internal/streams/add_abort_signal.js +58 -0
  91. package/node/prelude/internal/streams/compose.js +244 -0
  92. package/node/prelude/internal/streams/destroy.js +358 -0
  93. package/node/prelude/internal/streams/duplex.js +199 -0
  94. package/node/prelude/internal/streams/duplexify.js +378 -0
  95. package/node/prelude/internal/streams/end_of_stream.js +387 -0
  96. package/node/prelude/internal/streams/errors.js +216 -0
  97. package/node/prelude/internal/streams/from.js +211 -0
  98. package/node/prelude/internal/streams/legacy.js +120 -0
  99. package/node/prelude/internal/streams/operators.js +375 -0
  100. package/node/prelude/internal/streams/passthrough.js +45 -0
  101. package/node/prelude/internal/streams/pipeline.js +468 -0
  102. package/node/prelude/internal/streams/readable.js +1835 -0
  103. package/node/prelude/internal/streams/state.js +48 -0
  104. package/node/prelude/internal/streams/transform.js +203 -0
  105. package/node/prelude/internal/streams/utils.js +355 -0
  106. package/node/prelude/internal/streams/validators.js +108 -0
  107. package/node/prelude/internal/streams/writable.js +1160 -0
  108. package/node/prelude/internal/structured_clone.js +238 -0
  109. package/node/prelude/internal/system_errors.js +37 -0
  110. package/node/prelude/internal/test_runner/mock.js +431 -0
  111. package/node/prelude/internal/test_runner/reporters.js +404 -0
  112. package/node/prelude/internal/test_runner/test.js +1571 -0
  113. package/node/prelude/internal/timers.js +38 -7
  114. package/node/prelude/internal/timers_global.js +1 -1
  115. package/node/prelude/internal/tls/common.js +8 -2
  116. package/node/prelude/internal/tls/wrap.js +5 -16
  117. package/node/prelude/internal/tls/x509.js +1 -1
  118. package/node/prelude/internal/tty_read_stream.js +39 -0
  119. package/node/prelude/internal/tty_streams.js +3 -0
  120. package/node/prelude/internal/util_debuglog.js +68 -0
  121. package/node/prelude/internal/util_diff.js +63 -0
  122. package/node/prelude/internal/util_more.js +111 -0
  123. package/node/prelude/internal/util_styles.js +76 -0
  124. package/node/prelude/internal/zlib_engines.js +1 -1
  125. package/node/prelude/module.js +219 -8
  126. package/node/prelude/net.js +197 -49
  127. package/node/prelude/os.js +88 -11
  128. package/node/prelude/path.js +11 -7
  129. package/node/prelude/path_posix.js +1 -1
  130. package/node/prelude/path_win32.js +1 -1
  131. package/node/prelude/perf_hooks.js +151 -0
  132. package/node/prelude/process.js +36 -1
  133. package/node/prelude/punycode.js +188 -0
  134. package/node/prelude/querystring.js +1 -1
  135. package/node/prelude/readline.js +8 -0
  136. package/node/prelude/readline_promises.js +88 -0
  137. package/node/prelude/repl.js +38 -0
  138. package/node/prelude/sea.js +23 -0
  139. package/node/prelude/stream.js +70 -1332
  140. package/node/prelude/stream_consumers.js +34 -0
  141. package/node/prelude/stream_promises.js +1 -1
  142. package/node/prelude/stream_web.js +15 -2
  143. package/node/prelude/string_decoder.js +1 -1
  144. package/node/prelude/sys.js +7 -0
  145. package/node/prelude/test.js +56 -0
  146. package/node/prelude/test_reporters.js +269 -0
  147. package/node/prelude/timers.js +7 -84
  148. package/node/prelude/timers_promises.js +1 -1
  149. package/node/prelude/tls.js +2 -1
  150. package/node/prelude/trace_events.js +52 -0
  151. package/node/prelude/tty.js +10 -4
  152. package/node/prelude/url.js +88 -27
  153. package/node/prelude/util.js +121 -5
  154. package/node/prelude/util_types.js +4 -3
  155. package/node/prelude/v8.js +814 -0
  156. package/node/prelude/vm.js +86 -0
  157. package/node/prelude/wasi.js +10 -0
  158. package/node/prelude/worker_threads.js +56 -0
  159. package/node/prelude/zlib.js +58 -25
  160. package/node/src/host_brotli.c +59 -11
  161. package/node/src/host_fs.c +342 -11
  162. package/node/src/host_fswatch.c +170 -0
  163. package/node/src/host_http.c +292 -39
  164. package/node/src/host_loop.c +25 -2
  165. package/node/src/host_net.c +130 -16
  166. package/node/src/host_os.c +55 -1
  167. package/node/src/host_proc.c +291 -0
  168. package/node/src/host_process.c +488 -0
  169. package/node/src/host_sys.c +64 -2
  170. package/node/src/host_zlib.c +27 -7
  171. package/node/src/host_zstd.c +41 -6
  172. package/node/third_party/hdrhistogram/LICENSE +42 -0
  173. package/node/third_party/hdrhistogram/README.md +5 -0
  174. package/node/third_party/libuv/LICENSE +0 -0
  175. package/node/third_party/libuv/LICENSE-extra +36 -0
  176. package/node/third_party/libuv/include/uv/aix.h +0 -0
  177. package/node/third_party/libuv/include/uv/bsd.h +0 -0
  178. package/node/third_party/libuv/include/uv/darwin.h +0 -0
  179. package/node/third_party/libuv/include/uv/errno.h +0 -0
  180. package/node/third_party/libuv/include/uv/linux.h +0 -0
  181. package/node/third_party/libuv/include/uv/os390.h +0 -0
  182. package/node/third_party/libuv/include/uv/posix.h +0 -0
  183. package/node/third_party/libuv/include/uv/sunos.h +0 -0
  184. package/node/third_party/libuv/include/uv/threadpool.h +0 -0
  185. package/node/third_party/libuv/include/uv/tree.h +0 -0
  186. package/node/third_party/libuv/include/uv/unix.h +0 -0
  187. package/node/third_party/libuv/include/uv/version.h +0 -0
  188. package/node/third_party/libuv/include/uv/win.h +0 -0
  189. package/node/third_party/libuv/include/uv.h +0 -0
  190. package/node/third_party/libuv/src/fs-poll.c +0 -0
  191. package/node/third_party/libuv/src/heap-inl.h +0 -0
  192. package/node/third_party/libuv/src/idna.c +0 -0
  193. package/node/third_party/libuv/src/idna.h +0 -0
  194. package/node/third_party/libuv/src/inet.c +0 -0
  195. package/node/third_party/libuv/src/queue.h +0 -0
  196. package/node/third_party/libuv/src/random.c +0 -0
  197. package/node/third_party/libuv/src/strscpy.c +0 -0
  198. package/node/third_party/libuv/src/strscpy.h +0 -0
  199. package/node/third_party/libuv/src/strtok.c +0 -0
  200. package/node/third_party/libuv/src/strtok.h +0 -0
  201. package/node/third_party/libuv/src/thread-common.c +0 -0
  202. package/node/third_party/libuv/src/threadpool.c +0 -0
  203. package/node/third_party/libuv/src/timer.c +0 -0
  204. package/node/third_party/libuv/src/unix/async.c +0 -0
  205. package/node/third_party/libuv/src/unix/bsd-ifaddrs.c +0 -0
  206. package/node/third_party/libuv/src/unix/core.c +0 -0
  207. package/node/third_party/libuv/src/unix/darwin-proctitle.c +0 -0
  208. package/node/third_party/libuv/src/unix/darwin-stub.h +0 -0
  209. package/node/third_party/libuv/src/unix/darwin-syscalls.h +0 -0
  210. package/node/third_party/libuv/src/unix/darwin.c +0 -0
  211. package/node/third_party/libuv/src/unix/dl.c +0 -0
  212. package/node/third_party/libuv/src/unix/fs.c +0 -0
  213. package/node/third_party/libuv/src/unix/fsevents.c +0 -0
  214. package/node/third_party/libuv/src/unix/getaddrinfo.c +0 -0
  215. package/node/third_party/libuv/src/unix/getnameinfo.c +0 -0
  216. package/node/third_party/libuv/src/unix/internal.h +0 -0
  217. package/node/third_party/libuv/src/unix/kqueue.c +0 -0
  218. package/node/third_party/libuv/src/unix/linux.c +0 -0
  219. package/node/third_party/libuv/src/unix/loop-watcher.c +0 -0
  220. package/node/third_party/libuv/src/unix/loop.c +0 -0
  221. package/node/third_party/libuv/src/unix/pipe.c +0 -0
  222. package/node/third_party/libuv/src/unix/poll.c +0 -0
  223. package/node/third_party/libuv/src/unix/process.c +0 -0
  224. package/node/third_party/libuv/src/unix/procfs-exepath.c +0 -0
  225. package/node/third_party/libuv/src/unix/proctitle.c +0 -0
  226. package/node/third_party/libuv/src/unix/random-devurandom.c +0 -0
  227. package/node/third_party/libuv/src/unix/random-getentropy.c +0 -0
  228. package/node/third_party/libuv/src/unix/random-getrandom.c +0 -0
  229. package/node/third_party/libuv/src/unix/random-sysctl-linux.c +0 -0
  230. package/node/third_party/libuv/src/unix/signal.c +0 -0
  231. package/node/third_party/libuv/src/unix/stream.c +0 -0
  232. package/node/third_party/libuv/src/unix/tcp.c +0 -0
  233. package/node/third_party/libuv/src/unix/thread.c +0 -0
  234. package/node/third_party/libuv/src/unix/tty.c +0 -0
  235. package/node/third_party/libuv/src/unix/udp.c +0 -0
  236. package/node/third_party/libuv/src/uv-common.c +0 -0
  237. package/node/third_party/libuv/src/uv-common.h +0 -0
  238. package/node/third_party/libuv/src/uv-data-getter-setters.c +0 -0
  239. package/node/third_party/libuv/src/version.c +0 -0
  240. package/node/third_party/llhttp/LICENSE +0 -0
  241. package/node/third_party/llhttp/api.c +0 -0
  242. package/node/third_party/llhttp/http.c +0 -0
  243. package/node/third_party/llhttp/llhttp.c +0 -0
  244. package/node/third_party/llhttp/llhttp.h +0 -0
  245. package/node/third_party/nodejs/LICENSE +47 -0
  246. package/node/third_party/nodejs/README.md +5 -0
  247. package/node/third_party/parseargs/LICENSE +21 -0
  248. package/node/third_party/parseargs/README.md +5 -0
  249. package/node/third_party/punycode/LICENSE +20 -0
  250. package/node/third_party/punycode/README.md +5 -0
  251. package/node/third_party/zlib/LICENSE.chromium +27 -0
  252. package/package.json +1 -1
  253. package/prebuilt/darwin-arm64/boringssl-4a47438eaf7e73ba.a +0 -0
  254. package/prebuilt/darwin-arm64/brotli-7995bbdacc52e51c.a +0 -0
  255. package/prebuilt/darwin-arm64/uv-72ab666eae197cd8.a +0 -0
  256. package/prebuilt/darwin-arm64/zlib-4ce2317a4c3f5fb5.a +0 -0
  257. package/prebuilt/darwin-arm64/zstd-015315ac7c784c73.a +0 -0
  258. package/prebuilt/darwin-x64/boringssl-4a47438eaf7e73ba.a +0 -0
  259. package/prebuilt/darwin-x64/brotli-7995bbdacc52e51c.a +0 -0
  260. package/prebuilt/darwin-x64/uv-72ab666eae197cd8.a +0 -0
  261. package/prebuilt/darwin-x64/zlib-4ce2317a4c3f5fb5.a +0 -0
  262. package/prebuilt/darwin-x64/zstd-015315ac7c784c73.a +0 -0
  263. package/prebuilt/linux-arm64/boringssl-4a47438eaf7e73ba.a +0 -0
  264. package/prebuilt/linux-arm64/brotli-65481ff838ce9def.a +0 -0
  265. package/prebuilt/linux-arm64/uv-f1353f50ff983f3c.a +0 -0
  266. package/prebuilt/linux-arm64/zlib-4ce2317a4c3f5fb5.a +0 -0
  267. package/prebuilt/linux-arm64/zstd-015315ac7c784c73.a +0 -0
  268. package/prebuilt/linux-arm64-musl/boringssl-4a47438eaf7e73ba.a +0 -0
  269. package/prebuilt/linux-arm64-musl/brotli-65481ff838ce9def.a +0 -0
  270. package/prebuilt/linux-arm64-musl/uv-f1353f50ff983f3c.a +0 -0
  271. package/prebuilt/linux-arm64-musl/zlib-4ce2317a4c3f5fb5.a +0 -0
  272. package/prebuilt/linux-arm64-musl/zstd-015315ac7c784c73.a +0 -0
  273. package/prebuilt/linux-x64/boringssl-4a47438eaf7e73ba.a +0 -0
  274. package/prebuilt/linux-x64/brotli-65481ff838ce9def.a +0 -0
  275. package/prebuilt/linux-x64/uv-f1353f50ff983f3c.a +0 -0
  276. package/prebuilt/linux-x64/zlib-4ce2317a4c3f5fb5.a +0 -0
  277. package/prebuilt/linux-x64/zstd-015315ac7c784c73.a +0 -0
  278. package/prebuilt/linux-x64-musl/boringssl-4a47438eaf7e73ba.a +0 -0
  279. package/prebuilt/linux-x64-musl/brotli-65481ff838ce9def.a +0 -0
  280. package/prebuilt/linux-x64-musl/uv-f1353f50ff983f3c.a +0 -0
  281. package/prebuilt/linux-x64-musl/zlib-4ce2317a4c3f5fb5.a +0 -0
  282. package/prebuilt/linux-x64-musl/zstd-015315ac7c784c73.a +0 -0
  283. package/prebuilt/win32-x64/boringssl-ce573858472b7fc9.a +0 -0
  284. package/prebuilt/win32-x64/brotli-20d86a61f30baeb3.a +0 -0
  285. package/prebuilt/win32-x64/uv-b11bae65d7fced82.a +0 -0
  286. package/prebuilt/win32-x64/zlib-4ce2317a4c3f5fb5.a +0 -0
  287. package/prebuilt/win32-x64/zstd-015315ac7c784c73.a +0 -0
  288. package/runtime/include/js_atoms.gen.h +0 -0
  289. package/runtime/include/js_atoms.h +5 -1
  290. package/runtime/include/js_bigint.h +1 -1
  291. package/runtime/include/js_buffer.h +4 -4
  292. package/runtime/include/js_builtins.h +41 -3
  293. package/runtime/include/js_console.h +9 -4
  294. package/runtime/include/js_convert.h +1 -1
  295. package/runtime/include/js_core.def +5 -4
  296. package/runtime/include/js_crypto.h +1 -1
  297. package/runtime/include/js_error.h +1 -1
  298. package/runtime/include/js_exception.h +21 -1
  299. package/runtime/include/js_function.h +33 -9
  300. package/runtime/include/js_gc.h +172 -30
  301. package/runtime/include/js_generator.h +2 -2
  302. package/runtime/include/js_host.h +19 -1
  303. package/runtime/include/js_jobs.h +5 -5
  304. package/runtime/include/js_module.h +1 -1
  305. package/runtime/include/js_object.h +142 -15
  306. package/runtime/include/js_ops.h +107 -5
  307. package/runtime/include/js_promise.h +3 -3
  308. package/runtime/include/js_regexp.h +1 -1
  309. package/runtime/include/js_runtime.h +0 -0
  310. package/runtime/include/js_symbol.h +1 -1
  311. package/runtime/include/js_web.h +5 -1
  312. package/runtime/include/jscell.h +22 -15
  313. package/runtime/include/jscontext.h +82 -39
  314. package/runtime/include/jsnum.h +1 -1
  315. package/runtime/include/jsstring.h +19 -6
  316. package/runtime/include/jsvalue.h +7 -3
  317. package/runtime/src/arguments.c +2 -2
  318. package/runtime/src/array.c +4 -1
  319. package/runtime/src/arraybuffer.c +19 -7
  320. package/runtime/src/async_iter.c +4 -3
  321. package/runtime/src/atoms.c +38 -4
  322. package/runtime/src/base64.c +2 -2
  323. package/runtime/src/bigint.c +1 -1
  324. package/runtime/src/blob.c +22 -9
  325. package/runtime/src/boringssl_support.cc +1 -1
  326. package/runtime/src/buffer.c +299 -91
  327. package/runtime/src/builtin_table.c +1 -1
  328. package/runtime/src/builtins.c +30 -4
  329. package/runtime/src/builtins_util.h +0 -0
  330. package/runtime/src/collections.c +18 -3
  331. package/runtime/src/components.c +1 -1
  332. package/runtime/src/console.c +14 -7
  333. package/runtime/src/convert.c +0 -0
  334. package/runtime/src/core_all.c +1 -1
  335. package/runtime/src/crypto.c +1 -1
  336. package/runtime/src/crypto_asym.c +1 -1
  337. package/runtime/src/crypto_bn.c +1 -1
  338. package/runtime/src/crypto_cipher.c +10 -3
  339. package/runtime/src/crypto_hash.c +1 -1
  340. package/runtime/src/crypto_host.c +1 -1
  341. package/runtime/src/crypto_internal.h +1 -1
  342. package/runtime/src/crypto_kdf.c +1 -1
  343. package/runtime/src/crypto_key.c +14 -1
  344. package/runtime/src/crypto_pkey.c +1 -1
  345. package/runtime/src/crypto_subtle.c +142 -58
  346. package/runtime/src/crypto_tls.c +1 -1
  347. package/runtime/src/date.c +5 -2
  348. package/runtime/src/domexception.c +2 -2
  349. package/runtime/src/elements.c +56 -17
  350. package/runtime/src/elements.h +7 -2
  351. package/runtime/src/encoding.c +1 -1
  352. package/runtime/src/error.c +4 -4
  353. package/runtime/src/events.c +42 -14
  354. package/runtime/src/exception.c +1 -1
  355. package/runtime/src/fetch.c +241 -17
  356. package/runtime/src/function.c +31 -19
  357. package/runtime/src/gc.c +1720 -211
  358. package/runtime/src/gc_visit.h +87 -0
  359. package/runtime/src/generator.c +5 -3
  360. package/runtime/src/global.c +14 -6
  361. package/runtime/src/headers.c +10 -10
  362. package/runtime/src/inspect.c +76 -17
  363. package/runtime/src/internal.h +9 -6
  364. package/runtime/src/iterate.c +94 -2
  365. package/runtime/src/iterator.c +1 -1
  366. package/runtime/src/jobs.c +11 -5
  367. package/runtime/src/jsnum.c +2 -2
  368. package/runtime/src/json.c +1 -1
  369. package/runtime/src/math.c +9 -1
  370. package/runtime/src/module.c +3 -3
  371. package/runtime/src/number.c +0 -0
  372. package/runtime/src/object.c +107 -74
  373. package/runtime/src/ops.c +21 -3
  374. package/runtime/src/os.c +192 -1
  375. package/runtime/src/os.h +33 -2
  376. package/runtime/src/process.c +73 -8
  377. package/runtime/src/promise.c +4 -4
  378. package/runtime/src/proxy.c +1 -1
  379. package/runtime/src/reflect.c +1 -1
  380. package/runtime/src/regexp.c +700 -11
  381. package/runtime/src/regexp_anchor.h +1 -1
  382. package/runtime/src/regexp_message.h +1 -1
  383. package/runtime/src/shape.c +78 -20
  384. package/runtime/src/shape.h +0 -0
  385. package/runtime/src/streams.c +22 -8
  386. package/runtime/src/streams.h +0 -0
  387. package/runtime/src/string.c +64 -25
  388. package/runtime/src/string_builtins.c +7 -7
  389. package/runtime/src/symbol.c +2 -7
  390. package/runtime/src/test_host.c +3 -3
  391. package/runtime/src/tls_roots.gen.h +102 -620
  392. package/runtime/src/typedarray.c +8 -3
  393. package/runtime/src/tznames.gen.h +2 -1
  394. package/runtime/src/uri.c +1 -1
  395. package/runtime/src/url.c +42 -39
  396. package/runtime/src/weak.c +110 -36
  397. package/runtime/src/web.c +21 -3
  398. package/runtime/src/wrapper.c +0 -0
  399. package/runtime/src/writable.c +7 -6
  400. package/runtime/third_party/ada-idna/LICENSE-MIT +0 -0
  401. package/runtime/third_party/ada-idna/README.md +7 -7
  402. package/runtime/third_party/ada-idna/convert.mjs +89 -27
  403. package/runtime/third_party/ada-idna/idna.c +30 -31
  404. package/runtime/third_party/ada-idna/idna.h +0 -0
  405. package/runtime/third_party/ada-idna/idna_tables.h +2272 -1952
  406. package/runtime/third_party/boringssl/third_party/fiat/LICENSE +15 -0
  407. package/runtime/third_party/mozilla-ca/LICENSE +373 -0
  408. package/runtime/third_party/mozilla-ca/README.md +9 -0
  409. package/runtime/third_party/nodejs/LICENSE +47 -0
  410. package/runtime/third_party/nodejs/README.md +7 -0
  411. package/runtime/third_party/quickjs-dtoa/LICENSE +0 -0
  412. package/runtime/third_party/quickjs-dtoa/README.md +1 -1
  413. package/runtime/third_party/quickjs-dtoa/dtoa.c +0 -0
  414. package/runtime/third_party/quickjs-dtoa/dtoa.h +0 -0
  415. package/runtime/third_party/quickjs-dtoa/dtoa_compat.h +0 -0
  416. package/runtime/third_party/quickjs-regexp/LICENSE +0 -0
  417. package/runtime/third_party/quickjs-regexp/README.md +2 -2
  418. package/runtime/third_party/quickjs-regexp/cutils.c +0 -0
  419. package/runtime/third_party/quickjs-regexp/cutils.h +0 -0
  420. package/runtime/third_party/quickjs-regexp/libregexp-opcode.h +0 -0
  421. package/runtime/third_party/quickjs-regexp/libregexp.c +0 -0
  422. package/runtime/third_party/quickjs-regexp/libregexp.h +0 -0
  423. package/runtime/third_party/quickjs-regexp/libunicode-table.h +0 -0
  424. package/runtime/third_party/quickjs-regexp/libunicode.c +0 -0
  425. package/runtime/third_party/quickjs-regexp/libunicode.h +0 -0
  426. package/runtime/third_party/unicode/LICENSE +39 -0
  427. package/runtime/third_party/unicode/README.md +9 -0
  428. package/runtime/third_party/v8-ieee754/LICENSE +0 -0
  429. package/runtime/third_party/v8-ieee754/LICENSE.fdlibm +10 -0
  430. package/runtime/third_party/v8-ieee754/README.md +3 -2
  431. package/runtime/third_party/v8-ieee754/convert.py +0 -0
  432. package/runtime/third_party/v8-ieee754/ieee754.c +0 -0
  433. package/runtime/third_party/v8-ieee754/ieee754.h +0 -0
  434. package/runtime/tools/regexp_compile.c +2 -2
@@ -0,0 +1,1216 @@
1
+ A program built by visaljs 0.0.9 holds visaljs's runtime and, of the third-party code
2
+ below, the parts the program uses. Their licenses require these notices to go with copies of the
3
+ code: ship this text with a binary you distribute, in its documentation or a file beside it.
4
+
5
+ ==============================================================================
6
+ visaljs: the runtime
7
+ License: MIT
8
+ ==============================================================================
9
+
10
+ MIT License
11
+
12
+ Copyright (c) 2026 Visal In
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+
32
+ ==============================================================================
33
+ QuickJS: regular expressions, Unicode tables, number printing and parsing, BigInt arithmetic
34
+ License: MIT
35
+ ==============================================================================
36
+
37
+ QuickJS Javascript Engine
38
+
39
+ Copyright (c) 2017-2021 Fabrice Bellard
40
+ Copyright (c) 2017-2021 Charlie Gordon
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43
+ of this software and associated documentation files (the "Software"), to deal
44
+ in the Software without restriction, including without limitation the rights
45
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the Software is
47
+ furnished to do so, subject to the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be included in
50
+ all copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
55
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
58
+ THE SOFTWARE.
59
+
60
+ (the same text as QuickJS's, above)
61
+
62
+ ==============================================================================
63
+ Unicode data: the Unicode Character Database's tables, CLDR's time zone names
64
+ License: Unicode-3.0
65
+ ==============================================================================
66
+
67
+ UNICODE LICENSE V3
68
+
69
+ COPYRIGHT AND PERMISSION NOTICE
70
+
71
+ Copyright © 1991-2026 Unicode, Inc.
72
+
73
+ NOTICE TO USER: Carefully read the following legal agreement. BY
74
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
75
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
76
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
77
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
78
+
79
+ Permission is hereby granted, free of charge, to any person obtaining a
80
+ copy of data files and any associated documentation (the "Data Files") or
81
+ software and any associated documentation (the "Software") to deal in the
82
+ Data Files or Software without restriction, including without limitation
83
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
84
+ copies of the Data Files or Software, and to permit persons to whom the
85
+ Data Files or Software are furnished to do so, provided that either (a)
86
+ this copyright and permission notice appear with all copies of the Data
87
+ Files or Software, or (b) this copyright and permission notice appear in
88
+ associated Documentation.
89
+
90
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
91
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
92
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
93
+ THIRD PARTY RIGHTS.
94
+
95
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
96
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
97
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
98
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
99
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
100
+ FILES OR SOFTWARE.
101
+
102
+ Except as contained in this notice, the name of a copyright holder shall
103
+ not be used in advertising or otherwise to promote the sale, use or other
104
+ dealings in these Data Files or Software without prior written
105
+ authorization of the copyright holder.
106
+
107
+ ==============================================================================
108
+ V8: Math's functions (fdlibm) and Date.parse
109
+ License: BSD-3-Clause AND SunPro
110
+ ==============================================================================
111
+
112
+ This license applies to all parts of V8 that are not externally
113
+ maintained libraries. The externally maintained libraries used by V8
114
+ are:
115
+
116
+ - PCRE test suite, located in
117
+ test/mjsunit/third_party/regexp-pcre/regexp-pcre.js. This is based on the
118
+ test suite from PCRE-7.3, which is copyrighted by the University
119
+ of Cambridge and Google, Inc. The copyright notice and license
120
+ are embedded in regexp-pcre.js.
121
+
122
+ - Layout tests, located in test/mjsunit/third_party/object-keys. These are
123
+ based on layout tests from webkit.org which are copyrighted by
124
+ Apple Computer, Inc. and released under a 3-clause BSD license.
125
+
126
+ - Strongtalk assembler, the basis of the files assembler-arm-inl.h,
127
+ assembler-arm.cc, assembler-arm.h, assembler-ia32-inl.h,
128
+ assembler-ia32.cc, assembler-ia32.h, assembler-x64-inl.h,
129
+ assembler-x64.cc, assembler-x64.h, assembler.cc and assembler.h.
130
+ This code is copyrighted by Sun Microsystems Inc. and released
131
+ under a 3-clause BSD license.
132
+
133
+ - Valgrind client API header, located at src/third_party/valgrind/valgrind.h
134
+ This is released under the BSD license.
135
+
136
+ - The Wasm C/C++ API headers, located at third_party/wasm-api/wasm.{h,hh}
137
+ This is released under the Apache license. The API's upstream prototype
138
+ implementation also formed the basis of V8's implementation in
139
+ src/wasm/c-api.cc.
140
+
141
+ These libraries have their own licenses; we recommend you read them,
142
+ as their terms may differ from the terms below.
143
+
144
+ Further license information can be found in LICENSE files located in
145
+ sub-directories.
146
+
147
+ Copyright 2014, the V8 project authors. All rights reserved.
148
+ Redistribution and use in source and binary forms, with or without
149
+ modification, are permitted provided that the following conditions are
150
+ met:
151
+
152
+ * Redistributions of source code must retain the above copyright
153
+ notice, this list of conditions and the following disclaimer.
154
+ * Redistributions in binary form must reproduce the above
155
+ copyright notice, this list of conditions and the following
156
+ disclaimer in the documentation and/or other materials provided
157
+ with the distribution.
158
+ * Neither the name of Google Inc. nor the names of its
159
+ contributors may be used to endorse or promote products derived
160
+ from this software without specific prior written permission.
161
+
162
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
163
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
164
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
165
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
166
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
167
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
168
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
169
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
170
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
171
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
172
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
173
+
174
+ fdlibm (http://www.netlib.org/fdlibm), the notice at the top of ieee754.c:
175
+
176
+ ====================================================
177
+ Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
178
+
179
+ Developed at SunSoft, a Sun Microsystems, Inc. business.
180
+ Permission to use, copy, modify, and distribute this
181
+ software is freely granted, provided that this notice
182
+ is preserved.
183
+ ====================================================
184
+
185
+ ==============================================================================
186
+ Ada: domain names in URLs (IDNA)
187
+ License: MIT
188
+ ==============================================================================
189
+
190
+ Copyright 2023 Yagiz Nizipli and Daniel Lemire
191
+
192
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
193
+ this software and associated documentation files (the "Software"), to deal in
194
+ the Software without restriction, including without limitation the rights to
195
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
196
+ the Software, and to permit persons to whom the Software is furnished to do so,
197
+ subject to the following conditions:
198
+
199
+ The above copyright notice and this permission notice shall be included in all
200
+ copies or substantial portions of the Software.
201
+
202
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
203
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
204
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
205
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
206
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
207
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
208
+
209
+ ==============================================================================
210
+ Node.js: util.inspect and console.table; node: modules ported from Node.js
211
+ License: MIT
212
+ ==============================================================================
213
+
214
+ Node.js is licensed for use as follows:
215
+
216
+ """
217
+ Copyright Node.js contributors. All rights reserved.
218
+
219
+ Permission is hereby granted, free of charge, to any person obtaining a copy
220
+ of this software and associated documentation files (the "Software"), to
221
+ deal in the Software without restriction, including without limitation the
222
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
223
+ sell copies of the Software, and to permit persons to whom the Software is
224
+ furnished to do so, subject to the following conditions:
225
+
226
+ The above copyright notice and this permission notice shall be included in
227
+ all copies or substantial portions of the Software.
228
+
229
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
230
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
231
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
232
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
233
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
234
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
235
+ IN THE SOFTWARE.
236
+ """
237
+
238
+ This license applies to parts of Node.js originating from the
239
+ https://github.com/joyent/node repository:
240
+
241
+ """
242
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
243
+ Permission is hereby granted, free of charge, to any person obtaining a copy
244
+ of this software and associated documentation files (the "Software"), to
245
+ deal in the Software without restriction, including without limitation the
246
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
247
+ sell copies of the Software, and to permit persons to whom the Software is
248
+ furnished to do so, subject to the following conditions:
249
+
250
+ The above copyright notice and this permission notice shall be included in
251
+ all copies or substantial portions of the Software.
252
+
253
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
254
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
255
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
256
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
257
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
258
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
259
+ IN THE SOFTWARE.
260
+ """
261
+
262
+ (the same text as Node.js's, above)
263
+
264
+ ==============================================================================
265
+ BoringSSL: cryptography and TLS
266
+ License: Apache-2.0
267
+ ==============================================================================
268
+
269
+
270
+ Apache License
271
+ Version 2.0, January 2004
272
+ http://www.apache.org/licenses/
273
+
274
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
275
+
276
+ 1. Definitions.
277
+
278
+ "License" shall mean the terms and conditions for use, reproduction,
279
+ and distribution as defined by Sections 1 through 9 of this document.
280
+
281
+ "Licensor" shall mean the copyright owner or entity authorized by
282
+ the copyright owner that is granting the License.
283
+
284
+ "Legal Entity" shall mean the union of the acting entity and all
285
+ other entities that control, are controlled by, or are under common
286
+ control with that entity. For the purposes of this definition,
287
+ "control" means (i) the power, direct or indirect, to cause the
288
+ direction or management of such entity, whether by contract or
289
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
290
+ outstanding shares, or (iii) beneficial ownership of such entity.
291
+
292
+ "You" (or "Your") shall mean an individual or Legal Entity
293
+ exercising permissions granted by this License.
294
+
295
+ "Source" form shall mean the preferred form for making modifications,
296
+ including but not limited to software source code, documentation
297
+ source, and configuration files.
298
+
299
+ "Object" form shall mean any form resulting from mechanical
300
+ transformation or translation of a Source form, including but
301
+ not limited to compiled object code, generated documentation,
302
+ and conversions to other media types.
303
+
304
+ "Work" shall mean the work of authorship, whether in Source or
305
+ Object form, made available under the License, as indicated by a
306
+ copyright notice that is included in or attached to the work
307
+ (an example is provided in the Appendix below).
308
+
309
+ "Derivative Works" shall mean any work, whether in Source or Object
310
+ form, that is based on (or derived from) the Work and for which the
311
+ editorial revisions, annotations, elaborations, or other modifications
312
+ represent, as a whole, an original work of authorship. For the purposes
313
+ of this License, Derivative Works shall not include works that remain
314
+ separable from, or merely link (or bind by name) to the interfaces of,
315
+ the Work and Derivative Works thereof.
316
+
317
+ "Contribution" shall mean any work of authorship, including
318
+ the original version of the Work and any modifications or additions
319
+ to that Work or Derivative Works thereof, that is intentionally
320
+ submitted to Licensor for inclusion in the Work by the copyright owner
321
+ or by an individual or Legal Entity authorized to submit on behalf of
322
+ the copyright owner. For the purposes of this definition, "submitted"
323
+ means any form of electronic, verbal, or written communication sent
324
+ to the Licensor or its representatives, including but not limited to
325
+ communication on electronic mailing lists, source code control systems,
326
+ and issue tracking systems that are managed by, or on behalf of, the
327
+ Licensor for the purpose of discussing and improving the Work, but
328
+ excluding communication that is conspicuously marked or otherwise
329
+ designated in writing by the copyright owner as "Not a Contribution."
330
+
331
+ "Contributor" shall mean Licensor and any individual or Legal Entity
332
+ on behalf of whom a Contribution has been received by Licensor and
333
+ subsequently incorporated within the Work.
334
+
335
+ 2. Grant of Copyright License. Subject to the terms and conditions of
336
+ this License, each Contributor hereby grants to You a perpetual,
337
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
338
+ copyright license to reproduce, prepare Derivative Works of,
339
+ publicly display, publicly perform, sublicense, and distribute the
340
+ Work and such Derivative Works in Source or Object form.
341
+
342
+ 3. Grant of Patent License. Subject to the terms and conditions of
343
+ this License, each Contributor hereby grants to You a perpetual,
344
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
345
+ (except as stated in this section) patent license to make, have made,
346
+ use, offer to sell, sell, import, and otherwise transfer the Work,
347
+ where such license applies only to those patent claims licensable
348
+ by such Contributor that are necessarily infringed by their
349
+ Contribution(s) alone or by combination of their Contribution(s)
350
+ with the Work to which such Contribution(s) was submitted. If You
351
+ institute patent litigation against any entity (including a
352
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
353
+ or a Contribution incorporated within the Work constitutes direct
354
+ or contributory patent infringement, then any patent licenses
355
+ granted to You under this License for that Work shall terminate
356
+ as of the date such litigation is filed.
357
+
358
+ 4. Redistribution. You may reproduce and distribute copies of the
359
+ Work or Derivative Works thereof in any medium, with or without
360
+ modifications, and in Source or Object form, provided that You
361
+ meet the following conditions:
362
+
363
+ (a) You must give any other recipients of the Work or
364
+ Derivative Works a copy of this License; and
365
+
366
+ (b) You must cause any modified files to carry prominent notices
367
+ stating that You changed the files; and
368
+
369
+ (c) You must retain, in the Source form of any Derivative Works
370
+ that You distribute, all copyright, patent, trademark, and
371
+ attribution notices from the Source form of the Work,
372
+ excluding those notices that do not pertain to any part of
373
+ the Derivative Works; and
374
+
375
+ (d) If the Work includes a "NOTICE" text file as part of its
376
+ distribution, then any Derivative Works that You distribute must
377
+ include a readable copy of the attribution notices contained
378
+ within such NOTICE file, excluding those notices that do not
379
+ pertain to any part of the Derivative Works, in at least one
380
+ of the following places: within a NOTICE text file distributed
381
+ as part of the Derivative Works; within the Source form or
382
+ documentation, if provided along with the Derivative Works; or,
383
+ within a display generated by the Derivative Works, if and
384
+ wherever such third-party notices normally appear. The contents
385
+ of the NOTICE file are for informational purposes only and
386
+ do not modify the License. You may add Your own attribution
387
+ notices within Derivative Works that You distribute, alongside
388
+ or as an addendum to the NOTICE text from the Work, provided
389
+ that such additional attribution notices cannot be construed
390
+ as modifying the License.
391
+
392
+ You may add Your own copyright statement to Your modifications and
393
+ may provide additional or different license terms and conditions
394
+ for use, reproduction, or distribution of Your modifications, or
395
+ for any such Derivative Works as a whole, provided Your use,
396
+ reproduction, and distribution of the Work otherwise complies with
397
+ the conditions stated in this License.
398
+
399
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
400
+ any Contribution intentionally submitted for inclusion in the Work
401
+ by You to the Licensor shall be under the terms and conditions of
402
+ this License, without any additional terms or conditions.
403
+ Notwithstanding the above, nothing herein shall supersede or modify
404
+ the terms of any separate license agreement you may have executed
405
+ with Licensor regarding such Contributions.
406
+
407
+ 6. Trademarks. This License does not grant permission to use the trade
408
+ names, trademarks, service marks, or product names of the Licensor,
409
+ except as required for reasonable and customary use in describing the
410
+ origin of the Work and reproducing the content of the NOTICE file.
411
+
412
+ 7. Disclaimer of Warranty. Unless required by applicable law or
413
+ agreed to in writing, Licensor provides the Work (and each
414
+ Contributor provides its Contributions) on an "AS IS" BASIS,
415
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
416
+ implied, including, without limitation, any warranties or conditions
417
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
418
+ PARTICULAR PURPOSE. You are solely responsible for determining the
419
+ appropriateness of using or redistributing the Work and assume any
420
+ risks associated with Your exercise of permissions under this License.
421
+
422
+ 8. Limitation of Liability. In no event and under no legal theory,
423
+ whether in tort (including negligence), contract, or otherwise,
424
+ unless required by applicable law (such as deliberate and grossly
425
+ negligent acts) or agreed to in writing, shall any Contributor be
426
+ liable to You for damages, including any direct, indirect, special,
427
+ incidental, or consequential damages of any character arising as a
428
+ result of this License or out of the use or inability to use the
429
+ Work (including but not limited to damages for loss of goodwill,
430
+ work stoppage, computer failure or malfunction, or any and all
431
+ other commercial damages or losses), even if such Contributor
432
+ has been advised of the possibility of such damages.
433
+
434
+ 9. Accepting Warranty or Additional Liability. While redistributing
435
+ the Work or Derivative Works thereof, You may choose to offer,
436
+ and charge a fee for, acceptance of support, warranty, indemnity,
437
+ or other liability obligations and/or rights consistent with this
438
+ License. However, in accepting such obligations, You may act only
439
+ on Your own behalf and on Your sole responsibility, not on behalf
440
+ of any other Contributor, and only if You agree to indemnify,
441
+ defend, and hold each Contributor harmless for any liability
442
+ incurred by, or claims asserted against, such Contributor by reason
443
+ of your accepting any such warranty or additional liability.
444
+
445
+ END OF TERMS AND CONDITIONS
446
+
447
+ APPENDIX: How to apply the Apache License to your work.
448
+
449
+ To apply the Apache License to your work, attach the following
450
+ boilerplate notice, with the fields enclosed by brackets "[]"
451
+ replaced with your own identifying information. (Don't include
452
+ the brackets!) The text should be enclosed in the appropriate
453
+ comment syntax for the file format. We also recommend that a
454
+ file or class name and description of purpose be included on the
455
+ same "printed page" as the copyright notice for easier
456
+ identification within third-party archives.
457
+
458
+ Copyright [yyyy] [name of copyright owner]
459
+
460
+ Licensed under the Apache License, Version 2.0 (the "License");
461
+ you may not use this file except in compliance with the License.
462
+ You may obtain a copy of the License at
463
+
464
+ http://www.apache.org/licenses/LICENSE-2.0
465
+
466
+ Unless required by applicable law or agreed to in writing, software
467
+ distributed under the License is distributed on an "AS IS" BASIS,
468
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
469
+ See the License for the specific language governing permissions and
470
+ limitations under the License.
471
+
472
+
473
+ Licenses for support code
474
+ -------------------------
475
+
476
+ Parts of the TLS test suite are under the Go license. This code is not included
477
+ in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so
478
+ distributing code linked against BoringSSL does not trigger this license:
479
+
480
+ Copyright (c) 2009 The Go Authors. All rights reserved.
481
+
482
+ Redistribution and use in source and binary forms, with or without
483
+ modification, are permitted provided that the following conditions are
484
+ met:
485
+
486
+ * Redistributions of source code must retain the above copyright
487
+ notice, this list of conditions and the following disclaimer.
488
+ * Redistributions in binary form must reproduce the above
489
+ copyright notice, this list of conditions and the following disclaimer
490
+ in the documentation and/or other materials provided with the
491
+ distribution.
492
+ * Neither the name of Google Inc. nor the names of its
493
+ contributors may be used to endorse or promote products derived from
494
+ this software without specific prior written permission.
495
+
496
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
497
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
498
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
499
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
500
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
501
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
502
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
503
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
504
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
505
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
506
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
507
+
508
+ The Apache License, Version 2.0 (Apache-2.0)
509
+
510
+ Copyright 2015-2020 the fiat-crypto authors (see the AUTHORS file)
511
+
512
+ Licensed under the Apache License, Version 2.0 (the "License");
513
+ you may not use this file except in compliance with the License.
514
+ You may obtain a copy of the License at
515
+
516
+ http://www.apache.org/licenses/LICENSE-2.0
517
+
518
+ Unless required by applicable law or agreed to in writing, software
519
+ distributed under the License is distributed on an "AS IS" BASIS,
520
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
521
+ See the License for the specific language governing permissions and
522
+ limitations under the License.
523
+
524
+ ==============================================================================
525
+ Mozilla's CA certificates: the root certificates TLS trusts
526
+ License: MPL-2.0
527
+ ==============================================================================
528
+
529
+ # mozilla-ca
530
+
531
+ The Mozilla Public License 2.0 (`LICENSE`), for the root certificates TLS trusts by default:
532
+ `src/tls_roots.gen.h`, generated by `tools/gen_tls_roots.mjs` from Node's `tls.rootCertificates`,
533
+ which is Mozilla's CA certificate list (NSS's `certdata.txt`). Nothing here is compiled.
534
+
535
+ The certificates' source form is NSS's `lib/ckfw/builtins/certdata.txt`
536
+ (https://hg.mozilla.org/projects/nss), and Node's `src/node_root_certs.h`
537
+ (https://github.com/nodejs/node), from which `tls_roots.gen.h` is generated unchanged.
538
+
539
+ Mozilla Public License Version 2.0
540
+ ==================================
541
+
542
+ 1. Definitions
543
+ --------------
544
+
545
+ 1.1. "Contributor"
546
+ means each individual or legal entity that creates, contributes to
547
+ the creation of, or owns Covered Software.
548
+
549
+ 1.2. "Contributor Version"
550
+ means the combination of the Contributions of others (if any) used
551
+ by a Contributor and that particular Contributor's Contribution.
552
+
553
+ 1.3. "Contribution"
554
+ means Covered Software of a particular Contributor.
555
+
556
+ 1.4. "Covered Software"
557
+ means Source Code Form to which the initial Contributor has attached
558
+ the notice in Exhibit A, the Executable Form of such Source Code
559
+ Form, and Modifications of such Source Code Form, in each case
560
+ including portions thereof.
561
+
562
+ 1.5. "Incompatible With Secondary Licenses"
563
+ means
564
+
565
+ (a) that the initial Contributor has attached the notice described
566
+ in Exhibit B to the Covered Software; or
567
+
568
+ (b) that the Covered Software was made available under the terms of
569
+ version 1.1 or earlier of the License, but not also under the
570
+ terms of a Secondary License.
571
+
572
+ 1.6. "Executable Form"
573
+ means any form of the work other than Source Code Form.
574
+
575
+ 1.7. "Larger Work"
576
+ means a work that combines Covered Software with other material, in
577
+ a separate file or files, that is not Covered Software.
578
+
579
+ 1.8. "License"
580
+ means this document.
581
+
582
+ 1.9. "Licensable"
583
+ means having the right to grant, to the maximum extent possible,
584
+ whether at the time of the initial grant or subsequently, any and
585
+ all of the rights conveyed by this License.
586
+
587
+ 1.10. "Modifications"
588
+ means any of the following:
589
+
590
+ (a) any file in Source Code Form that results from an addition to,
591
+ deletion from, or modification of the contents of Covered
592
+ Software; or
593
+
594
+ (b) any new file in Source Code Form that contains any Covered
595
+ Software.
596
+
597
+ 1.11. "Patent Claims" of a Contributor
598
+ means any patent claim(s), including without limitation, method,
599
+ process, and apparatus claims, in any patent Licensable by such
600
+ Contributor that would be infringed, but for the grant of the
601
+ License, by the making, using, selling, offering for sale, having
602
+ made, import, or transfer of either its Contributions or its
603
+ Contributor Version.
604
+
605
+ 1.12. "Secondary License"
606
+ means either the GNU General Public License, Version 2.0, the GNU
607
+ Lesser General Public License, Version 2.1, the GNU Affero General
608
+ Public License, Version 3.0, or any later versions of those
609
+ licenses.
610
+
611
+ 1.13. "Source Code Form"
612
+ means the form of the work preferred for making modifications.
613
+
614
+ 1.14. "You" (or "Your")
615
+ means an individual or a legal entity exercising rights under this
616
+ License. For legal entities, "You" includes any entity that
617
+ controls, is controlled by, or is under common control with You. For
618
+ purposes of this definition, "control" means (a) the power, direct
619
+ or indirect, to cause the direction or management of such entity,
620
+ whether by contract or otherwise, or (b) ownership of more than
621
+ fifty percent (50%) of the outstanding shares or beneficial
622
+ ownership of such entity.
623
+
624
+ 2. License Grants and Conditions
625
+ --------------------------------
626
+
627
+ 2.1. Grants
628
+
629
+ Each Contributor hereby grants You a world-wide, royalty-free,
630
+ non-exclusive license:
631
+
632
+ (a) under intellectual property rights (other than patent or trademark)
633
+ Licensable by such Contributor to use, reproduce, make available,
634
+ modify, display, perform, distribute, and otherwise exploit its
635
+ Contributions, either on an unmodified basis, with Modifications, or
636
+ as part of a Larger Work; and
637
+
638
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
639
+ for sale, have made, import, and otherwise transfer either its
640
+ Contributions or its Contributor Version.
641
+
642
+ 2.2. Effective Date
643
+
644
+ The licenses granted in Section 2.1 with respect to any Contribution
645
+ become effective for each Contribution on the date the Contributor first
646
+ distributes such Contribution.
647
+
648
+ 2.3. Limitations on Grant Scope
649
+
650
+ The licenses granted in this Section 2 are the only rights granted under
651
+ this License. No additional rights or licenses will be implied from the
652
+ distribution or licensing of Covered Software under this License.
653
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
654
+ Contributor:
655
+
656
+ (a) for any code that a Contributor has removed from Covered Software;
657
+ or
658
+
659
+ (b) for infringements caused by: (i) Your and any other third party's
660
+ modifications of Covered Software, or (ii) the combination of its
661
+ Contributions with other software (except as part of its Contributor
662
+ Version); or
663
+
664
+ (c) under Patent Claims infringed by Covered Software in the absence of
665
+ its Contributions.
666
+
667
+ This License does not grant any rights in the trademarks, service marks,
668
+ or logos of any Contributor (except as may be necessary to comply with
669
+ the notice requirements in Section 3.4).
670
+
671
+ 2.4. Subsequent Licenses
672
+
673
+ No Contributor makes additional grants as a result of Your choice to
674
+ distribute the Covered Software under a subsequent version of this
675
+ License (see Section 10.2) or under the terms of a Secondary License (if
676
+ permitted under the terms of Section 3.3).
677
+
678
+ 2.5. Representation
679
+
680
+ Each Contributor represents that the Contributor believes its
681
+ Contributions are its original creation(s) or it has sufficient rights
682
+ to grant the rights to its Contributions conveyed by this License.
683
+
684
+ 2.6. Fair Use
685
+
686
+ This License is not intended to limit any rights You have under
687
+ applicable copyright doctrines of fair use, fair dealing, or other
688
+ equivalents.
689
+
690
+ 2.7. Conditions
691
+
692
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
693
+ in Section 2.1.
694
+
695
+ 3. Responsibilities
696
+ -------------------
697
+
698
+ 3.1. Distribution of Source Form
699
+
700
+ All distribution of Covered Software in Source Code Form, including any
701
+ Modifications that You create or to which You contribute, must be under
702
+ the terms of this License. You must inform recipients that the Source
703
+ Code Form of the Covered Software is governed by the terms of this
704
+ License, and how they can obtain a copy of this License. You may not
705
+ attempt to alter or restrict the recipients' rights in the Source Code
706
+ Form.
707
+
708
+ 3.2. Distribution of Executable Form
709
+
710
+ If You distribute Covered Software in Executable Form then:
711
+
712
+ (a) such Covered Software must also be made available in Source Code
713
+ Form, as described in Section 3.1, and You must inform recipients of
714
+ the Executable Form how they can obtain a copy of such Source Code
715
+ Form by reasonable means in a timely manner, at a charge no more
716
+ than the cost of distribution to the recipient; and
717
+
718
+ (b) You may distribute such Executable Form under the terms of this
719
+ License, or sublicense it under different terms, provided that the
720
+ license for the Executable Form does not attempt to limit or alter
721
+ the recipients' rights in the Source Code Form under this License.
722
+
723
+ 3.3. Distribution of a Larger Work
724
+
725
+ You may create and distribute a Larger Work under terms of Your choice,
726
+ provided that You also comply with the requirements of this License for
727
+ the Covered Software. If the Larger Work is a combination of Covered
728
+ Software with a work governed by one or more Secondary Licenses, and the
729
+ Covered Software is not Incompatible With Secondary Licenses, this
730
+ License permits You to additionally distribute such Covered Software
731
+ under the terms of such Secondary License(s), so that the recipient of
732
+ the Larger Work may, at their option, further distribute the Covered
733
+ Software under the terms of either this License or such Secondary
734
+ License(s).
735
+
736
+ 3.4. Notices
737
+
738
+ You may not remove or alter the substance of any license notices
739
+ (including copyright notices, patent notices, disclaimers of warranty,
740
+ or limitations of liability) contained within the Source Code Form of
741
+ the Covered Software, except that You may alter any license notices to
742
+ the extent required to remedy known factual inaccuracies.
743
+
744
+ 3.5. Application of Additional Terms
745
+
746
+ You may choose to offer, and to charge a fee for, warranty, support,
747
+ indemnity or liability obligations to one or more recipients of Covered
748
+ Software. However, You may do so only on Your own behalf, and not on
749
+ behalf of any Contributor. You must make it absolutely clear that any
750
+ such warranty, support, indemnity, or liability obligation is offered by
751
+ You alone, and You hereby agree to indemnify every Contributor for any
752
+ liability incurred by such Contributor as a result of warranty, support,
753
+ indemnity or liability terms You offer. You may include additional
754
+ disclaimers of warranty and limitations of liability specific to any
755
+ jurisdiction.
756
+
757
+ 4. Inability to Comply Due to Statute or Regulation
758
+ ---------------------------------------------------
759
+
760
+ If it is impossible for You to comply with any of the terms of this
761
+ License with respect to some or all of the Covered Software due to
762
+ statute, judicial order, or regulation then You must: (a) comply with
763
+ the terms of this License to the maximum extent possible; and (b)
764
+ describe the limitations and the code they affect. Such description must
765
+ be placed in a text file included with all distributions of the Covered
766
+ Software under this License. Except to the extent prohibited by statute
767
+ or regulation, such description must be sufficiently detailed for a
768
+ recipient of ordinary skill to be able to understand it.
769
+
770
+ 5. Termination
771
+ --------------
772
+
773
+ 5.1. The rights granted under this License will terminate automatically
774
+ if You fail to comply with any of its terms. However, if You become
775
+ compliant, then the rights granted under this License from a particular
776
+ Contributor are reinstated (a) provisionally, unless and until such
777
+ Contributor explicitly and finally terminates Your grants, and (b) on an
778
+ ongoing basis, if such Contributor fails to notify You of the
779
+ non-compliance by some reasonable means prior to 60 days after You have
780
+ come back into compliance. Moreover, Your grants from a particular
781
+ Contributor are reinstated on an ongoing basis if such Contributor
782
+ notifies You of the non-compliance by some reasonable means, this is the
783
+ first time You have received notice of non-compliance with this License
784
+ from such Contributor, and You become compliant prior to 30 days after
785
+ Your receipt of the notice.
786
+
787
+ 5.2. If You initiate litigation against any entity by asserting a patent
788
+ infringement claim (excluding declaratory judgment actions,
789
+ counter-claims, and cross-claims) alleging that a Contributor Version
790
+ directly or indirectly infringes any patent, then the rights granted to
791
+ You by any and all Contributors for the Covered Software under Section
792
+ 2.1 of this License shall terminate.
793
+
794
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
795
+ end user license agreements (excluding distributors and resellers) which
796
+ have been validly granted by You or Your distributors under this License
797
+ prior to termination shall survive termination.
798
+
799
+ ************************************************************************
800
+ * *
801
+ * 6. Disclaimer of Warranty *
802
+ * ------------------------- *
803
+ * *
804
+ * Covered Software is provided under this License on an "as is" *
805
+ * basis, without warranty of any kind, either expressed, implied, or *
806
+ * statutory, including, without limitation, warranties that the *
807
+ * Covered Software is free of defects, merchantable, fit for a *
808
+ * particular purpose or non-infringing. The entire risk as to the *
809
+ * quality and performance of the Covered Software is with You. *
810
+ * Should any Covered Software prove defective in any respect, You *
811
+ * (not any Contributor) assume the cost of any necessary servicing, *
812
+ * repair, or correction. This disclaimer of warranty constitutes an *
813
+ * essential part of this License. No use of any Covered Software is *
814
+ * authorized under this License except under this disclaimer. *
815
+ * *
816
+ ************************************************************************
817
+
818
+ ************************************************************************
819
+ * *
820
+ * 7. Limitation of Liability *
821
+ * -------------------------- *
822
+ * *
823
+ * Under no circumstances and under no legal theory, whether tort *
824
+ * (including negligence), contract, or otherwise, shall any *
825
+ * Contributor, or anyone who distributes Covered Software as *
826
+ * permitted above, be liable to You for any direct, indirect, *
827
+ * special, incidental, or consequential damages of any character *
828
+ * including, without limitation, damages for lost profits, loss of *
829
+ * goodwill, work stoppage, computer failure or malfunction, or any *
830
+ * and all other commercial damages or losses, even if such party *
831
+ * shall have been informed of the possibility of such damages. This *
832
+ * limitation of liability shall not apply to liability for death or *
833
+ * personal injury resulting from such party's negligence to the *
834
+ * extent applicable law prohibits such limitation. Some *
835
+ * jurisdictions do not allow the exclusion or limitation of *
836
+ * incidental or consequential damages, so this exclusion and *
837
+ * limitation may not apply to You. *
838
+ * *
839
+ ************************************************************************
840
+
841
+ 8. Litigation
842
+ -------------
843
+
844
+ Any litigation relating to this License may be brought only in the
845
+ courts of a jurisdiction where the defendant maintains its principal
846
+ place of business and such litigation shall be governed by laws of that
847
+ jurisdiction, without reference to its conflict-of-law provisions.
848
+ Nothing in this Section shall prevent a party's ability to bring
849
+ cross-claims or counter-claims.
850
+
851
+ 9. Miscellaneous
852
+ ----------------
853
+
854
+ This License represents the complete agreement concerning the subject
855
+ matter hereof. If any provision of this License is held to be
856
+ unenforceable, such provision shall be reformed only to the extent
857
+ necessary to make it enforceable. Any law or regulation which provides
858
+ that the language of a contract shall be construed against the drafter
859
+ shall not be used to construe this License against a Contributor.
860
+
861
+ 10. Versions of the License
862
+ ---------------------------
863
+
864
+ 10.1. New Versions
865
+
866
+ Mozilla Foundation is the license steward. Except as provided in Section
867
+ 10.3, no one other than the license steward has the right to modify or
868
+ publish new versions of this License. Each version will be given a
869
+ distinguishing version number.
870
+
871
+ 10.2. Effect of New Versions
872
+
873
+ You may distribute the Covered Software under the terms of the version
874
+ of the License under which You originally received the Covered Software,
875
+ or under the terms of any subsequent version published by the license
876
+ steward.
877
+
878
+ 10.3. Modified Versions
879
+
880
+ If you create software not governed by this License, and you want to
881
+ create a new license for such software, you may create and use a
882
+ modified version of this License if you rename the license and remove
883
+ any references to the name of the license steward (except to note that
884
+ such modified license differs from this License).
885
+
886
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
887
+ Licenses
888
+
889
+ If You choose to distribute Source Code Form that is Incompatible With
890
+ Secondary Licenses under the terms of this version of the License, the
891
+ notice described in Exhibit B of this License must be attached.
892
+
893
+ Exhibit A - Source Code Form License Notice
894
+ -------------------------------------------
895
+
896
+ This Source Code Form is subject to the terms of the Mozilla Public
897
+ License, v. 2.0. If a copy of the MPL was not distributed with this
898
+ file, You can obtain one at https://mozilla.org/MPL/2.0/.
899
+
900
+ If it is not possible or desirable to put the notice in a particular
901
+ file, then You may include the notice in a location (such as a LICENSE
902
+ file in a relevant directory) where a recipient would be likely to look
903
+ for such a notice.
904
+
905
+ You may add additional accurate notices of copyright ownership.
906
+
907
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
908
+ ---------------------------------------------------------
909
+
910
+ This Source Code Form is "Incompatible With Secondary Licenses", as
911
+ defined by the Mozilla Public License, v. 2.0.
912
+
913
+ ==============================================================================
914
+ libuv: the event loop and I/O
915
+ License: MIT AND ISC AND BSD-2-Clause
916
+ ==============================================================================
917
+
918
+ Copyright (c) 2015-present libuv project contributors.
919
+
920
+ Permission is hereby granted, free of charge, to any person obtaining a copy
921
+ of this software and associated documentation files (the "Software"), to
922
+ deal in the Software without restriction, including without limitation the
923
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
924
+ sell copies of the Software, and to permit persons to whom the Software is
925
+ furnished to do so, subject to the following conditions:
926
+
927
+ The above copyright notice and this permission notice shall be included in
928
+ all copies or substantial portions of the Software.
929
+
930
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
931
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
932
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
933
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
934
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
935
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
936
+ IN THE SOFTWARE.
937
+
938
+ This license applies to parts of libuv originating from the
939
+ https://github.com/joyent/libuv repository:
940
+
941
+ ====
942
+
943
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
944
+ Permission is hereby granted, free of charge, to any person obtaining a copy
945
+ of this software and associated documentation files (the "Software"), to
946
+ deal in the Software without restriction, including without limitation the
947
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
948
+ sell copies of the Software, and to permit persons to whom the Software is
949
+ furnished to do so, subject to the following conditions:
950
+
951
+ The above copyright notice and this permission notice shall be included in
952
+ all copies or substantial portions of the Software.
953
+
954
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
955
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
956
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
957
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
958
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
959
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
960
+ IN THE SOFTWARE.
961
+
962
+ ====
963
+
964
+ This license applies to all parts of libuv that are not externally
965
+ maintained libraries.
966
+
967
+ The externally maintained libraries used by libuv are:
968
+
969
+ - tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license.
970
+
971
+ - inet_pton and inet_ntop implementations, contained in src/inet.c, are
972
+ copyright the Internet Systems Consortium, Inc., and licensed under the ISC
973
+ license.
974
+
975
+ ==============================================================================
976
+ llhttp: the HTTP parser
977
+ License: MIT
978
+ ==============================================================================
979
+
980
+ This software is licensed under the MIT License.
981
+
982
+ Copyright Fedor Indutny, 2018.
983
+
984
+ Permission is hereby granted, free of charge, to any person obtaining a
985
+ copy of this software and associated documentation files (the
986
+ "Software"), to deal in the Software without restriction, including
987
+ without limitation the rights to use, copy, modify, merge, publish,
988
+ distribute, sublicense, and/or sell copies of the Software, and to permit
989
+ persons to whom the Software is furnished to do so, subject to the
990
+ following conditions:
991
+
992
+ The above copyright notice and this permission notice shall be included
993
+ in all copies or substantial portions of the Software.
994
+
995
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
996
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
997
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
998
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
999
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1000
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
1001
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
1002
+
1003
+ ==============================================================================
1004
+ zlib: deflate and gzip (Chromium's copy)
1005
+ License: Zlib AND BSD-3-Clause
1006
+ ==============================================================================
1007
+
1008
+ version 1.2.12, March 27th, 2022
1009
+
1010
+ Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
1011
+
1012
+ This software is provided 'as-is', without any express or implied
1013
+ warranty. In no event will the authors be held liable for any damages
1014
+ arising from the use of this software.
1015
+
1016
+ Permission is granted to anyone to use this software for any purpose,
1017
+ including commercial applications, and to alter it and redistribute it
1018
+ freely, subject to the following restrictions:
1019
+
1020
+ 1. The origin of this software must not be misrepresented; you must not
1021
+ claim that you wrote the original software. If you use this software
1022
+ in a product, an acknowledgment in the product documentation would be
1023
+ appreciated but is not required.
1024
+ 2. Altered source versions must be plainly marked as such, and must not be
1025
+ misrepresented as being the original software.
1026
+ 3. This notice may not be removed or altered from any source distribution.
1027
+
1028
+ // Copyright 2015 The Chromium Authors
1029
+ //
1030
+ // Redistribution and use in source and binary forms, with or without
1031
+ // modification, are permitted provided that the following conditions are
1032
+ // met:
1033
+ //
1034
+ // * Redistributions of source code must retain the above copyright
1035
+ // notice, this list of conditions and the following disclaimer.
1036
+ // * Redistributions in binary form must reproduce the above
1037
+ // copyright notice, this list of conditions and the following disclaimer
1038
+ // in the documentation and/or other materials provided with the
1039
+ // distribution.
1040
+ // * Neither the name of Google LLC nor the names of its
1041
+ // contributors may be used to endorse or promote products derived from
1042
+ // this software without specific prior written permission.
1043
+ //
1044
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1045
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1046
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1047
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1048
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1049
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1050
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1051
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1052
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1053
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1054
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1055
+
1056
+ ==============================================================================
1057
+ Brotli: Brotli compression
1058
+ License: MIT
1059
+ ==============================================================================
1060
+
1061
+ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
1062
+
1063
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1064
+ of this software and associated documentation files (the "Software"), to deal
1065
+ in the Software without restriction, including without limitation the rights
1066
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1067
+ copies of the Software, and to permit persons to whom the Software is
1068
+ furnished to do so, subject to the following conditions:
1069
+
1070
+ The above copyright notice and this permission notice shall be included in
1071
+ all copies or substantial portions of the Software.
1072
+
1073
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1074
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1075
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1076
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1077
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1078
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1079
+ THE SOFTWARE.
1080
+
1081
+ ==============================================================================
1082
+ Zstandard: zstd compression
1083
+ License: BSD-3-Clause
1084
+ ==============================================================================
1085
+
1086
+ BSD License
1087
+
1088
+ For Zstandard software
1089
+
1090
+ Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
1091
+
1092
+ Redistribution and use in source and binary forms, with or without modification,
1093
+ are permitted provided that the following conditions are met:
1094
+
1095
+ * Redistributions of source code must retain the above copyright notice, this
1096
+ list of conditions and the following disclaimer.
1097
+
1098
+ * Redistributions in binary form must reproduce the above copyright notice,
1099
+ this list of conditions and the following disclaimer in the documentation
1100
+ and/or other materials provided with the distribution.
1101
+
1102
+ * Neither the name Facebook, nor Meta, nor the names of its contributors may
1103
+ be used to endorse or promote products derived from this software without
1104
+ specific prior written permission.
1105
+
1106
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1107
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1108
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1109
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
1110
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1111
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1112
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
1113
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1114
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1115
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1116
+
1117
+ ==============================================================================
1118
+ punycode.js: node:punycode
1119
+ License: MIT
1120
+ ==============================================================================
1121
+
1122
+ Copyright Mathias Bynens <https://mathiasbynens.be/>
1123
+
1124
+ Permission is hereby granted, free of charge, to any person obtaining
1125
+ a copy of this software and associated documentation files (the
1126
+ "Software"), to deal in the Software without restriction, including
1127
+ without limitation the rights to use, copy, modify, merge, publish,
1128
+ distribute, sublicense, and/or sell copies of the Software, and to
1129
+ permit persons to whom the Software is furnished to do so, subject to
1130
+ the following conditions:
1131
+
1132
+ The above copyright notice and this permission notice shall be
1133
+ included in all copies or substantial portions of the Software.
1134
+
1135
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1136
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1137
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1138
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
1139
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1140
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1141
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1142
+
1143
+ ==============================================================================
1144
+ parseargs: util.parseArgs
1145
+ License: MIT
1146
+ ==============================================================================
1147
+
1148
+ MIT License
1149
+
1150
+ Copyright (c) 2021 Darcy Clarke and contributors
1151
+
1152
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1153
+ of this software and associated documentation files (the "Software"), to deal
1154
+ in the Software without restriction, including without limitation the rights
1155
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1156
+ copies of the Software, and to permit persons to whom the Software is
1157
+ furnished to do so, subject to the following conditions:
1158
+
1159
+ The above copyright notice and this permission notice shall be included in all
1160
+ copies or substantial portions of the Software.
1161
+
1162
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1163
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1164
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1165
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1166
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1167
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1168
+ SOFTWARE.
1169
+
1170
+ ==============================================================================
1171
+ HdrHistogram: perf_hooks' histograms
1172
+ License: CC0-1.0 OR BSD-2-Clause
1173
+ ==============================================================================
1174
+
1175
+ The code in this repository code was Written by Gil Tene, Michael Barker,
1176
+ Matt Warren, and Philip Orwig, and released to the public domain, as explained at
1177
+ http://creativecommons.org/publicdomain/zero/1.0/
1178
+
1179
+ For users of this code who wish to consume it under the "BSD" license
1180
+ rather than under the public domain or CC0 contribution text mentioned
1181
+ above, the code found under this directory is *also* provided under the
1182
+ following license (commonly referred to as the BSD 2-Clause License). This
1183
+ license does not detract from the above stated release of the code into
1184
+ the public domain, and simply represents an additional license granted by
1185
+ the Author.
1186
+
1187
+ -----------------------------------------------------------------------------
1188
+ ** Beginning of "BSD 2-Clause License" text. **
1189
+
1190
+ Copyright (c) 2012, 2013, 2014 Gil Tene
1191
+ Copyright (c) 2014 Michael Barker
1192
+ Copyright (c) 2014 Matt Warren
1193
+ Copyright (c) 2015 Philip Orwig
1194
+ All rights reserved.
1195
+
1196
+ Redistribution and use in source and binary forms, with or without
1197
+ modification, are permitted provided that the following conditions are met:
1198
+
1199
+ 1. Redistributions of source code must retain the above copyright notice,
1200
+ this list of conditions and the following disclaimer.
1201
+
1202
+ 2. Redistributions in binary form must reproduce the above copyright notice,
1203
+ this list of conditions and the following disclaimer in the documentation
1204
+ and/or other materials provided with the distribution.
1205
+
1206
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1207
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1208
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1209
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
1210
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1211
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1212
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1213
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1214
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1215
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
1216
+ THE POSSIBILITY OF SUCH DAMAGE.