Skip to content

Commit 89686ea

Browse files
committedJul 30, 2021
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

+3
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

+7-7
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

+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.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

‎deno/corejs/index.js

+1,450-1,189
Large diffs are not rendered by default.

‎lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.15.2",
2+
"version": "3.16.0",
33
"packages": [
44
"packages/*"
55
]

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.15.2",
2+
"version": "3.16.0",
33
"devDependencies": {
44
"@babel/cli": "^7.14.8",
55
"@babel/core": "^7.14.8",

‎packages/core-js-builder/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "core-js-builder",
33
"description": "core-js builder",
4-
"version": "3.15.2",
4+
"version": "3.16.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",
88
"directory": "packages/core-js-builder"
99
},
1010
"main": "index.js",
1111
"dependencies": {
12-
"core-js": "3.15.2",
13-
"core-js-compat": "3.15.2",
12+
"core-js": "3.16.0",
13+
"core-js-compat": "3.16.0",
1414
"mkdirp": ">=0.5.5 <1",
1515
"webpack": ">=4.46.0 <5"
1616
},

‎packages/core-js-bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-bundle",
33
"description": "Standard library",
4-
"version": "3.15.2",
4+
"version": "3.16.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

‎packages/core-js-compat/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const {
77
} = require('core-js-compat')({
88
targets: '> 2.5%', // browserslist query or object of minimum environment versions to support
99
filter: /^(es|web)\./, // optional filter - string-prefix, regexp or list of modules
10-
version: '3.15', // used `core-js` version, by default - the latest
10+
version: '3.16', // used `core-js` version, by default - the latest
1111
});
1212

1313
console.log(targets);
@@ -92,9 +92,9 @@ require('core-js-compat/modules'); // => Array<ModuleName>
9292
require('core-js-compat').modules; // => Array<ModuleName>
9393

9494
// the subset of modules which available in the passed `core-js` version:
95-
require('core-js-compat/get-modules-list-for-target-version')('3.15'); // => Array<ModuleName>
95+
require('core-js-compat/get-modules-list-for-target-version')('3.16'); // => Array<ModuleName>
9696
// or
97-
require('core-js-compat').getModulesListForTargetVersion('3.15'); // => Array<ModuleName>
97+
require('core-js-compat').getModulesListForTargetVersion('3.16'); // => Array<ModuleName>
9898
```
9999

100100
If you want to add new / update data about modules required for target engines, [follow this instruction](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md#updating-core-js-compat-data).

‎packages/core-js-compat/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-compat",
33
"description": "core-js compat",
4-
"version": "3.15.2",
4+
"version": "3.16.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

‎packages/core-js-pure/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js-pure",
33
"description": "Standard library",
4-
"version": "3.15.2",
4+
"version": "3.16.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

‎packages/core-js/internals/shared.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var store = require('../internals/shared-store');
44
(module.exports = function (key, value) {
55
return store[key] || (store[key] = value !== undefined ? value : {});
66
})('versions', []).push({
7-
version: '3.15.2',
7+
version: '3.16.0',
88
mode: IS_PURE ? 'pure' : 'global',
99
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1010
});

‎packages/core-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "core-js",
33
"description": "Standard library",
4-
"version": "3.15.2",
4+
"version": "3.16.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git"

0 commit comments

Comments
 (0)
Please sign in to comment.