Skip to content

Commit c1d2c7e

Browse files
committed
v3.47.0
1 parent d4563ce commit c1d2c7e

File tree

14 files changed

+3238
-3175
lines changed

14 files changed

+3238
-3175
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22
### Unreleased
3+
- Nothing
4+
5+
### [3.47.0 - 2025.11.18](https://github.com/zloirock/core-js/releases/tag/v3.47.0)
6+
- Changes [v3.46.0...v3.47.0](https://github.com/zloirock/core-js/compare/v3.46.0...v3.47.0) (117 commits)
37
- [`JSON.parse` source text access proposal](https://github.com/tc39/proposal-json-parse-with-source) :
48
- Built-ins:
59
- `JSON.isRawJSON`

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.46.0
223+
npm install --save core-js@3.47.0
224224
// version without global namespace pollution
225-
npm install --save core-js-pure@3.46.0
225+
npm install --save core-js-pure@3.47.0
226226
// bundled global version
227-
npm install --save core-js-bundle@3.46.0
227+
npm install --save core-js-bundle@3.47.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.46'`.
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.47'`.
324324

325325
> [!IMPORTANT]
326-
> It is recommended to specify the used minor `core-js` version, like `corejs: '3.46'`, 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.47'`, 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.46', 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.47', 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.46"
425+
"coreJs": "3.47"
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.46.0/index.js'; // <- at the top of your entry point
32+
import 'https://deno.land/x/corejs@v3.47.0/index.js'; // <- at the top of your entry point
3333

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

0 commit comments

Comments
 (0)