Richard Gibson

Results 243 issues of Richard Gibson

This package commits the cardinal sin of escaping: failing to fully exempt non-escaped input from unescaping (e.g., [`escapeKey`](https://github.com/flightcontrolhq/superjson/blob/0ac86f0ad70c9770471c1c4c4006b4e46381fa83/src/pathstringifier.ts#L4) escapes each `.` as `\.` but fails to escape `\` itself). As...

Split from #3629 as requested at https://github.com/tc39/ecma262/pull/3629#issuecomment-3010643518 , starting with AO reordering because internal movement is a big cause of avoidable merge conflicts.

This is a series of editorial commits that strive to improve the consistency and comprehensibility of spec text relating to ArrayBuffers and APIs that build on top of them. There's...

...regardless of copy direction Fixes #3618 This aligns the spec with implementation reality.

normative change
needs consensus
web reality

[23.2.3.6 %TypedArray%.prototype.copyWithin](https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%typedarray%.prototype.copywithin) detects length modification of the ArrayBuffer backing its receiver TypedArray caused by invoking user code during argument processing and uses the final length to set _bufferByteLimit_ for breaking...

needs consensus
web reality

[SetTypedArrayFromTypedArray](https://tc39.es/ecma262/multipage/indexed-collections.html#sec-settypedarrayfromtypedarray) specifies snapshotting a source ArrayBuffer when it matches the destination, preventing feed-forward in `typedArray.set(typedArray, offset)` calls. But no such guards exist for the species-aware methods. So, evaluating with the...

Fixes #3586 Closes #3590 Also includes commits with incidental fixes in nearby algorithms and steps.

editorial change

_(based on a comment from @Jack-Works in https://github.com/tc39/ecma262/issues/3587#issuecomment-2857261135)_ Regular expression pattern `\p{Script_Extensions=…}` and alias `\p{scx=…}` are used to match code points by the Script_Extensions property, which is set-valued (cf. [UTS...

* Add "property names" as an alias. * Use \ to exempt "Unicode property name" and similar externally-defined concepts (_which are currently inappropriately linked to the ECMAScript "[property name](https://tc39.es/ecma262/multipage/ecmascript-data-types-and-values.html#property-name)" term...

editorial change

Remove some unnecessary condition nesting and a trivial assertion. The small scope of the changes is most obvious while [ignoring whitespace](https://github.com/tc39/ecma262/pull/3544/files?w=1).