·
189 commits
to master
since this release
@endo/immutable-arraybuffer 1.1.2
- Removes
@endo/immutable-arraybufer/shim-hermes.jsand absorbs the necessary features into@endo/immutable-arraybuffer/shim.js. We are not qualifying this as a breaking change since the feature did not exist long enough to become relied upon.
@endo/marshal 1.8.0
- Introduces an environment variable config option
ENDO_RANK_STRINGSto change the rank ordering of strings from the current (incorrect) ordering by UTF-16 code unit used by JavaScript's<and.sort()operations to (correct and OCapN-conformant) ordering by Unicode code point. It currently defaults to "utf16-code-unit-order", matching the previously-unconditional behavior.
@endo/pass-style 1.6.3
- The exported function name
isObjectis ambiguous. It is unclear whether it includes functions or not. (It does.) To avoid this confusion, we're deprecatingisObjectand suggesting to use the new exportisPrimitiveinstead, that has the opposite answer. IOW, for allx,isObject(x) === !isPrimitive(x)
@endo/patterns 1.7.0
@endo/marshalintroduces an environment variable config optionENDO_RANK_STRINGSto change the rank ordering of strings from the current (incorrect) ordering by UTF-16 code unit used by JavaScript's<and.sort()operations to (correct and OCapN-conformant) ordering by Unicode code point. It currently defaults to "utf16-code-unit-order", matching the previously-unconditional behavior.@endo/patternsprovides acompareKeyspartial order that delegates some ordering, including strings, to the rank ordering provided by@endo/marshal. So when theENDO_RANK_STRINGSdefault is not overridden, thencompareKeysalso follows the (incorrect) UTF-16 code unit order. But when it is overridden, thencompareKeysalso follows the (correct) Unicode code-point order.
- In errors explaining why a specimen does not match a pattern, sometimes the error message contains a quoted form of a nested pattern. This quoting was done with
q, producing an uninformative rendering of these nested patterns. Now this quoting is done withqp, which renders these nested patterns into readable Justin source code.