aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/fn/array
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 17:36:13 +0200
commit5f466137ad6ac596600e3ff53c9b786815398445 (patch)
treef914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/core-js/fn/array
parentc9f5ac8e763eda19aa0564179300cfff76785435 (diff)
node_modules, clean up package.json
Diffstat (limited to 'node_modules/core-js/fn/array')
-rw-r--r--node_modules/core-js/fn/array/concat.js6
-rw-r--r--node_modules/core-js/fn/array/copy-within.js2
-rw-r--r--node_modules/core-js/fn/array/entries.js2
-rw-r--r--node_modules/core-js/fn/array/every.js4
-rw-r--r--node_modules/core-js/fn/array/fill.js2
-rw-r--r--node_modules/core-js/fn/array/filter.js4
-rw-r--r--node_modules/core-js/fn/array/find-index.js2
-rw-r--r--node_modules/core-js/fn/array/find.js2
-rw-r--r--node_modules/core-js/fn/array/for-each.js4
-rw-r--r--node_modules/core-js/fn/array/from.js2
-rw-r--r--node_modules/core-js/fn/array/includes.js2
-rw-r--r--node_modules/core-js/fn/array/index-of.js4
-rw-r--r--node_modules/core-js/fn/array/index.js20
-rw-r--r--node_modules/core-js/fn/array/iterator.js2
-rw-r--r--node_modules/core-js/fn/array/join.js4
-rw-r--r--node_modules/core-js/fn/array/keys.js2
-rw-r--r--node_modules/core-js/fn/array/last-index-of.js4
-rw-r--r--node_modules/core-js/fn/array/map.js4
-rw-r--r--node_modules/core-js/fn/array/of.js2
-rw-r--r--node_modules/core-js/fn/array/pop.js6
-rw-r--r--node_modules/core-js/fn/array/push.js6
-rw-r--r--node_modules/core-js/fn/array/reduce-right.js4
-rw-r--r--node_modules/core-js/fn/array/reduce.js4
-rw-r--r--node_modules/core-js/fn/array/reverse.js6
-rw-r--r--node_modules/core-js/fn/array/shift.js6
-rw-r--r--node_modules/core-js/fn/array/slice.js4
-rw-r--r--node_modules/core-js/fn/array/some.js4
-rw-r--r--node_modules/core-js/fn/array/sort.js4
-rw-r--r--node_modules/core-js/fn/array/splice.js6
-rw-r--r--node_modules/core-js/fn/array/unshift.js6
-rw-r--r--node_modules/core-js/fn/array/values.js2
31 files changed, 79 insertions, 53 deletions
diff --git a/node_modules/core-js/fn/array/concat.js b/node_modules/core-js/fn/array/concat.js
index 176ecffeb..de4bddf96 100644
--- a/node_modules/core-js/fn/array/concat.js
+++ b/node_modules/core-js/fn/array/concat.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.concat; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.concat, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/copy-within.js b/node_modules/core-js/fn/array/copy-within.js
index 8a0113193..89e1de4ff 100644
--- a/node_modules/core-js/fn/array/copy-within.js
+++ b/node_modules/core-js/fn/array/copy-within.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.copy-within');
-module.exports = require('../../modules/$.core').Array.copyWithin; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.copyWithin; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/entries.js b/node_modules/core-js/fn/array/entries.js
index bcdbc33f2..f4feb26c2 100644
--- a/node_modules/core-js/fn/array/entries.js
+++ b/node_modules/core-js/fn/array/entries.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.iterator');
-module.exports = require('../../modules/$.core').Array.entries; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.entries; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/every.js b/node_modules/core-js/fn/array/every.js
index 0c7d0b7e2..168844cc5 100644
--- a/node_modules/core-js/fn/array/every.js
+++ b/node_modules/core-js/fn/array/every.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.every; \ No newline at end of file
+require('../../modules/es6.array.every');
+module.exports = require('../../modules/_core').Array.every; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/fill.js b/node_modules/core-js/fn/array/fill.js
index f53621202..b23ebfdee 100644
--- a/node_modules/core-js/fn/array/fill.js
+++ b/node_modules/core-js/fn/array/fill.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.fill');
-module.exports = require('../../modules/$.core').Array.fill; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.fill; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/filter.js b/node_modules/core-js/fn/array/filter.js
index 3f5b17ffe..0023f0de0 100644
--- a/node_modules/core-js/fn/array/filter.js
+++ b/node_modules/core-js/fn/array/filter.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.filter; \ No newline at end of file
+require('../../modules/es6.array.filter');
+module.exports = require('../../modules/_core').Array.filter; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/find-index.js b/node_modules/core-js/fn/array/find-index.js
index 7ec6cf7a8..99e6bf17b 100644
--- a/node_modules/core-js/fn/array/find-index.js
+++ b/node_modules/core-js/fn/array/find-index.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.find-index');
-module.exports = require('../../modules/$.core').Array.findIndex; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.findIndex; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/find.js b/node_modules/core-js/fn/array/find.js
index 9c3a6b31f..f146ec224 100644
--- a/node_modules/core-js/fn/array/find.js
+++ b/node_modules/core-js/fn/array/find.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.find');
-module.exports = require('../../modules/$.core').Array.find; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.find; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/for-each.js b/node_modules/core-js/fn/array/for-each.js
index b2e79f0b1..09e235f95 100644
--- a/node_modules/core-js/fn/array/for-each.js
+++ b/node_modules/core-js/fn/array/for-each.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.forEach; \ No newline at end of file
+require('../../modules/es6.array.for-each');
+module.exports = require('../../modules/_core').Array.forEach; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/from.js b/node_modules/core-js/fn/array/from.js
index f0483ccf4..1f323fbc3 100644
--- a/node_modules/core-js/fn/array/from.js
+++ b/node_modules/core-js/fn/array/from.js
@@ -1,3 +1,3 @@
require('../../modules/es6.string.iterator');
require('../../modules/es6.array.from');
-module.exports = require('../../modules/$.core').Array.from; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.from; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/includes.js b/node_modules/core-js/fn/array/includes.js
index 420c8318f..851d31fd1 100644
--- a/node_modules/core-js/fn/array/includes.js
+++ b/node_modules/core-js/fn/array/includes.js
@@ -1,2 +1,2 @@
require('../../modules/es7.array.includes');
-module.exports = require('../../modules/$.core').Array.includes; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.includes; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/index-of.js b/node_modules/core-js/fn/array/index-of.js
index 9f2cd14b6..9ed824727 100644
--- a/node_modules/core-js/fn/array/index-of.js
+++ b/node_modules/core-js/fn/array/index-of.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.indexOf; \ No newline at end of file
+require('../../modules/es6.array.index-of');
+module.exports = require('../../modules/_core').Array.indexOf; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/index.js b/node_modules/core-js/fn/array/index.js
index 2707be211..85bc77bc8 100644
--- a/node_modules/core-js/fn/array/index.js
+++ b/node_modules/core-js/fn/array/index.js
@@ -1,12 +1,24 @@
require('../../modules/es6.string.iterator');
+require('../../modules/es6.array.is-array');
require('../../modules/es6.array.from');
require('../../modules/es6.array.of');
-require('../../modules/es6.array.species');
-require('../../modules/es6.array.iterator');
+require('../../modules/es6.array.join');
+require('../../modules/es6.array.slice');
+require('../../modules/es6.array.sort');
+require('../../modules/es6.array.for-each');
+require('../../modules/es6.array.map');
+require('../../modules/es6.array.filter');
+require('../../modules/es6.array.some');
+require('../../modules/es6.array.every');
+require('../../modules/es6.array.reduce');
+require('../../modules/es6.array.reduce-right');
+require('../../modules/es6.array.index-of');
+require('../../modules/es6.array.last-index-of');
require('../../modules/es6.array.copy-within');
require('../../modules/es6.array.fill');
require('../../modules/es6.array.find');
require('../../modules/es6.array.find-index');
+require('../../modules/es6.array.species');
+require('../../modules/es6.array.iterator');
require('../../modules/es7.array.includes');
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array; \ No newline at end of file
+module.exports = require('../../modules/_core').Array; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/iterator.js b/node_modules/core-js/fn/array/iterator.js
index 662f3b5c5..ca93b78ab 100644
--- a/node_modules/core-js/fn/array/iterator.js
+++ b/node_modules/core-js/fn/array/iterator.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.iterator');
-module.exports = require('../../modules/$.core').Array.values; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.values; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/join.js b/node_modules/core-js/fn/array/join.js
index 443639228..9beef18d0 100644
--- a/node_modules/core-js/fn/array/join.js
+++ b/node_modules/core-js/fn/array/join.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.join; \ No newline at end of file
+require('../../modules/es6.array.join');
+module.exports = require('../../modules/_core').Array.join; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/keys.js b/node_modules/core-js/fn/array/keys.js
index e55d356e2..b44b921f7 100644
--- a/node_modules/core-js/fn/array/keys.js
+++ b/node_modules/core-js/fn/array/keys.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.iterator');
-module.exports = require('../../modules/$.core').Array.keys; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.keys; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/last-index-of.js b/node_modules/core-js/fn/array/last-index-of.js
index 678d0072d..6dcc98a10 100644
--- a/node_modules/core-js/fn/array/last-index-of.js
+++ b/node_modules/core-js/fn/array/last-index-of.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.lastIndexOf; \ No newline at end of file
+require('../../modules/es6.array.last-index-of');
+module.exports = require('../../modules/_core').Array.lastIndexOf; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/map.js b/node_modules/core-js/fn/array/map.js
index a1457c7a8..14b0f6279 100644
--- a/node_modules/core-js/fn/array/map.js
+++ b/node_modules/core-js/fn/array/map.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.map; \ No newline at end of file
+require('../../modules/es6.array.map');
+module.exports = require('../../modules/_core').Array.map; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/of.js b/node_modules/core-js/fn/array/of.js
index 07bb5a4ad..652ee9808 100644
--- a/node_modules/core-js/fn/array/of.js
+++ b/node_modules/core-js/fn/array/of.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.of');
-module.exports = require('../../modules/$.core').Array.of; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.of; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/pop.js b/node_modules/core-js/fn/array/pop.js
index bd8f86109..b8414f616 100644
--- a/node_modules/core-js/fn/array/pop.js
+++ b/node_modules/core-js/fn/array/pop.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.pop; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.pop, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/push.js b/node_modules/core-js/fn/array/push.js
index 3ccf07071..03539009e 100644
--- a/node_modules/core-js/fn/array/push.js
+++ b/node_modules/core-js/fn/array/push.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.push; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.push, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/reduce-right.js b/node_modules/core-js/fn/array/reduce-right.js
index c592207cf..1193ecbae 100644
--- a/node_modules/core-js/fn/array/reduce-right.js
+++ b/node_modules/core-js/fn/array/reduce-right.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.reduceRight; \ No newline at end of file
+require('../../modules/es6.array.reduce-right');
+module.exports = require('../../modules/_core').Array.reduceRight; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/reduce.js b/node_modules/core-js/fn/array/reduce.js
index b8368406c..e2dee913e 100644
--- a/node_modules/core-js/fn/array/reduce.js
+++ b/node_modules/core-js/fn/array/reduce.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.reduce; \ No newline at end of file
+require('../../modules/es6.array.reduce');
+module.exports = require('../../modules/_core').Array.reduce; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/reverse.js b/node_modules/core-js/fn/array/reverse.js
index 4d8d235c7..607342934 100644
--- a/node_modules/core-js/fn/array/reverse.js
+++ b/node_modules/core-js/fn/array/reverse.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.reverse; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.reverse, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/shift.js b/node_modules/core-js/fn/array/shift.js
index 806c87cd0..5002a6062 100644
--- a/node_modules/core-js/fn/array/shift.js
+++ b/node_modules/core-js/fn/array/shift.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.shift; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.shift, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/slice.js b/node_modules/core-js/fn/array/slice.js
index 913f7ef20..4914c2a98 100644
--- a/node_modules/core-js/fn/array/slice.js
+++ b/node_modules/core-js/fn/array/slice.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.slice; \ No newline at end of file
+require('../../modules/es6.array.slice');
+module.exports = require('../../modules/_core').Array.slice; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/some.js b/node_modules/core-js/fn/array/some.js
index 4f7c76544..de284006e 100644
--- a/node_modules/core-js/fn/array/some.js
+++ b/node_modules/core-js/fn/array/some.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.some; \ No newline at end of file
+require('../../modules/es6.array.some');
+module.exports = require('../../modules/_core').Array.some; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/sort.js b/node_modules/core-js/fn/array/sort.js
index 61beed041..29b6f3ae7 100644
--- a/node_modules/core-js/fn/array/sort.js
+++ b/node_modules/core-js/fn/array/sort.js
@@ -1,2 +1,2 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.sort; \ No newline at end of file
+require('../../modules/es6.array.sort');
+module.exports = require('../../modules/_core').Array.sort; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/splice.js b/node_modules/core-js/fn/array/splice.js
index 5f5eab07b..9d0bdbed4 100644
--- a/node_modules/core-js/fn/array/splice.js
+++ b/node_modules/core-js/fn/array/splice.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.splice; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.splice, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/unshift.js b/node_modules/core-js/fn/array/unshift.js
index a11de5287..63fe2dd86 100644
--- a/node_modules/core-js/fn/array/unshift.js
+++ b/node_modules/core-js/fn/array/unshift.js
@@ -1,2 +1,4 @@
-require('../../modules/js.array.statics');
-module.exports = require('../../modules/$.core').Array.unshift; \ No newline at end of file
+// for a legacy code and future fixes
+module.exports = function(){
+ return Function.call.apply(Array.prototype.unshift, arguments);
+}; \ No newline at end of file
diff --git a/node_modules/core-js/fn/array/values.js b/node_modules/core-js/fn/array/values.js
index 662f3b5c5..ca93b78ab 100644
--- a/node_modules/core-js/fn/array/values.js
+++ b/node_modules/core-js/fn/array/values.js
@@ -1,2 +1,2 @@
require('../../modules/es6.array.iterator');
-module.exports = require('../../modules/$.core').Array.values; \ No newline at end of file
+module.exports = require('../../modules/_core').Array.values; \ No newline at end of file