github marko-js/marko @marko/runtime-tags@6.3.7

3 hours ago

Patch Changes

  • #3362 1aeec4b Thanks @DylanPiercey! - Fix values yielded/returned by a serialized sync generator registering for reference dedup at positions inside the generator's lazy body. Reusing such a value in the same flush resumed it as undefined (the binding assignment only ran if the generator was iterated), and reuse in a later flush emitted invalid JS that killed that flush's resume script. Values are now hoisted into eagerly evaluated arguments, matching the Symbol.iterator serialization strategy.

  • #3357 4b85c0e Thanks @DylanPiercey! - Fix serialized object keys made of digits beyond 2**53 (e.g. 64-bit/snowflake ids) resuming as a different key. Bare numeric keys are canonicalized through ToString(ToNumber(...)), so digit runs that do not survive that round trip are now quoted.

Don't miss a new marko release

NewReleases is sending notifications on new releases.