Add node deps

This commit is contained in:
David Anthoff
2019-09-14 21:05:22 -07:00
parent e709e16507
commit c0c6ce37ca
6587 changed files with 1603707 additions and 921 deletions

19
node_modules/normalize-path/index.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
var removeTrailingSeparator = require('remove-trailing-separator');
module.exports = function normalizePath(str, stripTrailing) {
if (typeof str !== 'string') {
throw new TypeError('expected a string');
}
str = str.replace(/[\\\/]+/g, '/');
if (stripTrailing !== false) {
str = removeTrailingSeparator(str);
}
return str;
};