@httpx/assert
Version:
Assertions and typeguards
1 lines • 606 B
Source Map (JSON)
{"version":3,"sources":["../src/uuid.utils.ts"],"names":["uuidRegexp","uuidSupportedVersions"],"mappings":"AAGO,IAAMA,CAAAA,CAEX,kGAAA,CAEWC,CAAAA,CAAwB,IAAI,GAAA,CAAI,CAAC,CAAA,CAAG,CAAA,CAAG,CAAA,CAAG,CAAA,CAAG,CAAC,CAAC","file":"uuid.utils.mjs","sourcesContent":["/**\n * Taken from https://github.com/uuidjs/uuid/blob/main/src/regex.js\n */\nexport const uuidRegexp =\n // eslint-disable-next-line sonarjs/regex-complexity\n /^(?:[\\da-f]{8}-[\\da-f]{4}-[1-5][\\da-f]{3}-[89ab][\\da-f]{3}-[\\da-f]{12}|0{8}-(?:0{4}-){3}0{12})$/i;\n\nexport const uuidSupportedVersions = new Set([1, 3, 4, 5, 7]);\n"]}