diff options
Diffstat (limited to 'node_modules/vinyl/lib')
| -rw-r--r-- | node_modules/vinyl/lib/inspect-stream.js | 13 | ||||
| -rw-r--r-- | node_modules/vinyl/lib/is-stream.js | 15 | ||||
| -rw-r--r-- | node_modules/vinyl/lib/normalize.js | 9 |
3 files changed, 0 insertions, 37 deletions
diff --git a/node_modules/vinyl/lib/inspect-stream.js b/node_modules/vinyl/lib/inspect-stream.js deleted file mode 100644 index 9faaa0a40..000000000 --- a/node_modules/vinyl/lib/inspect-stream.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -function inspectStream(stream) { - var streamType = stream.constructor.name; - // Avoid StreamStream - if (streamType === 'Stream') { - streamType = ''; - } - - return '<' + streamType + 'Stream>'; -} - -module.exports = inspectStream; diff --git a/node_modules/vinyl/lib/is-stream.js b/node_modules/vinyl/lib/is-stream.js deleted file mode 100644 index 04882b497..000000000 --- a/node_modules/vinyl/lib/is-stream.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -function isStream(stream) { - if (!stream) { - return false; - } - - if (typeof stream.pipe !== 'function') { - return false; - } - - return true; -} - -module.exports = isStream; diff --git a/node_modules/vinyl/lib/normalize.js b/node_modules/vinyl/lib/normalize.js deleted file mode 100644 index f90dcb2b0..000000000 --- a/node_modules/vinyl/lib/normalize.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var path = require('path'); - -function normalize(str) { - return str === '' ? str : path.normalize(str); -} - -module.exports = normalize; |
