/
var
/
www
/
flurhymez
/
node_modules
/
webpack
/
lib
/
util
/
/var/www/flurhymez/node_modules/webpack/lib/util
mkdir
upload
Name
Size
Mode
Actions
hash/
-
0755
rm
ArrayHelpers.js
280
0644
edit
dl
rm
ArrayQueue.js
2198
0644
edit
dl
rm
AsyncQueue.js
9631
0644
edit
dl
rm
binarySearchBounds.js
1907
0644
edit
dl
rm
cleverMerge.js
16534
0644
edit
dl
rm
comparators.js
12446
0644
edit
dl
rm
compileBooleanMatcher.js
5822
0644
edit
dl
rm
create-schema-validation.js
477
0644
edit
dl
rm
createHash.js
4819
0644
edit
dl
rm
deprecation.js
6454
0644
edit
dl
rm
deterministicGrouping.js
13764
0644
edit
dl
rm
extractUrlAndGlobal.js
416
0644
edit
dl
rm
findGraphRoots.js
6111
0644
edit
dl
rm
fs.js
10776
0644
edit
dl
rm
Hash.js
925
0644
edit
dl
rm
identifier.js
10335
0644
edit
dl
rm
internalSerializables.js
9973
0644
edit
dl
rm
IterableHelpers.js
962
0644
edit
dl
rm
LazyBucketSortedSet.js
5732
0644
edit
dl
rm
LazySet.js
4569
0644
edit
dl
rm
makeSerializable.js
640
0644
edit
dl
rm
MapHelpers.js
472
0644
edit
dl
rm
memoize.js
604
0644
edit
dl
rm
numberHash.js
1060
0644
edit
dl
rm
objectToMap.js
346
0644
edit
dl
rm
ParallelismFactorCalculator.js
1528
0644
edit
dl
rm
processAsyncTree.js
1483
0644
edit
dl
rm
propertyAccess.js
1190
0644
edit
dl
rm
Queue.js
1048
0644
edit
dl
rm
registerExternalSerializer.js
7913
0644
edit
dl
rm
runtime.js
14605
0644
edit
dl
rm
Semaphore.js
1008
0644
edit
dl
rm
semver.js
15546
0644
edit
dl
rm
serialization.js
4018
0644
edit
dl
rm
SetHelpers.js
2316
0644
edit
dl
rm
smartGrouping.js
5271
0644
edit
dl
rm
SortableSet.js
3635
0644
edit
dl
rm
source.js
1759
0644
edit
dl
rm
StackedCacheMap.js
2284
0644
edit
dl
rm
StackedMap.js
3453
0644
edit
dl
rm
StringXor.js
1120
0644
edit
dl
rm
TupleQueue.js
1317
0644
edit
dl
rm
TupleSet.js
2909
0644
edit
dl
rm
URLAbsoluteSpecifier.js
2553
0644
edit
dl
rm
WeakTupleMap.js
3443
0644
edit
dl
rm
Edit:
/var/www/flurhymez/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js
(2553B)
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Ivan Kopeykin @vankop */ "use strict"; /** @typedef {import("./fs").InputFileSystem} InputFileSystem */ /** @typedef {(error: Error|null, result?: Buffer) => void} ErrorFirstCallback */ const backSlashCharCode = "\\".charCodeAt(0); const slashCharCode = "/".charCodeAt(0); const aLowerCaseCharCode = "a".charCodeAt(0); const zLowerCaseCharCode = "z".charCodeAt(0); const aUpperCaseCharCode = "A".charCodeAt(0); const zUpperCaseCharCode = "Z".charCodeAt(0); const _0CharCode = "0".charCodeAt(0); const _9CharCode = "9".charCodeAt(0); const plusCharCode = "+".charCodeAt(0); const hyphenCharCode = "-".charCodeAt(0); const colonCharCode = ":".charCodeAt(0); const hashCharCode = "#".charCodeAt(0); const queryCharCode = "?".charCodeAt(0); /** * Get scheme if specifier is an absolute URL specifier * e.g. Absolute specifiers like 'file:///user/webpack/index.js' * https://tools.ietf.org/html/rfc3986#section-3.1 * @param {string} specifier specifier * @returns {string|undefined} scheme if absolute URL specifier provided */ function getScheme(specifier) { const start = specifier.charCodeAt(0); // First char maybe only a letter if ( (start < aLowerCaseCharCode || start > zLowerCaseCharCode) && (start < aUpperCaseCharCode || start > zUpperCaseCharCode) ) { return undefined; } let i = 1; let ch = specifier.charCodeAt(i); while ( (ch >= aLowerCaseCharCode && ch <= zLowerCaseCharCode) || (ch >= aUpperCaseCharCode && ch <= zUpperCaseCharCode) || (ch >= _0CharCode && ch <= _9CharCode) || ch === plusCharCode || ch === hyphenCharCode ) { if (++i === specifier.length) return undefined; ch = specifier.charCodeAt(i); } // Scheme must end with colon if (ch !== colonCharCode) return undefined; // Check for Windows absolute path // https://url.spec.whatwg.org/#url-miscellaneous if (i === 1) { const nextChar = i + 1 < specifier.length ? specifier.charCodeAt(i + 1) : 0; if ( nextChar === 0 || nextChar === backSlashCharCode || nextChar === slashCharCode || nextChar === hashCharCode || nextChar === queryCharCode ) { return undefined; } } return specifier.slice(0, i).toLowerCase(); } /** * @param {string} specifier specifier * @returns {string|null} protocol if absolute URL specifier provided */ function getProtocol(specifier) { const scheme = getScheme(specifier); return scheme === undefined ? undefined : scheme + ":"; } exports.getScheme = getScheme; exports.getProtocol = getProtocol;
Save
cmd:
run