diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-03 01:33:53 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-03 01:33:53 +0100 |
commit | d1291f67551c58168af43698a359cb5ddfd266b0 (patch) | |
tree | 55a13ed29fe1915e3f42f1b1b7038dafa2e975a7 /node_modules/vinyl | |
parent | d0a0695fb5d34996850723f7d4b1b59c3df909c2 (diff) | |
download | wallet-core-d1291f67551c58168af43698a359cb5ddfd266b0.tar.xz |
node_modules
Diffstat (limited to 'node_modules/vinyl')
-rw-r--r-- | node_modules/vinyl/node_modules/clone-stats/LICENSE.md | 21 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/clone-stats/README.md | 17 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/clone-stats/index.js | 13 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/clone-stats/package.json | 95 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/clone-stats/test.js | 36 | ||||
-rwxr-xr-x | node_modules/vinyl/node_modules/replace-ext/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/replace-ext/README.md | 50 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/replace-ext/index.js | 18 | ||||
-rw-r--r-- | node_modules/vinyl/node_modules/replace-ext/package.json | 129 | ||||
-rw-r--r-- | node_modules/vinyl/package.json | 131 |
10 files changed, 23 insertions, 508 deletions
diff --git a/node_modules/vinyl/node_modules/clone-stats/LICENSE.md b/node_modules/vinyl/node_modules/clone-stats/LICENSE.md deleted file mode 100644 index 146cb32a7..000000000 --- a/node_modules/vinyl/node_modules/clone-stats/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -## The MIT License (MIT) ## - -Copyright (c) 2014 Hugh Kennedy - -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/vinyl/node_modules/clone-stats/README.md b/node_modules/vinyl/node_modules/clone-stats/README.md deleted file mode 100644 index 8b12b6fa5..000000000 --- a/node_modules/vinyl/node_modules/clone-stats/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# clone-stats [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/clone-stats&title=clone-stats&description=hughsk/clone-stats%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) # - -Safely clone node's -[`fs.Stats`](http://nodejs.org/api/fs.html#fs_class_fs_stats) instances without -losing their class methods, i.e. `stat.isDirectory()` and co. - -## Usage ## - -[![clone-stats](https://nodei.co/npm/clone-stats.png?mini=true)](https://nodei.co/npm/clone-stats) - -### `copy = require('clone-stats')(stat)` ### - -Returns a clone of the original `fs.Stats` instance (`stat`). - -## License ## - -MIT. See [LICENSE.md](http://github.com/hughsk/clone-stats/blob/master/LICENSE.md) for details. diff --git a/node_modules/vinyl/node_modules/clone-stats/index.js b/node_modules/vinyl/node_modules/clone-stats/index.js deleted file mode 100644 index e797cfe6e..000000000 --- a/node_modules/vinyl/node_modules/clone-stats/index.js +++ /dev/null @@ -1,13 +0,0 @@ -var Stat = require('fs').Stats - -module.exports = cloneStats - -function cloneStats(stats) { - var replacement = new Stat - - Object.keys(stats).forEach(function(key) { - replacement[key] = stats[key] - }) - - return replacement -} diff --git a/node_modules/vinyl/node_modules/clone-stats/package.json b/node_modules/vinyl/node_modules/clone-stats/package.json deleted file mode 100644 index 47ab7bc1f..000000000 --- a/node_modules/vinyl/node_modules/clone-stats/package.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "clone-stats@^1.0.0", - "scope": null, - "escapedName": "clone-stats", - "name": "clone-stats", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex/node_modules/vinyl" - ] - ], - "_from": "clone-stats@>=1.0.0 <2.0.0", - "_id": "clone-stats@1.0.0", - "_inCache": true, - "_location": "/vinyl/clone-stats", - "_nodeVersion": "4.4.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/clone-stats-1.0.0.tgz_1463448820687_0.06707892613485456" - }, - "_npmUser": { - "name": "hughsk", - "email": "hughskennedy@gmail.com" - }, - "_npmVersion": "2.14.20", - "_phantomChildren": {}, - "_requested": { - "raw": "clone-stats@^1.0.0", - "scope": null, - "escapedName": "clone-stats", - "name": "clone-stats", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/vinyl" - ], - "_resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", - "_shasum": "b3782dff8bb5474e18b9b6bf0fdfe782f8777680", - "_shrinkwrap": null, - "_spec": "clone-stats@^1.0.0", - "_where": "/home/dold/repos/taler/wallet-webex/node_modules/vinyl", - "author": { - "name": "Hugh Kennedy", - "email": "hughskennedy@gmail.com", - "url": "http://hughsk.io/" - }, - "browser": "index.js", - "bugs": { - "url": "https://github.com/hughsk/clone-stats/issues" - }, - "dependencies": {}, - "description": "Safely clone node's fs.Stats instances without losing their class methods", - "devDependencies": { - "tape": "~2.3.2" - }, - "directories": {}, - "dist": { - "shasum": "b3782dff8bb5474e18b9b6bf0fdfe782f8777680", - "tarball": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz" - }, - "gitHead": "25810f469944326c761f9f6273268453734a8465", - "homepage": "https://github.com/hughsk/clone-stats", - "keywords": [ - "stats", - "fs", - "clone", - "copy", - "prototype" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "hughsk", - "email": "hughskennedy@gmail.com" - } - ], - "name": "clone-stats", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git://github.com/hughsk/clone-stats.git" - }, - "scripts": { - "test": "node test" - }, - "version": "1.0.0" -} diff --git a/node_modules/vinyl/node_modules/clone-stats/test.js b/node_modules/vinyl/node_modules/clone-stats/test.js deleted file mode 100644 index e4bb2814d..000000000 --- a/node_modules/vinyl/node_modules/clone-stats/test.js +++ /dev/null @@ -1,36 +0,0 @@ -var test = require('tape') -var clone = require('./') -var fs = require('fs') - -test('file', function(t) { - compare(t, fs.statSync(__filename)) - t.end() -}) - -test('directory', function(t) { - compare(t, fs.statSync(__dirname)) - t.end() -}) - -function compare(t, stat) { - var copy = clone(stat) - - t.deepEqual(stat, copy, 'clone has equal properties') - t.ok(stat instanceof fs.Stats, 'original is an fs.Stat') - t.ok(copy instanceof fs.Stats, 'copy is an fs.Stat') - - ;['isDirectory' - , 'isFile' - , 'isBlockDevice' - , 'isCharacterDevice' - , 'isSymbolicLink' - , 'isFIFO' - , 'isSocket' - ].forEach(function(method) { - t.equal( - stat[method].call(stat) - , copy[method].call(copy) - , 'equal value for stat.' + method + '()' - ) - }) -} diff --git a/node_modules/vinyl/node_modules/replace-ext/LICENSE b/node_modules/vinyl/node_modules/replace-ext/LICENSE deleted file mode 100755 index fd38d6935..000000000 --- a/node_modules/vinyl/node_modules/replace-ext/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blaine Bublitz <blaine.bublitz@gmail.com>, Eric Schoffstall <yo@contra.io> and other 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. diff --git a/node_modules/vinyl/node_modules/replace-ext/README.md b/node_modules/vinyl/node_modules/replace-ext/README.md deleted file mode 100644 index 8775983b7..000000000 --- a/node_modules/vinyl/node_modules/replace-ext/README.md +++ /dev/null @@ -1,50 +0,0 @@ -<p align="center"> - <a href="http://gulpjs.com"> - <img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png"> - </a> -</p> - -# replace-ext - -[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url] - -Replaces a file extension with another one. - -## Usage - -```js -var replaceExt = require('replace-ext'); - -var path = '/some/dir/file.js'; -var newPath = replaceExt(path, '.coffee'); - -console.log(newPath); // /some/dir/file.coffee -``` - -## API - -### `replaceExt(path, extension)` - -Replaces the extension from `path` with `extension` and returns the updated path string. - -Does not replace the extension if `path` is not a string or is empty. - -## License - -MIT - -[downloads-image]: http://img.shields.io/npm/dm/replace-ext.svg -[npm-url]: https://www.npmjs.com/package/replace-ext -[npm-image]: http://img.shields.io/npm/v/replace-ext.svg - -[travis-url]: https://travis-ci.org/gulpjs/replace-ext -[travis-image]: http://img.shields.io/travis/gulpjs/replace-ext.svg?label=travis-ci - -[appveyor-url]: https://ci.appveyor.com/project/gulpjs/replace-ext -[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/replace-ext.svg?label=appveyor - -[coveralls-url]: https://coveralls.io/r/gulpjs/replace-ext -[coveralls-image]: http://img.shields.io/coveralls/gulpjs/replace-ext/master.svg - -[gitter-url]: https://gitter.im/gulpjs/gulp -[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg diff --git a/node_modules/vinyl/node_modules/replace-ext/index.js b/node_modules/vinyl/node_modules/replace-ext/index.js deleted file mode 100644 index 7cb7789e2..000000000 --- a/node_modules/vinyl/node_modules/replace-ext/index.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -var path = require('path'); - -function replaceExt(npath, ext) { - if (typeof npath !== 'string') { - return npath; - } - - if (npath.length === 0) { - return npath; - } - - var nFileName = path.basename(npath, path.extname(npath)) + ext; - return path.join(path.dirname(npath), nFileName); -} - -module.exports = replaceExt; diff --git a/node_modules/vinyl/node_modules/replace-ext/package.json b/node_modules/vinyl/node_modules/replace-ext/package.json deleted file mode 100644 index 93b50a09f..000000000 --- a/node_modules/vinyl/node_modules/replace-ext/package.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "_args": [ - [ - { - "raw": "replace-ext@^1.0.0", - "scope": null, - "escapedName": "replace-ext", - "name": "replace-ext", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex/node_modules/vinyl" - ] - ], - "_from": "replace-ext@>=1.0.0 <2.0.0", - "_id": "replace-ext@1.0.0", - "_inCache": true, - "_location": "/vinyl/replace-ext", - "_nodeVersion": "0.10.41", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/replace-ext-1.0.0.tgz_1471316327349_0.09214890468865633" - }, - "_npmUser": { - "name": "phated", - "email": "blaine.bublitz@gmail.com" - }, - "_npmVersion": "2.15.2", - "_phantomChildren": {}, - "_requested": { - "raw": "replace-ext@^1.0.0", - "scope": null, - "escapedName": "replace-ext", - "name": "replace-ext", - "rawSpec": "^1.0.0", - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/vinyl" - ], - "_resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", - "_shasum": "de63128373fcbf7c3ccfa4de5a480c45a67958eb", - "_shrinkwrap": null, - "_spec": "replace-ext@^1.0.0", - "_where": "/home/dold/repos/taler/wallet-webex/node_modules/vinyl", - "author": { - "name": "Gulp Team", - "email": "team@gulpjs.com", - "url": "http://gulpjs.com/" - }, - "bugs": { - "url": "https://github.com/gulpjs/replace-ext/issues" - }, - "contributors": [ - { - "name": "Eric Schoffstall", - "email": "yo@contra.io" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com" - } - ], - "dependencies": {}, - "description": "Replaces a file extension with another one", - "devDependencies": { - "eslint": "^1.10.3", - "eslint-config-gulp": "^2.0.0", - "expect": "^1.16.0", - "istanbul": "^0.4.3", - "istanbul-coveralls": "^1.0.3", - "jscs": "^2.3.5", - "jscs-preset-gulp": "^1.0.0", - "mocha": "^2.4.5" - }, - "directories": {}, - "dist": { - "shasum": "de63128373fcbf7c3ccfa4de5a480c45a67958eb", - "tarball": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz" - }, - "engines": { - "node": ">= 0.10" - }, - "files": [ - "LICENSE", - "index.js" - ], - "gitHead": "adaec75e316f1c375dc7a2cb51c7b762b135cc0e", - "homepage": "https://github.com/gulpjs/replace-ext#readme", - "keywords": [ - "gulp", - "extensions", - "filepath", - "basename" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "contra", - "email": "contra@wearefractal.com" - }, - { - "name": "fractal", - "email": "contact@wearefractal.com" - }, - { - "name": "phated", - "email": "blaine.bublitz@gmail.com" - } - ], - "name": "replace-ext", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/gulpjs/replace-ext.git" - }, - "scripts": { - "cover": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly", - "coveralls": "npm run cover && istanbul-coveralls", - "lint": "eslint . && jscs index.js test/", - "pretest": "npm run lint", - "test": "mocha --async-only" - }, - "version": "1.0.0" -} diff --git a/node_modules/vinyl/package.json b/node_modules/vinyl/package.json index 3f726ebc1..3f407f18c 100644 --- a/node_modules/vinyl/package.json +++ b/node_modules/vinyl/package.json @@ -1,68 +1,30 @@ { - "_args": [ - [ - { - "raw": "vinyl@^2.0.0", - "scope": null, - "escapedName": "vinyl", - "name": "vinyl", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" - }, - "/home/dold/repos/taler/wallet-webex" - ] + "name": "vinyl", + "version": "2.0.0", + "description": "Virtual file format.", + "author": "Gulp Team <team@gulpjs.com> (http://gulpjs.com/)", + "contributors": [ + "Eric Schoffstall <yo@contra.io>", + "Blaine Bublitz <blaine.bublitz@gmail.com>" ], - "_from": "vinyl@>=2.0.0 <3.0.0", - "_id": "vinyl@2.0.0", - "_inCache": true, - "_location": "/vinyl", - "_nodeVersion": "0.10.41", - "_npmOperationalInternal": { - "host": "packages-16-east.internal.npmjs.com", - "tmp": "tmp/vinyl-2.0.0.tgz_1475181784057_0.0325738035608083" - }, - "_npmUser": { - "name": "phated", - "email": "blaine.bublitz@gmail.com" - }, - "_npmVersion": "2.15.2", - "_phantomChildren": {}, - "_requested": { - "raw": "vinyl@^2.0.0", - "scope": null, - "escapedName": "vinyl", - "name": "vinyl", - "rawSpec": "^2.0.0", - "spec": ">=2.0.0 <3.0.0", - "type": "range" + "repository": "gulpjs/vinyl", + "license": "MIT", + "engines": { + "node": ">= 0.10" }, - "_requiredBy": [ - "#DEV:/" + "main": "index.js", + "files": [ + "LICENSE", + "index.js", + "lib" ], - "_resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.0.0.tgz", - "_shasum": "b2a1dc4c93c2f04982e7466e2e7714ea70200861", - "_shrinkwrap": null, - "_spec": "vinyl@^2.0.0", - "_where": "/home/dold/repos/taler/wallet-webex", - "author": { - "name": "Gulp Team", - "email": "team@gulpjs.com", - "url": "http://gulpjs.com/" - }, - "bugs": { - "url": "https://github.com/gulpjs/vinyl/issues" + "scripts": { + "lint": "eslint . && jscs index.js lib/ test/", + "pretest": "npm run lint", + "test": "mocha --async-only", + "cover": "istanbul cover _mocha --report lcovonly", + "coveralls": "npm run cover && istanbul-coveralls" }, - "contributors": [ - { - "name": "Eric Schoffstall", - "email": "yo@contra.io" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com" - } - ], "dependencies": { "clone": "^1.0.0", "clone-buffer": "^1.0.0", @@ -72,7 +34,6 @@ "remove-trailing-separator": "^1.0.1", "replace-ext": "^1.0.0" }, - "description": "Virtual file format.", "devDependencies": { "eslint": "^1.7.3", "eslint-config-gulp": "^2.0.0", @@ -84,21 +45,6 @@ "mississippi": "^1.2.0", "mocha": "^2.4.5" }, - "directories": {}, - "dist": { - "shasum": "b2a1dc4c93c2f04982e7466e2e7714ea70200861", - "tarball": "https://registry.npmjs.org/vinyl/-/vinyl-2.0.0.tgz" - }, - "engines": { - "node": ">= 0.10" - }, - "files": [ - "LICENSE", - "index.js", - "lib" - ], - "gitHead": "a2b320cc5c6d3d398659d799a38a47a2f6740720", - "homepage": "https://github.com/gulpjs/vinyl#readme", "keywords": [ "virtual", "filesystem", @@ -106,36 +52,5 @@ "directory", "stat", "path" - ], - "license": "MIT", - "main": "index.js", - "maintainers": [ - { - "name": "contra", - "email": "contra@wearefractal.com" - }, - { - "name": "fractal", - "email": "contact@wearefractal.com" - }, - { - "name": "phated", - "email": "blaine.bublitz@gmail.com" - } - ], - "name": "vinyl", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/gulpjs/vinyl.git" - }, - "scripts": { - "cover": "istanbul cover _mocha --report lcovonly", - "coveralls": "npm run cover && istanbul-coveralls", - "lint": "eslint . && jscs index.js lib/ test/", - "pretest": "npm run lint", - "test": "mocha --async-only" - }, - "version": "2.0.0" + ] } |