X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/uri-js/dist/esnext/schemes
lib
/
node_modules
/
npm
/
node_modules
/
uri-js
/
dist
/
esnext
/
schemes
/
??
..
??
http.d.ts
(108 B)
??
http.js
(959 B)
??
http.js.map
(841 B)
??
https.d.ts
(108 B)
??
https.js
(212 B)
??
https.js.map
(312 B)
??
mailto.d.ts
(359 B)
??
mailto.js
(7.56 KB)
??
mailto.js.map
(7.04 KB)
??
urn-uuid.d.ts
(279 B)
??
urn-uuid.js
(868 B)
??
urn-uuid.js.map
(832 B)
??
urn.d.ts
(324 B)
??
urn.js
(2 KB)
??
urn.js.map
(1.89 KB)
??
ws.d.ts
(228 B)
??
ws.js
(1.62 KB)
??
ws.js.map
(1.57 KB)
??
wss.d.ts
(108 B)
??
wss.js
(198 B)
??
wss.js.map
(307 B)
Editing: urn-uuid.js
const UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/; const UUID_PARSE = /^[0-9A-Fa-f\-]{36}/; //RFC 4122 const handler = { scheme: "urn:uuid", parse: function (urnComponents, options) { const uuidComponents = urnComponents; uuidComponents.uuid = uuidComponents.nss; uuidComponents.nss = undefined; if (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) { uuidComponents.error = uuidComponents.error || "UUID is not valid."; } return uuidComponents; }, serialize: function (uuidComponents, options) { const urnComponents = uuidComponents; //normalize UUID urnComponents.nss = (uuidComponents.uuid || "").toLowerCase(); return urnComponents; }, }; export default handler; //# sourceMappingURL=urn-uuid.js.map
Upload File
Create Folder