Skip to content

Commit 6123ff1

Browse files
committed
3.19.0
1 parent 7ff5ac1 commit 6123ff1

File tree

13 files changed

+1842
-1501
lines changed

13 files changed

+1842
-1501
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### 3.19.0 - 2021.10.25
36
- Most built-ins are encapsulated in `core-js` for preventing possible cases of breaking / observing the internal state by patching / deleting of them
47
- Avoid `.call` / `.apply` prototype methods that could be patched
58
- Avoid `instanceof` operator - implicit `.prototype` / `@@hasInstance` access that could be patched

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32
140140
### Installation:[](#index)
141141
```
142142
// global version
143-
npm install --save core-js@3.18.3
143+
npm install --save core-js@3.19.0
144144
// version without global namespace pollution
145-
npm install --save core-js-pure@3.18.3
145+
npm install --save core-js-pure@3.19.0
146146
// bundled global version
147-
npm install --save core-js-bundle@3.18.3
147+
npm install --save core-js-bundle@3.19.0
148148
```
149149

150-
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.18.3) ([minified version](https://unpkg.com/core-js-bundle@3.18.3/minified.js)).
150+
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.19.0) ([minified version](https://unpkg.com/core-js-bundle@3.19.0/minified.js)).
151151

152152
### `postinstall` message[](#index)
153153
The `core-js` project needs your help, so the package shows a message about it after installation. If it causes problems for you, you can disable it:
@@ -237,9 +237,9 @@ import 'regenerator-runtime/runtime';
237237

238238
#### `@babel/preset-env`[](#index)
239239

240-
[`@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.18'`.
240+
[`@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.19'`.
241241

242-
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.18'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
242+
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.19'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
243243
244244
- `useBuiltIns: 'entry'` replaces imports of `core-js` to import only required for a target environment modules. So, for example,
245245
```js
@@ -294,7 +294,7 @@ import 'core-js/modules/es.array.of';
294294
var array = Array.of(1, 2, 3);
295295
```
296296

297-
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.18', proposals: true }`.
297+
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.19', proposals: true }`.
298298

299299
#### `@babel/runtime`[](#index)
300300

deno/corejs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
*Example*:
2626
```js
27-
import 'https://deno.land/x/corejs@v3.18.3/index.js'; // <- at the top of your entry point
27+
import 'https://deno.land/x/corejs@v3.19.0/index.js'; // <- at the top of your entry point
2828

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

0 commit comments

Comments
 (0)