Skip to content

Commit f4f4633

Browse files
committed
v3.43.0
1 parent 5cf7095 commit f4f4633

File tree

13 files changed

+7263
-6586
lines changed

13 files changed

+7263
-6586
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.43.0 - 2025.06.09](https://github.com/zloirock/core-js/releases/tag/v3.43.0)
6+
- Changes [v3.42.0...v3.43.0](https://github.com/zloirock/core-js/compare/v3.42.0...v3.43.0) (139 commits)
37
- [Explicit Resource Management proposals](https://github.com/tc39/proposal-explicit-resource-management):
48
- Built-ins:
59
- `Symbol.dispose`

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
219219
### Installation:[](#index)
220220
```sh
221221
// global version
222-
npm install --save core-js@3.42.0
222+
npm install --save core-js@3.43.0
223223
// version without global namespace pollution
224-
npm install --save core-js-pure@3.42.0
224+
npm install --save core-js-pure@3.43.0
225225
// bundled global version
226-
npm install --save core-js-bundle@3.42.0
226+
npm install --save core-js-bundle@3.43.0
227227
```
228228

229229
Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/core-js-bundle).
@@ -321,10 +321,10 @@ import 'regenerator-runtime/runtime';
321321

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

324-
[`@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.42'`.
324+
[`@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.43'`.
325325

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

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

388-
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.42', proposals: true }`.
388+
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.43', proposals: true }`.
389389

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

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.42.0/index.js'; // <- at the top of your entry point
32+
import 'https://deno.land/x/corejs@v3.43.0/index.js'; // <- at the top of your entry point
3333

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

0 commit comments

Comments
 (0)