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.
Files changed (60) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/LICENSE +1 -1
  3. package/README.md +74 -74
  4. package/bower.json +8 -6
  5. package/build/build.ls +2 -2
  6. package/build/index.js +1 -1
  7. package/client/core.js +390 -386
  8. package/client/core.min.js +5 -5
  9. package/client/core.min.js.map +1 -1
  10. package/client/library.js +309 -304
  11. package/client/library.min.js +5 -5
  12. package/client/library.min.js.map +1 -1
  13. package/client/shim.js +456 -507
  14. package/client/shim.min.js +5 -5
  15. package/client/shim.min.js.map +1 -1
  16. package/fn/array/virtual/iterator.js +1 -1
  17. package/fn/array/virtual/values.js +1 -1
  18. package/fn/number/parse-float.js +1 -1
  19. package/fn/number/parse-int.js +1 -1
  20. package/fn/string/virtual/iterator.js +1 -1
  21. package/library/fn/array/virtual/iterator.js +1 -1
  22. package/library/fn/array/virtual/values.js +1 -1
  23. package/library/fn/number/parse-float.js +1 -1
  24. package/library/fn/number/parse-int.js +1 -1
  25. package/library/fn/string/virtual/iterator.js +1 -1
  26. package/library/modules/_core.js +1 -1
  27. package/library/modules/_export.js +2 -1
  28. package/library/modules/_iter-define.js +1 -2
  29. package/library/modules/_microtask.js +2 -2
  30. package/library/modules/_partial.js +1 -1
  31. package/library/modules/_promise-resolve.js +4 -0
  32. package/library/modules/_set-collection-of.js +1 -1
  33. package/library/modules/_typed-buffer.js +2 -2
  34. package/library/modules/_user-agent.js +4 -0
  35. package/library/modules/es6.array.slice.js +1 -1
  36. package/library/modules/es6.promise.js +10 -21
  37. package/library/modules/es6.symbol.js +8 -9
  38. package/library/modules/es7.observable.js +1 -1
  39. package/library/modules/es7.string.pad-end.js +3 -1
  40. package/library/modules/es7.string.pad-start.js +3 -1
  41. package/library/modules/web.timers.js +10 -11
  42. package/library/stage/2.js +1 -1
  43. package/modules/_core.js +1 -1
  44. package/modules/_iter-define.js +1 -2
  45. package/modules/_microtask.js +2 -2
  46. package/modules/_partial.js +1 -1
  47. package/modules/_promise-resolve.js +4 -0
  48. package/modules/_set-collection-of.js +1 -1
  49. package/modules/_typed-buffer.js +2 -2
  50. package/modules/_user-agent.js +4 -0
  51. package/modules/es6.array.slice.js +1 -1
  52. package/modules/es6.promise.js +10 -21
  53. package/modules/es6.symbol.js +8 -9
  54. package/modules/es7.observable.js +1 -1
  55. package/modules/es7.string.pad-end.js +3 -1
  56. package/modules/es7.string.pad-start.js +3 -1
  57. package/modules/library/_export.js +2 -1
  58. package/modules/web.timers.js +10 -11
  59. package/package.json +28 -26
  60. 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.1",
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
  }