Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update QuickJS to version 0.7.0 #669

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/quickjs
Submodule quickjs updated 95 files
+89 −75 .github/workflows/ci.yml
+49 −0 .github/workflows/docs.yml
+23 −0 .github/workflows/test-docs.yml
+32 −0 .github/workflows/tsan.yml
+10 −0 .github/workflows/valgrind.yml
+2 −1 .gitignore
+1 −0 .gitmodules
+27 −8 CMakeLists.txt
+19 −11 Makefile
+15 −13 README.md
+17 −0 ctest.c
+3 −3 cutils.c
+13 −10 cutils.h
+2 −0 cxxtest.cc
+0 −1,032 doc/quickjs.texi
+20 −0 docs/.gitignore
+1 −0 docs/.nvmrc
+3 −0 docs/babel.config.js
+53 −0 docs/docs/building.md
+96 −0 docs/docs/cli.md
+7 −0 docs/docs/developer-guide/_category_.json
+3 −0 docs/docs/developer-guide/api.md
+117 −0 docs/docs/developer-guide/internals.md
+113 −0 docs/docs/developer-guide/intro.md
+65 −0 docs/docs/diff.md
+11 −0 docs/docs/es_features.md
+34 −0 docs/docs/installation.md
+33 −0 docs/docs/intro.md
+24 −0 docs/docs/projects.md
+551 −0 docs/docs/stdlib.md
+18 −0 docs/docs/supported_platforms.md
+114 −0 docs/docusaurus.config.js
+14,656 −0 docs/package-lock.json
+42 −0 docs/package.json
+20 −0 docs/sidebars.js
+30 −0 docs/src/css/custom.css
+0 −0 docs/static/.nojekyll
+ docs/static/img/favicon.ico
+1 −1 examples/test_fib.js
+1 −1 examples/test_point.js
+23 −0 fuzz.c
+41 −50 gen/function_source.c
+15 −14 gen/hello.c
+43 −48 gen/hello_module.c
+2,884 −2,872 gen/repl.c
+21 −23 gen/test_fib.c
+7 −0 libbf.c
+1,771 −1,595 libunicode-table.h
+8 −0 libunicode.c
+1 −0 libunicode.h
+10 −7 qjs.c
+4 −0 qjsc.c
+4 −0 quickjs-atom.h
+156 −77 quickjs-libc.c
+2,337 −586 quickjs.c
+68 −56 quickjs.h
+35 −25 repl.js
+494 −350 run-test262.c
+1 −1 test262
+7 −11 test262.conf
+73 −805 test262_errors.txt
+9 −0 tests.conf
+49 −0 tests/assert.js
+7 −0 tests/bug633/0.js
+4 −0 tests/bug633/1.js
+4 −0 tests/bug633/2.js
+4 −0 tests/bug633/3.js
+4 −0 tests/bug645/0.js
+9 −0 tests/bug645/1.js
+7 −0 tests/bug645/2.js
+13 −0 tests/bug648.js
+4 −0 tests/bug652.js
+1 −0 tests/detect_module/0.js
+2 −0 tests/detect_module/1.js
+1 −0 tests/detect_module/2.js
+8 −0 tests/detect_module/3.js
+3 −0 tests/detect_module/4.js
+2 −0 tests/fixture_cyclic_import.js
+2 −2 tests/microbench.js
+3 −37 tests/test_bigint.js
+116 −18 tests/test_bjson.js
+49 −92 tests/test_builtin.js
+18 −19 tests/test_closure.js
+4 −0 tests/test_conv.c
+12 −0 tests/test_cyclic_import.js
+61 −39 tests/test_language.js
+3 −4 tests/test_loop.js
+0 −5 tests/test_module_detect.js
+8 −53 tests/test_queue_microtask.js
+37 −41 tests/test_std.js
+2 −20 tests/test_worker.js
+1 −2 tests/test_worker_module.js
+1 −1 unicode_download.sh
+23 −2 unicode_gen.c
+14 −0 unicode_gen_def.h
5,968 changes: 3,008 additions & 2,960 deletions src/bundles/c/core/core.c

Large diffs are not rendered by default.

55,061 changes: 27,692 additions & 27,369 deletions src/bundles/c/core/polyfills.c

Large diffs are not rendered by default.

1,059 changes: 538 additions & 521 deletions src/bundles/c/core/run-main.c

Large diffs are not rendered by default.

5,007 changes: 2,559 additions & 2,448 deletions src/bundles/c/core/run-repl.c

