diff options
author | Rebecca Turner <me@re-becca.org> | 2015-04-27 10:14:24 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-06-26 03:26:56 +0300 |
commit | 1f1d8e7f508f2c3ceda9d9aa21e3838e8925a6a0 (patch) | |
tree | 12a446fe7a04d15f6dc9eaf9835d5e9647da1e91 /node_modules/lodash.union | |
parent | 53018db5230bd94e3cebcac143526239585f4717 (diff) |
lodash.uniq@3.2.1
Diffstat (limited to 'node_modules/lodash.union')
4 files changed, 0 insertions, 200 deletions
diff --git a/node_modules/lodash.union/node_modules/lodash._baseuniq/LICENSE.txt b/node_modules/lodash.union/node_modules/lodash._baseuniq/LICENSE.txt deleted file mode 100644 index 17764328c..000000000 --- a/node_modules/lodash.union/node_modules/lodash._baseuniq/LICENSE.txt +++ /dev/null @@ -1,22 +0,0 @@ -Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> -Based on Underscore.js 1.7.0, copyright 2009-2015 Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> - -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. diff --git a/node_modules/lodash.union/node_modules/lodash._baseuniq/README.md b/node_modules/lodash.union/node_modules/lodash._baseuniq/README.md deleted file mode 100644 index 01e56d111..000000000 --- a/node_modules/lodash.union/node_modules/lodash._baseuniq/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# lodash._baseuniq v3.0.2 - -The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseUniq` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. - -## Installation - -Using npm: - -```bash -$ {sudo -H} npm i -g npm -$ npm i --save lodash._baseuniq -``` - -In Node.js/io.js: - -```js -var baseUniq = require('lodash._baseuniq'); -``` - -See the [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash._baseuniq) for more details. diff --git a/node_modules/lodash.union/node_modules/lodash._baseuniq/index.js b/node_modules/lodash.union/node_modules/lodash._baseuniq/index.js deleted file mode 100644 index 264b0a731..000000000 --- a/node_modules/lodash.union/node_modules/lodash._baseuniq/index.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * lodash 3.0.2 (Custom Build) <https://lodash.com/> - * Build: `lodash modern modularize exports="npm" -o ./` - * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> - * Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> - * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - * Available under MIT license <https://lodash.com/license> - */ -var baseIndexOf = require('lodash._baseindexof'), - cacheIndexOf = require('lodash._cacheindexof'), - createCache = require('lodash._createcache'); - -/** - * The base implementation of `_.uniq` without support for callback shorthands - * and `this` binding. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The function invoked per iteration. - * @returns {Array} Returns the new duplicate-value-free array. - */ -function baseUniq(array, iteratee) { - var index = -1, - indexOf = baseIndexOf, - length = array.length, - isCommon = true, - isLarge = isCommon && length >= 200, - seen = isLarge ? createCache() : null, - result = []; - - if (seen) { - indexOf = cacheIndexOf; - isCommon = false; - } else { - isLarge = false; - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value, index, array) : value; - - if (isCommon && value === value) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (indexOf(seen, computed, 0) < 0) { - if (iteratee || isLarge) { - seen.push(computed); - } - result.push(value); - } - } - return result; -} - -module.exports = baseUniq; diff --git a/node_modules/lodash.union/node_modules/lodash._baseuniq/package.json b/node_modules/lodash.union/node_modules/lodash._baseuniq/package.json deleted file mode 100644 index 39ef5435b..000000000 --- a/node_modules/lodash.union/node_modules/lodash._baseuniq/package.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "name": "lodash._baseuniq", - "version": "3.0.2", - "description": "The modern build of lodash’s internal `baseUniq` as a module.", - "homepage": "https://lodash.com/", - "icon": "https://lodash.com/icon.svg", - "license": "MIT", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Benjamin Tan", - "email": "demoneaux@gmail.com", - "url": "https://d10.github.io/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine@iceddev.com", - "url": "http://www.iceddev.com/" - }, - { - "name": "Kit Cambridge", - "email": "github@kitcambridge.be", - "url": "http://kitcambridge.be/" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "dependencies": { - "lodash._baseindexof": "^3.0.0", - "lodash._cacheindexof": "^3.0.0", - "lodash._createcache": "^3.0.0" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "_id": "lodash._baseuniq@3.0.2", - "_shasum": "05ec0469e3ba264ca61c27d818348e049d3ca1db", - "_from": "lodash._baseuniq@>=3.0.0 <4.0.0", - "_npmVersion": "2.6.1", - "_nodeVersion": "0.12.0", - "_npmUser": { - "name": "jdalton", - "email": "john.david.dalton@gmail.com" - }, - "maintainers": [ - { - "name": "jdalton", - "email": "john.david.dalton@gmail.com" - }, - { - "name": "kitcambridge", - "email": "github@kitcambridge.be" - }, - { - "name": "mathias", - "email": "mathias@qiwi.be" - }, - { - "name": "phated", - "email": "blaine@iceddev.com" - }, - { - "name": "d10", - "email": "demoneaux@gmail.com" - } - ], - "dist": { - "shasum": "05ec0469e3ba264ca61c27d818348e049d3ca1db", - "tarball": "http://registry.npmjs.org/lodash._baseuniq/-/lodash._baseuniq-3.0.2.tgz" - }, - "directories": {}, - "_resolved": "https://registry.npmjs.org/lodash._baseuniq/-/lodash._baseuniq-3.0.2.tgz", - "readme": "ERROR: No README data found!" -} |