From 1b7d98d140c989e579fc47021eb85c1fb356539f Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Wed, 1 May 2024 15:46:27 +0700 Subject: [PATCH] `Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }` from `Float16Array` proposal added and marked as supported from Deno 1.43 --- CHANGELOG.md | 3 ++- packages/core-js-compat/src/data.mjs | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a7afe0403b6..41ebb29e620d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ##### Unreleased - Compat data improvements: - [`Symbol.dispose`](https://github.com/tc39/proposal-explicit-resource-management) added marked as supported from V8 ~ Chromium 125 + - `Math.f16round` and `DataView.prototype.{ getFloat16, setFloat16 }` from [`Float16Array` proposal](https://github.com/tc39/proposal-float16array) added and marked as [supported from Deno 1.43](https://github.com/denoland/deno/pull/23490) - [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from NodeJS 22.0](https://github.com/nodejs/node/pull/52280) - - [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from Deno 1.43](https://github.com/nodejs/node/pull/52280) + - [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) added and marked as [supported from Deno 1.43](https://github.com/denoland/deno/pull/23318) - Added [NodeJS 22.0](https://nodejs.org/en/blog/release/v22.0.0) compat data mapping - Added [Deno 1.43](https://github.com/denoland/deno/releases/tag/v1.43.0) compat data mapping - Added Electron 31 compat data mapping diff --git a/packages/core-js-compat/src/data.mjs b/packages/core-js-compat/src/data.mjs index a24b4c9b86b3..1c812faa568e 100644 --- a/packages/core-js-compat/src/data.mjs +++ b/packages/core-js-compat/src/data.mjs @@ -2092,10 +2092,12 @@ export const data = { 'esnext.composite-symbol': { }, 'esnext.data-view.get-float16': { + deno: '1.43', }, 'esnext.data-view.get-uint8-clamped': { }, 'esnext.data-view.set-float16': { + deno: '1.43', }, 'esnext.data-view.set-uint8-clamped': { }, @@ -2237,6 +2239,7 @@ export const data = { 'esnext.math.fscale': { }, 'esnext.math.f16round': { + deno: '1.43', }, // TODO: Remove from `core-js@4` 'esnext.math.iaddh': {