This commit is contained in:
2019-02-17 18:07:28 +01:00
parent c69ffb9752
commit 95cff6f702
2301 changed files with 307810 additions and 5 deletions

7
Client/node_modules/vinyl/lib/cloneBuffer.js generated vendored Executable file
View File

@@ -0,0 +1,7 @@
var Buffer = require('buffer').Buffer;
module.exports = function(buf) {
var out = new Buffer(buf.length);
buf.copy(out);
return out;
};

11
Client/node_modules/vinyl/lib/inspectStream.js generated vendored Executable file
View File

@@ -0,0 +1,11 @@
var isStream = require('./isStream');
module.exports = function(stream) {
if (!isStream(stream)) return;
var streamType = stream.constructor.name;
// avoid StreamStream
if (streamType === 'Stream') streamType = '';
return '<'+streamType+'Stream>';
};

7
Client/node_modules/vinyl/lib/isBuffer.js generated vendored Executable file
View File

@@ -0,0 +1,7 @@
var buf = require('buffer');
var Buffer = buf.Buffer;
// could use Buffer.isBuffer but this is the same exact thing...
module.exports = function(o) {
return typeof o === 'object' && o instanceof Buffer;
};

3
Client/node_modules/vinyl/lib/isNull.js generated vendored Executable file
View File

@@ -0,0 +1,3 @@
module.exports = function(v) {
return v === null;
};

5
Client/node_modules/vinyl/lib/isStream.js generated vendored Executable file
View File

@@ -0,0 +1,5 @@
var Stream = require('stream').Stream;
module.exports = function(o) {
return !!o && o instanceof Stream;
};