Skip to content

Commit

Permalink
Math.f16round and DataView.prototype.{ getFloat16, setFloat16 } f…
Browse files Browse the repository at this point in the history
…rom `Float16Array` proposal added and marked as supported from Deno 1.43
  • Loading branch information
zloirock committed May 1, 2024
1 parent 54b6a86 commit 1b7d98d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions packages/core-js-compat/src/data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
},
Expand Down Expand Up @@ -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': {
Expand Down

0 comments on commit 1b7d98d

Please sign in to comment.