]>
git.kaiwu.me - quickjs.git/log
Fabrice Bellard [Sat, 28 Nov 2026 11:08:07 +0000 (12:08 +0100)]
Check target extensibility via IsExtensible() in the proxy invariant checks (saghul)
Fabrice Bellard [Sat, 28 Nov 2026 10:54:26 +0000 (11:54 +0100)]
fixed exception handling in js_obj_to_desc()
Fabrice Bellard [Sat, 28 Nov 2026 10:30:53 +0000 (11:30 +0100)]
safer and simpler Map/Set implementation
Fabrice Bellard [Sat, 28 Nov 2026 10:27:14 +0000 (11:27 +0100)]
Fix destructuring rest param function length count (taxor03)
Fabrice Bellard [Sat, 28 Nov 2026 10:21:47 +0000 (11:21 +0100)]
fix use-after-free of the message port in handle_posted_message (#627)
Fabrice Bellard [Sat, 28 Nov 2026 10:15:57 +0000 (11:15 +0100)]
documented that JS_ToCStringLen2() with cesu8 = false uses the WTF-8 encoding (#626)
Fabrice Bellard [Sat, 28 Nov 2026 10:03:25 +0000 (11:03 +0100)]
ArrayBuffer.prototype.transfer(n) with n > maxByteLength throws TypeError instead of RangeError (#630)
Fabrice Bellard [Sat, 28 Nov 2026 10:00:28 +0000 (11:00 +0100)]
removed memory leak and fixes Object.isFrozen/isSealed (#631)
Fabrice Bellard [Sat, 28 Nov 2026 09:52:20 +0000 (10:52 +0100)]
fixed the fast case of Array.prototype.indexOf/includes (#632)
Fabrice Bellard [Sat, 28 Nov 2026 09:44:51 +0000 (10:44 +0100)]
use CreateDataPropertyOrThrow instead of [[Set]] in array constructor (#633)
Fabrice Bellard [Sat, 28 Nov 2026 09:39:43 +0000 (10:39 +0100)]
Array.prototype.at / with / toReversed / toSorted / toSpliced should not check [[HasProperty]] before reading elements (#634)
Fabrice Bellard [Sat, 28 Nov 2026 09:25:40 +0000 (10:25 +0100)]
fixed regression on toLocaleString behavior when Intl is not enabled (#635)
Fabrice Bellard [Tue, 24 Nov 2026 18:13:04 +0000 (19:13 +0100)]
Improve computed property lookup error messages
Fabrice Bellard [Tue, 24 Nov 2026 17:42:12 +0000 (18:42 +0100)]
Throw from on a non-extensible receiver (saghul)
Fabrice Bellard [Tue, 24 Nov 2026 17:19:23 +0000 (18:19 +0100)]
Limit the number of closure variables of a direct eval (bnoordhuis)
Fabrice Bellard [Tue, 24 Nov 2026 17:15:25 +0000 (18:15 +0100)]
Fix missing module exports for array destructuring (Divy Srivastava)
Fabrice Bellard [Tue, 24 Nov 2026 17:06:22 +0000 (18:06 +0100)]
Fix rejection of escaped reserved punctuators in v-flag \q (Samir)
Fabrice Bellard [Tue, 24 Nov 2026 16:47:24 +0000 (17:47 +0100)]
Make BigInt64Array.prototype.with() throw TypeError instead of RangeError when value is invalid (Samir)
Fabrice Bellard [Tue, 24 Nov 2026 14:16:43 +0000 (15:16 +0100)]
added more OOM tests for variable creation during compilation - throw SyntaxError instead of InternalError when there are too many variables
Fabrice Bellard [Tue, 24 Nov 2026 13:04:19 +0000 (14:04 +0100)]
added js_poll_interrupts() in array functions
Fabrice Bellard [Mon, 23 Nov 2026 17:26:27 +0000 (18:26 +0100)]
added overflow checks for most array allocations and reallocations (#536, #535)
Fabrice Bellard [Mon, 23 Nov 2026 13:21:34 +0000 (14:21 +0100)]
limit the number of lexical scopes (#610)
Fabrice Bellard [Mon, 23 Nov 2026 12:57:27 +0000 (13:57 +0100)]
fixed Math.sumPrecise
Fabrice Bellard [Mon, 23 Nov 2026 11:08:22 +0000 (12:08 +0100)]
nan boxing: faster NaN detection in __JS_NewFloat64 (Julien Olivier, #616)
Fabrice Bellard [Sat, 21 Nov 2026 16:07:34 +0000 (17:07 +0100)]
Fix Function.prototype.toString for a revoked proxy (bardrop)
Fabrice Bellard [Sat, 21 Nov 2026 16:02:32 +0000 (17:02 +0100)]
fixed array literal parsing (gengjiawen)
Fabrice Bellard [Sat, 21 Nov 2026 15:56:06 +0000 (16:56 +0100)]
reject destructuring patterns without ':' after a property name
Fabrice Bellard [Sat, 21 Nov 2026 14:10:43 +0000 (15:10 +0100)]
Fix the stack depth of an optional call through a with scope
Fabrice Bellard [Sat, 21 Nov 2026 14:01:16 +0000 (15:01 +0100)]
Release the element functions when Promise.allSettled() or any() fails
Fabrice Bellard [Sat, 21 Nov 2026 13:49:09 +0000 (14:49 +0100)]
Drop the new prototype's reference when the shape cannot be made writable
Fabrice Bellard [Sat, 21 Nov 2026 13:44:42 +0000 (14:44 +0100)]
Poll for interrupts on a taken OP_with_* branch
Fabrice Bellard [Sat, 21 Nov 2026 13:37:44 +0000 (14:37 +0100)]
Check the stack when instanceof follows a bound function
Fabrice Bellard [Sat, 21 Nov 2026 13:32:04 +0000 (14:32 +0100)]
Check for stack overflow in JS_IteratorNext fast path (josefguenther)
Fabrice Bellard [Sat, 21 Nov 2026 13:27:16 +0000 (14:27 +0100)]
fixed Iterator.from wrapper's next() method so that it returns the object as-is
Fabrice Bellard [Sat, 21 Nov 2026 13:13:46 +0000 (14:13 +0100)]
don't take value of dropped iterator items
Fabrice Bellard [Sat, 21 Nov 2026 12:22:40 +0000 (13:22 +0100)]
don't append in place to strings that are atoms (bnoordhuis)
Fabrice Bellard [Sat, 21 Nov 2026 12:07:46 +0000 (13:07 +0100)]
fixed build_for_in_iterator exception handling
Fabrice Bellard [Sat, 21 Nov 2026 11:38:21 +0000 (12:38 +0100)]
fixed parsing
Fabrice Bellard [Sat, 21 Nov 2026 11:28:15 +0000 (12:28 +0100)]
added missing add_arg() error check
Fabrice Bellard [Tue, 10 Nov 2026 10:56:48 +0000 (11:56 +0100)]
intl: fixed DateTimeFormat OOM leaks - simplified and fixed listformat (#610 point 11)
Fabrice Bellard [Tue, 10 Nov 2026 10:16:24 +0000 (11:16 +0100)]
moved OOB in Intl.NumberFormat (#610 point 4)
Fabrice Bellard [Tue, 10 Nov 2026 10:01:43 +0000 (11:01 +0100)]
intl: removed buffer overflow (#610 point 3)
Fabrice Bellard [Tue, 10 Nov 2026 09:54:22 +0000 (10:54 +0100)]
temporal: stricter timezone validation
Fabrice Bellard [Tue, 10 Nov 2026 09:07:24 +0000 (10:07 +0100)]
fixed object spread with strings (#611)
Fabrice Bellard [Mon, 9 Nov 2026 17:16:48 +0000 (18:16 +0100)]
test_worker.js: explicitly terminate the worker
Fabrice Bellard [Mon, 9 Nov 2026 16:36:13 +0000 (17:36 +0100)]
added missing bound checks to dates in temporal objects and simplified constructor invocation (#610)
Fabrice Bellard [Mon, 9 Nov 2026 14:42:04 +0000 (15:42 +0100)]
quickjs-libc: JSWaker workaround when the pipe buffer is full (#605)
Fabrice Bellard [Mon, 9 Nov 2026 14:28:18 +0000 (15:28 +0100)]
fixed JS_GetTypedArrayBuffer() length reporting with resizable array buffers (#608)
Fabrice Bellard [Mon, 9 Nov 2026 14:19:15 +0000 (15:19 +0100)]
fixed duplicate Invocation of the ArrayBuffer Release Callback (Divy Srivastava, #606)
Fabrice Bellard [Mon, 9 Nov 2026 14:08:42 +0000 (15:08 +0100)]
fixed waitAsync() polling in quickjs-libc (#603)
Fabrice Bellard [Mon, 9 Nov 2026 13:41:44 +0000 (14:41 +0100)]
fixed malloc error handling in JS_DefineProperty() (#604)
Fabrice Bellard [Sat, 7 Nov 2026 13:25:12 +0000 (14:25 +0100)]
avoid dereferencing the iterator twice in js_append_enumerate()
Fabrice Bellard [Sat, 7 Nov 2026 13:18:02 +0000 (14:18 +0100)]
Apply ToIndex to the maxByteLength option of the ArrayBuffer constructor (devanshc777)
Fabrice Bellard [Sat, 7 Nov 2026 13:07:01 +0000 (14:07 +0100)]
added tests for Array iterator length property access
Fabrice Bellard [Sat, 7 Nov 2026 13:04:01 +0000 (14:04 +0100)]
fixed invalid use of js_get_length32() (#597)
Fabrice Bellard [Sat, 7 Nov 2026 11:45:55 +0000 (12:45 +0100)]
fixed regexp skipping after template or private field (#596)
Fabrice Bellard [Sat, 7 Nov 2026 11:12:29 +0000 (12:12 +0100)]
correctly seal template objects when deserializing them (#598)
Fabrice Bellard [Sat, 7 Nov 2026 11:07:51 +0000 (12:07 +0100)]
added missing extensibility test for generic arrays in JS_CreateProperty() (#593)
Fabrice Bellard [Sat, 7 Nov 2026 10:59:30 +0000 (11:59 +0100)]
add_fast_array_element: don't update the array length in case of memory allocation error (#576) and handling the specific case of p->u.array.count = INT32_MAX
Fabrice Bellard [Sat, 7 Nov 2026 10:01:37 +0000 (11:01 +0100)]
Check for NULL object references in deserializer (bnoordhuis)
Fabrice Bellard [Sat, 7 Nov 2026 09:43:43 +0000 (10:43 +0100)]
added JS_DefinePropertyValueC() and fixed some error handling cases involving JS_DefinePropertyValue()
Fabrice Bellard [Mon, 2 Nov 2026 16:40:05 +0000 (17:40 +0100)]
added support of the import-bytes proposal
Fabrice Bellard [Mon, 2 Nov 2026 16:37:50 +0000 (17:37 +0100)]
exported IsArrayBuffer, IsImmutableArrayBuffer, SetImmutableArrayBuffer, NewUint8Array, JS_NewUint8ArrayCopy and NewUint8ArrayCopy2. Modified JS_GetClassID to take JSValueConst as input
Fabrice Bellard [Mon, 2 Nov 2026 15:53:10 +0000 (16:53 +0100)]
implemented the immutable-arraybuffer proposal (initial patch by bnoordhuis) - optimized immutable ArrayBuffer check when writing to a typed array
Fabrice Bellard [Mon, 2 Nov 2026 13:41:45 +0000 (14:41 +0100)]
added support of the import-text proposal (initial patch by bnoordhuis) - take into account the attributes with comparing modules (initial patch by Divy Srivastava)
Fabrice Bellard [Mon, 2 Nov 2026 10:51:43 +0000 (11:51 +0100)]
Array.prototype.sort: remove the same value optimization which is not really spec compliant
Fabrice Bellard [Mon, 2 Nov 2026 10:37:16 +0000 (11:37 +0100)]
ensure that the maximum number of variable references fits on 16 bits (#589) - added more error handling in the compiler
Fabrice Bellard [Mon, 2 Nov 2026 10:03:00 +0000 (11:03 +0100)]
Fix symbol leak in JS_ValueToAtom (#590) - changed js_symbol_to_atom() signature
Fabrice Bellard [Mon, 2 Nov 2026 09:26:42 +0000 (10:26 +0100)]
arm64: use nan boxing only on Mac OS as other OSes may use user pointers with more than 47 bits (#588)
Fabrice Bellard [Sat, 31 Oct 2026 18:03:33 +0000 (19:03 +0100)]
test262 update
Fabrice Bellard [Sat, 31 Oct 2026 17:44:04 +0000 (18:44 +0100)]
update DataView.prototype.[byteLength|byteOffset] not to throw when the view is out of bounds (spec change)
Fabrice Bellard [Sat, 31 Oct 2026 17:28:54 +0000 (18:28 +0100)]
fixed Iterator.prototype.reduce empty iterator closing
Fabrice Bellard [Sat, 31 Oct 2026 17:25:56 +0000 (18:25 +0100)]
fixed Iterator.prototype.flatMap iterator closing (saghul)
Fabrice Bellard [Sat, 31 Oct 2026 17:21:35 +0000 (18:21 +0100)]
fixed Iterator.concat logic (initial patch by saghul)
Fabrice Bellard [Sat, 31 Oct 2026 16:46:00 +0000 (17:46 +0100)]
fixed slow Array truncation (#585)
Fabrice Bellard [Sat, 31 Oct 2026 13:53:20 +0000 (14:53 +0100)]
removed warnings
Fabrice Bellard [Sat, 31 Oct 2026 13:10:26 +0000 (14:10 +0100)]
enabled nan-boxing for JSValue on common 64 bit targets (faster and reduced memory usage)
Fabrice Bellard [Sat, 31 Oct 2026 12:55:55 +0000 (13:55 +0100)]
support of the error stack accessor proposal (saghul)
Fabrice Bellard [Sat, 31 Oct 2026 12:50:55 +0000 (13:50 +0100)]
fixed JS_AutoInitProperty() behavior when out of memory (#580)
Fabrice Bellard [Sat, 31 Oct 2026 12:03:31 +0000 (13:03 +0100)]
fix leak in JS_ToCStringLen2 on failure (vanzomerenc, #587)
Fabrice Bellard [Sat, 31 Oct 2026 12:00:35 +0000 (13:00 +0100)]
fixed wrong result when comparing a negative BigInt with a negative float (liustack, #583)
Fabrice Bellard [Sat, 31 Oct 2026 11:54:24 +0000 (12:54 +0100)]
allow JS_SHORT_BIG_INT_BITS < JS_LIMB_BITS
Fabrice Bellard [Sat, 31 Oct 2026 11:52:13 +0000 (12:52 +0100)]
fixed bigint decrementation with JS_LIMB_BITS=64
Fabrice Bellard [Mon, 26 Oct 2026 15:42:08 +0000 (16:42 +0100)]
fixed arbitrary module namespace names
Fabrice Bellard [Mon, 26 Oct 2026 15:20:38 +0000 (16:20 +0100)]
Implement nonextensible-applies-to-private proposal (saghul)
Fabrice Bellard [Mon, 26 Oct 2026 15:00:14 +0000 (16:00 +0100)]
Await the async iterator return() when a for-await loop breaks (Divy Srivastava)
Fabrice Bellard [Mon, 26 Oct 2026 13:33:01 +0000 (14:33 +0100)]
Fix template literal substitution (Iann29)
Fabrice Bellard [Mon, 26 Oct 2026 12:40:27 +0000 (13:40 +0100)]
faster String.prototype.concat
Fabrice Bellard [Mon, 26 Oct 2026 11:17:03 +0000 (12:17 +0100)]
Fix Proxy ownKeys trap accepting a primitive result (saghul)
Fabrice Bellard [Mon, 26 Oct 2026 11:13:27 +0000 (12:13 +0100)]
Fix arity of os.chdir and std.setenv (bnoordhuis)
Fabrice Bellard [Mon, 26 Oct 2026 11:11:59 +0000 (12:11 +0100)]
Write back every element in Array.prototype.sort (theaddonn)
Fabrice Bellard [Mon, 26 Oct 2026 10:58:36 +0000 (11:58 +0100)]
fixed a use after free in build_backtrace() on out of memory (#529, initial patch by kangzj)
Fabrice Bellard [Mon, 26 Oct 2026 10:48:10 +0000 (11:48 +0100)]
Fix leak in JS_ReadBigInt on truncated input (initial patch by theaddonn)
Fabrice Bellard [Mon, 26 Oct 2026 10:38:29 +0000 (11:38 +0100)]
removed infinite loop in unicode_script() (Kayyo321)
Fabrice Bellard [Mon, 26 Oct 2026 10:19:52 +0000 (11:19 +0100)]
intl: removed use after free - removed buffer overflow - fixed invalid use of isalnum()
Fabrice Bellard [Mon, 26 Oct 2026 09:27:35 +0000 (10:27 +0100)]
added Atomics.waitAsync()
Fabrice Bellard [Sat, 24 Oct 2026 11:21:43 +0000 (13:21 +0200)]
fixed pretty printing of Symbol property names and added tests
Fabrice Bellard [Tue, 20 Oct 2026 17:11:10 +0000 (19:11 +0200)]
run-test262: use JS_ToString() to display thrown exceptions when they are not Error instances so that Test262Error exceptions are correctly displayed
Nick Vatamaniuc [Tue, 20 Oct 2026 17:06:07 +0000 (13:06 -0400)]
Fix CI (#573)
Cosmopolitan https://cosmo.zip/pub/cosmocc/cosmocc.zip is not available. Use
GitHub release instead.
Update checkout action to latest version (v7).
Fabrice Bellard [Mon, 19 Oct 2026 16:42:48 +0000 (18:42 +0200)]
implemented the Intl.Locale info methods and added the full UTS 35 likely subtags data