Skip to content

Commit

Permalink
3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 18, 2019
1 parent 3171d47 commit f10bf27
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 75 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,5 +1,5 @@
## Changelog
##### Unreleased
##### 3.6.0 - 2019.12.19
- Added support of sticky (`y`) `RegExp` flag, [#372](https://github.com/zloirock/core-js/issues/372), [#732](https://github.com/zloirock/core-js/issues/732), [#492](https://github.com/zloirock/core-js/issues/492), thanks [@cvle](https://github.com/cvle) and [@nicolo-ribaudo](https://github.com/nicolo-ribaudo)
- Added `RegExp#test` delegation to `RegExp#exec`, [#732](https://github.com/zloirock/core-js/issues/732), thanks [@cvle](https://github.com/cvle)
- Fixed some cases of `Object.create(null)` in IE8-, [#727](https://github.com/zloirock/core-js/issues/727), [#728](https://github.com/zloirock/core-js/issues/728), thanks [@aleen42](https://github.com/aleen42)
Expand Down
122 changes: 61 additions & 61 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/core-js-builder/package.json
@@ -1,15 +1,15 @@
{
"name": "core-js-builder",
"description": "core-js builder",
"version": "3.5.0",
"version": "3.6.0",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
},
"main": "index.js",
"dependencies": {
"core-js": "3.5.0",
"core-js-compat": "3.5.0",
"core-js": "3.6.0",
"core-js-compat": "3.6.0",
"mkdirp": "^0.5.1",
"util.promisify": "^1.0.0",
"webpack": "^4.41.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js-bundle/package.json
@@ -1,7 +1,7 @@
{
"name": "core-js-bundle",
"description": "Standard library",
"version": "3.5.0",
"version": "3.6.0",
"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
@@ -1,7 +1,7 @@
{
"name": "core-js-compat",
"description": "core-js compat",
"version": "3.5.0",
"version": "3.6.0",
"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
@@ -1,7 +1,7 @@
{
"name": "core-js-pure",
"description": "Standard library",
"version": "3.5.0",
"version": "3.6.0",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/internals/shared.js
Expand Up @@ -4,7 +4,7 @@ var store = require('../internals/shared-store');
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.5.0',
version: '3.6.0',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
6 changes: 1 addition & 5 deletions packages/core-js/modules/es.string.replace.js
Expand Up @@ -33,11 +33,7 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
// `RegExp.prototype[@@replace]` method
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
function (regexp, replaceValue) {
if (
reason.REPLACE_KEEPS_$0 || (
typeof replaceValue === 'string' && replaceValue.indexOf('$0') === -1
)
) {
if (reason.REPLACE_KEEPS_$0 || (typeof replaceValue === 'string' && replaceValue.indexOf('$0') === -1)) {
var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
if (res.done) return res.value;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/package.json
@@ -1,7 +1,7 @@
{
"name": "core-js",
"description": "Standard library",
"version": "3.5.0",
"version": "3.6.0",
"repository": {
"type": "git",
"url": "https://github.com/zloirock/core-js.git"
Expand Down

0 comments on commit f10bf27

Please sign in to comment.