Skip to content

Commit 77123c4

Browse files
committed
3.36.0
1 parent a3d51ed commit 77123c4

File tree

15 files changed

+1050
-920
lines changed

15 files changed

+1050
-920
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### [3.36.0 - 2024.02.14](https://github.com/zloirock/core-js/releases/tag/v3.36.0)
36
- [`ArrayBuffer.prototype.transfer` and friends proposal](https://github.com/tc39/proposal-arraybuffer-transfer):
47
- Built-ins:
58
- `ArrayBuffer.prototype.detached`

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
210210
### Installation:[](#index)
211211
```sh
212212
// global version
213-
npm install --save core-js@3.35.1
213+
npm install --save core-js@3.36.0
214214
// version without global namespace pollution
215-
npm install --save core-js-pure@3.35.1
215+
npm install --save core-js-pure@3.36.0
216216
// bundled global version
217-
npm install --save core-js-bundle@3.35.1
217+
npm install --save core-js-bundle@3.36.0
218218
```
219219

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

312312
#### `@babel/preset-env`[](#index)
313313

314-
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to used version of `core-js`, like `corejs: '3.35'`.
314+
[`@babel/preset-env`](https://github.com/babel/babel/tree/master/packages/babel-preset-env) has `useBuiltIns` option, which optimizes working with global version of `core-js`. With `useBuiltIns` option, you should also set `corejs` option to used version of `core-js`, like `corejs: '3.36'`.
315315

316-
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.35'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
316+
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.36'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
317317
318318
- `useBuiltIns: 'entry'` replaces imports of `core-js` to import only required for a target environment modules. So, for example,
319319
```js
@@ -368,7 +368,7 @@ import 'core-js/modules/es.array.of';
368368
var array = Array.of(1, 2, 3);
369369
```
370370

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

373373
> **Warning!** In the case of `useBuiltIns: 'usage'`, you should not add `core-js` imports by yourself, they will be added automatically.
374374
@@ -404,7 +404,7 @@ Fast JavaScript transpiler `swc` [contains integration with `core-js`](https://s
404404
"env": {
405405
"targets": "> 0.25%, not dead",
406406
"mode": "entry",
407-
"coreJs": "3.35"
407+
"coreJs": "3.36"
408408
}
409409
}
410410
```

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

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

0 commit comments

Comments
 (0)