diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/vinyl/lib | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
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; |