X7ROOT File Manager
Current Path:
/usr/lib/node_modules/npm/node_modules/uri-js/dist/esnext
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
uri-js
/
dist
/
esnext
/
📁
..
📄
index.d.ts
(23 B)
📄
index.js
(537 B)
📄
index.js.map
(747 B)
📄
regexps-iri.d.ts
(97 B)
📄
regexps-iri.js
(114 B)
📄
regexps-iri.js.map
(192 B)
📄
regexps-uri.d.ts
(160 B)
📄
regexps-uri.js
(7.63 KB)
📄
regexps-uri.js.map
(8.09 KB)
📁
schemes
📄
uri.d.ts
(2.39 KB)
📄
uri.js
(19.68 KB)
📄
uri.js.map
(18.77 KB)
📄
util.d.ts
(343 B)
📄
util.js
(1.09 KB)
📄
util.js.map
(1.67 KB)
Editing: util.js
export function merge(...sets) { if (sets.length > 1) { sets[0] = sets[0].slice(0, -1); const xl = sets.length - 1; for (let x = 1; x < xl; ++x) { sets[x] = sets[x].slice(1, -1); } sets[xl] = sets[xl].slice(1); return sets.join(''); } else { return sets[0]; } } export function subexp(str) { return "(?:" + str + ")"; } export function typeOf(o) { return o === undefined ? "undefined" : (o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase()); } export function toUpperCase(str) { return str.toUpperCase(); } export function toArray(obj) { return obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length !== "number" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj))) : []; } export function assign(target, source) { const obj = target; if (source) { for (const key in source) { obj[key] = source[key]; } } return obj; } //# sourceMappingURL=util.js.map
Upload File
Create Folder