Skip to content

Commit 89686ea

Browse files
committed
3.16.0
1 parent 70dc9b3 commit 89686ea

File tree

13 files changed

+1474
-1210
lines changed

13 files changed

+1474
-1210
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.16.0 - 2021.07.30
36
- [`Array` find from last proposal](https://github.com/tc39/proposal-array-find-from-last) moved to the stage 3, [July 2021 TC39 meeting](https://github.com/tc39/proposal-array-find-from-last/pull/47)
47
- [`Array` filtering stage 1 proposal](https://github.com/tc39/proposal-array-filtering):
58
- `Array.prototype.filterReject` replaces `Array.prototype.filterOut`

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32
141141
### Installation:[](#index)
142142
```
143143
// global version
144-
npm install --save core-js@3.15.2
144+
npm install --save core-js@3.16.0
145145
// version without global namespace pollution
146-
npm install --save core-js-pure@3.15.2
146+
npm install --save core-js-pure@3.16.0
147147
// bundled global version
148-
npm install --save core-js-bundle@3.15.2
148+
npm install --save core-js-bundle@3.16.0
149149
```
150150

151-
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.15.2) ([minified version](https://unpkg.com/core-js-bundle@3.15.2/minified.js)).
151+
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.16.0) ([minified version](https://unpkg.com/core-js-bundle@3.16.0/minified.js)).
152152

153153
### `postinstall` message[](#index)
154154
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:
@@ -238,9 +238,9 @@ import 'regenerator-runtime/runtime';
238238

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

241-
[`@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.15'`.
241+
[`@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.16'`.
242242

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

298-
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.15', proposals: true }`.
298+
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.16', proposals: true }`.
299299

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

deno/corejs/README.md

Lines changed: 1 addition & 1 deletion
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.15.2/index.js'; // <- at the top of your entry point
27+
import 'https://deno.land/x/corejs@v3.16.0/index.js'; // <- at the top of your entry point
2828

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

0 commit comments

Comments
 (0)