Skip to content

Commit 80adfc4

Browse files
committed
v3.49.0
1 parent 81e7cb5 commit 80adfc4

14 files changed

Lines changed: 961 additions & 817 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# Changelog
22
### Unreleased
3-
- Improved performance of `atob`, `btoa`, `Uint8Array.fromHex`, `Uint8Array.prototype.setFromHex`, and `Uint8Array.prototype.toHex`, [#1503](https://github.com/zloirock/core-js/issues/1503), [#1464](https://github.com/zloirock/core-js/issues/1464), [#1510](https://github.com/zloirock/core-js/issues/1510)
3+
- Nothing
4+
5+
### [3.49.0 - 2026.03.16](https://github.com/zloirock/core-js/releases/tag/v3.49.0)
6+
- Changes [v3.48.0...v3.49.0](https://github.com/zloirock/core-js/compare/v3.48.0...v3.49.0) (373 commits)
47
- [`Iterator.range`](https://github.com/tc39/proposal-iterator.range) updated following the actual spec version
58
- Throw a `RangeError` on `NaN` `start` / `end` / `step`
69
- Allow `null` as `optionOrStep`
710
- Improved accuracy of `Math.{ asinh, atanh }` polyfills with big and small values
811
- Improved accuracy of `Number.prototype.toExponential` polyfills with big and small values
12+
- Improved performance of `atob`, `btoa`, `Uint8Array.fromHex`, `Uint8Array.prototype.setFromHex`, and `Uint8Array.prototype.toHex`, [#1503](https://github.com/zloirock/core-js/issues/1503), [#1464](https://github.com/zloirock/core-js/issues/1464), [#1510](https://github.com/zloirock/core-js/issues/1510), thanks [**@johnzhou721**](https://github.com/johnzhou721)
913
- Minor performance optimization polyfills of methods from [`Map` upsert proposal](https://github.com/tc39/proposal-upsert)
1014
- Polyfills of methods from [`Map` upsert proposal](https://github.com/tc39/proposal-upsert) from the pure version made generic to make it work with polyfilled and native collections
1115
- Wrap `Symbol.for` in `Symbol.prototype.description` polyfill for correct handling of empty string descriptions

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
220220
### Installation:[](#index)
221221
```sh
222222
// global version
223-
npm install --save core-js@3.48.0
223+
npm install --save core-js@3.49.0
224224
// version without global namespace pollution
225-
npm install --save core-js-pure@3.48.0
225+
npm install --save core-js-pure@3.49.0
226226
// bundled global version
227-
npm install --save core-js-bundle@3.48.0
227+
npm install --save core-js-bundle@3.49.0
228228
```
229229

230230
### `postinstall` message[](#index)
@@ -320,10 +320,10 @@ import 'regenerator-runtime/runtime';
320320

321321
#### `@babel/preset-env`[](#index)
322322

323-
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes the use of the global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to the used version of `core-js`, like `corejs: '3.48'`.
323+
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes the use of the global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to the used version of `core-js`, like `corejs: '3.49'`.
324324

325325
> [!IMPORTANT]
326-
> It is recommended to specify the used minor `core-js` version, like `corejs: '3.48'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
326+
> It is recommended to specify the used minor `core-js` version, like `corejs: '3.49'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
327327
328328
---
329329

@@ -384,7 +384,7 @@ import 'core-js/modules/es.array.of';
384384
var array = Array.of(1, 2, 3);
385385
```
386386

387-
By default, `@babel/preset-env` with `useBuiltIns: 'usage'` option only polyfills stable features, but you can enable polyfilling of proposals by the `proposals` option, as `corejs: { version: '3.48', proposals: true }`.
387+
By default, `@babel/preset-env` with `useBuiltIns: 'usage'` option only polyfills stable features, but you can enable polyfilling of proposals by the `proposals` option, as `corejs: { version: '3.49', proposals: true }`.
388388

389389
> [!IMPORTANT]
390390
> In the case of `useBuiltIns: 'usage'`, you should not add `core-js` imports by yourself, they will be added automatically.
@@ -422,7 +422,7 @@ Fast JavaScript transpiler `swc` [contains integration with `core-js`](https://s
422422
"env": {
423423
"targets": "> 0.25%, not dead",
424424
"mode": "entry",
425-
"coreJs": "3.48"
425+
"coreJs": "3.49"
426426
}
427427
}
428428
```

deno/corejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
*Example*:
3131
```js
32-
import 'https://deno.land/x/corejs@v3.48.0/index.js'; // <- at the top of your entry point
32+
import 'https://deno.land/x/corejs@v3.49.0/index.js'; // <- at the top of your entry point
3333

3434
Object.hasOwn({ foo: 42 }, 'foo'); // => true
3535

0 commit comments

Comments
 (0)