Install yarn
This commit is contained in:
parent
0453e84836
commit
1fde8a81be
1927 changed files with 82144 additions and 83317 deletions
24
node_modules/gulp-clone/node_modules/arr-diff/LICENSE
generated
vendored
24
node_modules/gulp-clone/node_modules/arr-diff/LICENSE
generated
vendored
|
@ -1,24 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015 Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
75
node_modules/gulp-clone/node_modules/arr-diff/README.md
generated
vendored
75
node_modules/gulp-clone/node_modules/arr-diff/README.md
generated
vendored
|
@ -1,75 +0,0 @@
|
|||
# arr-diff [](http://badge.fury.io/js/arr-diff) [](https://travis-ci.org/jonschlinkert/arr-diff)
|
||||
|
||||
> Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i arr-diff --save
|
||||
```
|
||||
|
||||
Install with [bower](http://bower.io/)
|
||||
|
||||
```sh
|
||||
$ bower install arr-diff --save
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### [diff](index.js#L33)
|
||||
|
||||
Return the difference between the first array and additional arrays.
|
||||
|
||||
**Params**
|
||||
|
||||
* `a` **{Array}**
|
||||
* `b` **{Array}**
|
||||
* `returns` **{Array}**
|
||||
|
||||
**Example**
|
||||
|
||||
```js
|
||||
var diff = require('arr-diff');
|
||||
|
||||
var a = ['a', 'b', 'c', 'd'];
|
||||
var b = ['b', 'c'];
|
||||
|
||||
console.log(diff(a, b))
|
||||
//=> ['a', 'd']
|
||||
```
|
||||
|
||||
## Related projects
|
||||
|
||||
* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten)
|
||||
* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter)
|
||||
* [array-intersection](https://www.npmjs.com/package/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality… [more](https://www.npmjs.com/package/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection)
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/arr-diff/issues/new).
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 Jon Schlinkert
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 23, 2015._
|
58
node_modules/gulp-clone/node_modules/arr-diff/index.js
generated
vendored
58
node_modules/gulp-clone/node_modules/arr-diff/index.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
/*!
|
||||
* arr-diff <https://github.com/jonschlinkert/arr-diff>
|
||||
*
|
||||
* Copyright (c) 2014 Jon Schlinkert, contributors.
|
||||
* Licensed under the MIT License
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var flatten = require('arr-flatten');
|
||||
var slice = require('array-slice');
|
||||
|
||||
/**
|
||||
* Return the difference between the first array and
|
||||
* additional arrays.
|
||||
*
|
||||
* ```js
|
||||
* var diff = require('{%= name %}');
|
||||
*
|
||||
* var a = ['a', 'b', 'c', 'd'];
|
||||
* var b = ['b', 'c'];
|
||||
*
|
||||
* console.log(diff(a, b))
|
||||
* //=> ['a', 'd']
|
||||
* ```
|
||||
*
|
||||
* @param {Array} `a`
|
||||
* @param {Array} `b`
|
||||
* @return {Array}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function diff(arr, arrays) {
|
||||
var argsLen = arguments.length;
|
||||
var len = arr.length, i = -1;
|
||||
var res = [], arrays;
|
||||
|
||||
if (argsLen === 1) {
|
||||
return arr;
|
||||
}
|
||||
|
||||
if (argsLen > 2) {
|
||||
arrays = flatten(slice(arguments, 1));
|
||||
}
|
||||
|
||||
while (++i < len) {
|
||||
if (!~arrays.indexOf(arr[i])) {
|
||||
res.push(arr[i]);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose `diff`
|
||||
*/
|
||||
|
||||
module.exports = diff;
|
83
node_modules/gulp-clone/node_modules/arr-diff/package.json
generated
vendored
83
node_modules/gulp-clone/node_modules/arr-diff/package.json
generated
vendored
|
@ -1,83 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"arr-diff@1.1.0",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "arr-diff@1.1.0",
|
||||
"_id": "arr-diff@1.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-aHwydYFjWI/vfeezb6vklesaOZo=",
|
||||
"_location": "/gulp-clone/arr-diff",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "arr-diff@1.1.0",
|
||||
"name": "arr-diff",
|
||||
"escapedName": "arr-diff",
|
||||
"rawSpec": "1.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone/plugin-error"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-1.1.0.tgz",
|
||||
"_spec": "1.1.0",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/arr-diff/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"arr-flatten": "^1.0.1",
|
||||
"array-slice": "^0.2.3"
|
||||
},
|
||||
"description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.",
|
||||
"devDependencies": {
|
||||
"array-differ": "^1.0.0",
|
||||
"benchmarked": "^0.1.4",
|
||||
"chalk": "^1.1.1",
|
||||
"mocha": "^2.2.5",
|
||||
"should": "^7.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/arr-diff",
|
||||
"keywords": [
|
||||
"arr",
|
||||
"array",
|
||||
"diff",
|
||||
"differ",
|
||||
"difference"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "arr-diff",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/arr-diff.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-flatten",
|
||||
"array-filter",
|
||||
"array-intersection"
|
||||
]
|
||||
}
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
21
node_modules/gulp-clone/node_modules/arr-union/LICENSE
generated
vendored
21
node_modules/gulp-clone/node_modules/arr-union/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
85
node_modules/gulp-clone/node_modules/arr-union/README.md
generated
vendored
85
node_modules/gulp-clone/node_modules/arr-union/README.md
generated
vendored
|
@ -1,85 +0,0 @@
|
|||
# arr-union [](http://badge.fury.io/js/arr-union) [](https://travis-ci.org/jonschlinkert/arr-union)
|
||||
|
||||
> Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
|
||||
|
||||
This library is **15-20 times faster** and more performant (scales better) than [array-union](https://github.com/sindresorhus/array-union), which just uses `[].concat.apply([], arguments)`.
|
||||
|
||||
## Benchmarks
|
||||
|
||||
See the [benchmarks](./benchmark).
|
||||
|
||||
```bash
|
||||
#1: five-arrays.js
|
||||
array-union.js x 245,487 ops/sec ±0.99% (96 runs sampled)
|
||||
current.js x 5,267,661 ops/sec ±0.63% (98 runs sampled)
|
||||
|
||||
#2: ten-arrays.js
|
||||
array-union.js x 134,784 ops/sec ±0.51% (94 runs sampled)
|
||||
current.js x 1,919,143 ops/sec ±0.45% (100 runs sampled)
|
||||
|
||||
#3: two-arrays.js
|
||||
array-union.js x 308,374 ops/sec ±0.75% (96 runs sampled)
|
||||
current.js x 7,361,915 ops/sec ±0.67% (95 runs sampled)
|
||||
```
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i arr-union --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var union = require('arr-union');
|
||||
|
||||
union(['a'], ['b', 'c'], ['d', 'e', 'f']);
|
||||
//=> ['a', 'b', 'c', 'd', 'e', 'f']
|
||||
```
|
||||
|
||||
Returns only unique elements:
|
||||
|
||||
```js
|
||||
union(['a', 'a'], ['b', 'c']);
|
||||
//=> ['a', 'b', 'c']
|
||||
```
|
||||
|
||||
## Other array utilities
|
||||
|
||||
* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the first array, by excluding all… [more](https://github.com/jonschlinkert/arr-diff)
|
||||
* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
|
||||
* [arr-filter](https://github.com/jonschlinkert/arr-filter): Faster alternative to javascript's native filter method.
|
||||
* [arr-map](https://github.com/jonschlinkert/arr-map): Faster, node.js focused alternative to JavaScript's native array map.
|
||||
* [arr-pluck](https://github.com/jonschlinkert/arr-pluck): Retrieves the value of a specified property from all elements in the collection.
|
||||
* [arr-reduce](https://github.com/jonschlinkert/arr-reduce): Fast array reduce that also loops over sparse elements.
|
||||
* [array-unique](https://github.com/jonschlinkert/array-unique): Return an array free of duplicate values. Fastest ES5 implementation.
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/arr-union/issues/new)
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 Jon Schlinkert
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 15, 2015._
|
30
node_modules/gulp-clone/node_modules/arr-union/index.js
generated
vendored
30
node_modules/gulp-clone/node_modules/arr-union/index.js
generated
vendored
|
@ -1,30 +0,0 @@
|
|||
/*!
|
||||
* arr-union <https://github.com/jonschlinkert/arr-union>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function union(arr) {
|
||||
var len = arguments.length;
|
||||
var res = [], i = 0;
|
||||
|
||||
while (len--) {
|
||||
var arg = arrayify(arguments[i++]);
|
||||
|
||||
for (var j = 0; j < arg.length; j++) {
|
||||
var ele = arg[j];
|
||||
|
||||
if (res.indexOf(ele) === -1) {
|
||||
res.push(ele);
|
||||
}
|
||||
}
|
||||
}
|
||||
return res;
|
||||
};
|
||||
|
||||
function arrayify(val) {
|
||||
return Array.isArray(val) ? val : [val];
|
||||
}
|
81
node_modules/gulp-clone/node_modules/arr-union/package.json
generated
vendored
81
node_modules/gulp-clone/node_modules/arr-union/package.json
generated
vendored
|
@ -1,81 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"arr-union@2.1.0",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "arr-union@2.1.0",
|
||||
"_id": "arr-union@2.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-IPnqtexw9cfSFbEHexw5Fh0pLH0=",
|
||||
"_location": "/gulp-clone/arr-union",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "arr-union@2.1.0",
|
||||
"name": "arr-union",
|
||||
"escapedName": "arr-union",
|
||||
"rawSpec": "2.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone/plugin-error"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/arr-union/-/arr-union-2.1.0.tgz",
|
||||
"_spec": "2.1.0",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/arr-union/issues"
|
||||
},
|
||||
"description": "Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.",
|
||||
"devDependencies": {
|
||||
"array-union": "^1.0.1",
|
||||
"array-unique": "^0.2.1",
|
||||
"benchmarked": "^0.1.3",
|
||||
"chalk": "^1.0.0",
|
||||
"minimist": "^1.1.1",
|
||||
"mocha": "^2.2.1",
|
||||
"should": "^5.2.0",
|
||||
"verb": "^0.8.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/arr-union",
|
||||
"keywords": [
|
||||
"add",
|
||||
"append",
|
||||
"array",
|
||||
"arrays",
|
||||
"combine",
|
||||
"concat",
|
||||
"extend",
|
||||
"union",
|
||||
"uniq",
|
||||
"unique",
|
||||
"util",
|
||||
"utility",
|
||||
"utils"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "arr-union",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/arr-union.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "2.1.0"
|
||||
}
|
21
node_modules/gulp-clone/node_modules/array-slice/LICENSE
generated
vendored
21
node_modules/gulp-clone/node_modules/array-slice/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.Copyright (c) 2012-2015, The Dojo Foundation.copyright (c) 2009-2015, Jeremy Ashkenas.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
54
node_modules/gulp-clone/node_modules/array-slice/README.md
generated
vendored
54
node_modules/gulp-clone/node_modules/array-slice/README.md
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
# array-slice [](http://badge.fury.io/js/array-slice) [](https://travis-ci.org/jonschlinkert/array-slice)
|
||||
|
||||
> Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
|
||||
|
||||
This function is used instead of `Array#slice` to support node lists in IE < 9 and to ensure dense arrays are returned.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i array-slice --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var slice = require('array-slice');
|
||||
var arr = ['a', 'b', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];
|
||||
|
||||
slice(arr, 3, 6);
|
||||
//=> ['e', 'f', 'g']
|
||||
```
|
||||
|
||||
## Useful array utils
|
||||
* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
|
||||
* [arr-filter](https://github.com/jonschlinkert/arr-filter): Faster alternative to javascript's native filter method.
|
||||
* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
|
||||
* [arr-union](https://github.com/jonschlinkert/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
|
||||
* [array-unique](https://github.com/jonschlinkert/array-unique): Return an array free of duplicate values. Fastest ES5 implementation.
|
||||
* [array-intersection](https://github.com/jonschlinkert/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.
|
||||
|
||||
## Running tests
|
||||
Install dev dependencies:
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/array-slice/issues)
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 07, 2015._
|
36
node_modules/gulp-clone/node_modules/array-slice/index.js
generated
vendored
36
node_modules/gulp-clone/node_modules/array-slice/index.js
generated
vendored
|
@ -1,36 +0,0 @@
|
|||
/*!
|
||||
* array-slice <https://github.com/jonschlinkert/array-slice>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function slice(arr, start, end) {
|
||||
var len = arr.length >>> 0;
|
||||
var range = [];
|
||||
|
||||
start = idx(arr, start);
|
||||
end = idx(arr, end, len);
|
||||
|
||||
while (start < end) {
|
||||
range.push(arr[start++]);
|
||||
}
|
||||
return range;
|
||||
};
|
||||
|
||||
|
||||
function idx(arr, pos, end) {
|
||||
var len = arr.length >>> 0;
|
||||
|
||||
if (pos == null) {
|
||||
pos = end || 0;
|
||||
} else if (pos < 0) {
|
||||
pos = Math.max(len + pos, 0);
|
||||
} else {
|
||||
pos = Math.min(pos, len);
|
||||
}
|
||||
|
||||
return pos;
|
||||
}
|
71
node_modules/gulp-clone/node_modules/array-slice/package.json
generated
vendored
71
node_modules/gulp-clone/node_modules/array-slice/package.json
generated
vendored
|
@ -1,71 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"array-slice@0.2.3",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "array-slice@0.2.3",
|
||||
"_id": "array-slice@0.2.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=",
|
||||
"_location": "/gulp-clone/array-slice",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "array-slice@0.2.3",
|
||||
"name": "array-slice",
|
||||
"escapedName": "array-slice",
|
||||
"rawSpec": "0.2.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.2.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone/arr-diff"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
|
||||
"_spec": "0.2.3",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/array-slice/issues"
|
||||
},
|
||||
"description": "Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "^5.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/array-slice",
|
||||
"keywords": [
|
||||
"array",
|
||||
"javascript",
|
||||
"js",
|
||||
"slice",
|
||||
"util",
|
||||
"utils"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/array-slice/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "array-slice",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/array-slice.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "0.2.3"
|
||||
}
|
21
node_modules/gulp-clone/node_modules/extend-shallow/LICENSE
generated
vendored
21
node_modules/gulp-clone/node_modules/extend-shallow/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
59
node_modules/gulp-clone/node_modules/extend-shallow/README.md
generated
vendored
59
node_modules/gulp-clone/node_modules/extend-shallow/README.md
generated
vendored
|
@ -1,59 +0,0 @@
|
|||
# extend-shallow [](http://badge.fury.io/js/extend-shallow) [](https://travis-ci.org/jonschlinkert/extend-shallow)
|
||||
|
||||
> Extend an object with the properties of additional objects. node.js/javascript util.
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i extend-shallow --save
|
||||
```
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var extend = require('extend-shallow');
|
||||
|
||||
extend({a: 'b'}, {c: 'd'})
|
||||
//=> {a: 'b', c: 'd'}
|
||||
```
|
||||
|
||||
Pass an empty object to shallow clone:
|
||||
|
||||
```js
|
||||
var obj = {};
|
||||
extend(obj, {a: 'b'}, {c: 'd'})
|
||||
//=> {a: 'b', c: 'd'}
|
||||
```
|
||||
|
||||
## Related
|
||||
|
||||
* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
|
||||
* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own)
|
||||
* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in)
|
||||
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor.
|
||||
* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null.
|
||||
* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value.
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 Jon Schlinkert
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 21, 2015._
|
36
node_modules/gulp-clone/node_modules/extend-shallow/index.js
generated
vendored
36
node_modules/gulp-clone/node_modules/extend-shallow/index.js
generated
vendored
|
@ -1,36 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var typeOf = require('kind-of');
|
||||
|
||||
/**
|
||||
* Expose `extend`
|
||||
*/
|
||||
|
||||
module.exports = extend;
|
||||
|
||||
/**
|
||||
* Extend `o` with properties of other `objects`.
|
||||
*
|
||||
* @param {Object} `o` The target object. Pass an empty object to shallow clone.
|
||||
* @param {Object} `objects`
|
||||
* @return {Object}
|
||||
*/
|
||||
|
||||
function extend(o) {
|
||||
if (typeOf(o) !== 'object') { return {}; }
|
||||
var args = arguments;
|
||||
var len = args.length - 1;
|
||||
|
||||
for (var i = 0; i < len; i++) {
|
||||
var obj = args[i + 1];
|
||||
|
||||
if (typeOf(obj) === 'object' && typeOf(obj) !== 'regexp') {
|
||||
for (var key in obj) {
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
o[key] = obj[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return o;
|
||||
};
|
88
node_modules/gulp-clone/node_modules/extend-shallow/package.json
generated
vendored
88
node_modules/gulp-clone/node_modules/extend-shallow/package.json
generated
vendored
|
@ -1,88 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"extend-shallow@1.1.4",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "extend-shallow@1.1.4",
|
||||
"_id": "extend-shallow@1.1.4",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Gda/lN/AnXa6cR85uHLSH/TdkHE=",
|
||||
"_location": "/gulp-clone/extend-shallow",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "extend-shallow@1.1.4",
|
||||
"name": "extend-shallow",
|
||||
"escapedName": "extend-shallow",
|
||||
"rawSpec": "1.1.4",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.4"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone/plugin-error"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-1.1.4.tgz",
|
||||
"_spec": "1.1.4",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/extend-shallow/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"kind-of": "^1.1.0"
|
||||
},
|
||||
"description": "Extend an object with the properties of additional objects. node.js/javascript util.",
|
||||
"devDependencies": {
|
||||
"array-slice": "^0.2.2",
|
||||
"benchmarked": "^0.1.3",
|
||||
"chalk": "^0.5.1",
|
||||
"for-own": "^0.1.2",
|
||||
"glob": "^4.3.1",
|
||||
"is-plain-object": "^2.0.0",
|
||||
"minimist": "^1.1.0",
|
||||
"mocha": "*",
|
||||
"should": "^5.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/extend-shallow",
|
||||
"keywords": [
|
||||
"extend",
|
||||
"javascript",
|
||||
"js",
|
||||
"keys",
|
||||
"merge",
|
||||
"obj",
|
||||
"object",
|
||||
"prop",
|
||||
"properties",
|
||||
"property",
|
||||
"props",
|
||||
"shallow",
|
||||
"util",
|
||||
"utility",
|
||||
"utils",
|
||||
"value"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "extend-shallow",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/extend-shallow.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "1.1.4"
|
||||
}
|
155
node_modules/gulp-clone/node_modules/kind-of/README.md
generated
vendored
155
node_modules/gulp-clone/node_modules/kind-of/README.md
generated
vendored
|
@ -1,155 +0,0 @@
|
|||
# kind-of [](http://badge.fury.io/js/kind-of) [](https://travis-ci.org/jonschlinkert/kind-of)
|
||||
|
||||
> Get the native type of a value.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i kind-of --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var kindOf = require('kind-of');
|
||||
|
||||
kindOf(undefined);
|
||||
//=> 'undefined'
|
||||
|
||||
kindOf(null);
|
||||
//=> 'null'
|
||||
|
||||
kindOf(true);
|
||||
//=> 'boolean'
|
||||
|
||||
kindOf(false);
|
||||
//=> 'boolean'
|
||||
|
||||
kindOf(new Boolean(true));
|
||||
//=> 'boolean'
|
||||
|
||||
kindOf(new Buffer(''));
|
||||
//=> 'buffer'
|
||||
|
||||
kindOf(42);
|
||||
//=> 'number'
|
||||
|
||||
kindOf(new Number(42));
|
||||
//=> 'number'
|
||||
|
||||
kindOf("string");
|
||||
//=> 'string'
|
||||
|
||||
kindOf(arguments);
|
||||
//=> 'arguments'
|
||||
|
||||
kindOf({});
|
||||
//=> 'object'
|
||||
|
||||
kindOf(new Test());
|
||||
//=> 'object'
|
||||
|
||||
kindOf(new Date());
|
||||
//=> 'date'
|
||||
|
||||
kindOf([]);
|
||||
//=> 'array'
|
||||
|
||||
kindOf([1, 2, 3]);
|
||||
//=> 'array'
|
||||
|
||||
kindOf(new Array());
|
||||
//=> 'array'
|
||||
|
||||
kindOf(/[\s\S]+/);
|
||||
//=> 'regexp'
|
||||
|
||||
kindOf(new RegExp('^' + 'foo$'));
|
||||
//=> 'regexp'
|
||||
|
||||
kindOf(function () {});
|
||||
//=> 'function'
|
||||
|
||||
kindOf(new Function());
|
||||
//=> 'function'
|
||||
```
|
||||
|
||||
|
||||
## Run tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
## Benchmarks
|
||||
|
||||
Benchmarked against [typeof](http://github.com/CodingFu/typeof) and [type-of](https://github.com/ForbesLindesay/type-of).
|
||||
|
||||
```bash
|
||||
#1: array.js
|
||||
kind-of x 21,578,944 ops/sec ±1.01% (97 runs sampled)
|
||||
(lib) type-of x 4,593,840 ops/sec ±0.76% (92 runs sampled)
|
||||
(lib) typeof x 5,786,776 ops/sec ±0.71% (97 runs sampled)
|
||||
|
||||
#2: boolean.js
|
||||
kind-of x 25,189,600 ops/sec ±0.60% (97 runs sampled)
|
||||
(lib) type-of x 2,751,076 ops/sec ±0.78% (100 runs sampled)
|
||||
(lib) typeof x 4,390,312 ops/sec ±0.61% (99 runs sampled)
|
||||
|
||||
#3: date.js
|
||||
kind-of x 8,862,303 ops/sec ±0.77% (99 runs sampled)
|
||||
(lib) type-of x 6,239,662 ops/sec ±0.67% (94 runs sampled)
|
||||
(lib) typeof x 6,180,922 ops/sec ±0.59% (97 runs sampled)
|
||||
|
||||
#4: function.js
|
||||
kind-of x 19,685,336 ops/sec ±1.67% (95 runs sampled)
|
||||
(lib) type-of x 6,648,551 ops/sec ±0.93% (95 runs sampled)
|
||||
(lib) typeof x 6,631,967 ops/sec ±1.05% (92 runs sampled)
|
||||
|
||||
#5: null.js
|
||||
kind-of x 24,155,010 ops/sec ±0.95% (91 runs sampled)
|
||||
(lib) type-of x 12,854,583 ops/sec ±0.69% (94 runs sampled)
|
||||
(lib) typeof x 8,182,952 ops/sec ±0.48% (99 runs sampled)
|
||||
|
||||
#6: number.js
|
||||
kind-of x 20,993,521 ops/sec ±0.37% (98 runs sampled)
|
||||
(lib) type-of x 2,112,716 ops/sec ±0.73% (96 runs sampled)
|
||||
(lib) typeof x 4,492,943 ops/sec ±0.68% (96 runs sampled)
|
||||
|
||||
#7: object.js
|
||||
kind-of x 3,686,169 ops/sec ±0.85% (96 runs sampled)
|
||||
(lib) type-of x 3,661,833 ops/sec ±0.73% (98 runs sampled)
|
||||
(lib) typeof x 6,159,847 ops/sec ±0.72% (98 runs sampled)
|
||||
|
||||
#8: regex.js
|
||||
kind-of x 10,780,535 ops/sec ±0.75% (95 runs sampled)
|
||||
(lib) type-of x 5,380,781 ops/sec ±0.83% (92 runs sampled)
|
||||
(lib) typeof x 5,852,558 ops/sec ±0.67% (95 runs sampled)
|
||||
|
||||
#9: string.js
|
||||
kind-of x 19,713,570 ops/sec ±0.69% (91 runs sampled)
|
||||
(lib) type-of x 4,017,753 ops/sec ±0.85% (98 runs sampled)
|
||||
(lib) typeof x 4,370,984 ops/sec ±0.62% (100 runs sampled)
|
||||
|
||||
#10: undef.js
|
||||
kind-of x 23,250,387 ops/sec ±0.88% (91 runs sampled)
|
||||
(lib) type-of x 13,725,183 ops/sec ±0.62% (91 runs sampled)
|
||||
(lib) typeof x 20,549,334 ops/sec ±0.74% (97 runs sampled)
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014-2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb](https://github.com/assemble/verb) on February 09, 2015._
|
45
node_modules/gulp-clone/node_modules/kind-of/index.js
generated
vendored
45
node_modules/gulp-clone/node_modules/kind-of/index.js
generated
vendored
|
@ -1,45 +0,0 @@
|
|||
var toString = Object.prototype.toString;
|
||||
|
||||
/**
|
||||
* Get the native `typeof` a value.
|
||||
*
|
||||
* @param {*} `val`
|
||||
* @return {*} Native javascript type
|
||||
*/
|
||||
|
||||
module.exports = function kindOf(val) {
|
||||
if (val === undefined) {
|
||||
return 'undefined';
|
||||
}
|
||||
if (val === null) {
|
||||
return 'null';
|
||||
}
|
||||
if (val === true || val === false || val instanceof Boolean) {
|
||||
return 'boolean';
|
||||
}
|
||||
if (typeof val !== 'object') {
|
||||
return typeof val;
|
||||
}
|
||||
if (Array.isArray(val)) {
|
||||
return 'array';
|
||||
}
|
||||
|
||||
var type = toString.call(val);
|
||||
|
||||
if (val instanceof RegExp || type === '[object RegExp]') {
|
||||
return 'regexp';
|
||||
}
|
||||
if (val instanceof Date || type === '[object Date]') {
|
||||
return 'date';
|
||||
}
|
||||
if (type === '[object Function]') {
|
||||
return 'function';
|
||||
}
|
||||
if (type === '[object Arguments]') {
|
||||
return 'arguments';
|
||||
}
|
||||
if (typeof Buffer !== 'undefined' && Buffer.isBuffer(val)) {
|
||||
return 'buffer';
|
||||
}
|
||||
return type.slice(8, -1).toLowerCase();
|
||||
};
|
89
node_modules/gulp-clone/node_modules/kind-of/package.json
generated
vendored
89
node_modules/gulp-clone/node_modules/kind-of/package.json
generated
vendored
|
@ -1,89 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"kind-of@1.1.0",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "kind-of@1.1.0",
|
||||
"_id": "kind-of@1.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-FAo9LUGjbS78+pN3tiwk+ElaXEQ=",
|
||||
"_location": "/gulp-clone/kind-of",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "kind-of@1.1.0",
|
||||
"name": "kind-of",
|
||||
"escapedName": "kind-of",
|
||||
"rawSpec": "1.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone/extend-shallow"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz",
|
||||
"_spec": "1.1.0",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/kind-of/issues"
|
||||
},
|
||||
"description": "Get the native type of a value.",
|
||||
"devDependencies": {
|
||||
"benchmarked": "^0.1.3",
|
||||
"chalk": "^0.5.1",
|
||||
"glob": "^4.3.5",
|
||||
"should": "^4.6.1",
|
||||
"type-of": "^2.0.1",
|
||||
"typeof": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/kind-of",
|
||||
"keywords": [
|
||||
"arguments",
|
||||
"array",
|
||||
"boolean",
|
||||
"check",
|
||||
"date",
|
||||
"function",
|
||||
"is",
|
||||
"is-type",
|
||||
"is-type-of",
|
||||
"kind",
|
||||
"kind-of",
|
||||
"number",
|
||||
"object",
|
||||
"regexp",
|
||||
"string",
|
||||
"test",
|
||||
"type",
|
||||
"type-of",
|
||||
"typeof",
|
||||
"types"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/kind-of/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "kind-of",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/kind-of.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "1.1.0"
|
||||
}
|
21
node_modules/gulp-clone/node_modules/plugin-error/LICENSE
generated
vendored
21
node_modules/gulp-clone/node_modules/plugin-error/LICENSE
generated
vendored
|
@ -1,21 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
88
node_modules/gulp-clone/node_modules/plugin-error/README.md
generated
vendored
88
node_modules/gulp-clone/node_modules/plugin-error/README.md
generated
vendored
|
@ -1,88 +0,0 @@
|
|||
# plugin-error [](http://badge.fury.io/js/plugin-error) [](https://travis-ci.org/jonschlinkert/plugin-error)
|
||||
|
||||
> Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.
|
||||
|
||||
Install with [npm](https://www.npmjs.com/)
|
||||
|
||||
```sh
|
||||
$ npm i plugin-error --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var PluginError = require('plugin-error');
|
||||
```
|
||||
|
||||
### new PluginError(pluginName, message[, options]);
|
||||
|
||||
**Params**
|
||||
|
||||
* `pluginName` should be the module name of your plugin
|
||||
* `message` **{String|Object}**: may be a string or an existing error object
|
||||
* `options` **{Object}**
|
||||
|
||||
**Behavior:**
|
||||
|
||||
* By default the stack will not be shown. Set `options.showStack` to true if you think the stack is important for your error.
|
||||
* If you pass an error object as the message the stack will be pulled from that, otherwise one will be created.
|
||||
* If you pass in a custom stack string you need to include the message along with that.
|
||||
* Error properties will be included in `err.toString()`, but may be omitted by including `{showProperties: false}` in the options.
|
||||
|
||||
**Examples**
|
||||
|
||||
All of the following are acceptable forms of instantiation:
|
||||
|
||||
```javascript
|
||||
var err = new PluginError('test', {
|
||||
message: 'something broke'
|
||||
});
|
||||
|
||||
var err = new PluginError({
|
||||
plugin: 'test',
|
||||
message: 'something broke'
|
||||
});
|
||||
|
||||
var err = new PluginError('test', 'something broke');
|
||||
|
||||
var err = new PluginError('test', 'something broke', {showStack: true});
|
||||
|
||||
var existingError = new Error('OMG');
|
||||
var err = new PluginError('test', existingError, {showStack: true});
|
||||
```
|
||||
|
||||
## Related projects
|
||||
|
||||
* [assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io)
|
||||
* [gulp-util](https://github.com/wearefractal/gulp-util#readme): Utility functions for gulp plugins
|
||||
* [gulp](http://gulpjs.com): The streaming build system
|
||||
* [generate](https://github.com/generate/generate): Project generator, for node.js.
|
||||
* [verb](https://github.com/assemble/verb): Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… [more](https://github.com/assemble/verb)
|
||||
|
||||
## Running tests
|
||||
|
||||
Install dev dependencies:
|
||||
|
||||
```sh
|
||||
$ npm i -d && npm test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/plugin-error/issues/new)
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
|
||||
Copyright © 2015 Jon Schlinkert
|
||||
Released under the MIT license.
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 31, 2015._
|
185
node_modules/gulp-clone/node_modules/plugin-error/index.js
generated
vendored
185
node_modules/gulp-clone/node_modules/plugin-error/index.js
generated
vendored
|
@ -1,185 +0,0 @@
|
|||
/*!
|
||||
* plugin-error <https://github.com/jonschlinkert/plugin-error>
|
||||
*
|
||||
* Copyright (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
var util = require('util');
|
||||
var red = require('ansi-red');
|
||||
var cyan = require('ansi-cyan');
|
||||
var extend = require('extend-shallow');
|
||||
var differ = require('arr-diff');
|
||||
var union = require('arr-union');
|
||||
|
||||
/**
|
||||
* Based on gulp-util PluginError (MIT Licensed)
|
||||
* See: https://github.com/wearefractal/gulp-util
|
||||
*/
|
||||
|
||||
var nonEnum = ['message', 'name', 'stack'];
|
||||
var ignored = union(nonEnum, ['__safety', '_stack', 'plugin', 'showProperties', 'showStack']);
|
||||
var props = ['fileName', 'lineNumber', 'message', 'name', 'plugin', 'showProperties', 'showStack', 'stack'];
|
||||
|
||||
function PluginError(plugin, message, options) {
|
||||
if (!(this instanceof PluginError)) {
|
||||
throw new Error('Call PluginError using new');
|
||||
}
|
||||
|
||||
Error.call(this);
|
||||
var opts = setDefaults(plugin, message, options);
|
||||
var self = this;
|
||||
|
||||
// if opts has an error, get details from it
|
||||
if (typeof opts.error === 'object') {
|
||||
var keys = union(Object.keys(opts.error), nonEnum);
|
||||
|
||||
// These properties are not enumerable, so we have to add them explicitly.
|
||||
keys.forEach(function(prop) {
|
||||
self[prop] = opts.error[prop];
|
||||
});
|
||||
}
|
||||
|
||||
// opts object can override
|
||||
props.forEach(function(prop) {
|
||||
if (prop in opts) this[prop] = opts[prop];
|
||||
}, this);
|
||||
|
||||
// defaults
|
||||
if (!this.name) this.name = 'Error';
|
||||
if (!this.stack) {
|
||||
|
||||
/**
|
||||
* `Error.captureStackTrace` appends a stack property which
|
||||
* relies on the toString method of the object it is applied to.
|
||||
*
|
||||
* Since we are using our own toString method which controls when
|
||||
* to display the stack trace, if we don't go through this safety
|
||||
* object we'll get stack overflow problems.
|
||||
*/
|
||||
|
||||
var safety = {};
|
||||
safety.toString = function() {
|
||||
return this._messageWithDetails() + '\nStack:';
|
||||
}.bind(this);
|
||||
|
||||
Error.captureStackTrace(safety, arguments.callee || this.constructor);
|
||||
this.__safety = safety;
|
||||
}
|
||||
if (!this.plugin) throw new Error('Missing plugin name');
|
||||
if (!this.message) throw new Error('Missing error message');
|
||||
}
|
||||
|
||||
util.inherits(PluginError, Error);
|
||||
|
||||
/**
|
||||
* Output a formatted message with details
|
||||
*/
|
||||
|
||||
PluginError.prototype._messageWithDetails = function() {
|
||||
var msg = 'Message:\n ' + this.message;
|
||||
var details = this._messageDetails();
|
||||
if (details !== '') msg += '\n' + details;
|
||||
return msg;
|
||||
};
|
||||
|
||||
/**
|
||||
* Output actual message details
|
||||
*/
|
||||
|
||||
PluginError.prototype._messageDetails = function() {
|
||||
if (!this.showProperties) return '';
|
||||
|
||||
var props = differ(Object.keys(this), ignored);
|
||||
var len = props.length;
|
||||
|
||||
if (len === 0) return '';
|
||||
|
||||
var res = '', i = 0;
|
||||
while (len--) {
|
||||
var prop = props[i++];
|
||||
res += ' ';
|
||||
res += prop + ': ' + this[prop];
|
||||
res += '\n';
|
||||
}
|
||||
return 'Details:\n' + res;
|
||||
};
|
||||
|
||||
/**
|
||||
* Override the `toString` method
|
||||
*/
|
||||
|
||||
PluginError.prototype.toString = function () {
|
||||
var detailsWithStack = function(stack) {
|
||||
return this._messageWithDetails() + '\nStack:\n' + stack;
|
||||
}.bind(this);
|
||||
|
||||
var msg = '';
|
||||
if (this.showStack) {
|
||||
// if there is no wrapped error, use the stack captured in the PluginError ctor
|
||||
if (this.__safety) {
|
||||
msg = this.__safety.stack;
|
||||
|
||||
} else if (this._stack) {
|
||||
msg = detailsWithStack(this._stack);
|
||||
|
||||
} else {
|
||||
// Stack from wrapped error
|
||||
msg = detailsWithStack(this.stack);
|
||||
}
|
||||
return message(msg, this);
|
||||
}
|
||||
|
||||
msg = this._messageWithDetails();
|
||||
return message(msg, this);
|
||||
};
|
||||
|
||||
// format the output message
|
||||
function message(msg, thisArg) {
|
||||
var sig = red(thisArg.name);
|
||||
sig += ' in plugin ';
|
||||
sig += '"' + cyan(thisArg.plugin) + '"';
|
||||
sig += '\n';
|
||||
sig += msg;
|
||||
return sig;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set default options based on arguments.
|
||||
*/
|
||||
|
||||
function setDefaults(plugin, message, opts) {
|
||||
if (typeof plugin === 'object') {
|
||||
return defaults(plugin);
|
||||
}
|
||||
opts = opts || {};
|
||||
if (message instanceof Error) {
|
||||
opts.error = message;
|
||||
} else if (typeof message === 'object') {
|
||||
opts = message;
|
||||
} else {
|
||||
opts.message = message;
|
||||
}
|
||||
opts.plugin = plugin;
|
||||
return defaults(opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Extend default options with:
|
||||
*
|
||||
* - `showStack`: default=false
|
||||
* - `showProperties`: default=true
|
||||
*
|
||||
* @param {Object} `opts` Options to extend
|
||||
* @return {Object}
|
||||
*/
|
||||
|
||||
function defaults(opts) {
|
||||
return extend({showStack: false, showProperties: true}, opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose `PluginError`
|
||||
*/
|
||||
|
||||
module.exports = PluginError;
|
71
node_modules/gulp-clone/node_modules/plugin-error/package.json
generated
vendored
71
node_modules/gulp-clone/node_modules/plugin-error/package.json
generated
vendored
|
@ -1,71 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"plugin-error@0.1.2",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "plugin-error@0.1.2",
|
||||
"_id": "plugin-error@0.1.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-O5uzM1zPAPQl4HQ34ZJ2ln2kes4=",
|
||||
"_location": "/gulp-clone/plugin-error",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "plugin-error@0.1.2",
|
||||
"name": "plugin-error",
|
||||
"escapedName": "plugin-error",
|
||||
"rawSpec": "0.1.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.1.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-0.1.2.tgz",
|
||||
"_spec": "0.1.2",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/plugin-error/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-cyan": "^0.1.1",
|
||||
"ansi-red": "^0.1.1",
|
||||
"arr-diff": "^1.0.1",
|
||||
"arr-union": "^2.0.1",
|
||||
"extend-shallow": "^1.1.2"
|
||||
},
|
||||
"description": "Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/plugin-error",
|
||||
"keywords": [
|
||||
"error",
|
||||
"plugin"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "plugin-error",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/plugin-error.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "0.1.2"
|
||||
}
|
9
node_modules/gulp-clone/node_modules/through2/LICENSE.md
generated
vendored
9
node_modules/gulp-clone/node_modules/through2/LICENSE.md
generated
vendored
|
@ -1,9 +0,0 @@
|
|||
# The MIT License (MIT)
|
||||
|
||||
**Copyright (c) Rod Vagg (the "Original Author") and additional contributors**
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
134
node_modules/gulp-clone/node_modules/through2/README.md
generated
vendored
134
node_modules/gulp-clone/node_modules/through2/README.md
generated
vendored
|
@ -1,134 +0,0 @@
|
|||
# through2
|
||||
|
||||
[](https://nodei.co/npm/through2/)
|
||||
|
||||
**A tiny wrapper around Node streams.Transform (Streams2/3) to avoid explicit subclassing noise**
|
||||
|
||||
Inspired by [Dominic Tarr](https://github.com/dominictarr)'s [through](https://github.com/dominictarr/through) in that it's so much easier to make a stream out of a function than it is to set up the prototype chain properly: `through(function (chunk) { ... })`.
|
||||
|
||||
Note: As 2.x.x this module starts using **Streams3** instead of Stream2. To continue using a Streams2 version use `npm install through2@0` to fetch the latest version of 0.x.x. More information about Streams2 vs Streams3 and recommendations see the article **[Why I don't use Node's core 'stream' module](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html)**.
|
||||
|
||||
```js
|
||||
fs.createReadStream('ex.txt')
|
||||
.pipe(through2(function (chunk, enc, callback) {
|
||||
for (var i = 0; i < chunk.length; i++)
|
||||
if (chunk[i] == 97)
|
||||
chunk[i] = 122 // swap 'a' for 'z'
|
||||
|
||||
this.push(chunk)
|
||||
|
||||
callback()
|
||||
}))
|
||||
.pipe(fs.createWriteStream('out.txt'))
|
||||
.on('finish', () => doSomethingSpecial())
|
||||
```
|
||||
|
||||
Or object streams:
|
||||
|
||||
```js
|
||||
var all = []
|
||||
|
||||
fs.createReadStream('data.csv')
|
||||
.pipe(csv2())
|
||||
.pipe(through2.obj(function (chunk, enc, callback) {
|
||||
var data = {
|
||||
name : chunk[0]
|
||||
, address : chunk[3]
|
||||
, phone : chunk[10]
|
||||
}
|
||||
this.push(data)
|
||||
|
||||
callback()
|
||||
}))
|
||||
.on('data', (data) => {
|
||||
all.push(data)
|
||||
})
|
||||
.on('end', () => {
|
||||
doSomethingSpecial(all)
|
||||
})
|
||||
```
|
||||
|
||||
Note that `through2.obj(fn)` is a convenience wrapper around `through2({ objectMode: true }, fn)`.
|
||||
|
||||
## API
|
||||
|
||||
<b><code>through2([ options, ] [ transformFunction ] [, flushFunction ])</code></b>
|
||||
|
||||
Consult the **[stream.Transform](http://nodejs.org/docs/latest/api/stream.html#stream_class_stream_transform)** documentation for the exact rules of the `transformFunction` (i.e. `this._transform`) and the optional `flushFunction` (i.e. `this._flush`).
|
||||
|
||||
### options
|
||||
|
||||
The options argument is optional and is passed straight through to `stream.Transform`. So you can use `objectMode:true` if you are processing non-binary streams (or just use `through2.obj()`).
|
||||
|
||||
The `options` argument is first, unlike standard convention, because if I'm passing in an anonymous function then I'd prefer for the options argument to not get lost at the end of the call:
|
||||
|
||||
```js
|
||||
fs.createReadStream('/tmp/important.dat')
|
||||
.pipe(through2({ objectMode: true, allowHalfOpen: false },
|
||||
(chunk, enc, cb) => {
|
||||
cb(null, 'wut?') // note we can use the second argument on the callback
|
||||
// to provide data as an alternative to this.push('wut?')
|
||||
}
|
||||
)
|
||||
.pipe(fs.createWriteStream('/tmp/wut.txt'))
|
||||
```
|
||||
|
||||
### transformFunction
|
||||
|
||||
The `transformFunction` must have the following signature: `function (chunk, encoding, callback) {}`. A minimal implementation should call the `callback` function to indicate that the transformation is done, even if that transformation means discarding the chunk.
|
||||
|
||||
To queue a new chunk, call `this.push(chunk)`—this can be called as many times as required before the `callback()` if you have multiple pieces to send on.
|
||||
|
||||
Alternatively, you may use `callback(err, chunk)` as shorthand for emitting a single chunk or an error.
|
||||
|
||||
If you **do not provide a `transformFunction`** then you will get a simple pass-through stream.
|
||||
|
||||
### flushFunction
|
||||
|
||||
The optional `flushFunction` is provided as the last argument (2nd or 3rd, depending on whether you've supplied options) is called just prior to the stream ending. Can be used to finish up any processing that may be in progress.
|
||||
|
||||
```js
|
||||
fs.createReadStream('/tmp/important.dat')
|
||||
.pipe(through2(
|
||||
(chunk, enc, cb) => cb(null, chunk), // transform is a noop
|
||||
function (cb) { // flush function
|
||||
this.push('tacking on an extra buffer to the end');
|
||||
cb();
|
||||
}
|
||||
))
|
||||
.pipe(fs.createWriteStream('/tmp/wut.txt'));
|
||||
```
|
||||
|
||||
<b><code>through2.ctor([ options, ] transformFunction[, flushFunction ])</code></b>
|
||||
|
||||
Instead of returning a `stream.Transform` instance, `through2.ctor()` returns a **constructor** for a custom Transform. This is useful when you want to use the same transform logic in multiple instances.
|
||||
|
||||
```js
|
||||
var FToC = through2.ctor({objectMode: true}, function (record, encoding, callback) {
|
||||
if (record.temp != null && record.unit == "F") {
|
||||
record.temp = ( ( record.temp - 32 ) * 5 ) / 9
|
||||
record.unit = "C"
|
||||
}
|
||||
this.push(record)
|
||||
callback()
|
||||
})
|
||||
|
||||
// Create instances of FToC like so:
|
||||
var converter = new FToC()
|
||||
// Or:
|
||||
var converter = FToC()
|
||||
// Or specify/override options when you instantiate, if you prefer:
|
||||
var converter = FToC({objectMode: true})
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
- [through2-map](https://github.com/brycebaril/through2-map) - Array.prototype.map analog for streams.
|
||||
- [through2-filter](https://github.com/brycebaril/through2-filter) - Array.prototype.filter analog for streams.
|
||||
- [through2-reduce](https://github.com/brycebaril/through2-reduce) - Array.prototype.reduce analog for streams.
|
||||
- [through2-spy](https://github.com/brycebaril/through2-spy) - Wrapper for simple stream.PassThrough spies.
|
||||
- the [mississippi stream utility collection](https://github.com/maxogden/mississippi) includes `through2` as well as many more useful stream modules similar to this one
|
||||
|
||||
## License
|
||||
|
||||
**through2** is Copyright (c) Rod Vagg [@rvagg](https://twitter.com/rvagg) and additional contributors and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.
|
69
node_modules/gulp-clone/node_modules/through2/package.json
generated
vendored
69
node_modules/gulp-clone/node_modules/through2/package.json
generated
vendored
|
@ -1,69 +0,0 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"through2@2.0.5",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "through2@2.0.5",
|
||||
"_id": "through2@2.0.5",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
|
||||
"_location": "/gulp-clone/through2",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "through2@2.0.5",
|
||||
"name": "through2",
|
||||
"escapedName": "through2",
|
||||
"rawSpec": "2.0.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.0.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gulp-clone"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
|
||||
"_spec": "2.0.5",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"author": {
|
||||
"name": "Rod Vagg",
|
||||
"email": "r@va.gg",
|
||||
"url": "https://github.com/rvagg"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/rvagg/through2/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": "~2.3.6",
|
||||
"xtend": "~4.0.1"
|
||||
},
|
||||
"description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise",
|
||||
"devDependencies": {
|
||||
"bl": "~2.0.1",
|
||||
"faucet": "0.0.1",
|
||||
"nyc": "~13.1.0",
|
||||
"safe-buffer": "~5.1.2",
|
||||
"stream-spigot": "~3.0.6",
|
||||
"tape": "~4.9.1"
|
||||
},
|
||||
"homepage": "https://github.com/rvagg/through2#readme",
|
||||
"keywords": [
|
||||
"stream",
|
||||
"streams2",
|
||||
"through",
|
||||
"transform"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "through2.js",
|
||||
"name": "through2",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/rvagg/through2.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test/test.js | faucet"
|
||||
},
|
||||
"version": "2.0.5"
|
||||
}
|
96
node_modules/gulp-clone/node_modules/through2/through2.js
generated
vendored
96
node_modules/gulp-clone/node_modules/through2/through2.js
generated
vendored
|
@ -1,96 +0,0 @@
|
|||
var Transform = require('readable-stream').Transform
|
||||
, inherits = require('util').inherits
|
||||
, xtend = require('xtend')
|
||||
|
||||
function DestroyableTransform(opts) {
|
||||
Transform.call(this, opts)
|
||||
this._destroyed = false
|
||||
}
|
||||
|
||||
inherits(DestroyableTransform, Transform)
|
||||
|
||||
DestroyableTransform.prototype.destroy = function(err) {
|
||||
if (this._destroyed) return
|
||||
this._destroyed = true
|
||||
|
||||
var self = this
|
||||
process.nextTick(function() {
|
||||
if (err)
|
||||
self.emit('error', err)
|
||||
self.emit('close')
|
||||
})
|
||||
}
|
||||
|
||||
// a noop _transform function
|
||||
function noop (chunk, enc, callback) {
|
||||
callback(null, chunk)
|
||||
}
|
||||
|
||||
|
||||
// create a new export function, used by both the main export and
|
||||
// the .ctor export, contains common logic for dealing with arguments
|
||||
function through2 (construct) {
|
||||
return function (options, transform, flush) {
|
||||
if (typeof options == 'function') {
|
||||
flush = transform
|
||||
transform = options
|
||||
options = {}
|
||||
}
|
||||
|
||||
if (typeof transform != 'function')
|
||||
transform = noop
|
||||
|
||||
if (typeof flush != 'function')
|
||||
flush = null
|
||||
|
||||
return construct(options, transform, flush)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// main export, just make me a transform stream!
|
||||
module.exports = through2(function (options, transform, flush) {
|
||||
var t2 = new DestroyableTransform(options)
|
||||
|
||||
t2._transform = transform
|
||||
|
||||
if (flush)
|
||||
t2._flush = flush
|
||||
|
||||
return t2
|
||||
})
|
||||
|
||||
|
||||
// make me a reusable prototype that I can `new`, or implicitly `new`
|
||||
// with a constructor call
|
||||
module.exports.ctor = through2(function (options, transform, flush) {
|
||||
function Through2 (override) {
|
||||
if (!(this instanceof Through2))
|
||||
return new Through2(override)
|
||||
|
||||
this.options = xtend(options, override)
|
||||
|
||||
DestroyableTransform.call(this, this.options)
|
||||
}
|
||||
|
||||
inherits(Through2, DestroyableTransform)
|
||||
|
||||
Through2.prototype._transform = transform
|
||||
|
||||
if (flush)
|
||||
Through2.prototype._flush = flush
|
||||
|
||||
return Through2
|
||||
})
|
||||
|
||||
|
||||
module.exports.obj = through2(function (options, transform, flush) {
|
||||
var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options))
|
||||
|
||||
t2._transform = transform
|
||||
|
||||
if (flush)
|
||||
t2._flush = flush
|
||||
|
||||
return t2
|
||||
})
|
84
node_modules/gulp-clone/package.json
generated
vendored
84
node_modules/gulp-clone/package.json
generated
vendored
|
@ -1,78 +1,44 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"gulp-clone@2.0.1",
|
||||
"F:\\laragon\\www\\wishthis"
|
||||
]
|
||||
],
|
||||
"_from": "gulp-clone@2.0.1",
|
||||
"_id": "gulp-clone@2.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-SLg/KsHBbinR/pCX3PF5l1YlR28hLp0X+bcpf77PtMJ6zvAQ5kRjtCPV5Wt1wHXsXWZN0eTUZ15R8ZYpi/CdCA==",
|
||||
"_location": "/gulp-clone",
|
||||
"_phantomChildren": {
|
||||
"ansi-cyan": "0.1.1",
|
||||
"ansi-red": "0.1.1",
|
||||
"arr-flatten": "1.1.0",
|
||||
"readable-stream": "2.3.7",
|
||||
"xtend": "4.0.2"
|
||||
},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "gulp-clone@2.0.1",
|
||||
"name": "gulp-clone",
|
||||
"escapedName": "gulp-clone",
|
||||
"rawSpec": "2.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/fomantic-ui"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/gulp-clone/-/gulp-clone-2.0.1.tgz",
|
||||
"_spec": "2.0.1",
|
||||
"_where": "F:\\laragon\\www\\wishthis",
|
||||
"name": "gulp-clone",
|
||||
"description": "Clone files in memory in a gulp stream",
|
||||
"version": "2.0.1",
|
||||
"homepage": "https://github.com/mariocasciaro/gulp-clone",
|
||||
"author": {
|
||||
"name": "Mario Casciaro"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/mariocasciaro/gulp-clone"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/mariocasciaro/gulp-clone/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"plugin-error": "^0.1.2",
|
||||
"through2": "^2.0.3"
|
||||
},
|
||||
"description": "Clone files in memory in a gulp stream",
|
||||
"devDependencies": {
|
||||
"chai": "^4.1.2",
|
||||
"mocha": "^4.1.0",
|
||||
"vinyl": "^2.1.0"
|
||||
},
|
||||
"homepage": "https://github.com/mariocasciaro/gulp-clone",
|
||||
"keywords": [
|
||||
"gulpplugin",
|
||||
"clone"
|
||||
],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/mariocasciaro/gulp-clone/blob/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"name": "gulp-clone",
|
||||
"publishConfig": {
|
||||
"tag": "latest"
|
||||
"dependencies": {
|
||||
"plugin-error": "^0.1.2",
|
||||
"through2": "^2.0.3"
|
||||
},
|
||||
"release": {
|
||||
"branch": "master"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/mariocasciaro/gulp-clone.git"
|
||||
"devDependencies": {
|
||||
"vinyl": "^2.1.0",
|
||||
"chai": "^4.1.2",
|
||||
"mocha": "^4.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node_modules/mocha/bin/_mocha test.js --reporter spec"
|
||||
},
|
||||
"version": "2.0.1"
|
||||
"release": {
|
||||
"branch": "master"
|
||||
},
|
||||
"publishConfig": {
|
||||
"tag": "latest"
|
||||
},
|
||||
"keywords": [
|
||||
"gulpplugin",
|
||||
"clone"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue