nav tabs on admin dashboard
This commit is contained in:
9
node_modules/pump/README.md
generated
vendored
9
node_modules/pump/README.md
generated
vendored
@@ -47,6 +47,15 @@ pump(source, transform, anotherTransform, dest, function(err) {
|
||||
|
||||
If `source`, `transform`, `anotherTransform` or `dest` closes all of them will be destroyed.
|
||||
|
||||
Similarly to `stream.pipe()`, `pump()` returns the last stream passed in, so you can do:
|
||||
|
||||
```
|
||||
return pump(s1, s2) // returns s2
|
||||
```
|
||||
|
||||
If you want to return a stream that combines *both* s1 and s2 to a single stream use
|
||||
[pumpify](https://github.com/mafintosh/pumpify) instead.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
2
node_modules/pump/index.js
generated
vendored
2
node_modules/pump/index.js
generated
vendored
@@ -76,7 +76,7 @@ var pump = function () {
|
||||
})
|
||||
})
|
||||
|
||||
streams.reduce(pipe)
|
||||
return streams.reduce(pipe)
|
||||
}
|
||||
|
||||
module.exports = pump
|
||||
|
||||
24
node_modules/pump/package.json
generated
vendored
24
node_modules/pump/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_from": "pump@^2.0.1",
|
||||
"_id": "pump@2.0.1",
|
||||
"_from": "pump@^3.0.0",
|
||||
"_id": "pump@3.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",
|
||||
"_integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
|
||||
"_location": "/pump",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "pump@^2.0.1",
|
||||
"raw": "pump@^3.0.0",
|
||||
"name": "pump",
|
||||
"escapedName": "pump",
|
||||
"rawSpec": "^2.0.1",
|
||||
"rawSpec": "^3.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.1"
|
||||
"fetchSpec": "^3.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/mississippi",
|
||||
"/pumpify"
|
||||
"/get-stream",
|
||||
"/mississippi"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
|
||||
"_shasum": "12399add6e4cf7526d973cbc8b5ce2e2908b3909",
|
||||
"_spec": "pump@^2.0.1",
|
||||
"_resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
|
||||
"_shasum": "b4a2116815bde2f4e1ea602354e8c75565107a64",
|
||||
"_spec": "pump@^3.0.0",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\mississippi",
|
||||
"author": {
|
||||
"name": "Mathias Buus Madsen",
|
||||
@@ -56,5 +56,5 @@
|
||||
"scripts": {
|
||||
"test": "node test-browser.js && node test-node.js"
|
||||
},
|
||||
"version": "2.0.1"
|
||||
"version": "3.0.0"
|
||||
}
|
||||
|
||||
6
node_modules/pump/test-browser.js
generated
vendored
6
node_modules/pump/test-browser.js
generated
vendored
@@ -46,11 +46,15 @@ rs.on('end', function () {
|
||||
check()
|
||||
})
|
||||
|
||||
pump(rs, toHex(), toHex(), toHex(), ws, function () {
|
||||
var res = pump(rs, toHex(), toHex(), toHex(), ws, function () {
|
||||
callbackCalled = true
|
||||
check()
|
||||
})
|
||||
|
||||
if (res !== ws) {
|
||||
throw new Error('should return last stream')
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
rs.push(null)
|
||||
rs.emit('close')
|
||||
|
||||
4
node_modules/pump/test-node.js
generated
vendored
4
node_modules/pump/test-node.js
generated
vendored
@@ -40,8 +40,8 @@ var res = pump(rs, toHex(), toHex(), toHex(), ws, function () {
|
||||
check()
|
||||
})
|
||||
|
||||
if (res) {
|
||||
process.exit(1)
|
||||
if (res !== ws) {
|
||||
throw new Error('should return last stream')
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
|
||||
Reference in New Issue
Block a user