diff options
Diffstat (limited to 'node_modules/lodash.defaults')
-rw-r--r-- | node_modules/lodash.defaults/LICENSE.txt | 22 | ||||
-rw-r--r-- | node_modules/lodash.defaults/README.md | 15 | ||||
-rw-r--r-- | node_modules/lodash.defaults/index.js | 54 | ||||
-rw-r--r-- | node_modules/lodash.defaults/node_modules/lodash.keys/LICENSE.txt | 22 | ||||
-rw-r--r-- | node_modules/lodash.defaults/node_modules/lodash.keys/README.md | 15 | ||||
-rw-r--r-- | node_modules/lodash.defaults/node_modules/lodash.keys/index.js | 36 | ||||
-rw-r--r-- | node_modules/lodash.defaults/node_modules/lodash.keys/package.json | 120 | ||||
-rw-r--r-- | node_modules/lodash.defaults/package.json | 124 |
8 files changed, 408 insertions, 0 deletions
diff --git a/node_modules/lodash.defaults/LICENSE.txt b/node_modules/lodash.defaults/LICENSE.txt new file mode 100644 index 000000000..49869bbab --- /dev/null +++ b/node_modules/lodash.defaults/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> +Based on Underscore.js 1.5.2, copyright 2009-2013 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.
\ No newline at end of file diff --git a/node_modules/lodash.defaults/README.md b/node_modules/lodash.defaults/README.md new file mode 100644 index 000000000..da283fc4f --- /dev/null +++ b/node_modules/lodash.defaults/README.md @@ -0,0 +1,15 @@ +# lodash.defaults v2.4.1 + +The [Lo-Dash](http://lodash.com/) function [`_.defaults`](http://lodash.com/docs#defaults) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). + +## Author + +| [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter") | +|---| +| [John-David Dalton](http://allyoucanleet.com/) | + +## Contributors + +| [![twitter/blainebublitz](http://gravatar.com/avatar/ac1c67fd906c9fecd823ce302283b4c1?s=70)](https://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [![twitter/kitcambridge](http://gravatar.com/avatar/6662a1d02f351b5ef2f8b4d815804661?s=70)](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | +|---|---|---| +| [Blaine Bublitz](http://www.iceddev.com/) | [Kit Cambridge](http://kitcambridge.be/) | [Mathias Bynens](http://mathiasbynens.be/) | diff --git a/node_modules/lodash.defaults/index.js b/node_modules/lodash.defaults/index.js new file mode 100644 index 000000000..52eec906a --- /dev/null +++ b/node_modules/lodash.defaults/index.js @@ -0,0 +1,54 @@ +/** + * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> + * Build: `lodash modularize modern exports="npm" -o ./npm/` + * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> + * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> + * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + * Available under MIT license <http://lodash.com/license> + */ +var keys = require('lodash.keys'), + objectTypes = require('lodash._objecttypes'); + +/** + * Assigns own enumerable properties of source object(s) to the destination + * object for all destination properties that resolve to `undefined`. Once a + * property is set, additional defaults of the same property will be ignored. + * + * @static + * @memberOf _ + * @type Function + * @category Objects + * @param {Object} object The destination object. + * @param {...Object} [source] The source objects. + * @param- {Object} [guard] Allows working with `_.reduce` without using its + * `key` and `object` arguments as sources. + * @returns {Object} Returns the destination object. + * @example + * + * var object = { 'name': 'barney' }; + * _.defaults(object, { 'name': 'fred', 'employer': 'slate' }); + * // => { 'name': 'barney', 'employer': 'slate' } + */ +var defaults = function(object, source, guard) { + var index, iterable = object, result = iterable; + if (!iterable) return result; + var args = arguments, + argsIndex = 0, + argsLength = typeof guard == 'number' ? 2 : args.length; + while (++argsIndex < argsLength) { + iterable = args[argsIndex]; + if (iterable && objectTypes[typeof iterable]) { + var ownIndex = -1, + ownProps = objectTypes[typeof iterable] && keys(iterable), + length = ownProps ? ownProps.length : 0; + + while (++ownIndex < length) { + index = ownProps[ownIndex]; + if (typeof result[index] == 'undefined') result[index] = iterable[index]; + } + } + } + return result +}; + +module.exports = defaults; diff --git a/node_modules/lodash.defaults/node_modules/lodash.keys/LICENSE.txt b/node_modules/lodash.defaults/node_modules/lodash.keys/LICENSE.txt new file mode 100644 index 000000000..49869bbab --- /dev/null +++ b/node_modules/lodash.defaults/node_modules/lodash.keys/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> +Based on Underscore.js 1.5.2, copyright 2009-2013 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.
\ No newline at end of file diff --git a/node_modules/lodash.defaults/node_modules/lodash.keys/README.md b/node_modules/lodash.defaults/node_modules/lodash.keys/README.md new file mode 100644 index 000000000..bee29a8d6 --- /dev/null +++ b/node_modules/lodash.defaults/node_modules/lodash.keys/README.md @@ -0,0 +1,15 @@ +# lodash.keys v2.4.1 + +The [Lo-Dash](http://lodash.com/) function [`_.keys`](http://lodash.com/docs#keys) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). + +## Author + +| [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalton "Follow @jdalton on Twitter") | +|---| +| [John-David Dalton](http://allyoucanleet.com/) | + +## Contributors + +| [![twitter/blainebublitz](http://gravatar.com/avatar/ac1c67fd906c9fecd823ce302283b4c1?s=70)](https://twitter.com/blainebublitz "Follow @BlaineBublitz on Twitter") | [![twitter/kitcambridge](http://gravatar.com/avatar/6662a1d02f351b5ef2f8b4d815804661?s=70)](https://twitter.com/kitcambridge "Follow @kitcambridge on Twitter") | [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | +|---|---|---| +| [Blaine Bublitz](http://www.iceddev.com/) | [Kit Cambridge](http://kitcambridge.be/) | [Mathias Bynens](http://mathiasbynens.be/) | diff --git a/node_modules/lodash.defaults/node_modules/lodash.keys/index.js b/node_modules/lodash.defaults/node_modules/lodash.keys/index.js new file mode 100644 index 000000000..139568a2f --- /dev/null +++ b/node_modules/lodash.defaults/node_modules/lodash.keys/index.js @@ -0,0 +1,36 @@ +/** + * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> + * Build: `lodash modularize modern exports="npm" -o ./npm/` + * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> + * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> + * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + * Available under MIT license <http://lodash.com/license> + */ +var isNative = require('lodash._isnative'), + isObject = require('lodash.isobject'), + shimKeys = require('lodash._shimkeys'); + +/* Native method shortcuts for methods with the same name as other `lodash` methods */ +var nativeKeys = isNative(nativeKeys = Object.keys) && nativeKeys; + +/** + * Creates an array composed of the own enumerable property names of an object. + * + * @static + * @memberOf _ + * @category Objects + * @param {Object} object The object to inspect. + * @returns {Array} Returns an array of property names. + * @example + * + * _.keys({ 'one': 1, 'two': 2, 'three': 3 }); + * // => ['one', 'two', 'three'] (property order is not guaranteed across environments) + */ +var keys = !nativeKeys ? shimKeys : function(object) { + if (!isObject(object)) { + return []; + } + return nativeKeys(object); +}; + +module.exports = keys; diff --git a/node_modules/lodash.defaults/node_modules/lodash.keys/package.json b/node_modules/lodash.defaults/node_modules/lodash.keys/package.json new file mode 100644 index 000000000..3042bab9b --- /dev/null +++ b/node_modules/lodash.defaults/node_modules/lodash.keys/package.json @@ -0,0 +1,120 @@ +{ + "_args": [ + [ + { + "raw": "lodash.keys@~2.4.1", + "scope": null, + "escapedName": "lodash.keys", + "name": "lodash.keys", + "rawSpec": "~2.4.1", + "spec": ">=2.4.1 <2.5.0", + "type": "range" + }, + "/home/dold/repos/taler/wallet-webex/node_modules/lodash.defaults" + ] + ], + "_from": "lodash.keys@>=2.4.1 <2.5.0", + "_id": "lodash.keys@2.4.1", + "_inCache": true, + "_location": "/lodash.defaults/lodash.keys", + "_npmUser": { + "name": "jdalton", + "email": "john.david.dalton@gmail.com" + }, + "_npmVersion": "1.3.14", + "_phantomChildren": {}, + "_requested": { + "raw": "lodash.keys@~2.4.1", + "scope": null, + "escapedName": "lodash.keys", + "name": "lodash.keys", + "rawSpec": "~2.4.1", + "spec": ">=2.4.1 <2.5.0", + "type": "range" + }, + "_requiredBy": [ + "/lodash.defaults" + ], + "_resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz", + "_shasum": "48dea46df8ff7632b10d706b8acb26591e2b3727", + "_shrinkwrap": null, + "_spec": "lodash.keys@~2.4.1", + "_where": "/home/dold/repos/taler/wallet-webex/node_modules/lodash.defaults", + "author": { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + "bugs": { + "url": "https://github.com/lodash/lodash-cli/issues" + }, + "contributors": [ + { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + { + "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": "http://mathiasbynens.be/" + } + ], + "dependencies": { + "lodash._isnative": "~2.4.1", + "lodash._shimkeys": "~2.4.1", + "lodash.isobject": "~2.4.1" + }, + "description": "The Lo-Dash function `_.keys` as a Node.js module generated by lodash-cli.", + "devDependencies": {}, + "directories": {}, + "dist": { + "shasum": "48dea46df8ff7632b10d706b8acb26591e2b3727", + "tarball": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-2.4.1.tgz" + }, + "homepage": "http://lodash.com/custom-builds", + "keywords": [ + "functional", + "lodash", + "lodash-modularized", + "server", + "util" + ], + "license": "MIT", + "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": "lodash.keys", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+https://github.com/lodash/lodash-cli.git" + }, + "version": "2.4.1" +} diff --git a/node_modules/lodash.defaults/package.json b/node_modules/lodash.defaults/package.json new file mode 100644 index 000000000..92c72d16d --- /dev/null +++ b/node_modules/lodash.defaults/package.json @@ -0,0 +1,124 @@ +{ + "_args": [ + [ + { + "raw": "lodash.defaults@~2.4.1", + "scope": null, + "escapedName": "lodash.defaults", + "name": "lodash.defaults", + "rawSpec": "~2.4.1", + "spec": ">=2.4.1 <2.5.0", + "type": "range" + }, + "/home/dold/repos/taler/wallet-webex/node_modules/gulp-gzip/node_modules/lodash.template" + ] + ], + "_from": "lodash.defaults@>=2.4.1 <2.5.0", + "_id": "lodash.defaults@2.4.1", + "_inCache": true, + "_location": "/lodash.defaults", + "_npmUser": { + "name": "jdalton", + "email": "john.david.dalton@gmail.com" + }, + "_npmVersion": "1.3.14", + "_phantomChildren": { + "lodash._isnative": "2.4.1", + "lodash._shimkeys": "2.4.1", + "lodash.isobject": "2.4.1" + }, + "_requested": { + "raw": "lodash.defaults@~2.4.1", + "scope": null, + "escapedName": "lodash.defaults", + "name": "lodash.defaults", + "rawSpec": "~2.4.1", + "spec": ">=2.4.1 <2.5.0", + "type": "range" + }, + "_requiredBy": [ + "/gulp-gzip/lodash.template", + "/gulp-sym/lodash.template" + ], + "_resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-2.4.1.tgz", + "_shasum": "a7e8885f05e68851144b6e12a8f3678026bc4c54", + "_shrinkwrap": null, + "_spec": "lodash.defaults@~2.4.1", + "_where": "/home/dold/repos/taler/wallet-webex/node_modules/gulp-gzip/node_modules/lodash.template", + "author": { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + "bugs": { + "url": "https://github.com/lodash/lodash-cli/issues" + }, + "contributors": [ + { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + { + "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": "http://mathiasbynens.be/" + } + ], + "dependencies": { + "lodash._objecttypes": "~2.4.1", + "lodash.keys": "~2.4.1" + }, + "description": "The Lo-Dash function `_.defaults` as a Node.js module generated by lodash-cli.", + "devDependencies": {}, + "directories": {}, + "dist": { + "shasum": "a7e8885f05e68851144b6e12a8f3678026bc4c54", + "tarball": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-2.4.1.tgz" + }, + "homepage": "http://lodash.com/custom-builds", + "keywords": [ + "functional", + "lodash", + "lodash-modularized", + "server", + "util" + ], + "license": "MIT", + "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": "lodash.defaults", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+https://github.com/lodash/lodash-cli.git" + }, + "version": "2.4.1" +} |