Skip to content

Commit

Permalink
3.22.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 24, 2022
1 parent 230fa4c commit b958991
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 23 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog
##### Unreleased
- Nothing

##### [3.22.7 - 2022.05.24](https://github.com/zloirock/core-js/releases/tag/v3.22.7)
- Added a workaround for V8 ~ Chrome 53 bug with non-writable prototype of some methods, [#1083](https://github.com/zloirock/core-js/issues/1083)

##### [3.22.6 - 2022.05.23](https://github.com/zloirock/core-js/releases/tag/v3.22.6)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ queueMicrotask(() => console.log('called as microtask'));
### Installation:[](#index)
```
// global version
npm install --save core-js@3.22.6
npm install --save core-js@3.22.7
// version without global namespace pollution
npm install --save core-js-pure@3.22.6
npm install --save core-js-pure@3.22.7
// bundled global version
npm install --save core-js-bundle@3.22.6
npm install --save core-js-bundle@3.22.7
```

Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/core-js-bundle).
Expand Down
2 changes: 1 addition & 1 deletion deno/corejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

*Example*:
```js
import 'https://deno.land/x/corejs@v3.22.6/index.js'; // <- at the top of your entry point
import 'https://deno.land/x/corejs@v3.22.7/index.js'; // <- at the top of your entry point

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

Expand Down
19 changes: 10 additions & 9 deletions deno/corejs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* core-js 3.22.6
* core-js 3.22.7
* © 2014-2022 Denis Pushkarev (zloirock.ru)
* license: https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE
* license: https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE
* source: https://github.com/zloirock/core-js
*/
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -883,10 +883,10 @@ var store = __webpack_require__(34);
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.22.6',
version: '3.22.7',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE',
license: 'https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE',
source: 'https://github.com/zloirock/core-js'
});

Expand Down Expand Up @@ -1172,11 +1172,12 @@ var makeBuiltIn = module.exports = function (value, name, options) {
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
defineProperty(value, 'length', { value: options.arity });
}
if (options && hasOwn(options, 'constructor') && options.constructor) {
if (DESCRIPTORS) try {
defineProperty(value, 'prototype', { writable: false });
} catch (error) { /* empty */ }
} else value.prototype = undefined;
try {
if (options && hasOwn(options, 'constructor') && options.constructor) {
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
} else if (value.prototype) value.prototype = undefined;
} catch (error) { /* empty */ }
var state = enforceInternalState(value);
if (!hasOwn(state, 'source')) {
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.22.6",
"version": "3.22.7",
"workspaces": [
"./packages/*"
],
Expand Down
6 changes: 3 additions & 3 deletions packages/core-js-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "core-js-builder",
"description": "core-js builder",
"version": "3.22.6",
"version": "3.22.7",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git",
"directory": "packages/core-js-builder"
},
"main": "index.js",
"dependencies": {
"core-js": "3.22.6",
"core-js-compat": "3.22.6",
"core-js": "3.22.7",
"core-js-compat": "3.22.7",
"mkdirp": ">=0.5.5 <1",
"webpack": ">=4.46.0 <5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-bundle",
"description": "Standard library",
"version": "3.22.6",
"version": "3.22.7",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-compat",
"description": "core-js compat",
"version": "3.22.6",
"version": "3.22.7",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-pure/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js-pure",
"description": "Standard library",
"version": "3.22.6",
"version": "3.22.7",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down
4 changes: 2 additions & 2 deletions packages/core-js/internals/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.22.6',
version: '3.22.7',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
license: 'https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE',
license: 'https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE',
source: 'https://github.com/zloirock/core-js'
});
2 changes: 1 addition & 1 deletion packages/core-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "core-js",
"description": "Standard library",
"version": "3.22.6",
"version": "3.22.7",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down

0 comments on commit b958991

Please sign in to comment.