diff options
Diffstat (limited to 'node_modules/pause')
| -rw-r--r-- | node_modules/pause/.npmignore | 4 | ||||
| -rw-r--r-- | node_modules/pause/History.md | 5 | ||||
| -rw-r--r-- | node_modules/pause/Makefile | 7 | ||||
| -rw-r--r-- | node_modules/pause/Readme.md | 29 | ||||
| -rw-r--r-- | node_modules/pause/index.js | 29 | ||||
| -rw-r--r-- | node_modules/pause/package.json | 57 |
6 files changed, 0 insertions, 131 deletions
diff --git a/node_modules/pause/.npmignore b/node_modules/pause/.npmignore deleted file mode 100644 index f1250e5..0000000 --- a/node_modules/pause/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -support -test -examples -*.sock diff --git a/node_modules/pause/History.md b/node_modules/pause/History.md deleted file mode 100644 index c8aa68f..0000000 --- a/node_modules/pause/History.md +++ /dev/null @@ -1,5 +0,0 @@ - -0.0.1 / 2010-01-03 -================== - - * Initial release diff --git a/node_modules/pause/Makefile b/node_modules/pause/Makefile deleted file mode 100644 index 4e9c8d3..0000000 --- a/node_modules/pause/Makefile +++ /dev/null @@ -1,7 +0,0 @@ - -test: - @./node_modules/.bin/mocha \ - --require should \ - --reporter spec - -.PHONY: test
\ No newline at end of file diff --git a/node_modules/pause/Readme.md b/node_modules/pause/Readme.md deleted file mode 100644 index 1cdd68a..0000000 --- a/node_modules/pause/Readme.md +++ /dev/null @@ -1,29 +0,0 @@ - -# pause - - Pause streams... - -## License - -(The MIT License) - -Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca> - -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/pause/index.js b/node_modules/pause/index.js deleted file mode 100644 index 1b7b379..0000000 --- a/node_modules/pause/index.js +++ /dev/null @@ -1,29 +0,0 @@ - -module.exports = function(obj){ - var onData - , onEnd - , events = []; - - // buffer data - obj.on('data', onData = function(data, encoding){ - events.push(['data', data, encoding]); - }); - - // buffer end - obj.on('end', onEnd = function(data, encoding){ - events.push(['end', data, encoding]); - }); - - return { - end: function(){ - obj.removeListener('data', onData); - obj.removeListener('end', onEnd); - }, - resume: function(){ - this.end(); - for (var i = 0, len = events.length; i < len; ++i) { - obj.emit.apply(obj, events[i]); - } - } - }; -};
\ No newline at end of file diff --git a/node_modules/pause/package.json b/node_modules/pause/package.json deleted file mode 100644 index 5cf7ebb..0000000 --- a/node_modules/pause/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "_args": [ - [ - "pause@0.0.1", - "/home/humair/School/csc309/a4/solutions_repo/node_modules/passport" - ] - ], - "_from": "pause@0.0.1", - "_id": "pause@0.0.1", - "_inCache": true, - "_installable": true, - "_location": "/pause", - "_phantomChildren": {}, - "_requested": { - "name": "pause", - "raw": "pause@0.0.1", - "rawSpec": "0.0.1", - "scope": null, - "spec": "0.0.1", - "type": "version" - }, - "_requiredBy": [ - "/passport" - ], - "_resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", - "_shasum": "1d408b3fdb76923b9543d96fb4c9dfd535d9cb5d", - "_shrinkwrap": null, - "_spec": "pause@0.0.1", - "_where": "/home/humair/School/csc309/a4/solutions_repo/node_modules/passport", - "author": { - "email": "tj@vision-media.ca", - "name": "TJ Holowaychuk" - }, - "dependencies": {}, - "description": "Pause streams...", - "devDependencies": { - "mocha": "*", - "should": "*" - }, - "directories": {}, - "dist": { - "shasum": "1d408b3fdb76923b9543d96fb4c9dfd535d9cb5d", - "tarball": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz" - }, - "keywords": [], - "main": "index", - "maintainers": [ - { - "name": "tjholowaychuk", - "email": "tj@vision-media.ca" - } - ], - "name": "pause", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "version": "0.0.1" -} |
