Skip to content

Commit 1aadb7b

Browse files
committed
3.12.0
1 parent e4de909 commit 1aadb7b

File tree

11 files changed

+21
-18
lines changed

11 files changed

+21
-18
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.12.0 - 2021.05.06
36
- Added well-known symbol `Symbol.metadata` for [decorators stage 2 proposal](https://github.com/tc39/proposal-decorators)
47
- Added well-known symbol `Symbol.matcher` for [pattern matching stage 1 proposal](https://github.com/tc39/proposal-pattern-matching)
58
- Fixed regression of V8 ~ Node 0.12 `String(Symbol())` bug, [#933](https://github.com/zloirock/core-js/issues/933)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32
118118
### Installation:[](#index)
119119
```
120120
// global version
121-
npm install --save core-js@3.11.3
121+
npm install --save core-js@3.12.0
122122
// version without global namespace pollution
123-
npm install --save core-js-pure@3.11.3
123+
npm install --save core-js-pure@3.12.0
124124
// bundled global version
125-
npm install --save core-js-bundle@3.11.3
125+
npm install --save core-js-bundle@3.12.0
126126
```
127127

128-
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.11.3) ([minified version](https://unpkg.com/core-js-bundle@3.11.3/minified.js)).
128+
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.12.0) ([minified version](https://unpkg.com/core-js-bundle@3.12.0/minified.js)).
129129

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

214214
#### `@babel/preset-env`[](#index)
215215

216-
[`@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.11'`.
216+
[`@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.12'`.
217217

218-
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.11'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
218+
> **Warning!** Recommended to specify used minor `core-js` version, like `corejs: '3.12'`, instead of `corejs: 3`, since with `corejs: 3` will not be injected modules which were added in minor `core-js` releases.
219219
220220
- `useBuiltIns: 'entry'` replaces imports of `core-js` to import only required for a target environment modules. So, for example,
221221
```js
@@ -270,7 +270,7 @@ import 'core-js/modules/es.array.of';
270270
var array = Array.of(1, 2, 3);
271271
```
272272

273-
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.11', proposals: true }`.
273+
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.12', proposals: true }`.
274274

275275
#### `@babel/runtime`[](#index)
276276

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.11.3",
2+
"version": "3.12.0",
33
"packages": [
44
"packages/*"
55
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.11.3",
2+
"version": "3.12.0",
33
"devDependencies": {
44
"@babel/cli": "^7.13.16",
55
"@babel/core": "^7.14.0",

packages/core-js-builder/package.json

Lines changed: 3 additions & 3 deletions
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.11.3",
4+
"version": "3.12.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.11.3",
13-
"core-js-compat": "3.11.3",
12+
"core-js": "3.12.0",
13+
"core-js-compat": "3.12.0",
1414
"mkdirp": ">=0.5.5 <1",
1515
"webpack": ">=4.46.0 <5"
1616
},

packages/core-js-bundle/package.json

Lines changed: 1 addition & 1 deletion
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.11.3",
4+
"version": "3.12.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

packages/core-js-compat/README.md

Lines changed: 1 addition & 1 deletion
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.11', // used `core-js` version, by default - the latest
10+
version: '3.12', // used `core-js` version, by default - the latest
1111
});
1212

1313
console.log(targets);

packages/core-js-compat/package.json

Lines changed: 1 addition & 1 deletion
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.11.3",
4+
"version": "3.12.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

packages/core-js-pure/package.json

Lines changed: 1 addition & 1 deletion
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.11.3",
4+
"version": "3.12.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/zloirock/core-js.git",

packages/core-js/internals/shared.js

Lines changed: 1 addition & 1 deletion
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.11.3',
7+
version: '3.12.0',
88
mode: IS_PURE ? 'pure' : 'global',
99
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
1010
});

packages/core-js/package.json

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

0 commit comments

Comments
 (0)