Skip to content

Commit 30e9d80

Browse files
authored
Quickjs refresh (2024-01-13 to 2025-09-13) (#7849)
1 parent d3ba986 commit 30e9d80

78 files changed

Lines changed: 48848 additions & 57398 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3rdparty/exported/quickjs/Changelog

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
2025-09-13:
2+
3+
- added JSON modules and import attributes
4+
- added JS_PrintValue() API
5+
- qjs: pretty print objects in print() and console.log()
6+
- qjs: better promise rejection tracker heuristics
7+
- added RegExp v flag
8+
- added RegExp modifiers
9+
- added RegExp.escape
10+
- added Float16Array
11+
- added Promise.try
12+
- improved JSON parser spec conformance
13+
- qjs: improved compatibility of std.parseExtJSON() with JSON5 and
14+
accept JSON5 modules
15+
- added JS_FreePropertyEnum() and JS_AtomToCStringLen() API
16+
- added Error.isError()
17+
- misc bug fixes
18+
19+
2025-04-26:
20+
21+
- removed the bignum extensions and qjscalc
22+
- new BigInt implementation optimized for small numbers
23+
- added WeakRef, FinalizationRegistry and symbols as weakrefs
24+
- added builtin float64 printing and parsing functions for more correctness
25+
- faster repeated string concatenation
26+
- qjs: promise unhandled rejections are fatal errors by default
27+
- added column number in debug information
28+
- removed the "use strip" extension
29+
- qjs: added -s and --strip-source options
30+
- qjsc: added -s and --keep-source options
31+
- added JS_GetAnyOpaque()
32+
- added more callbacks for exotic objects in JSClassExoticMethods
33+
- misc bug fixes
34+
135
2024-01-13:
236

337
- top-level-await support in modules
@@ -13,7 +47,7 @@ TypedArray.prototype.{with,toReversed,toSorted}
1347
- added RegExp 'd' flag
1448
- fixed RegExp zero length match logic
1549
- fixed RegExp case insensitive flag
16-
- added os.getpid() and os.now()
50+
- added os.sleepAsync(), os.getpid() and os.now()
1751
- added cosmopolitan build
1852
- misc bug fixes
1953

3rdparty/exported/quickjs/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
QuickJS Javascript Engine
2-
2+
33
Copyright (c) 2017-2021 Fabrice Bellard
44
Copyright (c) 2017-2021 Charlie Gordon
55

0 commit comments

Comments
 (0)