From d1291f67551c58168af43698a359cb5ddfd266b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 3 Nov 2016 01:33:53 +0100 Subject: node_modules --- .../gulp-stream/node_modules/isarray/README.md | 54 ++++++ .../node_modules/isarray/build/build.js | 209 +++++++++++++++++++++ .../node_modules/isarray/component.json | 19 ++ .../gulp-stream/node_modules/isarray/index.js | 3 + .../gulp-stream/node_modules/isarray/package.json | 25 +++ .../node_modules/readable-stream/package.json | 112 ++--------- .../gulp-stream/node_modules/through2/package.json | 104 ++-------- .../gulp-stream/node_modules/xtend/package.json | 112 +++-------- node_modules/gulp-stream/package.json | 89 +-------- 9 files changed, 381 insertions(+), 346 deletions(-) create mode 100644 node_modules/gulp-stream/node_modules/isarray/README.md create mode 100644 node_modules/gulp-stream/node_modules/isarray/build/build.js create mode 100644 node_modules/gulp-stream/node_modules/isarray/component.json create mode 100644 node_modules/gulp-stream/node_modules/isarray/index.js create mode 100644 node_modules/gulp-stream/node_modules/isarray/package.json (limited to 'node_modules/gulp-stream') diff --git a/node_modules/gulp-stream/node_modules/isarray/README.md b/node_modules/gulp-stream/node_modules/isarray/README.md new file mode 100644 index 000000000..052a62b8d --- /dev/null +++ b/node_modules/gulp-stream/node_modules/isarray/README.md @@ -0,0 +1,54 @@ + +# isarray + +`Array#isArray` for older browsers. + +## Usage + +```js +var isArray = require('isarray'); + +console.log(isArray([])); // => true +console.log(isArray({})); // => false +``` + +## Installation + +With [npm](http://npmjs.org) do + +```bash +$ npm install isarray +``` + +Then bundle for the browser with +[browserify](https://github.com/substack/browserify). + +With [component](http://component.io) do + +```bash +$ component install juliangruber/isarray +``` + +## License + +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +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/gulp-stream/node_modules/isarray/build/build.js b/node_modules/gulp-stream/node_modules/isarray/build/build.js new file mode 100644 index 000000000..ec58596ae --- /dev/null +++ b/node_modules/gulp-stream/node_modules/isarray/build/build.js @@ -0,0 +1,209 @@ + +/** + * Require the given path. + * + * @param {String} path + * @return {Object} exports + * @api public + */ + +function require(path, parent, orig) { + var resolved = require.resolve(path); + + // lookup failed + if (null == resolved) { + orig = orig || path; + parent = parent || 'root'; + var err = new Error('Failed to require "' + orig + '" from "' + parent + '"'); + err.path = orig; + err.parent = parent; + err.require = true; + throw err; + } + + var module = require.modules[resolved]; + + // perform real require() + // by invoking the module's + // registered function + if (!module.exports) { + module.exports = {}; + module.client = module.component = true; + module.call(this, module.exports, require.relative(resolved), module); + } + + return module.exports; +} + +/** + * Registered modules. + */ + +require.modules = {}; + +/** + * Registered aliases. + */ + +require.aliases = {}; + +/** + * Resolve `path`. + * + * Lookup: + * + * - PATH/index.js + * - PATH.js + * - PATH + * + * @param {String} path + * @return {String} path or null + * @api private + */ + +require.resolve = function(path) { + if (path.charAt(0) === '/') path = path.slice(1); + var index = path + '/index.js'; + + var paths = [ + path, + path + '.js', + path + '.json', + path + '/index.js', + path + '/index.json' + ]; + + for (var i = 0; i < paths.length; i++) { + var path = paths[i]; + if (require.modules.hasOwnProperty(path)) return path; + } + + if (require.aliases.hasOwnProperty(index)) { + return require.aliases[index]; + } +}; + +/** + * Normalize `path` relative to the current path. + * + * @param {String} curr + * @param {String} path + * @return {String} + * @api private + */ + +require.normalize = function(curr, path) { + var segs = []; + + if ('.' != path.charAt(0)) return path; + + curr = curr.split('/'); + path = path.split('/'); + + for (var i = 0; i < path.length; ++i) { + if ('..' == path[i]) { + curr.pop(); + } else if ('.' != path[i] && '' != path[i]) { + segs.push(path[i]); + } + } + + return curr.concat(segs).join('/'); +}; + +/** + * Register module at `path` with callback `definition`. + * + * @param {String} path + * @param {Function} definition + * @api private + */ + +require.register = function(path, definition) { + require.modules[path] = definition; +}; + +/** + * Alias a module definition. + * + * @param {String} from + * @param {String} to + * @api private + */ + +require.alias = function(from, to) { + if (!require.modules.hasOwnProperty(from)) { + throw new Error('Failed to alias "' + from + '", it does not exist'); + } + require.aliases[to] = from; +}; + +/** + * Return a require function relative to the `parent` path. + * + * @param {String} parent + * @return {Function} + * @api private + */ + +require.relative = function(parent) { + var p = require.normalize(parent, '..'); + + /** + * lastIndexOf helper. + */ + + function lastIndexOf(arr, obj) { + var i = arr.length; + while (i--) { + if (arr[i] === obj) return i; + } + return -1; + } + + /** + * The relative require() itself. + */ + + function localRequire(path) { + var resolved = localRequire.resolve(path); + return require(resolved, parent, path); + } + + /** + * Resolve relative to the parent. + */ + + localRequire.resolve = function(path) { + var c = path.charAt(0); + if ('/' == c) return path.slice(1); + if ('.' == c) return require.normalize(p, path); + + // resolve deps by returning + // the dep in the nearest "deps" + // directory + var segs = parent.split('/'); + var i = lastIndexOf(segs, 'deps') + 1; + if (!i) i = 0; + path = segs.slice(0, i + 1).join('/') + '/deps/' + path; + return path; + }; + + /** + * Check if module is defined at `path`. + */ + + localRequire.exists = function(path) { + return require.modules.hasOwnProperty(localRequire.resolve(path)); + }; + + return localRequire; +}; +require.register("isarray/index.js", function(exports, require, module){ +module.exports = Array.isArray || function (arr) { + return Object.prototype.toString.call(arr) == '[object Array]'; +}; + +}); +require.alias("isarray/index.js", "isarray/index.js"); + diff --git a/node_modules/gulp-stream/node_modules/isarray/component.json b/node_modules/gulp-stream/node_modules/isarray/component.json new file mode 100644 index 000000000..9e31b6838 --- /dev/null +++ b/node_modules/gulp-stream/node_modules/isarray/component.json @@ -0,0 +1,19 @@ +{ + "name" : "isarray", + "description" : "Array#isArray for older browsers", + "version" : "0.0.1", + "repository" : "juliangruber/isarray", + "homepage": "https://github.com/juliangruber/isarray", + "main" : "index.js", + "scripts" : [ + "index.js" + ], + "dependencies" : {}, + "keywords": ["browser","isarray","array"], + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "license": "MIT" +} diff --git a/node_modules/gulp-stream/node_modules/isarray/index.js b/node_modules/gulp-stream/node_modules/isarray/index.js new file mode 100644 index 000000000..5f5ad45d4 --- /dev/null +++ b/node_modules/gulp-stream/node_modules/isarray/index.js @@ -0,0 +1,3 @@ +module.exports = Array.isArray || function (arr) { + return Object.prototype.toString.call(arr) == '[object Array]'; +}; diff --git a/node_modules/gulp-stream/node_modules/isarray/package.json b/node_modules/gulp-stream/node_modules/isarray/package.json new file mode 100644 index 000000000..5a1e9c109 --- /dev/null +++ b/node_modules/gulp-stream/node_modules/isarray/package.json @@ -0,0 +1,25 @@ +{ + "name" : "isarray", + "description" : "Array#isArray for older browsers", + "version" : "0.0.1", + "repository" : { + "type" : "git", + "url" : "git://github.com/juliangruber/isarray.git" + }, + "homepage": "https://github.com/juliangruber/isarray", + "main" : "index.js", + "scripts" : { + "test" : "tap test/*.js" + }, + "dependencies" : {}, + "devDependencies" : { + "tap" : "*" + }, + "keywords": ["browser","isarray","array"], + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "license": "MIT" +} diff --git a/node_modules/gulp-stream/node_modules/readable-stream/package.json b/node_modules/gulp-stream/node_modules/readable-stream/package.json index 47fa582b3..b550f6ce4 100644 --- a/node_modules/gulp-stream/node_modules/readable-stream/package.json +++ b/node_modules/gulp-stream/node_modules/readable-stream/package.json @@ -1,112 +1,32 @@ { - "_args": [ - [ - { - "raw": "readable-stream@~1.0.17", - "scope": null, - "escapedName": "readable-stream", - "name": "readable-stream", - "rawSpec": "~1.0.17", - "spec": ">=1.0.17 <1.1.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream/node_modules/through2" - ] - ], - "_from": "readable-stream@>=1.0.17 <1.1.0", - "_id": "readable-stream@1.0.34", - "_inCache": true, - "_location": "/gulp-stream/readable-stream", - "_nodeVersion": "5.10.1", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/readable-stream-1.0.34.tgz_1460562521506_0.019665231462568045" - }, - "_npmUser": { - "name": "cwmma", - "email": "calvin.metcalf@gmail.com" - }, - "_npmVersion": "3.8.3", - "_phantomChildren": {}, - "_requested": { - "raw": "readable-stream@~1.0.17", - "scope": null, - "escapedName": "readable-stream", - "name": "readable-stream", - "rawSpec": "~1.0.17", - "spec": ">=1.0.17 <1.1.0", - "type": "range" - }, - "_requiredBy": [ - "/gulp-stream/through2" - ], - "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", - "_shasum": "125820e34bc842d2f2aaafafe4c2916ee32c157c", - "_shrinkwrap": null, - "_spec": "readable-stream@~1.0.17", - "_where": "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream/node_modules/through2", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" - }, - "browser": { - "util": false - }, - "bugs": { - "url": "https://github.com/isaacs/readable-stream/issues" - }, + "name": "readable-stream", + "version": "1.0.34", + "description": "Streams2, a user-land copy of the stream library from Node.js v0.10.x", + "main": "readable.js", "dependencies": { "core-util-is": "~1.0.0", - "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "~0.10.x" + "string_decoder": "~0.10.x", + "inherits": "~2.0.1" }, - "description": "Streams2, a user-land copy of the stream library from Node.js v0.10.x", "devDependencies": { "tap": "~0.2.6" }, - "directories": {}, - "dist": { - "shasum": "125820e34bc842d2f2aaafafe4c2916ee32c157c", - "tarball": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz" + "scripts": { + "test": "tap test/simple/*.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/isaacs/readable-stream" }, - "gitHead": "1227c7b66deedb1dc5284a89425854d5f7ad9576", - "homepage": "https://github.com/isaacs/readable-stream#readme", "keywords": [ "readable", "stream", "pipe" ], - "license": "MIT", - "main": "readable.js", - "maintainers": [ - { - "name": "isaacs", - "email": "isaacs@npmjs.com" - }, - { - "name": "tootallnate", - "email": "nathan@tootallnate.net" - }, - { - "name": "rvagg", - "email": "rod@vagg.org" - }, - { - "name": "cwmma", - "email": "calvin.metcalf@gmail.com" - } - ], - "name": "readable-stream", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/readable-stream.git" - }, - "scripts": { - "test": "tap test/simple/*.js" + "browser": { + "util": false }, - "version": "1.0.34" + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "MIT" } diff --git a/node_modules/gulp-stream/node_modules/through2/package.json b/node_modules/gulp-stream/node_modules/through2/package.json index 3952ef212..7bd17e015 100644 --- a/node_modules/gulp-stream/node_modules/through2/package.json +++ b/node_modules/gulp-stream/node_modules/through2/package.json @@ -1,98 +1,32 @@ { - "_args": [ - [ - { - "raw": "through2@~0.4.0", - "scope": null, - "escapedName": "through2", - "name": "through2", - "rawSpec": "~0.4.0", - "spec": ">=0.4.0 <0.5.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream" - ] - ], - "_from": "through2@>=0.4.0 <0.5.0", - "_id": "through2@0.4.2", - "_inCache": true, - "_location": "/gulp-stream/through2", - "_npmUser": { - "name": "rvagg", - "email": "rod@vagg.org" - }, - "_npmVersion": "1.4.3", - "_phantomChildren": {}, - "_requested": { - "raw": "through2@~0.4.0", - "scope": null, - "escapedName": "through2", - "name": "through2", - "rawSpec": "~0.4.0", - "spec": ">=0.4.0 <0.5.0", - "type": "range" - }, - "_requiredBy": [ - "/gulp-stream" - ], - "_resolved": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz", - "_shasum": "dbf5866031151ec8352bb6c4db64a2292a840b9b", - "_shrinkwrap": null, - "_spec": "through2@~0.4.0", - "_where": "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream", - "author": { - "name": "Rod Vagg", - "email": "r@va.gg", - "url": "https://github.com/rvagg" - }, - "bugs": { - "url": "https://github.com/rvagg/through2/issues" - }, - "dependencies": { - "readable-stream": "~1.0.17", - "xtend": "~2.1.1" - }, + "name": "through2", + "version": "0.4.2", "description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise", - "devDependencies": { - "bl": "~0.6.0", - "brtapsauce": "~0.2.2", - "stream-spigot": "~3.0.1", - "tape": "~2.3.0" + "main": "through2.js", + "scripts": { + "test": "node test/test.js", + "test-local": "brtapsauce-local test/basic-test.js" }, - "directories": {}, - "dist": { - "shasum": "dbf5866031151ec8352bb6c4db64a2292a840b9b", - "tarball": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz" + "repository": { + "type": "git", + "url": "https://github.com/rvagg/through2.git" }, - "homepage": "https://github.com/rvagg/through2", "keywords": [ "stream", "streams2", "through", "transform" ], + "author": "Rod Vagg (https://github.com/rvagg)", "license": "MIT", - "main": "through2.js", - "maintainers": [ - { - "name": "rvagg", - "email": "rod@vagg.org" - }, - { - "name": "bryce", - "email": "bryce@ravenwall.com" - } - ], - "name": "through2", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/rvagg/through2.git" - }, - "scripts": { - "test": "node test/test.js", - "test-local": "brtapsauce-local test/basic-test.js" + "dependencies": { + "readable-stream": "~1.0.17", + "xtend": "~2.1.1" }, - "version": "0.4.2" + "devDependencies": { + "tape": "~2.3.0", + "bl": "~0.6.0", + "stream-spigot": "~3.0.1", + "brtapsauce": "~0.2.2" + } } diff --git a/node_modules/gulp-stream/node_modules/xtend/package.json b/node_modules/gulp-stream/node_modules/xtend/package.json index 56f4aa9d2..d93be22b5 100644 --- a/node_modules/gulp-stream/node_modules/xtend/package.json +++ b/node_modules/gulp-stream/node_modules/xtend/package.json @@ -1,53 +1,28 @@ { - "_args": [ - [ - { - "raw": "xtend@~2.1.1", - "scope": null, - "escapedName": "xtend", - "name": "xtend", - "rawSpec": "~2.1.1", - "spec": ">=2.1.1 <2.2.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream/node_modules/through2" - ] + "name": "xtend", + "version": "2.1.2", + "description": "extend like a boss", + "keywords": [ + "extend", + "merge", + "options", + "opts", + "object", + "array" ], - "_from": "xtend@>=2.1.1 <2.2.0", - "_id": "xtend@2.1.2", - "_inCache": true, - "_location": "/gulp-stream/xtend", - "_npmUser": { - "name": "raynos", - "email": "raynos2@gmail.com" - }, - "_npmVersion": "1.3.14", - "_phantomChildren": {}, - "_requested": { - "raw": "xtend@~2.1.1", - "scope": null, - "escapedName": "xtend", - "name": "xtend", - "rawSpec": "~2.1.1", - "spec": ">=2.1.1 <2.2.0", - "type": "range" + "author": "Raynos ", + "repository": "git://github.com/Raynos/xtend.git", + "main": "index", + "scripts": { + "test": "node test" }, - "_requiredBy": [ - "/gulp-stream/through2" - ], - "_resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", - "_shasum": "6efecc2a4dad8e6962c4901b337ce7ba87b5d28b", - "_shrinkwrap": null, - "_spec": "xtend@~2.1.1", - "_where": "/home/dold/repos/taler/wallet-webex/node_modules/gulp-stream/node_modules/through2", - "author": { - "name": "Raynos", - "email": "raynos2@gmail.com" + "dependencies": { + "object-keys": "~0.4.0" }, - "bugs": { - "url": "https://github.com/Raynos/xtend/issues", - "email": "raynos2@gmail.com" + "devDependencies": { + "tape": "~1.1.0" }, + "homepage": "https://github.com/Raynos/xtend", "contributors": [ { "name": "Jake Verbaten" @@ -56,53 +31,16 @@ "name": "Matt Esch" } ], - "dependencies": { - "object-keys": "~0.4.0" - }, - "description": "extend like a boss", - "devDependencies": { - "tape": "~1.1.0" - }, - "directories": {}, - "dist": { - "shasum": "6efecc2a4dad8e6962c4901b337ce7ba87b5d28b", - "tarball": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz" - }, - "engines": { - "node": ">=0.4" + "bugs": { + "url": "https://github.com/Raynos/xtend/issues", + "email": "raynos2@gmail.com" }, - "homepage": "https://github.com/Raynos/xtend", - "keywords": [ - "extend", - "merge", - "options", - "opts", - "object", - "array" - ], "licenses": [ { "type": "MIT", "url": "http://github.com/raynos/xtend/raw/master/LICENSE" } ], - "main": "index", - "maintainers": [ - { - "name": "raynos", - "email": "raynos2@gmail.com" - } - ], - "name": "xtend", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/Raynos/xtend.git" - }, - "scripts": { - "test": "node test" - }, "testling": { "files": "test.js", "browsers": [ @@ -118,5 +56,7 @@ "iphone/6.0..latest" ] }, - "version": "2.1.2" + "engines": { + "node": ">=0.4" + } } diff --git a/node_modules/gulp-stream/package.json b/node_modules/gulp-stream/package.json index 9e8ae3e32..07b10c3af 100644 --- a/node_modules/gulp-stream/package.json +++ b/node_modules/gulp-stream/package.json @@ -1,91 +1,22 @@ { - "_args": [ - [ - { - "raw": "gulp-stream@0.0.2", - "scope": null, - "escapedName": "gulp-stream", - "name": "gulp-stream", - "rawSpec": "0.0.2", - "spec": "0.0.2", - "type": "version" - }, - "/home/dold/repos/taler/wallet-webex" - ] - ], - "_from": "gulp-stream@0.0.2", - "_id": "gulp-stream@0.0.2", - "_inCache": true, - "_location": "/gulp-stream", - "_npmUser": { - "name": "jeromew", - "email": "jerome.wagner@m4x.org" - }, - "_npmVersion": "1.3.15", - "_phantomChildren": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "0.0.1", - "object-keys": "0.4.0", - "string_decoder": "0.10.31" - }, - "_requested": { - "raw": "gulp-stream@0.0.2", - "scope": null, - "escapedName": "gulp-stream", - "name": "gulp-stream", - "rawSpec": "0.0.2", - "spec": "0.0.2", - "type": "version" - }, - "_requiredBy": [ - "#DEV:/" + "name": "gulp-stream", + "version": "0.0.2", + "description": "Make sure all gulp file contents are available as streams", + "repository": "jeromew/gulp-stream", + "licence": "MIT", + "author": "Jérôme Wagner", + "keywords": [ + "gulp", + "gulpplugin" ], - "_resolved": "https://registry.npmjs.org/gulp-stream/-/gulp-stream-0.0.2.tgz", - "_shasum": "c90140cc8ada1710ab0041083af74ac93b270cdb", - "_shrinkwrap": null, - "_spec": "gulp-stream@0.0.2", - "_where": "/home/dold/repos/taler/wallet-webex", - "author": { - "name": "Jérôme Wagner" - }, - "bugs": { - "url": "https://github.com/jeromew/gulp-stream/issues" - }, "dependencies": { "through2": "~0.4.0" }, - "description": "Make sure all gulp file contents are available as streams", "devDependencies": { "mocha": "~1.17.0", "vinyl": "~0.2.3" }, - "directories": {}, - "dist": { - "shasum": "c90140cc8ada1710ab0041083af74ac93b270cdb", - "tarball": "https://registry.npmjs.org/gulp-stream/-/gulp-stream-0.0.2.tgz" - }, - "homepage": "https://github.com/jeromew/gulp-stream", - "keywords": [ - "gulp", - "gulpplugin" - ], - "licence": "MIT", - "maintainers": [ - { - "name": "jeromew", - "email": "jerome.wagner@m4x.org" - } - ], - "name": "gulp-stream", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/jeromew/gulp-stream.git" - }, "scripts": { "test": "make test" - }, - "version": "0.0.2" + } } -- cgit v1.2.3