From 825d13b0fed8538a781b72c30026b4173b5574c4 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 12 Mar 2023 14:13:15 -0700 Subject: [PATCH] v1.21.2 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cec3cdd4..3d4bf398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,39 @@ +1.21.2 / 2023-03-12 +================= + * [Fix] `ES2015`+: `CreateDataProperty`: use `OrdinaryDefineOwnProperty` + * [Fix] `ES2015`+: `CreateDataProperty`: use `OrdinaryDefineOwnProperty` + * [Fix] `ES2015`+: `GetPrototypeFromConstructor`: add missing assertion that `intrinsicDefaultProto` is an object + * [Fix] `ES2015`+: `IsDetachedBuffer`: ensure a nullish error does not crash + * [Fix] `ES2015`+: `ToDateString`: properly handle time values that aren’t "now" + * [Fix] `ES2015`+: `ToUint8Clamp`: avoid an extra observable ToNumber + * [Fix] `ES2015`+`: `GetMethod`: when `func` is not callable and `P` is a symbol, avoid the wrong TypeError + * [Fix] `ES2020`+: `ToBigInt`: properly throw on anything besides string, bigint, boolean + * [Fix] `ES2021`+: `SplitMatch`: instead of `false`, return `'not-matched'` + * [Fix] `helpers/assertRecord`: handle nullish input + * [Fix] `helpers/isFullyPopulatedPropertyDescriptor`: handle primitive inputs + * [Robustness] `ES5`: `ToNumber`: avoid relying on runtime `.test` and `.replace` + * [Refactor] `ES2015`: mark `IsDataDescriptor` and `IsAccessorDescriptor` as spackled + * [Refactor] `ES2015`+: `IsDetachedBuffer`: use `array-buffer-byte-length` package + * [Refactor] `ES2015`+: `OrdinaryHasInstance`: rely on falsiness + * [Refactor] `ES2016`+: `CreateListFromArrayLike`: hoist default element types to module level + * [Refactor] `ES2022`+: `StringToNumber`, `ToNumber`: use `string.prototype.trim` + * [patch] `ES2022`+: `IsLessThan`: fix a comment + * [patch] `ES2022`+: `TypedArrayElementSize`, `TypedArrayElementType`: throw a SyntaxError with an unknown TA type + * [patch] `ES2022`+: `IsLessThan`: fix a comment + * [patch] `ES2020`+: `thisBigIntValue`: throw a SyntaxError, not TypeError, for unsupported features + * [patch] `helpers/getIteratorMethod`: `String` is always available + * [patch] fix commented spec URLs + * [patch] omit `%` for `callBound` + * [meta] fix spec URLs + * [meta] fix spackle metadata, comments + * [Deps] update `get-intrinsic`, `internal-slot`, `is-array-buffer`, `object-inspect` + * [Deps] move `function-bind` to dev deps + * [Tests] String.fromCharCode takes numbers, not strings + * [Tests] use `makeIteratorRecord` helper + * [Tests] increase coverage + * [Tests] fix tests that throw a sentinel + * [Dev Deps] update `array.from`, `available-regexp-flags`, `tape` + 1.21.1 / 2023-01-10 ================= * [Fix] move `available-typed-arrays` to runtime deps diff --git a/package.json b/package.json index e6eb7754..2a4f5e04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "es-abstract", - "version": "1.21.1", + "version": "1.21.2", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com",