Skip to content

Commit fe6d2d6

Browse files
committed
v3.39.0
1 parent ad901bb commit fe6d2d6

File tree

15 files changed

+6589
-6120
lines changed

15 files changed

+6589
-6120
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### [3.39.0 - 2024.10.31](https://github.com/zloirock/core-js/releases/tag/v3.39.0)
6+
- Changes [v3.38.1...v3.39.0](https://github.com/zloirock/core-js/compare/v3.38.1...v3.39.0)
37
- [`Iterator` helpers proposal](https://github.com/tc39/proposal-iterator-helpers):
48
- Built-ins:
59
- `Iterator`

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
214214
### Installation:[](#index)
215215
```sh
216216
// global version
217-
npm install --save core-js@3.38.1
217+
npm install --save core-js@3.39.0
218218
// version without global namespace pollution
219-
npm install --save core-js-pure@3.38.1
219+
npm install --save core-js-pure@3.39.0
220220
// bundled global version
221-
npm install --save core-js-bundle@3.38.1
221+
npm install --save core-js-bundle@3.39.0
222222
```
223223

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

317317
#### `@babel/preset-env`[](#index)
318318

319-
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with 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.38'`.
319+
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with 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.39'`.
320320

321321
> [!IMPORTANT]
322-
> Recommended to specify used minor `core-js` version, like `corejs: '3.38'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
322+
> Recommended to specify used minor `core-js` version, like `corejs: '3.39'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
323323
324324
---
325325

@@ -380,7 +380,7 @@ import 'core-js/modules/es.array.of';
380380
var array = Array.of(1, 2, 3);
381381
```
382382

383-
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.38', proposals: true }`.
383+
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.39', proposals: true }`.
384384

385385
> [!IMPORTANT]
386386
> In the case of `useBuiltIns: 'usage'`, you should not add `core-js` imports by yourself, they will be added automatically.
@@ -418,7 +418,7 @@ Fast JavaScript transpiler `swc` [contains integration with `core-js`](https://s
418418
"env": {
419419
"targets": "> 0.25%, not dead",
420420
"mode": "entry",
421-
"coreJs": "3.38"
421+
"coreJs": "3.39"
422422
}
423423
}
424424
```

Diff for: deno/corejs/README.md

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

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

0 commit comments

Comments
 (0)