aboutsummaryrefslogtreecommitdiff
path: root/node_modules/archiver-utils/node_modules/lodash/concat.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/archiver-utils/node_modules/lodash/concat.js')
-rw-r--r--node_modules/archiver-utils/node_modules/lodash/concat.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/archiver-utils/node_modules/lodash/concat.js b/node_modules/archiver-utils/node_modules/lodash/concat.js
deleted file mode 100644
index 1da48a4fc..000000000
--- a/node_modules/archiver-utils/node_modules/lodash/concat.js
+++ /dev/null
@@ -1,43 +0,0 @@
-var arrayPush = require('./_arrayPush'),
- baseFlatten = require('./_baseFlatten'),
- copyArray = require('./_copyArray'),
- isArray = require('./isArray');
-
-/**
- * Creates a new array concatenating `array` with any additional arrays
- * and/or values.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Array
- * @param {Array} array The array to concatenate.
- * @param {...*} [values] The values to concatenate.
- * @returns {Array} Returns the new concatenated array.
- * @example
- *
- * var array = [1];
- * var other = _.concat(array, 2, [3], [[4]]);
- *
- * console.log(other);
- * // => [1, 2, 3, [4]]
- *
- * console.log(array);
- * // => [1]
- */
-function concat() {
- var length = arguments.length;
- if (!length) {
- return [];
- }
- var args = Array(length - 1),
- array = arguments[0],
- index = length;
-
- while (index--) {
- args[index - 1] = arguments[index];
- }
- return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
-}
-
-module.exports = concat;