core-js-pure
Advanced tools
Comparing version 3.0.0-beta.7 to 3.0.0-beta.8
require('../../modules/esnext.array.flat-map'); | ||
require('../../modules/esnext.array.unscopables.flat-map'); | ||
module.exports = require('../../internals/entry-unbind')('Array', 'flatMap'); |
require('../../modules/esnext.array.flat'); | ||
require('../../modules/esnext.array.unscopables.flat'); | ||
module.exports = require('../../internals/entry-unbind')('Array', 'flat'); |
module.exports = require('../../es/array'); | ||
require('../../modules/esnext.array.flat'); | ||
require('../../modules/esnext.array.flat-map'); | ||
require('../../modules/esnext.array.last-item'); | ||
require('../../modules/esnext.array.last-index'); | ||
require('../../modules/esnext.array.flat-map'); | ||
require('../../modules/esnext.array.flat'); | ||
require('../../modules/esnext.array.unscopables.flat'); | ||
require('../../modules/esnext.array.unscopables.flat-map'); |
require('../../../modules/esnext.array.flat-map'); | ||
require('../../../modules/esnext.array.unscopables.flat-map'); | ||
module.exports = require('../../../internals/entry-virtual')('Array').flatMap; |
require('../../../modules/esnext.array.flat'); | ||
require('../../../modules/esnext.array.unscopables.flat'); | ||
module.exports = require('../../../internals/entry-virtual')('Array').flat; |
@@ -5,1 +5,3 @@ module.exports = require('../../../es/array/virtual'); | ||
require('../../../modules/esnext.array.flat-map'); | ||
require('../../../modules/esnext.array.unscopables.flat'); | ||
require('../../../modules/esnext.array.unscopables.flat-map'); |
@@ -9,7 +9,7 @@ 'use strict'; | ||
var remover = aFunction(collection['delete']); | ||
var result = true; | ||
var allDeleted = true; | ||
for (var k = 0, len = arguments.length; k < len; k++) { | ||
if (!remover.call(collection, arguments[k])) result = false; | ||
allDeleted = allDeleted && remover.call(collection, arguments[k]); | ||
} | ||
return result; | ||
return allDeleted; | ||
}; |
@@ -17,2 +17,3 @@ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) | ||
var lt = '<'; | ||
var script = 'script'; | ||
var gt = '>'; | ||
@@ -22,6 +23,6 @@ var iframeDocument; | ||
html.appendChild(iframe); | ||
iframe.src = 'javascript:'; // eslint-disable-line no-script-url | ||
iframe.src = 'java' + script + ':'; | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); | ||
iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt); | ||
iframeDocument.close(); | ||
@@ -28,0 +29,0 @@ createDict = iframeDocument.F; |
@@ -9,5 +9,5 @@ var global = require('../internals/global'); | ||
})('versions', []).push({ | ||
version: '3.0.0-beta.7', | ||
version: '3.0.0-beta.8', | ||
mode: require('../internals/is-pure') ? 'pure' : 'global', | ||
copyright: '© 2018 Denis Pushkarev (zloirock.ru)' | ||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)' | ||
}); |
@@ -21,3 +21,1 @@ 'use strict'; | ||
}); | ||
require('../internals/add-to-unscopables')('flatMap'); |
@@ -20,3 +20,1 @@ 'use strict'; | ||
}); | ||
require('../internals/add-to-unscopables')('flat'); |
@@ -10,3 +10,3 @@ var getCompositeKeyNode = require('../internals/composite-key'); | ||
// https://github.com/bmeck/proposal-richer-keys/tree/master/compositeKey | ||
// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey | ||
require('../internals/export')({ global: true }, { | ||
@@ -13,0 +13,0 @@ compositeKey: function compositeKey() { |
@@ -9,3 +9,3 @@ var getCompositeKeyNode = require('../internals/composite-key'); | ||
// https://github.com/bmeck/proposal-richer-keys/tree/master/compositeKey | ||
// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey | ||
require('../internals/export')({ global: true }, { | ||
@@ -12,0 +12,0 @@ compositeSymbol: function compositeSymbol() { |
'use strict'; | ||
var anObject = require('../internals/an-object'); | ||
var aFunction = require('../internals/a-function'); | ||
var speciesConstructor = require('../internals/species-constructor'); | ||
var Map = require('../internals/path').Map; | ||
var iterate = require('../internals/iterate'); | ||
@@ -11,10 +9,12 @@ | ||
require('../internals/export')({ target: 'Map', proto: true, real: true, forced: require('../internals/is-pure') }, { | ||
merge: function merge(iterable) { | ||
// eslint-disable-next-line no-unused-vars | ||
merge: function merge(iterable /* ...iterbles */) { | ||
var map = anObject(this); | ||
var newMap = new (speciesConstructor(map, Map))(); | ||
var setter = aFunction(newMap.set); | ||
iterate(map, setter, newMap, true); | ||
iterate(iterable, setter, newMap, true); | ||
return newMap; | ||
var setter = aFunction(map.set); | ||
var i = 0; | ||
while (i < arguments.length) { | ||
iterate(arguments[i++], setter, map, true); | ||
} | ||
return map; | ||
} | ||
}); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
// `Number.fromString` method | ||
// https://github.com/mathiasbynens/proposal-number-fromstring | ||
// https://github.com/tc39/proposal-number-fromstring | ||
require('../internals/export')({ target: 'Number', stat: true }, { | ||
@@ -12,0 +12,0 @@ fromString: function fromString(string, radix) { |
@@ -31,3 +31,3 @@ 'use strict'; | ||
// `String.prototype.codePoints` method | ||
// https://github.com/RReverser/string-prototype-codepoints | ||
// https://github.com/tc39/proposal-string-prototype-codepoints | ||
require('../internals/export')({ target: 'String', proto: true }, { | ||
@@ -34,0 +34,0 @@ codePoints: function codePoints() { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
// `String.prototype.replaceAll` method | ||
// https://github.com/psmarshall/string-replace-all-proposal | ||
// https://github.com/tc39/proposal-string-replace-all | ||
require('../internals/export')({ target: 'String', proto: true }, { | ||
@@ -8,0 +8,0 @@ replaceAll: function replaceAll(searchValue, replaceValue) { |
{ | ||
"name": "core-js-pure", | ||
"description": "Standard library", | ||
"version": "3.0.0-beta.7", | ||
"version": "3.0.0-beta.8", | ||
"repository": { | ||
@@ -20,2 +20,3 @@ "type": "git", | ||
"ES2018", | ||
"ES2019", | ||
"ECMAScript 3", | ||
@@ -29,2 +30,3 @@ "ECMAScript 5", | ||
"ECMAScript 2018", | ||
"ECMAScript 2019", | ||
"Harmony", | ||
@@ -40,2 +42,5 @@ "Strawman", | ||
"TypedArray", | ||
"URL", | ||
"URLSearchParams", | ||
"queueMicrotask", | ||
"setImmediate", | ||
@@ -42,0 +47,0 @@ "polyfill", |
require('../modules/esnext.array.flat'); | ||
require('../modules/esnext.array.flat-map'); | ||
require('../modules/esnext.array.unscopables.flat'); | ||
require('../modules/esnext.array.unscopables.flat-map'); |
Sorry, the diff of this file is not supported yet
400815
1145
9428