core-js 2.5.0 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/LICENSE +1 -1
- package/README.md +74 -74
- package/bower.json +8 -6
- package/build/build.ls +2 -2
- package/build/index.js +1 -1
- package/client/core.js +390 -386
- package/client/core.min.js +5 -5
- package/client/core.min.js.map +1 -1
- package/client/library.js +309 -304
- package/client/library.min.js +5 -5
- package/client/library.min.js.map +1 -1
- package/client/shim.js +456 -507
- package/client/shim.min.js +5 -5
- package/client/shim.min.js.map +1 -1
- package/fn/array/virtual/iterator.js +1 -1
- package/fn/array/virtual/values.js +1 -1
- package/fn/number/parse-float.js +1 -1
- package/fn/number/parse-int.js +1 -1
- package/fn/string/virtual/iterator.js +1 -1
- package/library/fn/array/virtual/iterator.js +1 -1
- package/library/fn/array/virtual/values.js +1 -1
- package/library/fn/number/parse-float.js +1 -1
- package/library/fn/number/parse-int.js +1 -1
- package/library/fn/string/virtual/iterator.js +1 -1
- package/library/modules/_core.js +1 -1
- package/library/modules/_export.js +2 -1
- package/library/modules/_iter-define.js +1 -2
- package/library/modules/_microtask.js +2 -2
- package/library/modules/_partial.js +1 -1
- package/library/modules/_promise-resolve.js +4 -0
- package/library/modules/_set-collection-of.js +1 -1
- package/library/modules/_typed-buffer.js +2 -2
- package/library/modules/_user-agent.js +4 -0
- package/library/modules/es6.array.slice.js +1 -1
- package/library/modules/es6.promise.js +10 -21
- package/library/modules/es6.symbol.js +8 -9
- package/library/modules/es7.observable.js +1 -1
- package/library/modules/es7.string.pad-end.js +3 -1
- package/library/modules/es7.string.pad-start.js +3 -1
- package/library/modules/web.timers.js +10 -11
- package/library/stage/2.js +1 -1
- package/modules/_core.js +1 -1
- package/modules/_iter-define.js +1 -2
- package/modules/_microtask.js +2 -2
- package/modules/_partial.js +1 -1
- package/modules/_promise-resolve.js +4 -0
- package/modules/_set-collection-of.js +1 -1
- package/modules/_typed-buffer.js +2 -2
- package/modules/_user-agent.js +4 -0
- package/modules/es6.array.slice.js +1 -1
- package/modules/es6.promise.js +10 -21
- package/modules/es6.symbol.js +8 -9
- package/modules/es7.observable.js +1 -1
- package/modules/es7.string.pad-end.js +3 -1
- package/modules/es7.string.pad-start.js +3 -1
- package/modules/library/_export.js +2 -1
- package/modules/web.timers.js +10 -11
- package/package.json +28 -26
- package/stage/2.js +1 -1
package/bower.json
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "core.js",
|
|
3
3
|
"main": "client/core.js",
|
|
4
|
-
"version": "2.4
|
|
4
|
+
"version": "2.5.4",
|
|
5
5
|
"description": "Standard Library",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"ES3",
|
|
8
|
-
"ECMAScript 3",
|
|
9
8
|
"ES5",
|
|
10
|
-
"ECMAScript 5",
|
|
11
9
|
"ES6",
|
|
12
|
-
"ES2015",
|
|
13
|
-
"ECMAScript 6",
|
|
14
|
-
"ECMAScript 2015",
|
|
15
10
|
"ES7",
|
|
11
|
+
"ES2015",
|
|
16
12
|
"ES2016",
|
|
13
|
+
"ES2017",
|
|
14
|
+
"ECMAScript 3",
|
|
15
|
+
"ECMAScript 5",
|
|
16
|
+
"ECMAScript 6",
|
|
17
17
|
"ECMAScript 7",
|
|
18
|
+
"ECMAScript 2015",
|
|
18
19
|
"ECMAScript 2016",
|
|
20
|
+
"ECMAScript 2017",
|
|
19
21
|
"Harmony",
|
|
20
22
|
"Strawman",
|
|
21
23
|
"Map",
|
package/build/build.ls
CHANGED
|
@@ -43,9 +43,9 @@ module.exports = ({modules = [], blacklist = [], library = no, umd = on})->
|
|
|
43
43
|
if umd
|
|
44
44
|
exportScript = """
|
|
45
45
|
// CommonJS export
|
|
46
|
-
if(typeof module != 'undefined' && module.exports)module.exports = __e;
|
|
46
|
+
if (typeof module != 'undefined' && module.exports) module.exports = __e;
|
|
47
47
|
// RequireJS export
|
|
48
|
-
else if(typeof define == 'function' && define.amd)define(function(){return __e});
|
|
48
|
+
else if (typeof define == 'function' && define.amd) define(function () { return __e; });
|
|
49
49
|
// Export to global object
|
|
50
50
|
else __g.core = __e;
|
|
51
51
|
"""
|
package/build/index.js
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
return reject(err);
|
|
83
83
|
}
|
|
84
84
|
if (umd) {
|
|
85
|
-
exportScript = "// CommonJS export\nif(typeof module != 'undefined' && module.exports)module.exports = __e;\n// RequireJS export\nelse if(typeof define == 'function' && define.amd)define(function(){return __e});\n// Export to global object\nelse __g.core = __e;";
|
|
85
|
+
exportScript = "// CommonJS export\nif (typeof module != 'undefined' && module.exports) module.exports = __e;\n// RequireJS export\nelse if (typeof define == 'function' && define.amd) define(function () { return __e; });\n// Export to global object\nelse __g.core = __e;";
|
|
86
86
|
} else {
|
|
87
87
|
exportScript = "";
|
|
88
88
|
}
|