Large diffs are not rendered by default.

136 changes: 68 additions & 68 deletions src/bundles/c/core/worker-bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

#include <inttypes.h>

const uint32_t tjs__worker_bootstrap_size = 656;
const uint32_t tjs__worker_bootstrap_size = 654;

const uint8_t tjs__worker_bootstrap[656] = {
0x10, 0x10, 0x01, 0x16, 0x6d, 0x65, 0x73, 0x73,
0x61, 0x67, 0x65, 0x50, 0x69, 0x70, 0x65, 0x01,
0x28, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72,
0x69, 0x62, 0x75, 0x74, 0x65, 0x01, 0x06, 0x6d,
0x73, 0x67, 0x01, 0x08, 0x73, 0x65, 0x6c, 0x66,
0x01, 0x1a, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74,
0x63, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x01,
0x18, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x01, 0x26, 0x77,
0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2d, 0x62, 0x6f,
0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e,
0x6a, 0x73, 0x01, 0x10, 0x6d, 0x73, 0x67, 0x65,
const uint8_t tjs__worker_bootstrap[654] = {
0x13, 0x10, 0x01, 0x26, 0x77, 0x6f, 0x72, 0x6b,
0x65, 0x72, 0x2d, 0x62, 0x6f, 0x6f, 0x74, 0x73,
0x74, 0x72, 0x61, 0x70, 0x2e, 0x6a, 0x73, 0x01,
0x16, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x50, 0x69, 0x70, 0x65, 0x01, 0x28, 0x64, 0x65,
0x66, 0x69, 0x6e, 0x65, 0x45, 0x76, 0x65, 0x6e,
0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
0x74, 0x65, 0x01, 0x06, 0x6d, 0x73, 0x67, 0x01,
0x08, 0x73, 0x65, 0x6c, 0x66, 0x01, 0x1a, 0x64,
0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x01, 0x18, 0x4d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x01, 0x10, 0x6d, 0x73, 0x67, 0x65,
0x72, 0x72, 0x6f, 0x72, 0x01, 0x18, 0x6d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x65, 0x72, 0x72,
0x6f, 0x72, 0x01, 0x16, 0x70, 0x6f, 0x73, 0x74,
Expand All @@ -34,58 +34,58 @@ const uint8_t tjs__worker_bootstrap[656] = {
0x01, 0x2c, 0x5f, 0x5f, 0x64, 0x65, 0x66, 0x69,
0x6e, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41,
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
0x01, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x0c,
0x00, 0xfa, 0x00, 0xa2, 0x01, 0x00, 0x01, 0x00,
0x01, 0x00, 0x01, 0x05, 0x01, 0xa4, 0x01, 0x00,
0x00, 0x00, 0x0c, 0x43, 0xfa, 0x00, 0x00, 0x00,
0x02, 0x00, 0x04, 0x00, 0x03, 0x9e, 0x01, 0x02,
0xb8, 0x03, 0x01, 0x00, 0x70, 0xba, 0x03, 0x01,
0x01, 0x30, 0x0c, 0x42, 0xfa, 0x00, 0x00, 0x01,
0x00, 0x01, 0x06, 0x00, 0x00, 0x1d, 0x01, 0xbc,
0x03, 0x00, 0x01, 0x00, 0x38, 0xdf, 0x00, 0x00,
0x00, 0x42, 0xe0, 0x00, 0x00, 0x00, 0x38, 0xe1,
0x00, 0x00, 0x00, 0x11, 0x04, 0x33, 0x00, 0x00,
0x00, 0xd1, 0x21, 0x02, 0x00, 0x24, 0x01, 0x00,
0x29, 0xc4, 0x03, 0x04, 0x1d, 0x08, 0x03, 0x27,
0x34, 0x2e, 0x39, 0x30, 0x26, 0x65, 0x00, 0x0c,
0x42, 0xfa, 0x00, 0x00, 0x01, 0x00, 0x01, 0x06,
0x00, 0x00, 0x1d, 0x01, 0xc6, 0x03, 0x00, 0x01,
0x00, 0x38, 0xdf, 0x00, 0x00, 0x00, 0x42, 0xe0,
0x00, 0x00, 0x00, 0x38, 0xe1, 0x00, 0x00, 0x00,
0x11, 0x04, 0xe4, 0x00, 0x00, 0x00, 0xd1, 0x21,
0x02, 0x00, 0x24, 0x01, 0x00, 0x29, 0xc4, 0x03,
0x08, 0x22, 0x08, 0x03, 0x31, 0x34, 0x2e, 0x39,
0x3a, 0x26, 0x6f, 0x00, 0x0c, 0x42, 0xfa, 0x00,
0x00, 0x01, 0x00, 0x01, 0x03, 0x01, 0x00, 0x0c,
0x01, 0x66, 0x00, 0x01, 0x00, 0xb8, 0x03, 0x00,
0x0d, 0x65, 0x00, 0x00, 0x42, 0xe5, 0x00, 0x00,
0x00, 0xd1, 0x25, 0x01, 0x00, 0xc4, 0x03, 0x0c,
0x18, 0x02, 0x02, 0x16, 0x00, 0x61, 0x01, 0x00,
0x61, 0x00, 0x00, 0x38, 0x8c, 0x00, 0x00, 0x00,
0x38, 0x98, 0x00, 0x00, 0x00, 0x42, 0x11, 0x00,
0x00, 0x00, 0x04, 0xe6, 0x00, 0x00, 0x00, 0x24,
0x01, 0x00, 0x47, 0xc9, 0x62, 0x00, 0x00, 0xbf,
0x00, 0x43, 0xe7, 0x00, 0x00, 0x00, 0x62, 0x00,
0x00, 0xbf, 0x01, 0x43, 0xe8, 0x00, 0x00, 0x00,
0x38, 0xdf, 0x00, 0x00, 0x00, 0xbf, 0x02, 0x43,
0xe5, 0x00, 0x00, 0x00, 0x38, 0xe9, 0x00, 0x00,
0x00, 0x41, 0xea, 0x00, 0x00, 0x00, 0xca, 0x62,
0x01, 0x00, 0x38, 0x92, 0x00, 0x00, 0x00, 0x42,
0x60, 0x00, 0x00, 0x00, 0x38, 0xdf, 0x00, 0x00,
0x00, 0x24, 0x01, 0x00, 0x04, 0x33, 0x00, 0x00,
0x00, 0xf0, 0x0e, 0x62, 0x01, 0x00, 0x38, 0x92,
0x00, 0x00, 0x00, 0x42, 0x60, 0x00, 0x00, 0x00,
0x38, 0xdf, 0x00, 0x00, 0x00, 0x24, 0x01, 0x00,
0x04, 0xe4, 0x00, 0x00, 0x00, 0xf0, 0x0e, 0x62,
0x01, 0x00, 0x38, 0x92, 0x00, 0x00, 0x00, 0x42,
0x60, 0x00, 0x00, 0x00, 0x38, 0xdf, 0x00, 0x00,
0x00, 0x24, 0x01, 0x00, 0x04, 0xeb, 0x00, 0x00,
0x00, 0xf0, 0x29, 0xc4, 0x03, 0x01, 0x01, 0x20,
0x02, 0x12, 0x21, 0x1e, 0x81, 0x27, 0x13, 0x00,
0x27, 0x00, 0x13, 0x00, 0x27, 0x00, 0x1b, 0x3c,
0x27, 0x01, 0x3b, 0x39, 0x84, 0x64, 0x0d, 0x63,
0x84, 0x64, 0x0d, 0x63, 0x84, 0x64, 0x08, 0x6b,
0x00, 0xbf, 0x00, 0xee, 0xcd, 0x28, 0xc4, 0x03,
0x01, 0x01, 0x04, 0x00, 0x00, 0x24, 0x00, 0x00,
0x01, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x0d,
0xc0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c,
0x20, 0xfa, 0x01, 0xa2, 0x01, 0x00, 0x00, 0x00,
0x01, 0x00, 0x01, 0x0a, 0x00, 0x0c, 0x43, 0xfa,
0x01, 0x00, 0x00, 0x02, 0x00, 0x04, 0x00, 0x03,
0x9e, 0x01, 0x02, 0xc2, 0x03, 0x01, 0x00, 0x70,
0xc4, 0x03, 0x01, 0x01, 0x30, 0x0c, 0x42, 0xfa,
0x01, 0x00, 0x01, 0x00, 0x01, 0x06, 0x00, 0x00,
0x1d, 0x01, 0xc6, 0x03, 0x00, 0x01, 0x00, 0x38,
0xe4, 0x00, 0x00, 0x00, 0x42, 0xe5, 0x00, 0x00,
0x00, 0x38, 0xe6, 0x00, 0x00, 0x00, 0x11, 0x04,
0x33, 0x00, 0x00, 0x00, 0xd1, 0x21, 0x02, 0x00,
0x24, 0x01, 0x00, 0x29, 0xc0, 0x03, 0x04, 0x1d,
0x04, 0x02, 0x0e, 0x35, 0x0f, 0x00, 0x0c, 0x42,
0xfa, 0x01, 0x00, 0x01, 0x00, 0x01, 0x06, 0x00,
0x00, 0x1d, 0x01, 0xce, 0x03, 0x00, 0x01, 0x00,
0x38, 0xe4, 0x00, 0x00, 0x00, 0x42, 0xe5, 0x00,
0x00, 0x00, 0x38, 0xe6, 0x00, 0x00, 0x00, 0x11,
0x04, 0xe8, 0x00, 0x00, 0x00, 0xd1, 0x21, 0x02,
0x00, 0x24, 0x01, 0x00, 0x29, 0xc0, 0x03, 0x08,
0x22, 0x04, 0x02, 0x18, 0x35, 0x23, 0x00, 0x0c,
0x42, 0xfa, 0x01, 0x00, 0x01, 0x00, 0x01, 0x03,
0x01, 0x00, 0x0c, 0x01, 0x66, 0x00, 0x01, 0x00,
0xc2, 0x03, 0x00, 0x0d, 0x65, 0x00, 0x00, 0x42,
0xe9, 0x00, 0x00, 0x00, 0xd1, 0x25, 0x01, 0x00,
0xc0, 0x03, 0x0c, 0x18, 0x02, 0x2a, 0x2e, 0x00,
0x61, 0x01, 0x00, 0x61, 0x00, 0x00, 0x38, 0x8c,
0x00, 0x00, 0x00, 0x38, 0x99, 0x00, 0x00, 0x00,
0x42, 0x11, 0x00, 0x00, 0x00, 0x04, 0xea, 0x00,
0x00, 0x00, 0x24, 0x01, 0x00, 0x47, 0xc9, 0x62,
0x00, 0x00, 0xbf, 0x00, 0x43, 0xeb, 0x00, 0x00,
0x00, 0x62, 0x00, 0x00, 0xbf, 0x01, 0x43, 0xec,
0x00, 0x00, 0x00, 0x38, 0xe4, 0x00, 0x00, 0x00,
0xbf, 0x02, 0x43, 0xe9, 0x00, 0x00, 0x00, 0x38,
0xed, 0x00, 0x00, 0x00, 0x41, 0xee, 0x00, 0x00,
0x00, 0xca, 0x62, 0x01, 0x00, 0x38, 0x93, 0x00,
0x00, 0x00, 0x42, 0x60, 0x00, 0x00, 0x00, 0x38,
0xe4, 0x00, 0x00, 0x00, 0x24, 0x01, 0x00, 0x04,
0x33, 0x00, 0x00, 0x00, 0xf0, 0x0e, 0x62, 0x01,
0x00, 0x38, 0x93, 0x00, 0x00, 0x00, 0x42, 0x60,
0x00, 0x00, 0x00, 0x38, 0xe4, 0x00, 0x00, 0x00,
0x24, 0x01, 0x00, 0x04, 0xe8, 0x00, 0x00, 0x00,
0xf0, 0x0e, 0x62, 0x01, 0x00, 0x38, 0x93, 0x00,
0x00, 0x00, 0x42, 0x60, 0x00, 0x00, 0x00, 0x38,
0xe4, 0x00, 0x00, 0x00, 0x24, 0x01, 0x00, 0x04,
0xef, 0x00, 0x00, 0x00, 0xf0, 0x29, 0xc0, 0x03,
0x01, 0x01, 0x1e, 0x6c, 0x54, 0x00, 0x14, 0x08,
0x4b, 0x00, 0x0a, 0x08, 0x00, 0x00, 0x17, 0x08,
0x52, 0x13, 0x51, 0x34, 0x38, 0x4d, 0x2c, 0x12,
0x63, 0x34, 0x38, 0x4d, 0x2c, 0x12, 0x63, 0x34,
0x38, 0x00, 0x08, 0xea, 0x02, 0x29, 0xbf, 0x00,
0xee, 0x0e, 0x06, 0x2e, 0xc0, 0x03, 0x01, 0x01,
0x04, 0x00, 0x06, 0x24, 0x00, 0x00,
};

Loading
Loading