Skip to content

Commit

Permalink
add RegExp#exec dependency to methods which depends on the correctn…
Browse files Browse the repository at this point in the history
…ess of logic of this method, fix #741
  • Loading branch information
zloirock committed Jan 3, 2020
1 parent 285bc08 commit bccbad7
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-js/es/regexp/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.regexp.test');

module.exports = function (re, string) {
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.from-code-point');
require('../../modules/es.string.raw');
require('../../modules/es.string.code-point-at');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/match.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.match');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/replace.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.replace');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/search.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.search');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/string/split.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('../../modules/es.regexp.exec');
require('../../modules/es.string.split');
var entryUnbind = require('../../internals/entry-unbind');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
'use strict';
// TODO: Remove from `core-js@4` since it's moved to entry points
require('../modules/es.regexp.exec');
var redefine = require('../internals/redefine');
var fails = require('../internals/fails');
var wellKnownSymbol = require('../internals/well-known-symbol');
Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/modules/es.regexp.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
'use strict';
// TODO: Remove from `core-js@4` since it's moved to entry points
require('../modules/es.regexp.exec');
var $ = require('../internals/export');
var isObject = require('../internals/is-object');

Expand Down

0 comments on commit bccbad7

Please sign in to comment.