coupeeeez 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.MD +7 -0
- package/command +18 -0
- package/makeApp.ts +17 -0
- package/package.json +41 -0
- package/stream-api/Message.ts +6 -0
- package/stream-api/SSEInjected.ts +3 -0
- package/stream-api/SSEServer.ts +37 -0
- package/stream-api/SSEServers.ts +36 -0
- package/stream-api/StreamApi.ts +39 -0
- package/stream-api/app.ts +14 -0
- package/stream-api/index.ts +1 -0
- package/stream-api/node_modules/.package-lock.json +971 -0
- package/stream-api/node_modules/@types/body-parser/LICENSE +21 -0
- package/stream-api/node_modules/@types/body-parser/README.md +15 -0
- package/stream-api/node_modules/@types/body-parser/index.d.ts +95 -0
- package/stream-api/node_modules/@types/body-parser/package.json +64 -0
- package/stream-api/node_modules/@types/connect/LICENSE +21 -0
- package/stream-api/node_modules/@types/connect/README.md +15 -0
- package/stream-api/node_modules/@types/connect/index.d.ts +91 -0
- package/stream-api/node_modules/@types/connect/package.json +32 -0
- package/stream-api/node_modules/@types/express/LICENSE +21 -0
- package/stream-api/node_modules/@types/express/README.md +15 -0
- package/stream-api/node_modules/@types/express/index.d.ts +122 -0
- package/stream-api/node_modules/@types/express/package.json +45 -0
- package/stream-api/node_modules/@types/express-serve-static-core/LICENSE +21 -0
- package/stream-api/node_modules/@types/express-serve-static-core/README.md +15 -0
- package/stream-api/node_modules/@types/express-serve-static-core/index.d.ts +1244 -0
- package/stream-api/node_modules/@types/express-serve-static-core/package.json +51 -0
- package/stream-api/node_modules/@types/http-errors/LICENSE +21 -0
- package/stream-api/node_modules/@types/http-errors/README.md +15 -0
- package/stream-api/node_modules/@types/http-errors/index.d.ts +77 -0
- package/stream-api/node_modules/@types/http-errors/package.json +36 -0
- package/stream-api/node_modules/@types/mime/LICENSE +21 -0
- package/stream-api/node_modules/@types/mime/Mime.d.ts +10 -0
- package/stream-api/node_modules/@types/mime/README.md +15 -0
- package/stream-api/node_modules/@types/mime/index.d.ts +31 -0
- package/stream-api/node_modules/@types/mime/lite.d.ts +7 -0
- package/stream-api/node_modules/@types/mime/package.json +30 -0
- package/stream-api/node_modules/@types/node/LICENSE +21 -0
- package/stream-api/node_modules/@types/node/README.md +15 -0
- package/stream-api/node_modules/@types/node/assert/strict.d.ts +111 -0
- package/stream-api/node_modules/@types/node/assert.d.ts +1115 -0
- package/stream-api/node_modules/@types/node/async_hooks.d.ts +623 -0
- package/stream-api/node_modules/@types/node/buffer.buffer.d.ts +472 -0
- package/stream-api/node_modules/@types/node/buffer.d.ts +1934 -0
- package/stream-api/node_modules/@types/node/child_process.d.ts +1476 -0
- package/stream-api/node_modules/@types/node/cluster.d.ts +578 -0
- package/stream-api/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/stream-api/node_modules/@types/node/console.d.ts +453 -0
- package/stream-api/node_modules/@types/node/constants.d.ts +21 -0
- package/stream-api/node_modules/@types/node/crypto.d.ts +5417 -0
- package/stream-api/node_modules/@types/node/dgram.d.ts +600 -0
- package/stream-api/node_modules/@types/node/diagnostics_channel.d.ts +576 -0
- package/stream-api/node_modules/@types/node/dns/promises.d.ts +503 -0
- package/stream-api/node_modules/@types/node/dns.d.ts +923 -0
- package/stream-api/node_modules/@types/node/domain.d.ts +170 -0
- package/stream-api/node_modules/@types/node/events.d.ts +976 -0
- package/stream-api/node_modules/@types/node/fs/promises.d.ts +1317 -0
- package/stream-api/node_modules/@types/node/fs.d.ts +4714 -0
- package/stream-api/node_modules/@types/node/globals.d.ts +170 -0
- package/stream-api/node_modules/@types/node/globals.typedarray.d.ts +41 -0
- package/stream-api/node_modules/@types/node/http.d.ts +2134 -0
- package/stream-api/node_modules/@types/node/http2.d.ts +2756 -0
- package/stream-api/node_modules/@types/node/https.d.ts +579 -0
- package/stream-api/node_modules/@types/node/index.d.ts +101 -0
- package/stream-api/node_modules/@types/node/inspector.d.ts +277 -0
- package/stream-api/node_modules/@types/node/inspector.generated.d.ts +4233 -0
- package/stream-api/node_modules/@types/node/module.d.ts +894 -0
- package/stream-api/node_modules/@types/node/net.d.ts +1054 -0
- package/stream-api/node_modules/@types/node/os.d.ts +507 -0
- package/stream-api/node_modules/@types/node/package.json +155 -0
- package/stream-api/node_modules/@types/node/path.d.ts +200 -0
- package/stream-api/node_modules/@types/node/perf_hooks.d.ts +982 -0
- package/stream-api/node_modules/@types/node/process.d.ts +2069 -0
- package/stream-api/node_modules/@types/node/punycode.d.ts +117 -0
- package/stream-api/node_modules/@types/node/querystring.d.ts +152 -0
- package/stream-api/node_modules/@types/node/readline/promises.d.ts +161 -0
- package/stream-api/node_modules/@types/node/readline.d.ts +594 -0
- package/stream-api/node_modules/@types/node/repl.d.ts +438 -0
- package/stream-api/node_modules/@types/node/sea.d.ts +162 -0
- package/stream-api/node_modules/@types/node/sqlite.d.ts +937 -0
- package/stream-api/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/stream-api/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/stream-api/node_modules/@types/node/stream/web.d.ts +573 -0
- package/stream-api/node_modules/@types/node/stream.d.ts +1683 -0
- package/stream-api/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/stream-api/node_modules/@types/node/test.d.ts +2339 -0
- package/stream-api/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/stream-api/node_modules/@types/node/timers.d.ts +285 -0
- package/stream-api/node_modules/@types/node/tls.d.ts +1269 -0
- package/stream-api/node_modules/@types/node/trace_events.d.ts +197 -0
- package/stream-api/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/stream-api/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/stream-api/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/stream-api/node_modules/@types/node/ts5.6/index.d.ts +103 -0
- package/stream-api/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/stream-api/node_modules/@types/node/ts5.7/index.d.ts +103 -0
- package/stream-api/node_modules/@types/node/tty.d.ts +208 -0
- package/stream-api/node_modules/@types/node/url.d.ts +1057 -0
- package/stream-api/node_modules/@types/node/util.d.ts +2325 -0
- package/stream-api/node_modules/@types/node/v8.d.ts +952 -0
- package/stream-api/node_modules/@types/node/vm.d.ts +1180 -0
- package/stream-api/node_modules/@types/node/wasi.d.ts +202 -0
- package/stream-api/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/stream-api/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
- package/stream-api/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/stream-api/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/stream-api/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/stream-api/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/stream-api/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/stream-api/node_modules/@types/node/web-globals/streams.d.ts +22 -0
- package/stream-api/node_modules/@types/node/worker_threads.d.ts +896 -0
- package/stream-api/node_modules/@types/node/zlib.d.ts +681 -0
- package/stream-api/node_modules/@types/qs/LICENSE +21 -0
- package/stream-api/node_modules/@types/qs/README.md +15 -0
- package/stream-api/node_modules/@types/qs/index.d.ts +82 -0
- package/stream-api/node_modules/@types/qs/package.json +66 -0
- package/stream-api/node_modules/@types/range-parser/LICENSE +21 -0
- package/stream-api/node_modules/@types/range-parser/README.md +53 -0
- package/stream-api/node_modules/@types/range-parser/index.d.ts +34 -0
- package/stream-api/node_modules/@types/range-parser/package.json +25 -0
- package/stream-api/node_modules/@types/send/LICENSE +21 -0
- package/stream-api/node_modules/@types/send/README.md +15 -0
- package/stream-api/node_modules/@types/send/index.d.ts +187 -0
- package/stream-api/node_modules/@types/send/package.json +38 -0
- package/stream-api/node_modules/@types/serve-static/LICENSE +21 -0
- package/stream-api/node_modules/@types/serve-static/README.md +15 -0
- package/stream-api/node_modules/@types/serve-static/index.d.ts +107 -0
- package/stream-api/node_modules/@types/serve-static/node_modules/@types/send/LICENSE +21 -0
- package/stream-api/node_modules/@types/serve-static/node_modules/@types/send/README.md +15 -0
- package/stream-api/node_modules/@types/serve-static/node_modules/@types/send/index.d.ts +225 -0
- package/stream-api/node_modules/@types/serve-static/node_modules/@types/send/package.json +39 -0
- package/stream-api/node_modules/@types/serve-static/package.json +45 -0
- package/stream-api/node_modules/accepts/HISTORY.md +250 -0
- package/stream-api/node_modules/accepts/LICENSE +23 -0
- package/stream-api/node_modules/accepts/README.md +140 -0
- package/stream-api/node_modules/accepts/index.js +238 -0
- package/stream-api/node_modules/accepts/package.json +47 -0
- package/stream-api/node_modules/any-base/LICENSE +21 -0
- package/stream-api/node_modules/any-base/README.md +55 -0
- package/stream-api/node_modules/any-base/dist/any-base.js +94 -0
- package/stream-api/node_modules/any-base/dist/any-base.min.js +1 -0
- package/stream-api/node_modules/any-base/index.js +30 -0
- package/stream-api/node_modules/any-base/package.json +40 -0
- package/stream-api/node_modules/any-base/src/converter.js +80 -0
- package/stream-api/node_modules/body-parser/LICENSE +23 -0
- package/stream-api/node_modules/body-parser/README.md +494 -0
- package/stream-api/node_modules/body-parser/index.js +80 -0
- package/stream-api/node_modules/body-parser/lib/read.js +250 -0
- package/stream-api/node_modules/body-parser/lib/types/json.js +166 -0
- package/stream-api/node_modules/body-parser/lib/types/raw.js +43 -0
- package/stream-api/node_modules/body-parser/lib/types/text.js +37 -0
- package/stream-api/node_modules/body-parser/lib/types/urlencoded.js +142 -0
- package/stream-api/node_modules/body-parser/lib/utils.js +96 -0
- package/stream-api/node_modules/body-parser/package.json +52 -0
- package/stream-api/node_modules/bytes/History.md +97 -0
- package/stream-api/node_modules/bytes/LICENSE +23 -0
- package/stream-api/node_modules/bytes/Readme.md +152 -0
- package/stream-api/node_modules/bytes/index.js +170 -0
- package/stream-api/node_modules/bytes/package.json +42 -0
- package/stream-api/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/stream-api/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/stream-api/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/stream-api/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/stream-api/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/stream-api/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/stream-api/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/stream-api/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/stream-api/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/stream-api/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/stream-api/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/stream-api/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/stream-api/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/stream-api/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/stream-api/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/stream-api/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/stream-api/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/stream-api/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/stream-api/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/stream-api/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/stream-api/node_modules/call-bound/.eslintrc +13 -0
- package/stream-api/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/call-bound/.nycrc +9 -0
- package/stream-api/node_modules/call-bound/CHANGELOG.md +42 -0
- package/stream-api/node_modules/call-bound/LICENSE +21 -0
- package/stream-api/node_modules/call-bound/README.md +53 -0
- package/stream-api/node_modules/call-bound/index.d.ts +94 -0
- package/stream-api/node_modules/call-bound/index.js +19 -0
- package/stream-api/node_modules/call-bound/package.json +99 -0
- package/stream-api/node_modules/call-bound/test/index.js +61 -0
- package/stream-api/node_modules/call-bound/tsconfig.json +10 -0
- package/stream-api/node_modules/commander/LICENSE +22 -0
- package/stream-api/node_modules/commander/Readme.md +1159 -0
- package/stream-api/node_modules/commander/esm.mjs +16 -0
- package/stream-api/node_modules/commander/index.js +24 -0
- package/stream-api/node_modules/commander/lib/argument.js +150 -0
- package/stream-api/node_modules/commander/lib/command.js +2777 -0
- package/stream-api/node_modules/commander/lib/error.js +39 -0
- package/stream-api/node_modules/commander/lib/help.js +747 -0
- package/stream-api/node_modules/commander/lib/option.js +380 -0
- package/stream-api/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/stream-api/node_modules/commander/package-support.json +16 -0
- package/stream-api/node_modules/commander/package.json +82 -0
- package/stream-api/node_modules/commander/typings/esm.d.mts +3 -0
- package/stream-api/node_modules/commander/typings/index.d.ts +1113 -0
- package/stream-api/node_modules/content-disposition/HISTORY.md +72 -0
- package/stream-api/node_modules/content-disposition/LICENSE +22 -0
- package/stream-api/node_modules/content-disposition/README.md +142 -0
- package/stream-api/node_modules/content-disposition/index.js +458 -0
- package/stream-api/node_modules/content-disposition/package.json +43 -0
- package/stream-api/node_modules/content-type/HISTORY.md +29 -0
- package/stream-api/node_modules/content-type/LICENSE +22 -0
- package/stream-api/node_modules/content-type/README.md +94 -0
- package/stream-api/node_modules/content-type/index.js +225 -0
- package/stream-api/node_modules/content-type/package.json +42 -0
- package/stream-api/node_modules/cookie/LICENSE +24 -0
- package/stream-api/node_modules/cookie/README.md +317 -0
- package/stream-api/node_modules/cookie/SECURITY.md +25 -0
- package/stream-api/node_modules/cookie/index.js +335 -0
- package/stream-api/node_modules/cookie/package.json +44 -0
- package/stream-api/node_modules/cookie-signature/History.md +70 -0
- package/stream-api/node_modules/cookie-signature/LICENSE +22 -0
- package/stream-api/node_modules/cookie-signature/Readme.md +23 -0
- package/stream-api/node_modules/cookie-signature/index.js +47 -0
- package/stream-api/node_modules/cookie-signature/package.json +24 -0
- package/stream-api/node_modules/debug/LICENSE +20 -0
- package/stream-api/node_modules/debug/README.md +481 -0
- package/stream-api/node_modules/debug/package.json +64 -0
- package/stream-api/node_modules/debug/src/browser.js +272 -0
- package/stream-api/node_modules/debug/src/common.js +292 -0
- package/stream-api/node_modules/debug/src/index.js +10 -0
- package/stream-api/node_modules/debug/src/node.js +263 -0
- package/stream-api/node_modules/depd/History.md +103 -0
- package/stream-api/node_modules/depd/LICENSE +22 -0
- package/stream-api/node_modules/depd/Readme.md +280 -0
- package/stream-api/node_modules/depd/index.js +538 -0
- package/stream-api/node_modules/depd/lib/browser/index.js +77 -0
- package/stream-api/node_modules/depd/package.json +45 -0
- package/stream-api/node_modules/dunder-proto/.eslintrc +5 -0
- package/stream-api/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/dunder-proto/.nycrc +13 -0
- package/stream-api/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/stream-api/node_modules/dunder-proto/LICENSE +21 -0
- package/stream-api/node_modules/dunder-proto/README.md +54 -0
- package/stream-api/node_modules/dunder-proto/get.d.ts +5 -0
- package/stream-api/node_modules/dunder-proto/get.js +30 -0
- package/stream-api/node_modules/dunder-proto/package.json +76 -0
- package/stream-api/node_modules/dunder-proto/set.d.ts +5 -0
- package/stream-api/node_modules/dunder-proto/set.js +35 -0
- package/stream-api/node_modules/dunder-proto/test/get.js +34 -0
- package/stream-api/node_modules/dunder-proto/test/index.js +4 -0
- package/stream-api/node_modules/dunder-proto/test/set.js +50 -0
- package/stream-api/node_modules/dunder-proto/tsconfig.json +9 -0
- package/stream-api/node_modules/ee-first/LICENSE +22 -0
- package/stream-api/node_modules/ee-first/README.md +80 -0
- package/stream-api/node_modules/ee-first/index.js +95 -0
- package/stream-api/node_modules/ee-first/package.json +29 -0
- package/stream-api/node_modules/encodeurl/LICENSE +22 -0
- package/stream-api/node_modules/encodeurl/README.md +109 -0
- package/stream-api/node_modules/encodeurl/index.js +60 -0
- package/stream-api/node_modules/encodeurl/package.json +40 -0
- package/stream-api/node_modules/es-define-property/.eslintrc +13 -0
- package/stream-api/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/es-define-property/.nycrc +9 -0
- package/stream-api/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/stream-api/node_modules/es-define-property/LICENSE +21 -0
- package/stream-api/node_modules/es-define-property/README.md +49 -0
- package/stream-api/node_modules/es-define-property/index.d.ts +3 -0
- package/stream-api/node_modules/es-define-property/index.js +14 -0
- package/stream-api/node_modules/es-define-property/package.json +81 -0
- package/stream-api/node_modules/es-define-property/test/index.js +56 -0
- package/stream-api/node_modules/es-define-property/tsconfig.json +10 -0
- package/stream-api/node_modules/es-errors/.eslintrc +5 -0
- package/stream-api/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/es-errors/CHANGELOG.md +40 -0
- package/stream-api/node_modules/es-errors/LICENSE +21 -0
- package/stream-api/node_modules/es-errors/README.md +55 -0
- package/stream-api/node_modules/es-errors/eval.d.ts +3 -0
- package/stream-api/node_modules/es-errors/eval.js +4 -0
- package/stream-api/node_modules/es-errors/index.d.ts +3 -0
- package/stream-api/node_modules/es-errors/index.js +4 -0
- package/stream-api/node_modules/es-errors/package.json +80 -0
- package/stream-api/node_modules/es-errors/range.d.ts +3 -0
- package/stream-api/node_modules/es-errors/range.js +4 -0
- package/stream-api/node_modules/es-errors/ref.d.ts +3 -0
- package/stream-api/node_modules/es-errors/ref.js +4 -0
- package/stream-api/node_modules/es-errors/syntax.d.ts +3 -0
- package/stream-api/node_modules/es-errors/syntax.js +4 -0
- package/stream-api/node_modules/es-errors/test/index.js +19 -0
- package/stream-api/node_modules/es-errors/tsconfig.json +49 -0
- package/stream-api/node_modules/es-errors/type.d.ts +3 -0
- package/stream-api/node_modules/es-errors/type.js +4 -0
- package/stream-api/node_modules/es-errors/uri.d.ts +3 -0
- package/stream-api/node_modules/es-errors/uri.js +4 -0
- package/stream-api/node_modules/es-object-atoms/.eslintrc +16 -0
- package/stream-api/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/stream-api/node_modules/es-object-atoms/LICENSE +21 -0
- package/stream-api/node_modules/es-object-atoms/README.md +63 -0
- package/stream-api/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/stream-api/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/stream-api/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/stream-api/node_modules/es-object-atoms/ToObject.js +10 -0
- package/stream-api/node_modules/es-object-atoms/index.d.ts +3 -0
- package/stream-api/node_modules/es-object-atoms/index.js +4 -0
- package/stream-api/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/stream-api/node_modules/es-object-atoms/isObject.js +6 -0
- package/stream-api/node_modules/es-object-atoms/package.json +80 -0
- package/stream-api/node_modules/es-object-atoms/test/index.js +38 -0
- package/stream-api/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/stream-api/node_modules/escape-html/LICENSE +24 -0
- package/stream-api/node_modules/escape-html/Readme.md +43 -0
- package/stream-api/node_modules/escape-html/index.js +78 -0
- package/stream-api/node_modules/escape-html/package.json +24 -0
- package/stream-api/node_modules/etag/HISTORY.md +83 -0
- package/stream-api/node_modules/etag/LICENSE +22 -0
- package/stream-api/node_modules/etag/README.md +159 -0
- package/stream-api/node_modules/etag/index.js +131 -0
- package/stream-api/node_modules/etag/package.json +47 -0
- package/stream-api/node_modules/express/History.md +3858 -0
- package/stream-api/node_modules/express/LICENSE +24 -0
- package/stream-api/node_modules/express/Readme.md +266 -0
- package/stream-api/node_modules/express/index.js +11 -0
- package/stream-api/node_modules/express/lib/application.js +631 -0
- package/stream-api/node_modules/express/lib/express.js +81 -0
- package/stream-api/node_modules/express/lib/request.js +515 -0
- package/stream-api/node_modules/express/lib/response.js +1039 -0
- package/stream-api/node_modules/express/lib/utils.js +269 -0
- package/stream-api/node_modules/express/lib/view.js +205 -0
- package/stream-api/node_modules/express/package.json +98 -0
- package/stream-api/node_modules/finalhandler/HISTORY.md +233 -0
- package/stream-api/node_modules/finalhandler/LICENSE +22 -0
- package/stream-api/node_modules/finalhandler/README.md +147 -0
- package/stream-api/node_modules/finalhandler/index.js +293 -0
- package/stream-api/node_modules/finalhandler/package.json +43 -0
- package/stream-api/node_modules/forwarded/HISTORY.md +21 -0
- package/stream-api/node_modules/forwarded/LICENSE +22 -0
- package/stream-api/node_modules/forwarded/README.md +57 -0
- package/stream-api/node_modules/forwarded/index.js +90 -0
- package/stream-api/node_modules/forwarded/package.json +45 -0
- package/stream-api/node_modules/fresh/HISTORY.md +80 -0
- package/stream-api/node_modules/fresh/LICENSE +23 -0
- package/stream-api/node_modules/fresh/README.md +117 -0
- package/stream-api/node_modules/fresh/index.js +136 -0
- package/stream-api/node_modules/fresh/package.json +46 -0
- package/stream-api/node_modules/function-bind/.eslintrc +21 -0
- package/stream-api/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/stream-api/node_modules/function-bind/.nycrc +13 -0
- package/stream-api/node_modules/function-bind/CHANGELOG.md +136 -0
- package/stream-api/node_modules/function-bind/LICENSE +20 -0
- package/stream-api/node_modules/function-bind/README.md +46 -0
- package/stream-api/node_modules/function-bind/implementation.js +84 -0
- package/stream-api/node_modules/function-bind/index.js +5 -0
- package/stream-api/node_modules/function-bind/package.json +87 -0
- package/stream-api/node_modules/function-bind/test/.eslintrc +9 -0
- package/stream-api/node_modules/function-bind/test/index.js +252 -0
- package/stream-api/node_modules/get-intrinsic/.eslintrc +42 -0
- package/stream-api/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/get-intrinsic/.nycrc +9 -0
- package/stream-api/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/stream-api/node_modules/get-intrinsic/LICENSE +21 -0
- package/stream-api/node_modules/get-intrinsic/README.md +71 -0
- package/stream-api/node_modules/get-intrinsic/index.js +378 -0
- package/stream-api/node_modules/get-intrinsic/package.json +97 -0
- package/stream-api/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/stream-api/node_modules/get-proto/.eslintrc +10 -0
- package/stream-api/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/get-proto/.nycrc +9 -0
- package/stream-api/node_modules/get-proto/CHANGELOG.md +21 -0
- package/stream-api/node_modules/get-proto/LICENSE +21 -0
- package/stream-api/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/stream-api/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/stream-api/node_modules/get-proto/README.md +50 -0
- package/stream-api/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/stream-api/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/stream-api/node_modules/get-proto/index.d.ts +5 -0
- package/stream-api/node_modules/get-proto/index.js +27 -0
- package/stream-api/node_modules/get-proto/package.json +81 -0
- package/stream-api/node_modules/get-proto/test/index.js +68 -0
- package/stream-api/node_modules/get-proto/tsconfig.json +9 -0
- package/stream-api/node_modules/gopd/.eslintrc +16 -0
- package/stream-api/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/gopd/CHANGELOG.md +45 -0
- package/stream-api/node_modules/gopd/LICENSE +21 -0
- package/stream-api/node_modules/gopd/README.md +40 -0
- package/stream-api/node_modules/gopd/gOPD.d.ts +1 -0
- package/stream-api/node_modules/gopd/gOPD.js +4 -0
- package/stream-api/node_modules/gopd/index.d.ts +5 -0
- package/stream-api/node_modules/gopd/index.js +15 -0
- package/stream-api/node_modules/gopd/package.json +77 -0
- package/stream-api/node_modules/gopd/test/index.js +36 -0
- package/stream-api/node_modules/gopd/tsconfig.json +9 -0
- package/stream-api/node_modules/has-symbols/.eslintrc +11 -0
- package/stream-api/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/has-symbols/.nycrc +9 -0
- package/stream-api/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/stream-api/node_modules/has-symbols/LICENSE +21 -0
- package/stream-api/node_modules/has-symbols/README.md +46 -0
- package/stream-api/node_modules/has-symbols/index.d.ts +3 -0
- package/stream-api/node_modules/has-symbols/index.js +14 -0
- package/stream-api/node_modules/has-symbols/package.json +111 -0
- package/stream-api/node_modules/has-symbols/shams.d.ts +3 -0
- package/stream-api/node_modules/has-symbols/shams.js +45 -0
- package/stream-api/node_modules/has-symbols/test/index.js +22 -0
- package/stream-api/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/stream-api/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/stream-api/node_modules/has-symbols/test/tests.js +58 -0
- package/stream-api/node_modules/has-symbols/tsconfig.json +10 -0
- package/stream-api/node_modules/hasown/.eslintrc +5 -0
- package/stream-api/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/hasown/.nycrc +13 -0
- package/stream-api/node_modules/hasown/CHANGELOG.md +40 -0
- package/stream-api/node_modules/hasown/LICENSE +21 -0
- package/stream-api/node_modules/hasown/README.md +40 -0
- package/stream-api/node_modules/hasown/index.d.ts +3 -0
- package/stream-api/node_modules/hasown/index.js +8 -0
- package/stream-api/node_modules/hasown/package.json +92 -0
- package/stream-api/node_modules/hasown/tsconfig.json +6 -0
- package/stream-api/node_modules/http-errors/HISTORY.md +186 -0
- package/stream-api/node_modules/http-errors/LICENSE +23 -0
- package/stream-api/node_modules/http-errors/README.md +169 -0
- package/stream-api/node_modules/http-errors/index.js +290 -0
- package/stream-api/node_modules/http-errors/package.json +54 -0
- package/stream-api/node_modules/iconv-lite/Changelog.md +236 -0
- package/stream-api/node_modules/iconv-lite/LICENSE +21 -0
- package/stream-api/node_modules/iconv-lite/README.md +138 -0
- package/stream-api/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/stream-api/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/stream-api/node_modules/iconv-lite/encodings/index.js +23 -0
- package/stream-api/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/stream-api/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/stream-api/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/stream-api/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/stream-api/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/stream-api/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/stream-api/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/stream-api/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/stream-api/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/stream-api/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/stream-api/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/stream-api/node_modules/iconv-lite/lib/index.js +183 -0
- package/stream-api/node_modules/iconv-lite/lib/streams.js +105 -0
- package/stream-api/node_modules/iconv-lite/package.json +59 -0
- package/stream-api/node_modules/inherits/LICENSE +16 -0
- package/stream-api/node_modules/inherits/README.md +42 -0
- package/stream-api/node_modules/inherits/inherits.js +9 -0
- package/stream-api/node_modules/inherits/inherits_browser.js +27 -0
- package/stream-api/node_modules/inherits/package.json +29 -0
- package/stream-api/node_modules/ipaddr.js/LICENSE +19 -0
- package/stream-api/node_modules/ipaddr.js/README.md +233 -0
- package/stream-api/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/stream-api/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/stream-api/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/stream-api/node_modules/ipaddr.js/package.json +35 -0
- package/stream-api/node_modules/is-promise/LICENSE +19 -0
- package/stream-api/node_modules/is-promise/index.d.ts +2 -0
- package/stream-api/node_modules/is-promise/index.js +6 -0
- package/stream-api/node_modules/is-promise/index.mjs +3 -0
- package/stream-api/node_modules/is-promise/package.json +30 -0
- package/stream-api/node_modules/is-promise/readme.md +33 -0
- package/stream-api/node_modules/math-intrinsics/.eslintrc +16 -0
- package/stream-api/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/stream-api/node_modules/math-intrinsics/LICENSE +21 -0
- package/stream-api/node_modules/math-intrinsics/README.md +50 -0
- package/stream-api/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/abs.js +4 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/stream-api/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/floor.js +4 -0
- package/stream-api/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/isFinite.js +12 -0
- package/stream-api/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/isInteger.js +16 -0
- package/stream-api/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/isNaN.js +6 -0
- package/stream-api/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/stream-api/node_modules/math-intrinsics/max.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/max.js +4 -0
- package/stream-api/node_modules/math-intrinsics/min.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/min.js +4 -0
- package/stream-api/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/mod.js +9 -0
- package/stream-api/node_modules/math-intrinsics/package.json +86 -0
- package/stream-api/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/pow.js +4 -0
- package/stream-api/node_modules/math-intrinsics/round.d.ts +1 -0
- package/stream-api/node_modules/math-intrinsics/round.js +4 -0
- package/stream-api/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/stream-api/node_modules/math-intrinsics/sign.js +11 -0
- package/stream-api/node_modules/math-intrinsics/test/index.js +192 -0
- package/stream-api/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/stream-api/node_modules/media-typer/HISTORY.md +50 -0
- package/stream-api/node_modules/media-typer/LICENSE +22 -0
- package/stream-api/node_modules/media-typer/README.md +93 -0
- package/stream-api/node_modules/media-typer/index.js +143 -0
- package/stream-api/node_modules/media-typer/package.json +33 -0
- package/stream-api/node_modules/merge-descriptors/index.d.ts +11 -0
- package/stream-api/node_modules/merge-descriptors/index.js +26 -0
- package/stream-api/node_modules/merge-descriptors/license +11 -0
- package/stream-api/node_modules/merge-descriptors/package.json +50 -0
- package/stream-api/node_modules/merge-descriptors/readme.md +55 -0
- package/stream-api/node_modules/mime-db/HISTORY.md +541 -0
- package/stream-api/node_modules/mime-db/LICENSE +23 -0
- package/stream-api/node_modules/mime-db/README.md +109 -0
- package/stream-api/node_modules/mime-db/db.json +9342 -0
- package/stream-api/node_modules/mime-db/index.js +12 -0
- package/stream-api/node_modules/mime-db/package.json +56 -0
- package/stream-api/node_modules/mime-types/HISTORY.md +428 -0
- package/stream-api/node_modules/mime-types/LICENSE +23 -0
- package/stream-api/node_modules/mime-types/README.md +126 -0
- package/stream-api/node_modules/mime-types/index.js +211 -0
- package/stream-api/node_modules/mime-types/mimeScore.js +57 -0
- package/stream-api/node_modules/mime-types/package.json +49 -0
- package/stream-api/node_modules/ms/index.js +162 -0
- package/stream-api/node_modules/ms/license.md +21 -0
- package/stream-api/node_modules/ms/package.json +38 -0
- package/stream-api/node_modules/ms/readme.md +59 -0
- package/stream-api/node_modules/negotiator/HISTORY.md +114 -0
- package/stream-api/node_modules/negotiator/LICENSE +24 -0
- package/stream-api/node_modules/negotiator/README.md +212 -0
- package/stream-api/node_modules/negotiator/index.js +83 -0
- package/stream-api/node_modules/negotiator/lib/charset.js +169 -0
- package/stream-api/node_modules/negotiator/lib/encoding.js +205 -0
- package/stream-api/node_modules/negotiator/lib/language.js +179 -0
- package/stream-api/node_modules/negotiator/lib/mediaType.js +294 -0
- package/stream-api/node_modules/negotiator/package.json +43 -0
- package/stream-api/node_modules/object-inspect/.eslintrc +53 -0
- package/stream-api/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/object-inspect/.nycrc +13 -0
- package/stream-api/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/stream-api/node_modules/object-inspect/LICENSE +21 -0
- package/stream-api/node_modules/object-inspect/example/all.js +23 -0
- package/stream-api/node_modules/object-inspect/example/circular.js +6 -0
- package/stream-api/node_modules/object-inspect/example/fn.js +5 -0
- package/stream-api/node_modules/object-inspect/example/inspect.js +10 -0
- package/stream-api/node_modules/object-inspect/index.js +544 -0
- package/stream-api/node_modules/object-inspect/package-support.json +20 -0
- package/stream-api/node_modules/object-inspect/package.json +105 -0
- package/stream-api/node_modules/object-inspect/readme.markdown +84 -0
- package/stream-api/node_modules/object-inspect/test/bigint.js +58 -0
- package/stream-api/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/stream-api/node_modules/object-inspect/test/circular.js +16 -0
- package/stream-api/node_modules/object-inspect/test/deep.js +12 -0
- package/stream-api/node_modules/object-inspect/test/element.js +53 -0
- package/stream-api/node_modules/object-inspect/test/err.js +48 -0
- package/stream-api/node_modules/object-inspect/test/fakes.js +29 -0
- package/stream-api/node_modules/object-inspect/test/fn.js +76 -0
- package/stream-api/node_modules/object-inspect/test/global.js +17 -0
- package/stream-api/node_modules/object-inspect/test/has.js +15 -0
- package/stream-api/node_modules/object-inspect/test/holes.js +15 -0
- package/stream-api/node_modules/object-inspect/test/indent-option.js +271 -0
- package/stream-api/node_modules/object-inspect/test/inspect.js +139 -0
- package/stream-api/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/stream-api/node_modules/object-inspect/test/number.js +58 -0
- package/stream-api/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/stream-api/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/stream-api/node_modules/object-inspect/test/undef.js +12 -0
- package/stream-api/node_modules/object-inspect/test/values.js +261 -0
- package/stream-api/node_modules/object-inspect/test-core-js.js +26 -0
- package/stream-api/node_modules/object-inspect/util.inspect.js +1 -0
- package/stream-api/node_modules/on-finished/HISTORY.md +98 -0
- package/stream-api/node_modules/on-finished/LICENSE +23 -0
- package/stream-api/node_modules/on-finished/README.md +162 -0
- package/stream-api/node_modules/on-finished/index.js +234 -0
- package/stream-api/node_modules/on-finished/package.json +39 -0
- package/stream-api/node_modules/once/LICENSE +15 -0
- package/stream-api/node_modules/once/README.md +79 -0
- package/stream-api/node_modules/once/once.js +42 -0
- package/stream-api/node_modules/once/package.json +33 -0
- package/stream-api/node_modules/parseurl/HISTORY.md +58 -0
- package/stream-api/node_modules/parseurl/LICENSE +24 -0
- package/stream-api/node_modules/parseurl/README.md +133 -0
- package/stream-api/node_modules/parseurl/index.js +158 -0
- package/stream-api/node_modules/parseurl/package.json +40 -0
- package/stream-api/node_modules/path-to-regexp/LICENSE +21 -0
- package/stream-api/node_modules/path-to-regexp/Readme.md +224 -0
- package/stream-api/node_modules/path-to-regexp/dist/index.d.ts +144 -0
- package/stream-api/node_modules/path-to-regexp/dist/index.js +409 -0
- package/stream-api/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/stream-api/node_modules/path-to-regexp/package.json +64 -0
- package/stream-api/node_modules/proxy-addr/HISTORY.md +161 -0
- package/stream-api/node_modules/proxy-addr/LICENSE +22 -0
- package/stream-api/node_modules/proxy-addr/README.md +139 -0
- package/stream-api/node_modules/proxy-addr/index.js +327 -0
- package/stream-api/node_modules/proxy-addr/package.json +47 -0
- package/stream-api/node_modules/qs/.editorconfig +46 -0
- package/stream-api/node_modules/qs/.eslintrc +39 -0
- package/stream-api/node_modules/qs/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/qs/.nycrc +13 -0
- package/stream-api/node_modules/qs/CHANGELOG.md +622 -0
- package/stream-api/node_modules/qs/LICENSE.md +29 -0
- package/stream-api/node_modules/qs/README.md +733 -0
- package/stream-api/node_modules/qs/dist/qs.js +141 -0
- package/stream-api/node_modules/qs/lib/formats.js +23 -0
- package/stream-api/node_modules/qs/lib/index.js +11 -0
- package/stream-api/node_modules/qs/lib/parse.js +328 -0
- package/stream-api/node_modules/qs/lib/stringify.js +356 -0
- package/stream-api/node_modules/qs/lib/utils.js +268 -0
- package/stream-api/node_modules/qs/package.json +93 -0
- package/stream-api/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/stream-api/node_modules/qs/test/parse.js +1276 -0
- package/stream-api/node_modules/qs/test/stringify.js +1306 -0
- package/stream-api/node_modules/qs/test/utils.js +262 -0
- package/stream-api/node_modules/range-parser/HISTORY.md +56 -0
- package/stream-api/node_modules/range-parser/LICENSE +23 -0
- package/stream-api/node_modules/range-parser/README.md +84 -0
- package/stream-api/node_modules/range-parser/index.js +162 -0
- package/stream-api/node_modules/range-parser/package.json +44 -0
- package/stream-api/node_modules/raw-body/LICENSE +22 -0
- package/stream-api/node_modules/raw-body/README.md +223 -0
- package/stream-api/node_modules/raw-body/index.d.ts +85 -0
- package/stream-api/node_modules/raw-body/index.js +336 -0
- package/stream-api/node_modules/raw-body/package.json +46 -0
- package/stream-api/node_modules/router/HISTORY.md +228 -0
- package/stream-api/node_modules/router/LICENSE +23 -0
- package/stream-api/node_modules/router/README.md +416 -0
- package/stream-api/node_modules/router/index.js +748 -0
- package/stream-api/node_modules/router/lib/layer.js +247 -0
- package/stream-api/node_modules/router/lib/route.js +242 -0
- package/stream-api/node_modules/router/package.json +44 -0
- package/stream-api/node_modules/safer-buffer/LICENSE +21 -0
- package/stream-api/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/stream-api/node_modules/safer-buffer/Readme.md +156 -0
- package/stream-api/node_modules/safer-buffer/dangerous.js +58 -0
- package/stream-api/node_modules/safer-buffer/package.json +34 -0
- package/stream-api/node_modules/safer-buffer/safer.js +77 -0
- package/stream-api/node_modules/safer-buffer/tests.js +406 -0
- package/stream-api/node_modules/send/HISTORY.md +580 -0
- package/stream-api/node_modules/send/LICENSE +23 -0
- package/stream-api/node_modules/send/README.md +317 -0
- package/stream-api/node_modules/send/index.js +997 -0
- package/stream-api/node_modules/send/package.json +60 -0
- package/stream-api/node_modules/serve-static/HISTORY.md +516 -0
- package/stream-api/node_modules/serve-static/LICENSE +25 -0
- package/stream-api/node_modules/serve-static/README.md +253 -0
- package/stream-api/node_modules/serve-static/index.js +208 -0
- package/stream-api/node_modules/serve-static/package.json +41 -0
- package/stream-api/node_modules/setprototypeof/LICENSE +13 -0
- package/stream-api/node_modules/setprototypeof/README.md +31 -0
- package/stream-api/node_modules/setprototypeof/index.d.ts +2 -0
- package/stream-api/node_modules/setprototypeof/index.js +17 -0
- package/stream-api/node_modules/setprototypeof/package.json +38 -0
- package/stream-api/node_modules/setprototypeof/test/index.js +24 -0
- package/stream-api/node_modules/short-uuid/.codeclimate.yml +21 -0
- package/stream-api/node_modules/short-uuid/.csslintrc +2 -0
- package/stream-api/node_modules/short-uuid/.editorconfig +11 -0
- package/stream-api/node_modules/short-uuid/.eslintrc.js +15 -0
- package/stream-api/node_modules/short-uuid/.github/workflows/node.js.yml +31 -0
- package/stream-api/node_modules/short-uuid/.nyc_output/3a60ecc2-69fc-4d0a-81dd-ad79b6071e14.json +1 -0
- package/stream-api/node_modules/short-uuid/.nyc_output/3f261446-c11a-4630-b995-4f5dbc1395ef.json +1 -0
- package/stream-api/node_modules/short-uuid/.nyc_output/processinfo/3a60ecc2-69fc-4d0a-81dd-ad79b6071e14.json +1 -0
- package/stream-api/node_modules/short-uuid/.nyc_output/processinfo/3f261446-c11a-4630-b995-4f5dbc1395ef.json +1 -0
- package/stream-api/node_modules/short-uuid/.nyc_output/processinfo/index.json +1 -0
- package/stream-api/node_modules/short-uuid/CHANGELOG.md +237 -0
- package/stream-api/node_modules/short-uuid/LICENSE +21 -0
- package/stream-api/node_modules/short-uuid/README.md +128 -0
- package/stream-api/node_modules/short-uuid/index.d.ts +51 -0
- package/stream-api/node_modules/short-uuid/index.js +157 -0
- package/stream-api/node_modules/short-uuid/package.json +41 -0
- package/stream-api/node_modules/short-uuid/revisions.md +193 -0
- package/stream-api/node_modules/short-uuid/test/index.js +339 -0
- package/stream-api/node_modules/short-uuid/test/uuid25examples.js +74 -0
- package/stream-api/node_modules/side-channel/.editorconfig +9 -0
- package/stream-api/node_modules/side-channel/.eslintrc +12 -0
- package/stream-api/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/side-channel/.nycrc +13 -0
- package/stream-api/node_modules/side-channel/CHANGELOG.md +110 -0
- package/stream-api/node_modules/side-channel/LICENSE +21 -0
- package/stream-api/node_modules/side-channel/README.md +61 -0
- package/stream-api/node_modules/side-channel/index.d.ts +14 -0
- package/stream-api/node_modules/side-channel/index.js +43 -0
- package/stream-api/node_modules/side-channel/package.json +85 -0
- package/stream-api/node_modules/side-channel/test/index.js +104 -0
- package/stream-api/node_modules/side-channel/tsconfig.json +9 -0
- package/stream-api/node_modules/side-channel-list/.editorconfig +9 -0
- package/stream-api/node_modules/side-channel-list/.eslintrc +11 -0
- package/stream-api/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/side-channel-list/.nycrc +13 -0
- package/stream-api/node_modules/side-channel-list/CHANGELOG.md +15 -0
- package/stream-api/node_modules/side-channel-list/LICENSE +21 -0
- package/stream-api/node_modules/side-channel-list/README.md +62 -0
- package/stream-api/node_modules/side-channel-list/index.d.ts +13 -0
- package/stream-api/node_modules/side-channel-list/index.js +113 -0
- package/stream-api/node_modules/side-channel-list/list.d.ts +14 -0
- package/stream-api/node_modules/side-channel-list/package.json +77 -0
- package/stream-api/node_modules/side-channel-list/test/index.js +104 -0
- package/stream-api/node_modules/side-channel-list/tsconfig.json +9 -0
- package/stream-api/node_modules/side-channel-map/.editorconfig +9 -0
- package/stream-api/node_modules/side-channel-map/.eslintrc +11 -0
- package/stream-api/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/side-channel-map/.nycrc +13 -0
- package/stream-api/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/stream-api/node_modules/side-channel-map/LICENSE +21 -0
- package/stream-api/node_modules/side-channel-map/README.md +62 -0
- package/stream-api/node_modules/side-channel-map/index.d.ts +15 -0
- package/stream-api/node_modules/side-channel-map/index.js +68 -0
- package/stream-api/node_modules/side-channel-map/package.json +80 -0
- package/stream-api/node_modules/side-channel-map/test/index.js +114 -0
- package/stream-api/node_modules/side-channel-map/tsconfig.json +9 -0
- package/stream-api/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/stream-api/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/stream-api/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/stream-api/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/stream-api/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/stream-api/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/stream-api/node_modules/side-channel-weakmap/README.md +62 -0
- package/stream-api/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/stream-api/node_modules/side-channel-weakmap/index.js +84 -0
- package/stream-api/node_modules/side-channel-weakmap/package.json +87 -0
- package/stream-api/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/stream-api/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/stream-api/node_modules/statuses/HISTORY.md +87 -0
- package/stream-api/node_modules/statuses/LICENSE +23 -0
- package/stream-api/node_modules/statuses/README.md +139 -0
- package/stream-api/node_modules/statuses/codes.json +65 -0
- package/stream-api/node_modules/statuses/index.js +146 -0
- package/stream-api/node_modules/statuses/package.json +49 -0
- package/stream-api/node_modules/toidentifier/HISTORY.md +9 -0
- package/stream-api/node_modules/toidentifier/LICENSE +21 -0
- package/stream-api/node_modules/toidentifier/README.md +61 -0
- package/stream-api/node_modules/toidentifier/index.js +32 -0
- package/stream-api/node_modules/toidentifier/package.json +38 -0
- package/stream-api/node_modules/type-is/HISTORY.md +292 -0
- package/stream-api/node_modules/type-is/LICENSE +23 -0
- package/stream-api/node_modules/type-is/README.md +198 -0
- package/stream-api/node_modules/type-is/index.js +250 -0
- package/stream-api/node_modules/type-is/package.json +47 -0
- package/stream-api/node_modules/undici-types/LICENSE +21 -0
- package/stream-api/node_modules/undici-types/README.md +6 -0
- package/stream-api/node_modules/undici-types/agent.d.ts +32 -0
- package/stream-api/node_modules/undici-types/api.d.ts +43 -0
- package/stream-api/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/stream-api/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/stream-api/node_modules/undici-types/cache.d.ts +36 -0
- package/stream-api/node_modules/undici-types/client-stats.d.ts +15 -0
- package/stream-api/node_modules/undici-types/client.d.ts +108 -0
- package/stream-api/node_modules/undici-types/connector.d.ts +34 -0
- package/stream-api/node_modules/undici-types/content-type.d.ts +21 -0
- package/stream-api/node_modules/undici-types/cookies.d.ts +30 -0
- package/stream-api/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/stream-api/node_modules/undici-types/dispatcher.d.ts +276 -0
- package/stream-api/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/stream-api/node_modules/undici-types/errors.d.ts +161 -0
- package/stream-api/node_modules/undici-types/eventsource.d.ts +66 -0
- package/stream-api/node_modules/undici-types/fetch.d.ts +211 -0
- package/stream-api/node_modules/undici-types/formdata.d.ts +108 -0
- package/stream-api/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/stream-api/node_modules/undici-types/global-origin.d.ts +7 -0
- package/stream-api/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/stream-api/node_modules/undici-types/handlers.d.ts +15 -0
- package/stream-api/node_modules/undici-types/header.d.ts +160 -0
- package/stream-api/node_modules/undici-types/index.d.ts +80 -0
- package/stream-api/node_modules/undici-types/interceptors.d.ts +39 -0
- package/stream-api/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/stream-api/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/stream-api/node_modules/undici-types/mock-client.d.ts +27 -0
- package/stream-api/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/stream-api/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/stream-api/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/stream-api/node_modules/undici-types/package.json +55 -0
- package/stream-api/node_modules/undici-types/patch.d.ts +29 -0
- package/stream-api/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/stream-api/node_modules/undici-types/pool.d.ts +41 -0
- package/stream-api/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/stream-api/node_modules/undici-types/readable.d.ts +68 -0
- package/stream-api/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/stream-api/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/stream-api/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/stream-api/node_modules/undici-types/util.d.ts +18 -0
- package/stream-api/node_modules/undici-types/utility.d.ts +7 -0
- package/stream-api/node_modules/undici-types/webidl.d.ts +341 -0
- package/stream-api/node_modules/undici-types/websocket.d.ts +186 -0
- package/stream-api/node_modules/unpipe/HISTORY.md +4 -0
- package/stream-api/node_modules/unpipe/LICENSE +22 -0
- package/stream-api/node_modules/unpipe/README.md +43 -0
- package/stream-api/node_modules/unpipe/index.js +69 -0
- package/stream-api/node_modules/unpipe/package.json +27 -0
- package/stream-api/node_modules/uuid/CHANGELOG.md +274 -0
- package/stream-api/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/stream-api/node_modules/uuid/LICENSE.md +9 -0
- package/stream-api/node_modules/uuid/README.md +466 -0
- package/stream-api/node_modules/uuid/dist/bin/uuid +2 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/stream-api/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/stream-api/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/stream-api/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/stream-api/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/stream-api/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/stream-api/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/stream-api/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/stream-api/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/stream-api/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/stream-api/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/stream-api/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/stream-api/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/stream-api/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/stream-api/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/stream-api/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/stream-api/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/stream-api/node_modules/uuid/dist/index.js +79 -0
- package/stream-api/node_modules/uuid/dist/md5-browser.js +223 -0
- package/stream-api/node_modules/uuid/dist/md5.js +23 -0
- package/stream-api/node_modules/uuid/dist/native-browser.js +11 -0
- package/stream-api/node_modules/uuid/dist/native.js +15 -0
- package/stream-api/node_modules/uuid/dist/nil.js +8 -0
- package/stream-api/node_modules/uuid/dist/parse.js +45 -0
- package/stream-api/node_modules/uuid/dist/regex.js +8 -0
- package/stream-api/node_modules/uuid/dist/rng-browser.js +25 -0
- package/stream-api/node_modules/uuid/dist/rng.js +24 -0
- package/stream-api/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/stream-api/node_modules/uuid/dist/sha1.js +23 -0
- package/stream-api/node_modules/uuid/dist/stringify.js +44 -0
- package/stream-api/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/stream-api/node_modules/uuid/dist/v1.js +107 -0
- package/stream-api/node_modules/uuid/dist/v3.js +16 -0
- package/stream-api/node_modules/uuid/dist/v35.js +80 -0
- package/stream-api/node_modules/uuid/dist/v4.js +43 -0
- package/stream-api/node_modules/uuid/dist/v5.js +16 -0
- package/stream-api/node_modules/uuid/dist/validate.js +17 -0
- package/stream-api/node_modules/uuid/dist/version.js +21 -0
- package/stream-api/node_modules/uuid/package.json +135 -0
- package/stream-api/node_modules/uuid/wrapper.mjs +10 -0
- package/stream-api/node_modules/vary/HISTORY.md +39 -0
- package/stream-api/node_modules/vary/LICENSE +22 -0
- package/stream-api/node_modules/vary/README.md +101 -0
- package/stream-api/node_modules/vary/index.js +149 -0
- package/stream-api/node_modules/vary/package.json +43 -0
- package/stream-api/node_modules/wrappy/LICENSE +15 -0
- package/stream-api/node_modules/wrappy/README.md +36 -0
- package/stream-api/node_modules/wrappy/package.json +29 -0
- package/stream-api/node_modules/wrappy/wrappy.js +33 -0
- package/stream-api/package-lock.json +985 -0
- package/stream-api/package.json +25 -0
- package/stream-api/tsconfig.json +10 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
+
|
|
4
|
+
name: Node.js CI
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [ "develop" ]
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "develop" ]
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
|
|
20
|
+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
25
|
+
uses: actions/setup-node@v3
|
|
26
|
+
with:
|
|
27
|
+
node-version: ${{ matrix.node-version }}
|
|
28
|
+
cache: 'npm'
|
|
29
|
+
- run: npm ci
|
|
30
|
+
- run: npm run build --if-present
|
|
31
|
+
- run: npm test
|
package/stream-api/node_modules/short-uuid/.nyc_output/3a60ecc2-69fc-4d0a-81dd-ad79b6071e14.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/stream-api/node_modules/short-uuid/.nyc_output/3f261446-c11a-4630-b995-4f5dbc1395ef.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"/Users/samuelrouse/Documents/GitHub/short-uuid/index.js":{"path":"/Users/samuelrouse/Documents/GitHub/short-uuid/index.js","statementMap":{"0":{"start":{"line":6,"column":47},"end":{"line":6,"column":62}},"1":{"start":{"line":7,"column":16},"end":{"line":7,"column":35}},"2":{"start":{"line":9,"column":18},"end":{"line":13,"column":1}},"3":{"start":{"line":15,"column":20},"end":{"line":17,"column":1}},"4":{"start":{"line":29,"column":20},"end":{"line":38,"column":1}},"5":{"start":{"line":30,"column":21},"end":{"line":30,"column":71}},"6":{"start":{"line":32,"column":2},"end":{"line":32,"column":75}},"7":{"start":{"line":32,"column":57},"end":{"line":32,"column":75}},"8":{"start":{"line":34,"column":2},"end":{"line":37,"column":4}},"9":{"start":{"line":46,"column":20},"end":{"line":54,"column":1}},"10":{"start":{"line":47,"column":14},"end":{"line":47,"column":51}},"11":{"start":{"line":50,"column":12},"end":{"line":50,"column":61}},"12":{"start":{"line":53,"column":2},"end":{"line":53,"column":50}},"13":{"start":{"line":61,"column":25},"end":{"line":62,"column":59}},"14":{"start":{"line":62,"column":2},"end":{"line":62,"column":58}},"15":{"start":{"line":64,"column":0},"end":{"line":157,"column":5}},"16":{"start":{"line":78,"column":24},"end":{"line":139,"column":3}},"17":{"start":{"line":80,"column":24},"end":{"line":80,"column":60}},"18":{"start":{"line":83,"column":28},"end":{"line":83,"column":58}},"19":{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},"20":{"start":{"line":87,"column":6},"end":{"line":87,"column":104}},"21":{"start":{"line":90,"column":26},"end":{"line":90,"column":62}},"22":{"start":{"line":93,"column":26},"end":{"line":97,"column":5}},"23":{"start":{"line":100,"column":20},"end":{"line":100,"column":53}},"24":{"start":{"line":101,"column":18},"end":{"line":101,"column":51}},"25":{"start":{"line":105,"column":21},"end":{"line":105,"column":72}},"26":{"start":{"line":105,"column":27},"end":{"line":105,"column":72}},"27":{"start":{"line":115,"column":21},"end":{"line":123,"column":5}},"28":{"start":{"line":116,"column":6},"end":{"line":116,"column":64}},"29":{"start":{"line":116,"column":51},"end":{"line":116,"column":64}},"30":{"start":{"line":117,"column":30},"end":{"line":119,"column":41}},"31":{"start":{"line":120,"column":27},"end":{"line":120,"column":92}},"32":{"start":{"line":120,"column":63},"end":{"line":120,"column":91}},"33":{"start":{"line":121,"column":6},"end":{"line":121,"column":69}},"34":{"start":{"line":121,"column":30},"end":{"line":121,"column":69}},"35":{"start":{"line":122,"column":6},"end":{"line":122,"column":90}},"36":{"start":{"line":125,"column":23},"end":{"line":134,"column":5}},"37":{"start":{"line":127,"column":26},"end":{"line":127,"column":67}},"38":{"start":{"line":131,"column":29},"end":{"line":131,"column":58}},"39":{"start":{"line":136,"column":4},"end":{"line":136,"column":30}},"40":{"start":{"line":138,"column":4},"end":{"line":138,"column":22}},"41":{"start":{"line":142,"column":2},"end":{"line":142,"column":38}},"42":{"start":{"line":145,"column":2},"end":{"line":145,"column":30}},"43":{"start":{"line":148,"column":2},"end":{"line":154,"column":4}},"44":{"start":{"line":149,"column":4},"end":{"line":152,"column":5}},"45":{"start":{"line":151,"column":6},"end":{"line":151,"column":64}},"46":{"start":{"line":153,"column":4},"end":{"line":153,"column":22}},"47":{"start":{"line":156,"column":2},"end":{"line":156,"column":23}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":29,"column":20},"end":{"line":29,"column":21}},"loc":{"start":{"line":29,"column":59},"end":{"line":38,"column":1}},"line":29},"1":{"name":"(anonymous_1)","decl":{"start":{"line":46,"column":20},"end":{"line":46,"column":21}},"loc":{"start":{"line":46,"column":45},"end":{"line":54,"column":1}},"line":46},"2":{"name":"(anonymous_2)","decl":{"start":{"line":61,"column":25},"end":{"line":61,"column":26}},"loc":{"start":{"line":62,"column":2},"end":{"line":62,"column":58}},"line":62},"3":{"name":"(anonymous_3)","decl":{"start":{"line":64,"column":18},"end":{"line":64,"column":19}},"loc":{"start":{"line":64,"column":24},"end":{"line":157,"column":1}},"line":64},"4":{"name":"(anonymous_4)","decl":{"start":{"line":78,"column":24},"end":{"line":78,"column":25}},"loc":{"start":{"line":78,"column":49},"end":{"line":139,"column":3}},"line":78},"5":{"name":"(anonymous_5)","decl":{"start":{"line":105,"column":21},"end":{"line":105,"column":22}},"loc":{"start":{"line":105,"column":27},"end":{"line":105,"column":72}},"line":105},"6":{"name":"(anonymous_6)","decl":{"start":{"line":115,"column":21},"end":{"line":115,"column":22}},"loc":{"start":{"line":115,"column":52},"end":{"line":123,"column":5}},"line":115},"7":{"name":"(anonymous_7)","decl":{"start":{"line":120,"column":51},"end":{"line":120,"column":52}},"loc":{"start":{"line":120,"column":63},"end":{"line":120,"column":91}},"line":120},"8":{"name":"(anonymous_8)","decl":{"start":{"line":127,"column":16},"end":{"line":127,"column":17}},"loc":{"start":{"line":127,"column":26},"end":{"line":127,"column":67}},"line":127},"9":{"name":"(anonymous_9)","decl":{"start":{"line":131,"column":14},"end":{"line":131,"column":15}},"loc":{"start":{"line":131,"column":29},"end":{"line":131,"column":58}},"line":131},"10":{"name":"(anonymous_10)","decl":{"start":{"line":148,"column":27},"end":{"line":148,"column":28}},"loc":{"start":{"line":148,"column":33},"end":{"line":154,"column":3}},"line":148}},"branchMap":{"0":{"loc":{"start":{"line":32,"column":2},"end":{"line":32,"column":75}},"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":75}},{"start":{"line":32,"column":2},"end":{"line":32,"column":75}}],"line":32},"1":{"loc":{"start":{"line":32,"column":6},"end":{"line":32,"column":55}},"type":"binary-expr","locations":[{"start":{"line":32,"column":6},"end":{"line":32,"column":20}},{"start":{"line":32,"column":24},"end":{"line":32,"column":55}}],"line":32},"2":{"loc":{"start":{"line":80,"column":24},"end":{"line":80,"column":60}},"type":"binary-expr","locations":[{"start":{"line":80,"column":24},"end":{"line":80,"column":34}},{"start":{"line":80,"column":38},"end":{"line":80,"column":60}}],"line":80},"3":{"loc":{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},"type":"if","locations":[{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},{"start":{"line":86,"column":4},"end":{"line":88,"column":5}}],"line":86},"4":{"loc":{"start":{"line":115,"column":31},"end":{"line":115,"column":47}},"type":"default-arg","locations":[{"start":{"line":115,"column":42},"end":{"line":115,"column":47}}],"line":115},"5":{"loc":{"start":{"line":116,"column":6},"end":{"line":116,"column":64}},"type":"if","locations":[{"start":{"line":116,"column":6},"end":{"line":116,"column":64}},{"start":{"line":116,"column":6},"end":{"line":116,"column":64}}],"line":116},"6":{"loc":{"start":{"line":116,"column":10},"end":{"line":116,"column":49}},"type":"binary-expr","locations":[{"start":{"line":116,"column":10},"end":{"line":116,"column":18}},{"start":{"line":116,"column":22},"end":{"line":116,"column":49}}],"line":116},"7":{"loc":{"start":{"line":117,"column":30},"end":{"line":119,"column":41}},"type":"cond-expr","locations":[{"start":{"line":118,"column":10},"end":{"line":118,"column":42}},{"start":{"line":119,"column":10},"end":{"line":119,"column":41}}],"line":117},"8":{"loc":{"start":{"line":121,"column":6},"end":{"line":121,"column":69}},"type":"if","locations":[{"start":{"line":121,"column":6},"end":{"line":121,"column":69}},{"start":{"line":121,"column":6},"end":{"line":121,"column":69}}],"line":121},"9":{"loc":{"start":{"line":121,"column":37},"end":{"line":121,"column":68}},"type":"binary-expr","locations":[{"start":{"line":121,"column":37},"end":{"line":121,"column":52}},{"start":{"line":121,"column":56},"end":{"line":121,"column":68}}],"line":121},"10":{"loc":{"start":{"line":122,"column":13},"end":{"line":122,"column":89}},"type":"binary-expr","locations":[{"start":{"line":122,"column":13},"end":{"line":122,"column":28}},{"start":{"line":122,"column":32},"end":{"line":122,"column":44}},{"start":{"line":122,"column":48},"end":{"line":122,"column":89}}],"line":122},"11":{"loc":{"start":{"line":149,"column":4},"end":{"line":152,"column":5}},"type":"if","locations":[{"start":{"line":149,"column":4},"end":{"line":152,"column":5}},{"start":{"line":149,"column":4},"end":{"line":152,"column":5}}],"line":149}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":10132,"6":10132,"7":2,"8":10130,"9":1,"10":104,"11":104,"12":104,"13":1,"14":13,"15":1,"16":1,"17":14,"18":14,"19":14,"20":1,"21":13,"22":13,"23":13,"24":13,"25":13,"26":10010,"27":13,"28":25,"29":1,"30":24,"31":24,"32":283,"33":24,"34":18,"35":6,"36":13,"37":122,"38":101,"39":13,"40":13,"41":1,"42":1,"43":1,"44":10002,"45":1,"46":10002,"47":1},"f":{"0":10132,"1":104,"2":13,"3":1,"4":14,"5":10010,"6":25,"7":283,"8":122,"9":101,"10":10002},"b":{"0":[2,10130],"1":[10132,10132],"2":[14,1],"3":[1,13],"4":[19],"5":[1,24],"6":[25,25],"7":[21,3],"8":[18,6],"9":[18,9],"10":[6,3,3],"11":[1,10001]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"7456a7914dda16180b5fc416cb453b4e568d7d56","contentHash":"b60e11a8eee785bc3cb42ba2045f28af20f6933aa700d2502c0d23b8460feb57"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":2871,"argv":["/Users/samuelrouse/.nvm/versions/node/v14.15.0/bin/node","/Users/samuelrouse/.nvm/versions/node/v14.15.0/bin/npm","run","test"],"execArgv":[],"cwd":"/Users/samuelrouse/Documents/GitHub/short-uuid","time":1714622464360,"ppid":2870,"coverageFilename":"/Users/samuelrouse/Documents/GitHub/short-uuid/.nyc_output/3a60ecc2-69fc-4d0a-81dd-ad79b6071e14.json","externalId":"","uuid":"3a60ecc2-69fc-4d0a-81dd-ad79b6071e14","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":"3a60ecc2-69fc-4d0a-81dd-ad79b6071e14","pid":2872,"argv":["/Users/samuelrouse/.nvm/versions/node/v14.15.0/bin/node","/Users/samuelrouse/.nvm/versions/node/v14.15.0/bin/npx","tape","test/**/*.js"],"execArgv":[],"cwd":"/Users/samuelrouse/Documents/GitHub/short-uuid","time":1714622464696,"ppid":2871,"coverageFilename":"/Users/samuelrouse/Documents/GitHub/short-uuid/.nyc_output/3f261446-c11a-4630-b995-4f5dbc1395ef.json","externalId":"","uuid":"3f261446-c11a-4630-b995-4f5dbc1395ef","files":["/Users/samuelrouse/Documents/GitHub/short-uuid/index.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"processes":{"3a60ecc2-69fc-4d0a-81dd-ad79b6071e14":{"parent":null,"children":["3f261446-c11a-4630-b995-4f5dbc1395ef"]},"3f261446-c11a-4630-b995-4f5dbc1395ef":{"parent":"3a60ecc2-69fc-4d0a-81dd-ad79b6071e14","children":[]}},"files":{"/Users/samuelrouse/Documents/GitHub/short-uuid/index.js":["3f261446-c11a-4630-b995-4f5dbc1395ef"]},"externalIds":{}}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
All notable changes to this project will be documented in this file.
|
|
3
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
|
+
|
|
5
|
+
## [5.2.0] - 2024-05-01
|
|
6
|
+
### Added
|
|
7
|
+
- `validate` method to check shortIds for simple or "complete" validity
|
|
8
|
+
|
|
9
|
+
## [5.1.0] - 2024-04-30
|
|
10
|
+
### Added
|
|
11
|
+
- `uuid25Base36` constant to support uuid25 style
|
|
12
|
+
|
|
13
|
+
## [5.0.1] - 2024-04-30
|
|
14
|
+
### Changed
|
|
15
|
+
- Updated `engines` in `package.json` to reflect correct support (Node >=14)
|
|
16
|
+
|
|
17
|
+
## [5.0.0] - 2024-04-29
|
|
18
|
+
### MAJOR CHANGES
|
|
19
|
+
- 🛑 5.0.0 drops support for Node 10 and 12
|
|
20
|
+
- ℹ️ 5.x will be quickly succeeded by 6.0 which will drop Node 14.x and 16.x support
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- UUID version to 9.0.1
|
|
24
|
+
- Dropped support for Node prior to 14.x
|
|
25
|
+
- Updated GitHub Actions to test Node 14.x-22.x
|
|
26
|
+
|
|
27
|
+
## [4.2.2] - 2022-10-18
|
|
28
|
+
### Changed
|
|
29
|
+
- Updated README
|
|
30
|
+
|
|
31
|
+
## [4.2.1] - 2022-10-18
|
|
32
|
+
### Added
|
|
33
|
+
- GitHub Actions
|
|
34
|
+
- Testing to Node 16.x and 18.x
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
- npm audit updated dependencies
|
|
38
|
+
|
|
39
|
+
### Removed
|
|
40
|
+
- Travis-CI integration
|
|
41
|
+
- Snyk.io integration
|
|
42
|
+
|
|
43
|
+
## [4.2.0] - 2021-05-13
|
|
44
|
+
### Added
|
|
45
|
+
- maxLength property to TypeScript definitions
|
|
46
|
+
- UUID types to TypeScript definitions
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
- UUID version to 8.3.2
|
|
50
|
+
- Updated dev dependencies
|
|
51
|
+
|
|
52
|
+
## [4.1.0] - 2020-09-07
|
|
53
|
+
### Added
|
|
54
|
+
- maxLength property to translators
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
- Translator objects are now frozen
|
|
58
|
+
|
|
59
|
+
## [4.0.3] - 2020-09-07
|
|
60
|
+
### Changed
|
|
61
|
+
- Fixed default generate length inconsistency identified by [thadeucity](https://github.com/thadeucity)
|
|
62
|
+
- Added additional test
|
|
63
|
+
|
|
64
|
+
## [4.0.2] - 2020-09-07
|
|
65
|
+
### Changed
|
|
66
|
+
- No code changes
|
|
67
|
+
- Eslint cleanup
|
|
68
|
+
- Test cleanup based on CodeClimate
|
|
69
|
+
- Updated bad links and formatting in [README.md]
|
|
70
|
+
|
|
71
|
+
## [4.0.1] - 2020-09-06
|
|
72
|
+
### Changed
|
|
73
|
+
- Fixed default `.generate()` to use padStart correctly.
|
|
74
|
+
|
|
75
|
+
## [4.0.0] - 2020-09-06 (Unreleased)
|
|
76
|
+
### MAJOR CHANGES
|
|
77
|
+
- 🛑 short-uuid will now throw an error when provided an alphabet with duplicate characters. Duplicate characters will cause translation errors.
|
|
78
|
+
- ℹ️ 4.0.0 is written in modern ECMAScript. It uses features through ES9/ES2018.
|
|
79
|
+
- ℹ️ 4.x does not yet include the pre-built version for browsers. If needed, continue to use 3.1.1 in the meantime.
|
|
80
|
+
- ℹ️ By default, short-uuid will pad shortened IDs to a consistent length.
|
|
81
|
+
- Padding does not affect translation, and the values are compatible with previous releases.
|
|
82
|
+
- Padding can be disabled with the option `consistentLength: false` when instantiating a translator. This is consistent with previous versions.
|
|
83
|
+
|
|
84
|
+
### Added
|
|
85
|
+
- eslint rules
|
|
86
|
+
- tape testing library
|
|
87
|
+
|
|
88
|
+
### Changed
|
|
89
|
+
- Merged PR #44 from [qgerome](https://github.com/qgerome) to fix uuid version deprecation
|
|
90
|
+
- Merged PR #47 from [thadeucity](https://github.com/thadeucity) to resolve #39 for consistent length
|
|
91
|
+
- Switched tests to tape
|
|
92
|
+
- Updated to ES6
|
|
93
|
+
- Switched from Greenkeeper to Snyk.io
|
|
94
|
+
- Dropped support for Node prior to 8.x
|
|
95
|
+
- Updated link to uuid repo in Notes in [README.md]
|
|
96
|
+
|
|
97
|
+
### Removed
|
|
98
|
+
- Removed browserify, grunt, & mocha
|
|
99
|
+
- Removed built version for browser
|
|
100
|
+
|
|
101
|
+
## [3.1.1] - 2019-05-01
|
|
102
|
+
### Changed
|
|
103
|
+
- Updated dev packages to replace istanbul with nyc
|
|
104
|
+
- Updated [gruntfile.js] for nyc
|
|
105
|
+
- Updated [.gitignore] for nyc
|
|
106
|
+
- Removed Node 4.x build in [.travis.yml]
|
|
107
|
+
- Included Node 12.x build in [.travis.yml]
|
|
108
|
+
- Dropped Node 4.x build due to nested build dependencies
|
|
109
|
+
|
|
110
|
+
## [3.1.0] - 2018-12-08
|
|
111
|
+
### Changed
|
|
112
|
+
- Updated dev packages for vulnerability fixes
|
|
113
|
+
- Added top-level `generate` in [index.js]
|
|
114
|
+
- Added `generate` alias on translators in [index.js]
|
|
115
|
+
- Added tests for `generate`
|
|
116
|
+
- Updated [index.d.ts] definitions
|
|
117
|
+
- Update [README.md] to help clarify the functionality
|
|
118
|
+
|
|
119
|
+
## [3.0.1] - 2018-10-18
|
|
120
|
+
### Changed
|
|
121
|
+
- Build dependencies update
|
|
122
|
+
|
|
123
|
+
## [3.0.0] - 2018-03-24
|
|
124
|
+
### Changed
|
|
125
|
+
- Refactored export in [gruntfile.js] for CodeClimate
|
|
126
|
+
- Refactored export in [index.js] for CodeClimate
|
|
127
|
+
- Updated dependencies - all patch or minor
|
|
128
|
+
- Updated Mocha devDependency - Major version update
|
|
129
|
+
- Updated other devDependencies - all patch or minor
|
|
130
|
+
- Dropped build support for Node 0.10 and 0.12 due to nested build dependencies
|
|
131
|
+
|
|
132
|
+
## [2.3.4] - 2017-08-08
|
|
133
|
+
### Changed
|
|
134
|
+
- Corrected shortenUUID function in [index.js]
|
|
135
|
+
- Added test cases for uppercase in [test/index.js]
|
|
136
|
+
- Added 2.3.4 fix notes in [README.md]
|
|
137
|
+
- Refactored "random" test cases so only the assertions loop in [test/index.js]
|
|
138
|
+
- Updated devDependencies for codeclimate-test-reporter in [package.json]
|
|
139
|
+
- Included Node 8.x support in [.travis.yml]
|
|
140
|
+
|
|
141
|
+
## [2.3.3] - 2017-05-22
|
|
142
|
+
### Changed
|
|
143
|
+
- Changed [.npmignore] To remove dist, so the built files end up on the package. No code changes.
|
|
144
|
+
|
|
145
|
+
## [2.3.2] - 2017-05-16
|
|
146
|
+
### Added
|
|
147
|
+
- Added [index.d.ts] TypeScript definitions. No code changes.
|
|
148
|
+
|
|
149
|
+
### Changed
|
|
150
|
+
- Changed [package.json] to reference TypeScript definitions
|
|
151
|
+
|
|
152
|
+
## [2.3.1] - 2017-05-14
|
|
153
|
+
### Changed
|
|
154
|
+
- Merged 2.1.x revision history in [README.md] and [revisions.md]. No code changes.
|
|
155
|
+
|
|
156
|
+
## [2.3.0] - 2017-05-14
|
|
157
|
+
### Changed
|
|
158
|
+
- Moved Snyk to devDependencies in [package.json]
|
|
159
|
+
- Updated devDependencies grunt-contrib-uglify
|
|
160
|
+
- Corrected Snyk spelling error in [README.md]
|
|
161
|
+
|
|
162
|
+
## [2.2.0] - 2016-11-30
|
|
163
|
+
### Added
|
|
164
|
+
- Added Snyk vulnerability monitoring and patching
|
|
165
|
+
|
|
166
|
+
### Changed
|
|
167
|
+
- Updated devDependencies and added Snyk scripts to [package.json]
|
|
168
|
+
|
|
169
|
+
## [2.1.4] - 2017-05-14
|
|
170
|
+
### Changed
|
|
171
|
+
- Correction of unpublish to deprecate. No code changes.
|
|
172
|
+
- Updated [README.md], versions.
|
|
173
|
+
|
|
174
|
+
## [2.1.3] - 2017-05-14
|
|
175
|
+
### Changed
|
|
176
|
+
- Correction of bad npm publish. No code changes.
|
|
177
|
+
- Updated [README.md], versions.
|
|
178
|
+
|
|
179
|
+
## [2.1.2] - 2016-11-30
|
|
180
|
+
### Changed
|
|
181
|
+
- Updated from `node-uuid` to `uuid`, per the author
|
|
182
|
+
- Switched to using only `uuid/v4` for a smaller footprint
|
|
183
|
+
|
|
184
|
+
## [2.1.1] - 2016-11-13
|
|
185
|
+
### Added
|
|
186
|
+
- Add dist files to npm package
|
|
187
|
+
|
|
188
|
+
### Changed
|
|
189
|
+
- Add files list to [package.json]
|
|
190
|
+
|
|
191
|
+
## [2.1.0] - 2016-11-06
|
|
192
|
+
### Added
|
|
193
|
+
- Add browser support with Browserify as proposed by [voronianski](https://github.com/voronianski)
|
|
194
|
+
- Include `grunt-mkdir` to support build process
|
|
195
|
+
- Include `grunt-browserify` to support build process
|
|
196
|
+
- Include `grunt-contrib-uglify` to support build process
|
|
197
|
+
- Add example/index.html for Browserify demo
|
|
198
|
+
- Add various dotfiles for CodeClimate configs
|
|
199
|
+
|
|
200
|
+
### Changed
|
|
201
|
+
- Add to [gruntfile.js] for new modules
|
|
202
|
+
- Add to [package.json] for build command
|
|
203
|
+
- Add dist folder to [.gitignore]
|
|
204
|
+
- Update [revisions.md]
|
|
205
|
+
- Update [README.md] with Browserify details
|
|
206
|
+
|
|
207
|
+
## [2.0.0] - 2016-06-19
|
|
208
|
+
### Added
|
|
209
|
+
- Include `node-uuid` so we can generate our own UUIDs.
|
|
210
|
+
- Add `.new()` to the translator object to generate a translated v4 UUID.
|
|
211
|
+
- Add `.alphabet` to the translator object so you can inspect the alphabet.
|
|
212
|
+
- Expose `.uuid()` for v4 UUID generation on the export *and* on each translator, for convenience.
|
|
213
|
+
- Added this change log.
|
|
214
|
+
- Added [revisions.md] for tracking usage of old versions.
|
|
215
|
+
- Added tests for new UUID generation, defaults, and exposed alphabet.
|
|
216
|
+
|
|
217
|
+
### Changed
|
|
218
|
+
- Use a Constructor rather than needing to call .new() against the export.
|
|
219
|
+
- Default flickrBase58 alphabet if none is provided.
|
|
220
|
+
- Changed to IIFE for better minification.
|
|
221
|
+
- Changed tests for updated object format.
|
|
222
|
+
|
|
223
|
+
### Removed
|
|
224
|
+
- Remove the pre-built `.b58` library so we don't waste resources.
|
|
225
|
+
- Remove `.toHex()` and `.fromHex()` from the translators. Use `any-base` directly if needed.
|
|
226
|
+
|
|
227
|
+
## 1.0.0 - 2016-06-10
|
|
228
|
+
### Added
|
|
229
|
+
- Provide `.new()` to create a translator.
|
|
230
|
+
- Provide `.constants` for useful alphabets
|
|
231
|
+
- `flickrBase58` is meant to reduce human transcription errors
|
|
232
|
+
- `cookieBase90` provides the characters supported by cookies for the smallest cookie-safe UUIDs
|
|
233
|
+
- Provide `.fromUUID()` and `.toUUID()` from the translators.
|
|
234
|
+
- Provide `.toHex()` and `.fromHex()` from the translators.
|
|
235
|
+
- Provide the flickrBase58 translator by default as `.b58`
|
|
236
|
+
|
|
237
|
+
[2.0.0]: https://github.com/oculus42/short-uuid/compare/v1.0.0...v2.0.0
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Samuel Rouse
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# short-uuid
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/short-uuid)
|
|
4
|
+
[](https://codeclimate.com/github/oculus42/short-uuid)
|
|
5
|
+
[](https://codeclimate.com/github/oculus42/short-uuid/coverage)
|
|
6
|
+
|
|
7
|
+
Generate and translate standard UUIDs into shorter - or just *different* - formats and back.
|
|
8
|
+
|
|
9
|
+
## v5.2.0
|
|
10
|
+
5.2.0 adds `validate` method to check short IDs. Requested by [@U-4-E-A](https://github.com/U-4-E-A)
|
|
11
|
+
5.1.0 adds translation support for the [uuid25](https://github.com/uuid25/javascript) (Base36) format
|
|
12
|
+
with the `uuid25Base36` constant.
|
|
13
|
+
|
|
14
|
+
### Major Changes in 5.0.0
|
|
15
|
+
- 🛑 5.0.0 drops support for Node 10 and 12.
|
|
16
|
+
|
|
17
|
+
### Quick Start
|
|
18
|
+
|
|
19
|
+
```javascript
|
|
20
|
+
const short = require('short-uuid');
|
|
21
|
+
|
|
22
|
+
// Quick start with flickrBase58 format
|
|
23
|
+
short.generate(); // '73WakrfVbNJBaAmhQtEeDv'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Details
|
|
27
|
+
|
|
28
|
+
short-uuid starts with RFC4122 v4-compliant UUIDs and translates them
|
|
29
|
+
into other, usually shorter formats. It also provides translators
|
|
30
|
+
to convert back and forth from RFC compliant UUIDs to the shorter formats,
|
|
31
|
+
and validate the IDs.
|
|
32
|
+
|
|
33
|
+
As of 4.0.0, formats return consistent-length values unless specifically requested.
|
|
34
|
+
This is done by padding the start with the first (`[0]`) character in the alphabet.
|
|
35
|
+
Previous versions can translate padded formats back to UUID.
|
|
36
|
+
|
|
37
|
+
```javascript
|
|
38
|
+
const short = require('short-uuid');
|
|
39
|
+
|
|
40
|
+
// Generate a flickrBase58 short ID from without creating a translator
|
|
41
|
+
const shortId = short.generate();
|
|
42
|
+
|
|
43
|
+
const translator = short(); // Defaults to flickrBase58
|
|
44
|
+
const decimalTranslator = short("0123456789"); // Provide a specific alphabet for translation
|
|
45
|
+
const cookieTranslator = short(short.constants.cookieBase90); // Use a constant for translation
|
|
46
|
+
|
|
47
|
+
// Generate a shortened v4 UUID
|
|
48
|
+
translator.new(); // mhvXdrZT4jP5T8vBxuvm75
|
|
49
|
+
translator.generate(); // An alias for new.
|
|
50
|
+
|
|
51
|
+
// Translate UUIDs to and from the shortened format
|
|
52
|
+
translator.toUUID(shortId); // a44521d0-0fb8-4ade-8002-3385545c3318
|
|
53
|
+
translator.fromUUID(regularUUID); // mhvXdrZT4jP5T8vBxuvm75
|
|
54
|
+
|
|
55
|
+
// Check if a string is a valid ID (length and alphabet)
|
|
56
|
+
translator.validate(shortId); // true
|
|
57
|
+
|
|
58
|
+
// Check if a string is valid *AND* translates to a valid UUID
|
|
59
|
+
translator.validate(shortId, true); // true
|
|
60
|
+
translator.validate('0000000000000000000000', true) // false
|
|
61
|
+
|
|
62
|
+
// See the alphabet used by a translator
|
|
63
|
+
translator.alphabet;
|
|
64
|
+
|
|
65
|
+
// The maximum length a translated uuid will be with its alphabet.
|
|
66
|
+
// if consistentLength is set (on by default), so ids will be this length.
|
|
67
|
+
translator.maxLength;
|
|
68
|
+
|
|
69
|
+
// View the constants
|
|
70
|
+
short.constants.cookieBase90; // Safe for HTTP cookies values for smaller IDs.
|
|
71
|
+
short.constants.flickrBase58; // Avoids similar characters (0/O, 1/I/l, etc.)
|
|
72
|
+
short.constants.uuid25Base36; // The uuid25 (string length 25) format
|
|
73
|
+
|
|
74
|
+
// Generate plain UUIDs
|
|
75
|
+
// - From the library without creating a translator
|
|
76
|
+
short.uuid(); // fd5c084c-ff7c-4651-9a52-37096242d81c
|
|
77
|
+
// - Each translator provides the uuid.v4() function, too
|
|
78
|
+
translator.uuid(); // 3023b0f5-ec55-4e75-9cd8-104700698052
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Options
|
|
82
|
+
|
|
83
|
+
short-uuid 4.0.0 added support for options when creating a translator.
|
|
84
|
+
This may support additional configuration in the future.
|
|
85
|
+
|
|
86
|
+
```javascript
|
|
87
|
+
const short = require('short-uuid');
|
|
88
|
+
|
|
89
|
+
// By default shortened values are now padded for consistent length.
|
|
90
|
+
// If you want to produce variable lengths, like in 3.1.1
|
|
91
|
+
const translator = short(short.constants.flickrBase58, {
|
|
92
|
+
consistentLength: false,
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
// Generate a shortened v4 UUID
|
|
96
|
+
translator.new(); // mhvXdrZT4jP5T8vBxuvm75
|
|
97
|
+
```
|
|
98
|
+
* `consistentLength` - Controls padding on shortened values. Default is `true`.
|
|
99
|
+
|
|
100
|
+
## Support
|
|
101
|
+
|
|
102
|
+
short-uuid [5.x](https://github.com/oculus42/short-uuid/blob/v5.2.0/README.md)
|
|
103
|
+
and later is tested on Node 14.x and later.
|
|
104
|
+
|
|
105
|
+
short-uuid [4.x](https://github.com/oculus42/short-uuid/blob/v4.2.2/README.md)
|
|
106
|
+
was tested on Node 8.x to 18.x
|
|
107
|
+
|
|
108
|
+
short-uuid [3.x](https://github.com/oculus42/short-uuid/blob/v3.1.1/README.md)
|
|
109
|
+
and lower was confirmed to work on Node 6.x to 12.x,
|
|
110
|
+
and offered a precompiled browser library proposed
|
|
111
|
+
by [voronianski](https://github.com/voronianski).
|
|
112
|
+
|
|
113
|
+
## Notes
|
|
114
|
+
|
|
115
|
+
short-uuid provides RFC4122 v4-compliant UUIDs,
|
|
116
|
+
thanks to [`uuid`](https://github.com/uuidjs/uuid).
|
|
117
|
+
|
|
118
|
+
TypeScript definitions are included, thanks to
|
|
119
|
+
[alexturek](https://github.com/alexturek).
|
|
120
|
+
|
|
121
|
+
## Previous Release Note Highlights
|
|
122
|
+
5.0.0 drops support for Node 12 and below.
|
|
123
|
+
4.1.0 adds a maxLength value to translators for reference
|
|
124
|
+
4.0.1 adds consistent length translation and throws an error if provided an invalid alphabet.
|
|
125
|
+
3.1.1 removed Node 4.x tests. Last included Browserify distribution.
|
|
126
|
+
2.3.4 corrects the behavior for UUIDs with uppercase letters. Last version to build on Node 0.x.
|
|
127
|
+
|
|
128
|
+
Please see [Revisions](revisions.md) for information on previous versions.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare module 'short-uuid' {
|
|
2
|
+
interface Options{
|
|
3
|
+
consistentLength?: boolean;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
function shortUUID(alphabet?: string, options?:Options): shortUUID.Translator;
|
|
7
|
+
|
|
8
|
+
namespace shortUUID {
|
|
9
|
+
export const constants: {
|
|
10
|
+
cookieBase90: string;
|
|
11
|
+
flickrBase58: string;
|
|
12
|
+
uuid25Base36: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type UUID = string & { _guidBrand: 'uuid' };
|
|
16
|
+
export type SUUID = string & { _guidBrand: 'short-uuid' };
|
|
17
|
+
|
|
18
|
+
/** Generate a new regular UUID. */
|
|
19
|
+
export function uuid(): UUID;
|
|
20
|
+
|
|
21
|
+
/** Generate a base 58 short uuid */
|
|
22
|
+
export function generate(): SUUID;
|
|
23
|
+
|
|
24
|
+
export interface Translator {
|
|
25
|
+
/** The alphabet used for encoding UUIDs. */
|
|
26
|
+
alphabet: string;
|
|
27
|
+
/** Maximum length in characters of a short ID using this Translator */
|
|
28
|
+
maxLength: number;
|
|
29
|
+
|
|
30
|
+
/** Generate a new short UUID using this translator's alphabet. */
|
|
31
|
+
new: () => SUUID;
|
|
32
|
+
|
|
33
|
+
/** Generate a new short UUID using this translator's alphabet. */
|
|
34
|
+
generate: () => SUUID;
|
|
35
|
+
|
|
36
|
+
/** Generate a new regular UUID. */
|
|
37
|
+
uuid(): UUID;
|
|
38
|
+
|
|
39
|
+
/** short -> long */
|
|
40
|
+
toUUID(shortId: string | SUUID): UUID;
|
|
41
|
+
|
|
42
|
+
/** long -> short */
|
|
43
|
+
fromUUID(regularUUID: string | UUID): SUUID;
|
|
44
|
+
|
|
45
|
+
/** validate short */
|
|
46
|
+
validate(shortId: string | SUUID, rigorous?: boolean): boolean;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export = shortUUID;
|
|
51
|
+
}
|