Skip to content

Commit e386f3d

Browse files
committed
3.14.0
1 parent 778c62e commit e386f3d

File tree

11 files changed

+23
-20
lines changed

11 files changed

+23
-20
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.14.0 - 2021.06.05
36
- Added polyfill of stable sort in `{ Array, %TypedArray% }.prototype.sort`, [#769](https://github.com/zloirock/core-js/issues/769)
47
- Fixed `Safari` 14.0- `%TypedArray%.prototype.sort` validation of arguments bug
58
- `.at` marked as supported from V8 9.2

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32
119119
### Installation:[](#index)
120120
```
121121
// global version
122-
npm install --save core-js@3.13.1
122+
npm install --save core-js@3.14.0
123123
// version without global namespace pollution
124-
npm install --save core-js-pure@3.13.1
124+
npm install --save core-js-pure@3.14.0
125125
// bundled global version
126-
npm install --save core-js-bundle@3.13.1
126+
npm install --save core-js-bundle@3.14.0
127127
```
128128

129-
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.13.1) ([minified version](https://unpkg.com/core-js-bundle@3.13.1/minified.js)).
129+
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.14.0) ([minified version](https://unpkg.com/core-js-bundle@3.14.0/minified.js)).
130130

131131
### `postinstall` message[](#index)
132132
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:
@@ -216,9 +216,9 @@ import 'regenerator-runtime/runtime';
216216

217217
#### `@babel/preset-env`[](#index)
218218

219-
[`@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.13'`.
219+
[`@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.14'`.
220220

221-
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.13'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
221+
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.14'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
222222
223223
- `useBuiltIns: 'entry'` replaces imports of `core-js` to import only required for a target environment modules. So, for example,
224224
```js
@@ -273,7 +273,7 @@ import 'core-js/modules/es.array.of';
273273
var array = Array.of(1, 2, 3);
274274
```
275275

276-
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.13', proposals: true }`.
276+
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.14', proposals: true }`.
277277

278278
#### `@babel/runtime`[](#index)
279279

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.13.1",
2+
"version": "3.14.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.13.1",
2+
"version": "3.14.0",
33
"devDependencies": {
44
"@babel/cli": "^7.14.3",
55
"@babel/core": "^7.14.3",

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.13.1",
4+
"version": "3.14.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.13.1",
13-
"core-js-compat": "3.13.1",
12+
"core-js": "3.14.0",
13+
"core-js-compat": "3.14.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.13.1",
4+
"version": "3.14.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.13', // used `core-js` version, by default - the latest
10+
version: '3.14', // used `core-js` version, by default - the latest
1111
});
1212

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

6767
// the subset of modules which available in the passed `core-js` version:
68-
require('core-js-compat/get-modules-list-for-target-version')('3.13'); // => Array<ModuleName>
68+
require('core-js-compat/get-modules-list-for-target-version')('3.14'); // => Array<ModuleName>
6969
// or
70-
require('core-js-compat').getModulesListForTargetVersion('3.13'); // => Array<ModuleName>
70+
require('core-js-compat').getModulesListForTargetVersion('3.14'); // => Array<ModuleName>
7171
```
7272

7373
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.13.1",
4+
"version": "3.14.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.13.1",
4+
"version": "3.14.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.13.1',
7+
version: '3.14.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.13.1",
4+
"version": "3.14.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

0 commit comments

Comments
 (0)