bmdl-sdk 2.0.39 → 2.0.41
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/compiler/compile.js +57 -0
- package/compiler/node_modules/.bin/esbuild +15 -0
- package/compiler/node_modules/.bin/esbuild.cmd +7 -0
- package/compiler/node_modules/.bin/nodemon +15 -0
- package/compiler/node_modules/.bin/nodemon.cmd +7 -0
- package/compiler/node_modules/.bin/nodetouch +15 -0
- package/compiler/node_modules/.bin/nodetouch.cmd +7 -0
- package/compiler/node_modules/.bin/semver +15 -0
- package/compiler/node_modules/.bin/semver.cmd +7 -0
- package/compiler/node_modules/.yarn-integrity +161 -0
- package/compiler/node_modules/@esbuild/win32-x64/README.md +3 -0
- package/compiler/node_modules/@esbuild/win32-x64/esbuild.exe +0 -0
- package/compiler/node_modules/@esbuild/win32-x64/package.json +20 -0
- package/compiler/node_modules/accepts/HISTORY.md +250 -0
- package/compiler/node_modules/accepts/LICENSE +23 -0
- package/compiler/node_modules/accepts/README.md +140 -0
- package/compiler/node_modules/accepts/index.js +238 -0
- package/compiler/node_modules/accepts/package.json +47 -0
- package/compiler/node_modules/anymatch/LICENSE +15 -0
- package/compiler/node_modules/anymatch/README.md +87 -0
- package/compiler/node_modules/anymatch/index.d.ts +20 -0
- package/compiler/node_modules/anymatch/index.js +104 -0
- package/compiler/node_modules/anymatch/package.json +48 -0
- package/compiler/node_modules/balanced-match/LICENSE.md +23 -0
- package/compiler/node_modules/balanced-match/README.md +57 -0
- package/compiler/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/compiler/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/compiler/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/compiler/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/compiler/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/compiler/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/compiler/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/compiler/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/compiler/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/compiler/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/compiler/node_modules/balanced-match/package.json +68 -0
- package/compiler/node_modules/binary-extensions/binary-extensions.json +263 -0
- package/compiler/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/compiler/node_modules/binary-extensions/index.d.ts +14 -0
- package/compiler/node_modules/binary-extensions/index.js +1 -0
- package/compiler/node_modules/binary-extensions/license +10 -0
- package/compiler/node_modules/binary-extensions/package.json +40 -0
- package/compiler/node_modules/binary-extensions/readme.md +25 -0
- package/compiler/node_modules/body-parser/LICENSE +23 -0
- package/compiler/node_modules/body-parser/README.md +509 -0
- package/compiler/node_modules/body-parser/index.js +55 -0
- package/compiler/node_modules/body-parser/lib/read.js +247 -0
- package/compiler/node_modules/body-parser/lib/types/json.js +186 -0
- package/compiler/node_modules/body-parser/lib/types/raw.js +42 -0
- package/compiler/node_modules/body-parser/lib/types/text.js +36 -0
- package/compiler/node_modules/body-parser/lib/types/urlencoded.js +138 -0
- package/compiler/node_modules/body-parser/lib/utils.js +100 -0
- package/compiler/node_modules/body-parser/package.json +65 -0
- package/compiler/node_modules/brace-expansion/LICENSE +23 -0
- package/compiler/node_modules/brace-expansion/README.md +94 -0
- package/compiler/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/compiler/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/compiler/node_modules/brace-expansion/dist/commonjs/index.js +211 -0
- package/compiler/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/compiler/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/compiler/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/compiler/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/compiler/node_modules/brace-expansion/dist/esm/index.js +207 -0
- package/compiler/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/compiler/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/compiler/node_modules/brace-expansion/package.json +64 -0
- package/compiler/node_modules/braces/LICENSE +21 -0
- package/compiler/node_modules/braces/README.md +586 -0
- package/compiler/node_modules/braces/index.js +170 -0
- package/compiler/node_modules/braces/lib/compile.js +60 -0
- package/compiler/node_modules/braces/lib/constants.js +57 -0
- package/compiler/node_modules/braces/lib/expand.js +113 -0
- package/compiler/node_modules/braces/lib/parse.js +331 -0
- package/compiler/node_modules/braces/lib/stringify.js +32 -0
- package/compiler/node_modules/braces/lib/utils.js +122 -0
- package/compiler/node_modules/braces/package.json +77 -0
- package/compiler/node_modules/bytes/History.md +97 -0
- package/compiler/node_modules/bytes/LICENSE +23 -0
- package/compiler/node_modules/bytes/Readme.md +152 -0
- package/compiler/node_modules/bytes/index.js +170 -0
- package/compiler/node_modules/bytes/package.json +42 -0
- package/compiler/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/compiler/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/compiler/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/compiler/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/compiler/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/compiler/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/compiler/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/compiler/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/compiler/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/compiler/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/compiler/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/compiler/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/compiler/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/compiler/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/compiler/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/compiler/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/compiler/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/compiler/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/compiler/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/compiler/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/compiler/node_modules/call-bound/.eslintrc +13 -0
- package/compiler/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/call-bound/.nycrc +9 -0
- package/compiler/node_modules/call-bound/CHANGELOG.md +42 -0
- package/compiler/node_modules/call-bound/LICENSE +21 -0
- package/compiler/node_modules/call-bound/README.md +53 -0
- package/compiler/node_modules/call-bound/index.d.ts +94 -0
- package/compiler/node_modules/call-bound/index.js +19 -0
- package/compiler/node_modules/call-bound/package.json +99 -0
- package/compiler/node_modules/call-bound/test/index.js +61 -0
- package/compiler/node_modules/call-bound/tsconfig.json +10 -0
- package/compiler/node_modules/chokidar/LICENSE +21 -0
- package/compiler/node_modules/chokidar/README.md +308 -0
- package/compiler/node_modules/chokidar/index.js +973 -0
- package/compiler/node_modules/chokidar/lib/constants.js +66 -0
- package/compiler/node_modules/chokidar/lib/fsevents-handler.js +526 -0
- package/compiler/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/compiler/node_modules/chokidar/package.json +70 -0
- package/compiler/node_modules/chokidar/types/index.d.ts +192 -0
- package/compiler/node_modules/content-disposition/LICENSE +22 -0
- package/compiler/node_modules/content-disposition/README.md +141 -0
- package/compiler/node_modules/content-disposition/index.js +536 -0
- package/compiler/node_modules/content-disposition/package.json +40 -0
- package/compiler/node_modules/content-type/LICENSE +22 -0
- package/compiler/node_modules/content-type/README.md +69 -0
- package/compiler/node_modules/content-type/dist/index.d.ts +26 -0
- package/compiler/node_modules/content-type/dist/index.js +170 -0
- package/compiler/node_modules/content-type/dist/index.js.map +1 -0
- package/compiler/node_modules/content-type/package.json +52 -0
- package/compiler/node_modules/cookie/LICENSE +24 -0
- package/compiler/node_modules/cookie/README.md +317 -0
- package/compiler/node_modules/cookie/SECURITY.md +25 -0
- package/compiler/node_modules/cookie/index.js +335 -0
- package/compiler/node_modules/cookie/package.json +44 -0
- package/compiler/node_modules/cookie-signature/History.md +70 -0
- package/compiler/node_modules/cookie-signature/LICENSE +22 -0
- package/compiler/node_modules/cookie-signature/Readme.md +23 -0
- package/compiler/node_modules/cookie-signature/index.js +47 -0
- package/compiler/node_modules/cookie-signature/package.json +24 -0
- package/compiler/node_modules/cors/LICENSE +22 -0
- package/compiler/node_modules/cors/README.md +277 -0
- package/compiler/node_modules/cors/lib/index.js +238 -0
- package/compiler/node_modules/cors/package.json +42 -0
- package/compiler/node_modules/debug/LICENSE +20 -0
- package/compiler/node_modules/debug/README.md +481 -0
- package/compiler/node_modules/debug/package.json +64 -0
- package/compiler/node_modules/debug/src/browser.js +272 -0
- package/compiler/node_modules/debug/src/common.js +292 -0
- package/compiler/node_modules/debug/src/index.js +10 -0
- package/compiler/node_modules/debug/src/node.js +263 -0
- package/compiler/node_modules/depd/History.md +103 -0
- package/compiler/node_modules/depd/LICENSE +22 -0
- package/compiler/node_modules/depd/Readme.md +280 -0
- package/compiler/node_modules/depd/index.js +538 -0
- package/compiler/node_modules/depd/lib/browser/index.js +77 -0
- package/compiler/node_modules/depd/package.json +45 -0
- package/compiler/node_modules/dunder-proto/.eslintrc +5 -0
- package/compiler/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/dunder-proto/.nycrc +13 -0
- package/compiler/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/compiler/node_modules/dunder-proto/LICENSE +21 -0
- package/compiler/node_modules/dunder-proto/README.md +54 -0
- package/compiler/node_modules/dunder-proto/get.d.ts +5 -0
- package/compiler/node_modules/dunder-proto/get.js +30 -0
- package/compiler/node_modules/dunder-proto/package.json +76 -0
- package/compiler/node_modules/dunder-proto/set.d.ts +5 -0
- package/compiler/node_modules/dunder-proto/set.js +35 -0
- package/compiler/node_modules/dunder-proto/test/get.js +34 -0
- package/compiler/node_modules/dunder-proto/test/index.js +4 -0
- package/compiler/node_modules/dunder-proto/test/set.js +50 -0
- package/compiler/node_modules/dunder-proto/tsconfig.json +9 -0
- package/compiler/node_modules/ee-first/LICENSE +22 -0
- package/compiler/node_modules/ee-first/README.md +80 -0
- package/compiler/node_modules/ee-first/index.js +95 -0
- package/compiler/node_modules/ee-first/package.json +29 -0
- package/compiler/node_modules/encodeurl/LICENSE +22 -0
- package/compiler/node_modules/encodeurl/README.md +109 -0
- package/compiler/node_modules/encodeurl/index.js +60 -0
- package/compiler/node_modules/encodeurl/package.json +40 -0
- package/compiler/node_modules/es-define-property/.eslintrc +13 -0
- package/compiler/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/es-define-property/.nycrc +9 -0
- package/compiler/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/compiler/node_modules/es-define-property/LICENSE +21 -0
- package/compiler/node_modules/es-define-property/README.md +49 -0
- package/compiler/node_modules/es-define-property/index.d.ts +3 -0
- package/compiler/node_modules/es-define-property/index.js +14 -0
- package/compiler/node_modules/es-define-property/package.json +81 -0
- package/compiler/node_modules/es-define-property/test/index.js +56 -0
- package/compiler/node_modules/es-define-property/tsconfig.json +10 -0
- package/compiler/node_modules/es-errors/.eslintrc +5 -0
- package/compiler/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/es-errors/CHANGELOG.md +40 -0
- package/compiler/node_modules/es-errors/LICENSE +21 -0
- package/compiler/node_modules/es-errors/README.md +55 -0
- package/compiler/node_modules/es-errors/eval.d.ts +3 -0
- package/compiler/node_modules/es-errors/eval.js +4 -0
- package/compiler/node_modules/es-errors/index.d.ts +3 -0
- package/compiler/node_modules/es-errors/index.js +4 -0
- package/compiler/node_modules/es-errors/package.json +80 -0
- package/compiler/node_modules/es-errors/range.d.ts +3 -0
- package/compiler/node_modules/es-errors/range.js +4 -0
- package/compiler/node_modules/es-errors/ref.d.ts +3 -0
- package/compiler/node_modules/es-errors/ref.js +4 -0
- package/compiler/node_modules/es-errors/syntax.d.ts +3 -0
- package/compiler/node_modules/es-errors/syntax.js +4 -0
- package/compiler/node_modules/es-errors/test/index.js +19 -0
- package/compiler/node_modules/es-errors/tsconfig.json +49 -0
- package/compiler/node_modules/es-errors/type.d.ts +3 -0
- package/compiler/node_modules/es-errors/type.js +4 -0
- package/compiler/node_modules/es-errors/uri.d.ts +3 -0
- package/compiler/node_modules/es-errors/uri.js +4 -0
- package/compiler/node_modules/es-object-atoms/.eslintrc +16 -0
- package/compiler/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/compiler/node_modules/es-object-atoms/LICENSE +21 -0
- package/compiler/node_modules/es-object-atoms/README.md +63 -0
- package/compiler/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/compiler/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/compiler/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/compiler/node_modules/es-object-atoms/ToObject.js +10 -0
- package/compiler/node_modules/es-object-atoms/index.d.ts +3 -0
- package/compiler/node_modules/es-object-atoms/index.js +4 -0
- package/compiler/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/compiler/node_modules/es-object-atoms/isObject.js +6 -0
- package/compiler/node_modules/es-object-atoms/package.json +79 -0
- package/compiler/node_modules/es-object-atoms/test/index.js +38 -0
- package/compiler/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/compiler/node_modules/esbuild/LICENSE.md +21 -0
- package/compiler/node_modules/esbuild/README.md +3 -0
- package/compiler/node_modules/esbuild/bin/esbuild +223 -0
- package/compiler/node_modules/esbuild/install.js +300 -0
- package/compiler/node_modules/esbuild/lib/main.d.ts +716 -0
- package/compiler/node_modules/esbuild/lib/main.js +2532 -0
- package/compiler/node_modules/esbuild/package.json +74 -0
- package/compiler/node_modules/escape-html/LICENSE +24 -0
- package/compiler/node_modules/escape-html/Readme.md +43 -0
- package/compiler/node_modules/escape-html/index.js +78 -0
- package/compiler/node_modules/escape-html/package.json +24 -0
- package/compiler/node_modules/etag/HISTORY.md +83 -0
- package/compiler/node_modules/etag/LICENSE +22 -0
- package/compiler/node_modules/etag/README.md +159 -0
- package/compiler/node_modules/etag/index.js +131 -0
- package/compiler/node_modules/etag/package.json +47 -0
- package/compiler/node_modules/express/LICENSE +24 -0
- package/compiler/node_modules/express/Readme.md +276 -0
- package/compiler/node_modules/express/index.js +11 -0
- package/compiler/node_modules/express/lib/application.js +631 -0
- package/compiler/node_modules/express/lib/express.js +81 -0
- package/compiler/node_modules/express/lib/request.js +514 -0
- package/compiler/node_modules/express/lib/response.js +1053 -0
- package/compiler/node_modules/express/lib/utils.js +271 -0
- package/compiler/node_modules/express/lib/view.js +205 -0
- package/compiler/node_modules/express/node_modules/content-type/HISTORY.md +29 -0
- package/compiler/node_modules/express/node_modules/content-type/LICENSE +22 -0
- package/compiler/node_modules/express/node_modules/content-type/README.md +94 -0
- package/compiler/node_modules/express/node_modules/content-type/index.js +225 -0
- package/compiler/node_modules/express/node_modules/content-type/package.json +42 -0
- package/compiler/node_modules/express/package.json +99 -0
- package/compiler/node_modules/fill-range/LICENSE +21 -0
- package/compiler/node_modules/fill-range/README.md +237 -0
- package/compiler/node_modules/fill-range/index.js +248 -0
- package/compiler/node_modules/fill-range/package.json +74 -0
- package/compiler/node_modules/finalhandler/HISTORY.md +239 -0
- package/compiler/node_modules/finalhandler/LICENSE +22 -0
- package/compiler/node_modules/finalhandler/README.md +150 -0
- package/compiler/node_modules/finalhandler/index.js +293 -0
- package/compiler/node_modules/finalhandler/package.json +47 -0
- package/compiler/node_modules/forwarded/HISTORY.md +21 -0
- package/compiler/node_modules/forwarded/LICENSE +22 -0
- package/compiler/node_modules/forwarded/README.md +57 -0
- package/compiler/node_modules/forwarded/index.js +90 -0
- package/compiler/node_modules/forwarded/package.json +45 -0
- package/compiler/node_modules/fresh/HISTORY.md +80 -0
- package/compiler/node_modules/fresh/LICENSE +23 -0
- package/compiler/node_modules/fresh/README.md +117 -0
- package/compiler/node_modules/fresh/index.js +136 -0
- package/compiler/node_modules/fresh/package.json +46 -0
- package/compiler/node_modules/function-bind/.eslintrc +21 -0
- package/compiler/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/compiler/node_modules/function-bind/.nycrc +13 -0
- package/compiler/node_modules/function-bind/CHANGELOG.md +136 -0
- package/compiler/node_modules/function-bind/LICENSE +20 -0
- package/compiler/node_modules/function-bind/README.md +46 -0
- package/compiler/node_modules/function-bind/implementation.js +84 -0
- package/compiler/node_modules/function-bind/index.js +5 -0
- package/compiler/node_modules/function-bind/package.json +87 -0
- package/compiler/node_modules/function-bind/test/.eslintrc +9 -0
- package/compiler/node_modules/function-bind/test/index.js +252 -0
- package/compiler/node_modules/get-intrinsic/.eslintrc +42 -0
- package/compiler/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/get-intrinsic/.nycrc +9 -0
- package/compiler/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/compiler/node_modules/get-intrinsic/LICENSE +21 -0
- package/compiler/node_modules/get-intrinsic/README.md +71 -0
- package/compiler/node_modules/get-intrinsic/index.js +378 -0
- package/compiler/node_modules/get-intrinsic/package.json +97 -0
- package/compiler/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/compiler/node_modules/get-proto/.eslintrc +10 -0
- package/compiler/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/get-proto/.nycrc +9 -0
- package/compiler/node_modules/get-proto/CHANGELOG.md +21 -0
- package/compiler/node_modules/get-proto/LICENSE +21 -0
- package/compiler/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/compiler/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/compiler/node_modules/get-proto/README.md +50 -0
- package/compiler/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/compiler/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/compiler/node_modules/get-proto/index.d.ts +5 -0
- package/compiler/node_modules/get-proto/index.js +27 -0
- package/compiler/node_modules/get-proto/package.json +81 -0
- package/compiler/node_modules/get-proto/test/index.js +68 -0
- package/compiler/node_modules/get-proto/tsconfig.json +9 -0
- package/compiler/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/compiler/node_modules/glob-parent/LICENSE +15 -0
- package/compiler/node_modules/glob-parent/README.md +137 -0
- package/compiler/node_modules/glob-parent/index.js +42 -0
- package/compiler/node_modules/glob-parent/package.json +48 -0
- package/compiler/node_modules/gopd/.eslintrc +16 -0
- package/compiler/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/gopd/CHANGELOG.md +45 -0
- package/compiler/node_modules/gopd/LICENSE +21 -0
- package/compiler/node_modules/gopd/README.md +40 -0
- package/compiler/node_modules/gopd/gOPD.d.ts +1 -0
- package/compiler/node_modules/gopd/gOPD.js +4 -0
- package/compiler/node_modules/gopd/index.d.ts +5 -0
- package/compiler/node_modules/gopd/index.js +15 -0
- package/compiler/node_modules/gopd/package.json +77 -0
- package/compiler/node_modules/gopd/test/index.js +36 -0
- package/compiler/node_modules/gopd/tsconfig.json +9 -0
- package/compiler/node_modules/has-flag/index.js +8 -0
- package/compiler/node_modules/has-flag/license +9 -0
- package/compiler/node_modules/has-flag/package.json +44 -0
- package/compiler/node_modules/has-flag/readme.md +70 -0
- package/compiler/node_modules/has-symbols/.eslintrc +11 -0
- package/compiler/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/has-symbols/.nycrc +9 -0
- package/compiler/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/compiler/node_modules/has-symbols/LICENSE +21 -0
- package/compiler/node_modules/has-symbols/README.md +46 -0
- package/compiler/node_modules/has-symbols/index.d.ts +3 -0
- package/compiler/node_modules/has-symbols/index.js +14 -0
- package/compiler/node_modules/has-symbols/package.json +111 -0
- package/compiler/node_modules/has-symbols/shams.d.ts +3 -0
- package/compiler/node_modules/has-symbols/shams.js +45 -0
- package/compiler/node_modules/has-symbols/test/index.js +22 -0
- package/compiler/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/compiler/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/compiler/node_modules/has-symbols/test/tests.js +58 -0
- package/compiler/node_modules/has-symbols/tsconfig.json +10 -0
- package/compiler/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/hasown/.nycrc +13 -0
- package/compiler/node_modules/hasown/CHANGELOG.md +58 -0
- package/compiler/node_modules/hasown/LICENSE +21 -0
- package/compiler/node_modules/hasown/README.md +40 -0
- package/compiler/node_modules/hasown/eslint.config.mjs +6 -0
- package/compiler/node_modules/hasown/index.d.ts +3 -0
- package/compiler/node_modules/hasown/index.js +8 -0
- package/compiler/node_modules/hasown/package.json +91 -0
- package/compiler/node_modules/hasown/tsconfig.json +6 -0
- package/compiler/node_modules/http-errors/HISTORY.md +186 -0
- package/compiler/node_modules/http-errors/LICENSE +23 -0
- package/compiler/node_modules/http-errors/README.md +169 -0
- package/compiler/node_modules/http-errors/index.js +290 -0
- package/compiler/node_modules/http-errors/package.json +54 -0
- package/compiler/node_modules/iconv-lite/LICENSE +21 -0
- package/compiler/node_modules/iconv-lite/README.md +138 -0
- package/compiler/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/compiler/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/compiler/node_modules/iconv-lite/encodings/index.js +23 -0
- package/compiler/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/compiler/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/compiler/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/compiler/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/compiler/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/compiler/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/compiler/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/compiler/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/compiler/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/compiler/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/compiler/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/compiler/node_modules/iconv-lite/lib/index.js +182 -0
- package/compiler/node_modules/iconv-lite/lib/streams.js +105 -0
- package/compiler/node_modules/iconv-lite/package.json +70 -0
- package/compiler/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/compiler/node_modules/ignore-by-default/LICENSE +14 -0
- package/compiler/node_modules/ignore-by-default/README.md +26 -0
- package/compiler/node_modules/ignore-by-default/index.js +12 -0
- package/compiler/node_modules/ignore-by-default/package.json +34 -0
- package/compiler/node_modules/inherits/LICENSE +16 -0
- package/compiler/node_modules/inherits/README.md +42 -0
- package/compiler/node_modules/inherits/inherits.js +9 -0
- package/compiler/node_modules/inherits/inherits_browser.js +27 -0
- package/compiler/node_modules/inherits/package.json +29 -0
- package/compiler/node_modules/ipaddr.js/LICENSE +19 -0
- package/compiler/node_modules/ipaddr.js/README.md +233 -0
- package/compiler/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/compiler/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/compiler/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/compiler/node_modules/ipaddr.js/package.json +35 -0
- package/compiler/node_modules/is-binary-path/index.d.ts +17 -0
- package/compiler/node_modules/is-binary-path/index.js +7 -0
- package/compiler/node_modules/is-binary-path/license +9 -0
- package/compiler/node_modules/is-binary-path/package.json +40 -0
- package/compiler/node_modules/is-binary-path/readme.md +34 -0
- package/compiler/node_modules/is-extglob/LICENSE +21 -0
- package/compiler/node_modules/is-extglob/README.md +107 -0
- package/compiler/node_modules/is-extglob/index.js +20 -0
- package/compiler/node_modules/is-extglob/package.json +69 -0
- package/compiler/node_modules/is-glob/LICENSE +21 -0
- package/compiler/node_modules/is-glob/README.md +206 -0
- package/compiler/node_modules/is-glob/index.js +150 -0
- package/compiler/node_modules/is-glob/package.json +81 -0
- package/compiler/node_modules/is-number/LICENSE +21 -0
- package/compiler/node_modules/is-number/README.md +187 -0
- package/compiler/node_modules/is-number/index.js +18 -0
- package/compiler/node_modules/is-number/package.json +82 -0
- package/compiler/node_modules/is-promise/LICENSE +19 -0
- package/compiler/node_modules/is-promise/index.d.ts +2 -0
- package/compiler/node_modules/is-promise/index.js +6 -0
- package/compiler/node_modules/is-promise/index.mjs +3 -0
- package/compiler/node_modules/is-promise/package.json +30 -0
- package/compiler/node_modules/is-promise/readme.md +33 -0
- package/compiler/node_modules/math-intrinsics/.eslintrc +16 -0
- package/compiler/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/compiler/node_modules/math-intrinsics/LICENSE +21 -0
- package/compiler/node_modules/math-intrinsics/README.md +50 -0
- package/compiler/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/abs.js +4 -0
- package/compiler/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/compiler/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/compiler/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/compiler/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/floor.js +4 -0
- package/compiler/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/isFinite.js +12 -0
- package/compiler/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/isInteger.js +16 -0
- package/compiler/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/isNaN.js +6 -0
- package/compiler/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/compiler/node_modules/math-intrinsics/max.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/max.js +4 -0
- package/compiler/node_modules/math-intrinsics/min.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/min.js +4 -0
- package/compiler/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/mod.js +9 -0
- package/compiler/node_modules/math-intrinsics/package.json +86 -0
- package/compiler/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/pow.js +4 -0
- package/compiler/node_modules/math-intrinsics/round.d.ts +1 -0
- package/compiler/node_modules/math-intrinsics/round.js +4 -0
- package/compiler/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/compiler/node_modules/math-intrinsics/sign.js +11 -0
- package/compiler/node_modules/math-intrinsics/test/index.js +192 -0
- package/compiler/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/compiler/node_modules/media-typer/HISTORY.md +50 -0
- package/compiler/node_modules/media-typer/LICENSE +22 -0
- package/compiler/node_modules/media-typer/README.md +93 -0
- package/compiler/node_modules/media-typer/index.js +143 -0
- package/compiler/node_modules/media-typer/package.json +33 -0
- package/compiler/node_modules/merge-descriptors/index.d.ts +11 -0
- package/compiler/node_modules/merge-descriptors/index.js +26 -0
- package/compiler/node_modules/merge-descriptors/license +11 -0
- package/compiler/node_modules/merge-descriptors/package.json +50 -0
- package/compiler/node_modules/merge-descriptors/readme.md +55 -0
- package/compiler/node_modules/mime-db/HISTORY.md +541 -0
- package/compiler/node_modules/mime-db/LICENSE +23 -0
- package/compiler/node_modules/mime-db/README.md +109 -0
- package/compiler/node_modules/mime-db/db.json +9342 -0
- package/compiler/node_modules/mime-db/index.js +12 -0
- package/compiler/node_modules/mime-db/package.json +56 -0
- package/compiler/node_modules/mime-types/HISTORY.md +428 -0
- package/compiler/node_modules/mime-types/LICENSE +23 -0
- package/compiler/node_modules/mime-types/README.md +126 -0
- package/compiler/node_modules/mime-types/index.js +211 -0
- package/compiler/node_modules/mime-types/mimeScore.js +57 -0
- package/compiler/node_modules/mime-types/package.json +49 -0
- package/compiler/node_modules/minimatch/LICENSE.md +55 -0
- package/compiler/node_modules/minimatch/README.md +528 -0
- package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/compiler/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/compiler/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/compiler/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/compiler/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/compiler/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/compiler/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/compiler/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/compiler/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/compiler/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/compiler/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/compiler/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/compiler/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/compiler/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/compiler/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/compiler/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/compiler/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/compiler/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/package.json +3 -0
- package/compiler/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/compiler/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/compiler/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/compiler/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/compiler/node_modules/minimatch/package.json +73 -0
- package/compiler/node_modules/ms/index.js +162 -0
- package/compiler/node_modules/ms/license.md +21 -0
- package/compiler/node_modules/ms/package.json +38 -0
- package/compiler/node_modules/ms/readme.md +59 -0
- package/compiler/node_modules/negotiator/HISTORY.md +114 -0
- package/compiler/node_modules/negotiator/LICENSE +24 -0
- package/compiler/node_modules/negotiator/README.md +212 -0
- package/compiler/node_modules/negotiator/index.js +83 -0
- package/compiler/node_modules/negotiator/lib/charset.js +169 -0
- package/compiler/node_modules/negotiator/lib/encoding.js +205 -0
- package/compiler/node_modules/negotiator/lib/language.js +179 -0
- package/compiler/node_modules/negotiator/lib/mediaType.js +294 -0
- package/compiler/node_modules/negotiator/package.json +43 -0
- package/compiler/node_modules/nodemon/.prettierrc.json +3 -0
- package/compiler/node_modules/nodemon/LICENSE +21 -0
- package/compiler/node_modules/nodemon/README.md +439 -0
- package/compiler/node_modules/nodemon/bin/nodemon.js +16 -0
- package/compiler/node_modules/nodemon/bin/windows-kill.exe +0 -0
- package/compiler/node_modules/nodemon/doc/cli/authors.txt +8 -0
- package/compiler/node_modules/nodemon/doc/cli/config.txt +44 -0
- package/compiler/node_modules/nodemon/doc/cli/help.txt +29 -0
- package/compiler/node_modules/nodemon/doc/cli/logo.txt +20 -0
- package/compiler/node_modules/nodemon/doc/cli/options.txt +36 -0
- package/compiler/node_modules/nodemon/doc/cli/topics.txt +8 -0
- package/compiler/node_modules/nodemon/doc/cli/usage.txt +3 -0
- package/compiler/node_modules/nodemon/doc/cli/whoami.txt +9 -0
- package/compiler/node_modules/nodemon/index.d.ts +124 -0
- package/compiler/node_modules/nodemon/jsconfig.json +7 -0
- package/compiler/node_modules/nodemon/lib/cli/index.js +49 -0
- package/compiler/node_modules/nodemon/lib/cli/parse.js +230 -0
- package/compiler/node_modules/nodemon/lib/config/command.js +43 -0
- package/compiler/node_modules/nodemon/lib/config/defaults.js +34 -0
- package/compiler/node_modules/nodemon/lib/config/exec.js +240 -0
- package/compiler/node_modules/nodemon/lib/config/index.js +93 -0
- package/compiler/node_modules/nodemon/lib/config/load.js +225 -0
- package/compiler/node_modules/nodemon/lib/help/index.js +27 -0
- package/compiler/node_modules/nodemon/lib/index.js +1 -0
- package/compiler/node_modules/nodemon/lib/monitor/index.js +4 -0
- package/compiler/node_modules/nodemon/lib/monitor/match.js +288 -0
- package/compiler/node_modules/nodemon/lib/monitor/run.js +562 -0
- package/compiler/node_modules/nodemon/lib/monitor/signals.js +34 -0
- package/compiler/node_modules/nodemon/lib/monitor/watch.js +244 -0
- package/compiler/node_modules/nodemon/lib/nodemon.js +317 -0
- package/compiler/node_modules/nodemon/lib/rules/add.js +89 -0
- package/compiler/node_modules/nodemon/lib/rules/index.js +53 -0
- package/compiler/node_modules/nodemon/lib/rules/parse.js +43 -0
- package/compiler/node_modules/nodemon/lib/spawn.js +74 -0
- package/compiler/node_modules/nodemon/lib/utils/bus.js +44 -0
- package/compiler/node_modules/nodemon/lib/utils/clone.js +40 -0
- package/compiler/node_modules/nodemon/lib/utils/colour.js +26 -0
- package/compiler/node_modules/nodemon/lib/utils/index.js +103 -0
- package/compiler/node_modules/nodemon/lib/utils/log.js +82 -0
- package/compiler/node_modules/nodemon/lib/utils/merge.js +47 -0
- package/compiler/node_modules/nodemon/lib/version.js +100 -0
- package/compiler/node_modules/nodemon/node_modules/.bin/nodetouch +15 -0
- package/compiler/node_modules/nodemon/node_modules/.bin/nodetouch.cmd +7 -0
- package/compiler/node_modules/nodemon/node_modules/.bin/semver +15 -0
- package/compiler/node_modules/nodemon/node_modules/.bin/semver.cmd +7 -0
- package/compiler/node_modules/nodemon/package.json +78 -0
- package/compiler/node_modules/normalize-path/LICENSE +21 -0
- package/compiler/node_modules/normalize-path/README.md +127 -0
- package/compiler/node_modules/normalize-path/index.js +35 -0
- package/compiler/node_modules/normalize-path/package.json +77 -0
- package/compiler/node_modules/object-assign/index.js +90 -0
- package/compiler/node_modules/object-assign/license +21 -0
- package/compiler/node_modules/object-assign/package.json +42 -0
- package/compiler/node_modules/object-assign/readme.md +61 -0
- package/compiler/node_modules/object-inspect/.eslintrc +53 -0
- package/compiler/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/object-inspect/.nycrc +13 -0
- package/compiler/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/compiler/node_modules/object-inspect/LICENSE +21 -0
- package/compiler/node_modules/object-inspect/example/all.js +23 -0
- package/compiler/node_modules/object-inspect/example/circular.js +6 -0
- package/compiler/node_modules/object-inspect/example/fn.js +5 -0
- package/compiler/node_modules/object-inspect/example/inspect.js +10 -0
- package/compiler/node_modules/object-inspect/index.js +544 -0
- package/compiler/node_modules/object-inspect/package-support.json +20 -0
- package/compiler/node_modules/object-inspect/package.json +105 -0
- package/compiler/node_modules/object-inspect/readme.markdown +84 -0
- package/compiler/node_modules/object-inspect/test/bigint.js +58 -0
- package/compiler/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/compiler/node_modules/object-inspect/test/circular.js +16 -0
- package/compiler/node_modules/object-inspect/test/deep.js +12 -0
- package/compiler/node_modules/object-inspect/test/element.js +53 -0
- package/compiler/node_modules/object-inspect/test/err.js +48 -0
- package/compiler/node_modules/object-inspect/test/fakes.js +29 -0
- package/compiler/node_modules/object-inspect/test/fn.js +76 -0
- package/compiler/node_modules/object-inspect/test/global.js +17 -0
- package/compiler/node_modules/object-inspect/test/has.js +15 -0
- package/compiler/node_modules/object-inspect/test/holes.js +15 -0
- package/compiler/node_modules/object-inspect/test/indent-option.js +271 -0
- package/compiler/node_modules/object-inspect/test/inspect.js +139 -0
- package/compiler/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/compiler/node_modules/object-inspect/test/number.js +58 -0
- package/compiler/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/compiler/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/compiler/node_modules/object-inspect/test/undef.js +12 -0
- package/compiler/node_modules/object-inspect/test/values.js +261 -0
- package/compiler/node_modules/object-inspect/test-core-js.js +26 -0
- package/compiler/node_modules/object-inspect/util.inspect.js +1 -0
- package/compiler/node_modules/on-finished/HISTORY.md +98 -0
- package/compiler/node_modules/on-finished/LICENSE +23 -0
- package/compiler/node_modules/on-finished/README.md +162 -0
- package/compiler/node_modules/on-finished/index.js +234 -0
- package/compiler/node_modules/on-finished/package.json +39 -0
- package/compiler/node_modules/once/LICENSE +15 -0
- package/compiler/node_modules/once/README.md +79 -0
- package/compiler/node_modules/once/once.js +42 -0
- package/compiler/node_modules/once/package.json +33 -0
- package/compiler/node_modules/parseurl/HISTORY.md +58 -0
- package/compiler/node_modules/parseurl/LICENSE +24 -0
- package/compiler/node_modules/parseurl/README.md +133 -0
- package/compiler/node_modules/parseurl/index.js +158 -0
- package/compiler/node_modules/parseurl/package.json +40 -0
- package/compiler/node_modules/path-to-regexp/LICENSE +21 -0
- package/compiler/node_modules/path-to-regexp/Readme.md +224 -0
- package/compiler/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/compiler/node_modules/path-to-regexp/dist/index.js +431 -0
- package/compiler/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/compiler/node_modules/path-to-regexp/package.json +64 -0
- package/compiler/node_modules/picomatch/LICENSE +21 -0
- package/compiler/node_modules/picomatch/README.md +716 -0
- package/compiler/node_modules/picomatch/index.js +3 -0
- package/compiler/node_modules/picomatch/lib/constants.js +184 -0
- package/compiler/node_modules/picomatch/lib/parse.js +1392 -0
- package/compiler/node_modules/picomatch/lib/picomatch.js +342 -0
- package/compiler/node_modules/picomatch/lib/scan.js +391 -0
- package/compiler/node_modules/picomatch/lib/utils.js +64 -0
- package/compiler/node_modules/picomatch/package.json +81 -0
- package/compiler/node_modules/proxy-addr/HISTORY.md +161 -0
- package/compiler/node_modules/proxy-addr/LICENSE +22 -0
- package/compiler/node_modules/proxy-addr/README.md +139 -0
- package/compiler/node_modules/proxy-addr/index.js +327 -0
- package/compiler/node_modules/proxy-addr/package.json +47 -0
- package/compiler/node_modules/pstree.remy/.travis.yml +8 -0
- package/compiler/node_modules/pstree.remy/LICENSE +7 -0
- package/compiler/node_modules/pstree.remy/README.md +26 -0
- package/compiler/node_modules/pstree.remy/lib/index.js +37 -0
- package/compiler/node_modules/pstree.remy/lib/tree.js +37 -0
- package/compiler/node_modules/pstree.remy/lib/utils.js +53 -0
- package/compiler/node_modules/pstree.remy/package.json +33 -0
- package/compiler/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
- package/compiler/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
- package/compiler/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
- package/compiler/node_modules/pstree.remy/tests/index.test.js +51 -0
- package/compiler/node_modules/qs/.editorconfig +46 -0
- package/compiler/node_modules/qs/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/qs/.github/SECURITY.md +11 -0
- package/compiler/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/compiler/node_modules/qs/.nycrc +13 -0
- package/compiler/node_modules/qs/CHANGELOG.md +833 -0
- package/compiler/node_modules/qs/LICENSE.md +29 -0
- package/compiler/node_modules/qs/README.md +758 -0
- package/compiler/node_modules/qs/dist/qs.js +141 -0
- package/compiler/node_modules/qs/eslint.config.mjs +57 -0
- package/compiler/node_modules/qs/lib/formats.js +23 -0
- package/compiler/node_modules/qs/lib/index.js +11 -0
- package/compiler/node_modules/qs/lib/parse.js +414 -0
- package/compiler/node_modules/qs/lib/stringify.js +363 -0
- package/compiler/node_modules/qs/lib/utils.js +381 -0
- package/compiler/node_modules/qs/package.json +95 -0
- package/compiler/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/compiler/node_modules/qs/test/parse.js +1933 -0
- package/compiler/node_modules/qs/test/stringify.js +1448 -0
- package/compiler/node_modules/qs/test/utils.js +626 -0
- package/compiler/node_modules/range-parser/HISTORY.md +56 -0
- package/compiler/node_modules/range-parser/LICENSE +23 -0
- package/compiler/node_modules/range-parser/README.md +85 -0
- package/compiler/node_modules/range-parser/index.js +181 -0
- package/compiler/node_modules/range-parser/package.json +48 -0
- package/compiler/node_modules/raw-body/LICENSE +22 -0
- package/compiler/node_modules/raw-body/README.md +223 -0
- package/compiler/node_modules/raw-body/index.d.ts +85 -0
- package/compiler/node_modules/raw-body/index.js +336 -0
- package/compiler/node_modules/raw-body/package.json +46 -0
- package/compiler/node_modules/readdirp/LICENSE +21 -0
- package/compiler/node_modules/readdirp/README.md +122 -0
- package/compiler/node_modules/readdirp/index.d.ts +43 -0
- package/compiler/node_modules/readdirp/index.js +287 -0
- package/compiler/node_modules/readdirp/package.json +122 -0
- package/compiler/node_modules/router/HISTORY.md +228 -0
- package/compiler/node_modules/router/LICENSE +23 -0
- package/compiler/node_modules/router/README.md +416 -0
- package/compiler/node_modules/router/index.js +748 -0
- package/compiler/node_modules/router/lib/layer.js +247 -0
- package/compiler/node_modules/router/lib/route.js +242 -0
- package/compiler/node_modules/router/package.json +44 -0
- package/compiler/node_modules/safer-buffer/LICENSE +21 -0
- package/compiler/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/compiler/node_modules/safer-buffer/Readme.md +156 -0
- package/compiler/node_modules/safer-buffer/dangerous.js +58 -0
- package/compiler/node_modules/safer-buffer/package.json +34 -0
- package/compiler/node_modules/safer-buffer/safer.js +77 -0
- package/compiler/node_modules/safer-buffer/tests.js +406 -0
- package/compiler/node_modules/semver/LICENSE +15 -0
- package/compiler/node_modules/semver/README.md +680 -0
- package/compiler/node_modules/semver/bin/semver.js +195 -0
- package/compiler/node_modules/semver/classes/index.js +7 -0
- package/compiler/node_modules/semver/functions/clean.js +8 -0
- package/compiler/node_modules/semver/functions/compare-build.js +9 -0
- package/compiler/node_modules/semver/functions/compare-loose.js +5 -0
- package/compiler/node_modules/semver/functions/diff.js +60 -0
- package/compiler/node_modules/semver/functions/inc.js +21 -0
- package/compiler/node_modules/semver/functions/major.js +5 -0
- package/compiler/node_modules/semver/functions/minor.js +5 -0
- package/compiler/node_modules/semver/functions/patch.js +5 -0
- package/compiler/node_modules/semver/functions/prerelease.js +8 -0
- package/compiler/node_modules/semver/functions/rcompare.js +5 -0
- package/compiler/node_modules/semver/functions/rsort.js +5 -0
- package/compiler/node_modules/semver/functions/sort.js +5 -0
- package/compiler/node_modules/semver/functions/truncate.js +48 -0
- package/compiler/node_modules/semver/functions/valid.js +8 -0
- package/compiler/node_modules/semver/index.js +93 -0
- package/compiler/node_modules/semver/preload.js +4 -0
- package/compiler/node_modules/semver/range.bnf +17 -0
- package/compiler/node_modules/semver/ranges/gtr.js +6 -0
- package/compiler/node_modules/semver/ranges/intersects.js +9 -0
- package/compiler/node_modules/semver/ranges/ltr.js +6 -0
- package/compiler/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/compiler/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/compiler/node_modules/semver/ranges/min-version.js +63 -0
- package/compiler/node_modules/semver/ranges/outside.js +82 -0
- package/compiler/node_modules/semver/ranges/simplify.js +49 -0
- package/compiler/node_modules/semver/ranges/subset.js +249 -0
- package/compiler/node_modules/semver/ranges/to-comparators.js +10 -0
- package/compiler/node_modules/semver/ranges/valid.js +13 -0
- package/compiler/node_modules/send/LICENSE +23 -0
- package/compiler/node_modules/send/README.md +317 -0
- package/compiler/node_modules/send/index.js +997 -0
- package/compiler/node_modules/send/package.json +63 -0
- package/compiler/node_modules/serve-static/LICENSE +25 -0
- package/compiler/node_modules/serve-static/README.md +253 -0
- package/compiler/node_modules/serve-static/index.js +208 -0
- package/compiler/node_modules/serve-static/package.json +44 -0
- package/compiler/node_modules/setprototypeof/LICENSE +13 -0
- package/compiler/node_modules/setprototypeof/README.md +31 -0
- package/compiler/node_modules/setprototypeof/index.d.ts +2 -0
- package/compiler/node_modules/setprototypeof/index.js +17 -0
- package/compiler/node_modules/setprototypeof/package.json +38 -0
- package/compiler/node_modules/setprototypeof/test/index.js +24 -0
- package/compiler/node_modules/side-channel/.editorconfig +9 -0
- package/compiler/node_modules/side-channel/.eslintrc +12 -0
- package/compiler/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/side-channel/.nycrc +13 -0
- package/compiler/node_modules/side-channel/CHANGELOG.md +120 -0
- package/compiler/node_modules/side-channel/LICENSE +21 -0
- package/compiler/node_modules/side-channel/README.md +61 -0
- package/compiler/node_modules/side-channel/index.d.ts +14 -0
- package/compiler/node_modules/side-channel/index.js +46 -0
- package/compiler/node_modules/side-channel/package.json +85 -0
- package/compiler/node_modules/side-channel/test/index.js +120 -0
- package/compiler/node_modules/side-channel/tsconfig.json +9 -0
- package/compiler/node_modules/side-channel-list/.editorconfig +9 -0
- package/compiler/node_modules/side-channel-list/.eslintrc +11 -0
- package/compiler/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/side-channel-list/.nycrc +13 -0
- package/compiler/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/compiler/node_modules/side-channel-list/LICENSE +21 -0
- package/compiler/node_modules/side-channel-list/README.md +62 -0
- package/compiler/node_modules/side-channel-list/index.d.ts +13 -0
- package/compiler/node_modules/side-channel-list/index.js +111 -0
- package/compiler/node_modules/side-channel-list/list.d.ts +14 -0
- package/compiler/node_modules/side-channel-list/package.json +77 -0
- package/compiler/node_modules/side-channel-list/test/index.js +154 -0
- package/compiler/node_modules/side-channel-list/tsconfig.json +9 -0
- package/compiler/node_modules/side-channel-map/.editorconfig +9 -0
- package/compiler/node_modules/side-channel-map/.eslintrc +11 -0
- package/compiler/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/side-channel-map/.nycrc +13 -0
- package/compiler/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/compiler/node_modules/side-channel-map/LICENSE +21 -0
- package/compiler/node_modules/side-channel-map/README.md +62 -0
- package/compiler/node_modules/side-channel-map/index.d.ts +15 -0
- package/compiler/node_modules/side-channel-map/index.js +68 -0
- package/compiler/node_modules/side-channel-map/package.json +80 -0
- package/compiler/node_modules/side-channel-map/test/index.js +114 -0
- package/compiler/node_modules/side-channel-map/tsconfig.json +9 -0
- package/compiler/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/compiler/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/compiler/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/compiler/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/compiler/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/compiler/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/compiler/node_modules/side-channel-weakmap/README.md +62 -0
- package/compiler/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/compiler/node_modules/side-channel-weakmap/index.js +84 -0
- package/compiler/node_modules/side-channel-weakmap/package.json +87 -0
- package/compiler/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/compiler/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/compiler/node_modules/simple-update-notifier/LICENSE +21 -0
- package/compiler/node_modules/simple-update-notifier/README.md +82 -0
- package/compiler/node_modules/simple-update-notifier/build/index.d.ts +13 -0
- package/compiler/node_modules/simple-update-notifier/build/index.js +210 -0
- package/compiler/node_modules/simple-update-notifier/node_modules/.bin/semver +15 -0
- package/compiler/node_modules/simple-update-notifier/node_modules/.bin/semver.cmd +7 -0
- package/compiler/node_modules/simple-update-notifier/package.json +100 -0
- package/compiler/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
- package/compiler/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
- package/compiler/node_modules/simple-update-notifier/src/cache.ts +44 -0
- package/compiler/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
- package/compiler/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
- package/compiler/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
- package/compiler/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
- package/compiler/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
- package/compiler/node_modules/simple-update-notifier/src/index.ts +34 -0
- package/compiler/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
- package/compiler/node_modules/simple-update-notifier/src/types.ts +8 -0
- package/compiler/node_modules/statuses/HISTORY.md +87 -0
- package/compiler/node_modules/statuses/LICENSE +23 -0
- package/compiler/node_modules/statuses/README.md +139 -0
- package/compiler/node_modules/statuses/codes.json +65 -0
- package/compiler/node_modules/statuses/index.js +146 -0
- package/compiler/node_modules/statuses/package.json +49 -0
- package/compiler/node_modules/supports-color/browser.js +5 -0
- package/compiler/node_modules/supports-color/index.js +131 -0
- package/compiler/node_modules/supports-color/license +9 -0
- package/compiler/node_modules/supports-color/package.json +53 -0
- package/compiler/node_modules/supports-color/readme.md +66 -0
- package/compiler/node_modules/to-regex-range/LICENSE +21 -0
- package/compiler/node_modules/to-regex-range/README.md +305 -0
- package/compiler/node_modules/to-regex-range/index.js +288 -0
- package/compiler/node_modules/to-regex-range/package.json +88 -0
- package/compiler/node_modules/toidentifier/HISTORY.md +9 -0
- package/compiler/node_modules/toidentifier/LICENSE +21 -0
- package/compiler/node_modules/toidentifier/README.md +61 -0
- package/compiler/node_modules/toidentifier/index.js +32 -0
- package/compiler/node_modules/toidentifier/package.json +38 -0
- package/compiler/node_modules/touch/LICENSE +15 -0
- package/compiler/node_modules/touch/README.md +52 -0
- package/compiler/node_modules/touch/bin/nodetouch.js +112 -0
- package/compiler/node_modules/touch/index.js +224 -0
- package/compiler/node_modules/touch/package.json +25 -0
- package/compiler/node_modules/type-is/HISTORY.md +292 -0
- package/compiler/node_modules/type-is/LICENSE +23 -0
- package/compiler/node_modules/type-is/README.md +198 -0
- package/compiler/node_modules/type-is/index.js +240 -0
- package/compiler/node_modules/type-is/package.json +51 -0
- package/compiler/node_modules/undefsafe/.github/workflows/release.yml +25 -0
- package/compiler/node_modules/undefsafe/.jscsrc +13 -0
- package/compiler/node_modules/undefsafe/.jshintrc +16 -0
- package/compiler/node_modules/undefsafe/.travis.yml +18 -0
- package/compiler/node_modules/undefsafe/LICENSE +22 -0
- package/compiler/node_modules/undefsafe/README.md +63 -0
- package/compiler/node_modules/undefsafe/example.js +14 -0
- package/compiler/node_modules/undefsafe/lib/undefsafe.js +125 -0
- package/compiler/node_modules/undefsafe/package.json +34 -0
- package/compiler/node_modules/unpipe/HISTORY.md +4 -0
- package/compiler/node_modules/unpipe/LICENSE +22 -0
- package/compiler/node_modules/unpipe/README.md +43 -0
- package/compiler/node_modules/unpipe/index.js +69 -0
- package/compiler/node_modules/unpipe/package.json +27 -0
- package/compiler/node_modules/vary/HISTORY.md +39 -0
- package/compiler/node_modules/vary/LICENSE +22 -0
- package/compiler/node_modules/vary/README.md +101 -0
- package/compiler/node_modules/vary/index.js +149 -0
- package/compiler/node_modules/vary/package.json +43 -0
- package/compiler/node_modules/wrappy/LICENSE +15 -0
- package/compiler/node_modules/wrappy/README.md +36 -0
- package/compiler/node_modules/wrappy/package.json +29 -0
- package/compiler/node_modules/wrappy/wrappy.js +33 -0
- package/compiler/package.json +21 -0
- package/compiler/server.js +77 -0
- package/compiler/yarn.lock +840 -0
- package/dist/BUILD_ID +1 -1
- package/dist/build-manifest.json +3 -3
- package/dist/cache/.tsbuildinfo +1 -1
- package/dist/fallback-build-manifest.json +3 -3
- package/dist/next-server.js.nft.json +1 -1
- package/dist/server/app/_global-error/page.js +1 -1
- package/dist/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/server/app/_global-error.html +1 -1
- package/dist/server/app/_global-error.rsc +1 -1
- package/dist/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/server/app/_not-found/page.js +1 -1
- package/dist/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/server/app/_not-found.html +1 -1
- package/dist/server/app/_not-found.rsc +1 -1
- package/dist/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/server/app/api/component/route.js +1 -1
- package/dist/server/app/api/component/route.js.nft.json +1 -1
- package/dist/server/app/index.html +1 -1
- package/dist/server/app/index.rsc +1 -1
- package/dist/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/server/app/page.js +1 -1
- package/dist/server/app/page.js.nft.json +1 -1
- package/dist/server/chunks/[root-of-the-server]__008oj_w._.js +9 -0
- package/dist/server/chunks/[root-of-the-server]__008oj_w._.js.map +1 -0
- package/dist/server/chunks/ssr/[root-of-the-server]__0pykrpz._.js +3 -0
- package/dist/server/chunks/ssr/{[root-of-the-server]__0fcc145._.js.map → [root-of-the-server]__0pykrpz._.js.map} +1 -1
- package/dist/server/middleware-build-manifest.js +3 -3
- package/dist/server/pages/404.html +1 -1
- package/dist/server/pages/500.html +1 -1
- package/dist/standalone/dist/BUILD_ID +1 -1
- package/dist/standalone/dist/build-manifest.json +3 -3
- package/dist/standalone/dist/server/app/_global-error/page.js +1 -1
- package/dist/standalone/dist/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/standalone/dist/server/app/_global-error.html +1 -1
- package/dist/standalone/dist/server/app/_global-error.rsc +1 -1
- package/dist/standalone/dist/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found/page.js +1 -1
- package/dist/standalone/dist/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/standalone/dist/server/app/_not-found.html +1 -1
- package/dist/standalone/dist/server/app/_not-found.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/api/component/route.js +1 -1
- package/dist/standalone/dist/server/app/api/component/route.js.nft.json +1 -1
- package/dist/standalone/dist/server/app/index.html +1 -1
- package/dist/standalone/dist/server/app/index.rsc +1 -1
- package/dist/standalone/dist/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/index.segments/_full.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/index.segments/_index.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/standalone/dist/server/app/page.js +1 -1
- package/dist/standalone/dist/server/app/page.js.nft.json +1 -1
- package/dist/standalone/dist/server/chunks/[root-of-the-server]__008oj_w._.js +9 -0
- package/dist/standalone/dist/server/chunks/ssr/[root-of-the-server]__0pykrpz._.js +3 -0
- package/dist/standalone/dist/server/middleware-build-manifest.js +3 -3
- package/dist/standalone/dist/server/pages/404.html +1 -1
- package/dist/standalone/dist/server/pages/500.html +1 -1
- package/dist/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +143 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/classes/range.js +577 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +350 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +54 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +62 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +7 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +5 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +18 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +12 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +37 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +11 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +17 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/internal/re.js +223 -0
- package/dist/standalone/node_modules/sharp/node_modules/semver/package.json +78 -0
- package/dist/standalone/package.json +4 -10
- package/dist/trace +1 -1
- package/dist/trace-build +1 -1
- package/package.json +4 -10
- package/dist/server/chunks/[root-of-the-server]__1ewn43n._.js +0 -11
- package/dist/server/chunks/[root-of-the-server]__1ewn43n._.js.map +0 -1
- package/dist/server/chunks/ssr/[root-of-the-server]__0fcc145._.js +0 -3
- package/dist/standalone/dist/server/chunks/[root-of-the-server]__1ewn43n._.js +0 -11
- package/dist/standalone/dist/server/chunks/ssr/[root-of-the-server]__0fcc145._.js +0 -3
- package/dist/standalone/node_modules/@swc/core/LICENSE +0 -201
- package/dist/standalone/node_modules/@swc/core/README.md +0 -100
- package/dist/standalone/node_modules/@swc/core/Visitor.js +0 -1399
- package/dist/standalone/node_modules/@swc/core/binding.js +0 -368
- package/dist/standalone/node_modules/@swc/core/index.js +0 -466
- package/dist/standalone/node_modules/@swc/core/package.json +0 -119
- package/dist/standalone/node_modules/@swc/core/postinstall.js +0 -148
- package/dist/standalone/node_modules/@swc/core/spack.js +0 -87
- package/dist/standalone/node_modules/@swc/core/util.js +0 -103
- package/dist/standalone/node_modules/@swc/core-win32-x64-msvc/package.json +0 -43
- package/dist/standalone/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/classes/comparator.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/classes/range.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/classes/semver.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/cmp.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/coerce.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/compare.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/eq.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/gt.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/gte.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/lt.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/lte.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/neq.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/parse.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/functions/satisfies.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/constants.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/debug.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/identifiers.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/lrucache.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/parse-options.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/internal/re.js +0 -0
- /package/{dist/standalone → compiler}/node_modules/semver/package.json +0 -0
- /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_buildManifest.js +0 -0
- /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_clientMiddlewareManifest.js +0 -0
- /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_ssgManifest.js +0 -0
- /package/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_buildManifest.js +0 -0
- /package/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_clientMiddlewareManifest.js +0 -0
- /package/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict"
|
|
2
|
+
var Buffer = require("safer-buffer").Buffer
|
|
3
|
+
|
|
4
|
+
// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js
|
|
5
|
+
|
|
6
|
+
// == UTF16-BE codec. ==========================================================
|
|
7
|
+
|
|
8
|
+
exports.utf16be = Utf16BECodec
|
|
9
|
+
function Utf16BECodec () {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
Utf16BECodec.prototype.encoder = Utf16BEEncoder
|
|
13
|
+
Utf16BECodec.prototype.decoder = Utf16BEDecoder
|
|
14
|
+
Utf16BECodec.prototype.bomAware = true
|
|
15
|
+
|
|
16
|
+
// -- Encoding
|
|
17
|
+
|
|
18
|
+
function Utf16BEEncoder () {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
Utf16BEEncoder.prototype.write = function (str) {
|
|
22
|
+
var buf = Buffer.from(str, "ucs2")
|
|
23
|
+
for (var i = 0; i < buf.length; i += 2) {
|
|
24
|
+
var tmp = buf[i]; buf[i] = buf[i + 1]; buf[i + 1] = tmp
|
|
25
|
+
}
|
|
26
|
+
return buf
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
Utf16BEEncoder.prototype.end = function () {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// -- Decoding
|
|
33
|
+
|
|
34
|
+
function Utf16BEDecoder () {
|
|
35
|
+
this.overflowByte = -1
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
Utf16BEDecoder.prototype.write = function (buf) {
|
|
39
|
+
if (buf.length == 0) { return "" }
|
|
40
|
+
|
|
41
|
+
var buf2 = Buffer.alloc(buf.length + 1)
|
|
42
|
+
var i = 0; var j = 0
|
|
43
|
+
|
|
44
|
+
if (this.overflowByte !== -1) {
|
|
45
|
+
buf2[0] = buf[0]
|
|
46
|
+
buf2[1] = this.overflowByte
|
|
47
|
+
i = 1; j = 2
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
for (; i < buf.length - 1; i += 2, j += 2) {
|
|
51
|
+
buf2[j] = buf[i + 1]
|
|
52
|
+
buf2[j + 1] = buf[i]
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
this.overflowByte = (i == buf.length - 1) ? buf[buf.length - 1] : -1
|
|
56
|
+
|
|
57
|
+
return buf2.slice(0, j).toString("ucs2")
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
Utf16BEDecoder.prototype.end = function () {
|
|
61
|
+
this.overflowByte = -1
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// == UTF-16 codec =============================================================
|
|
65
|
+
// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic.
|
|
66
|
+
// Defaults to UTF-16LE, as it's prevalent and default in Node.
|
|
67
|
+
// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le
|
|
68
|
+
// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'});
|
|
69
|
+
|
|
70
|
+
// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false).
|
|
71
|
+
|
|
72
|
+
exports.utf16 = Utf16Codec
|
|
73
|
+
function Utf16Codec (codecOptions, iconv) {
|
|
74
|
+
this.iconv = iconv
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
Utf16Codec.prototype.encoder = Utf16Encoder
|
|
78
|
+
Utf16Codec.prototype.decoder = Utf16Decoder
|
|
79
|
+
|
|
80
|
+
// -- Encoding (pass-through)
|
|
81
|
+
|
|
82
|
+
function Utf16Encoder (options, codec) {
|
|
83
|
+
options = options || {}
|
|
84
|
+
if (options.addBOM === undefined) { options.addBOM = true }
|
|
85
|
+
this.encoder = codec.iconv.getEncoder("utf-16le", options)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
Utf16Encoder.prototype.write = function (str) {
|
|
89
|
+
return this.encoder.write(str)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
Utf16Encoder.prototype.end = function () {
|
|
93
|
+
return this.encoder.end()
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// -- Decoding
|
|
97
|
+
|
|
98
|
+
function Utf16Decoder (options, codec) {
|
|
99
|
+
this.decoder = null
|
|
100
|
+
this.initialBufs = []
|
|
101
|
+
this.initialBufsLen = 0
|
|
102
|
+
|
|
103
|
+
this.options = options || {}
|
|
104
|
+
this.iconv = codec.iconv
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
Utf16Decoder.prototype.write = function (buf) {
|
|
108
|
+
if (!this.decoder) {
|
|
109
|
+
// Codec is not chosen yet. Accumulate initial bytes.
|
|
110
|
+
this.initialBufs.push(buf)
|
|
111
|
+
this.initialBufsLen += buf.length
|
|
112
|
+
|
|
113
|
+
if (this.initialBufsLen < 16) // We need more bytes to use space heuristic (see below)
|
|
114
|
+
{ return "" }
|
|
115
|
+
|
|
116
|
+
// We have enough bytes -> detect endianness.
|
|
117
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
118
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
119
|
+
|
|
120
|
+
var resStr = ""
|
|
121
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
122
|
+
|
|
123
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
124
|
+
return resStr
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return this.decoder.write(buf)
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
Utf16Decoder.prototype.end = function () {
|
|
131
|
+
if (!this.decoder) {
|
|
132
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
133
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
134
|
+
|
|
135
|
+
var resStr = ""
|
|
136
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
137
|
+
|
|
138
|
+
var trail = this.decoder.end()
|
|
139
|
+
if (trail) { resStr += trail }
|
|
140
|
+
|
|
141
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
142
|
+
return resStr
|
|
143
|
+
}
|
|
144
|
+
return this.decoder.end()
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function detectEncoding (bufs, defaultEncoding) {
|
|
148
|
+
var b = []
|
|
149
|
+
var charsProcessed = 0
|
|
150
|
+
// Number of ASCII chars when decoded as LE or BE.
|
|
151
|
+
var asciiCharsLE = 0
|
|
152
|
+
var asciiCharsBE = 0
|
|
153
|
+
|
|
154
|
+
outerLoop:
|
|
155
|
+
for (var i = 0; i < bufs.length; i++) {
|
|
156
|
+
var buf = bufs[i]
|
|
157
|
+
for (var j = 0; j < buf.length; j++) {
|
|
158
|
+
b.push(buf[j])
|
|
159
|
+
if (b.length === 2) {
|
|
160
|
+
if (charsProcessed === 0) {
|
|
161
|
+
// Check BOM first.
|
|
162
|
+
if (b[0] === 0xFF && b[1] === 0xFE) return "utf-16le"
|
|
163
|
+
if (b[0] === 0xFE && b[1] === 0xFF) return "utf-16be"
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (b[0] === 0 && b[1] !== 0) asciiCharsBE++
|
|
167
|
+
if (b[0] !== 0 && b[1] === 0) asciiCharsLE++
|
|
168
|
+
|
|
169
|
+
b.length = 0
|
|
170
|
+
charsProcessed++
|
|
171
|
+
|
|
172
|
+
if (charsProcessed >= 100) {
|
|
173
|
+
break outerLoop
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Make decisions.
|
|
180
|
+
// Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon.
|
|
181
|
+
// So, we count ASCII as if it was LE or BE, and decide from that.
|
|
182
|
+
if (asciiCharsBE > asciiCharsLE) return "utf-16be"
|
|
183
|
+
if (asciiCharsBE < asciiCharsLE) return "utf-16le"
|
|
184
|
+
|
|
185
|
+
// Couldn't decide (likely all zeros or not enough data).
|
|
186
|
+
return defaultEncoding || "utf-16le"
|
|
187
|
+
}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict"
|
|
2
|
+
|
|
3
|
+
var Buffer = require("safer-buffer").Buffer
|
|
4
|
+
|
|
5
|
+
// == UTF32-LE/BE codec. ==========================================================
|
|
6
|
+
|
|
7
|
+
exports._utf32 = Utf32Codec
|
|
8
|
+
|
|
9
|
+
function Utf32Codec (codecOptions, iconv) {
|
|
10
|
+
this.iconv = iconv
|
|
11
|
+
this.bomAware = true
|
|
12
|
+
this.isLE = codecOptions.isLE
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.utf32le = { type: "_utf32", isLE: true }
|
|
16
|
+
exports.utf32be = { type: "_utf32", isLE: false }
|
|
17
|
+
|
|
18
|
+
// Aliases
|
|
19
|
+
exports.ucs4le = "utf32le"
|
|
20
|
+
exports.ucs4be = "utf32be"
|
|
21
|
+
|
|
22
|
+
Utf32Codec.prototype.encoder = Utf32Encoder
|
|
23
|
+
Utf32Codec.prototype.decoder = Utf32Decoder
|
|
24
|
+
|
|
25
|
+
// -- Encoding
|
|
26
|
+
|
|
27
|
+
function Utf32Encoder (options, codec) {
|
|
28
|
+
this.isLE = codec.isLE
|
|
29
|
+
this.highSurrogate = 0
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
Utf32Encoder.prototype.write = function (str) {
|
|
33
|
+
var src = Buffer.from(str, "ucs2")
|
|
34
|
+
// src.length * 2 covers this chunk's code units (4 bytes each); the extra 4 bytes leave room for a
|
|
35
|
+
// high surrogate held over from a previous chunk, which is flushed ahead of this chunk's units.
|
|
36
|
+
var dst = Buffer.alloc(src.length * 2 + 4)
|
|
37
|
+
var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE
|
|
38
|
+
var offset = 0
|
|
39
|
+
|
|
40
|
+
for (var i = 0; i < src.length; i += 2) {
|
|
41
|
+
var code = src.readUInt16LE(i)
|
|
42
|
+
var isHighSurrogate = (code >= 0xD800 && code < 0xDC00)
|
|
43
|
+
var isLowSurrogate = (code >= 0xDC00 && code < 0xE000)
|
|
44
|
+
|
|
45
|
+
if (this.highSurrogate) {
|
|
46
|
+
if (isHighSurrogate || !isLowSurrogate) {
|
|
47
|
+
// There shouldn't be two high surrogates in a row, nor a high surrogate which isn't followed by a low
|
|
48
|
+
// surrogate. If this happens, keep the pending high surrogate as a stand-alone semi-invalid character
|
|
49
|
+
// (technically wrong, but expected by some applications, like Windows file names).
|
|
50
|
+
write32.call(dst, this.highSurrogate, offset)
|
|
51
|
+
offset += 4
|
|
52
|
+
} else {
|
|
53
|
+
// Create 32-bit value from high and low surrogates;
|
|
54
|
+
var codepoint = (((this.highSurrogate - 0xD800) << 10) | (code - 0xDC00)) + 0x10000
|
|
55
|
+
|
|
56
|
+
write32.call(dst, codepoint, offset)
|
|
57
|
+
offset += 4
|
|
58
|
+
this.highSurrogate = 0
|
|
59
|
+
|
|
60
|
+
continue
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (isHighSurrogate) { this.highSurrogate = code } else {
|
|
65
|
+
// Even if the current character is a low surrogate, with no previous high surrogate, we'll
|
|
66
|
+
// encode it as a semi-invalid stand-alone character for the same reasons expressed above for
|
|
67
|
+
// unpaired high surrogates.
|
|
68
|
+
write32.call(dst, code, offset)
|
|
69
|
+
offset += 4
|
|
70
|
+
this.highSurrogate = 0
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if (offset < dst.length) { dst = dst.slice(0, offset) }
|
|
75
|
+
|
|
76
|
+
return dst
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
Utf32Encoder.prototype.end = function () {
|
|
80
|
+
// Treat any leftover high surrogate as a semi-valid independent character.
|
|
81
|
+
if (!this.highSurrogate) { return }
|
|
82
|
+
|
|
83
|
+
var buf = Buffer.alloc(4)
|
|
84
|
+
|
|
85
|
+
if (this.isLE) { buf.writeUInt32LE(this.highSurrogate, 0) } else { buf.writeUInt32BE(this.highSurrogate, 0) }
|
|
86
|
+
|
|
87
|
+
this.highSurrogate = 0
|
|
88
|
+
|
|
89
|
+
return buf
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// -- Decoding
|
|
93
|
+
|
|
94
|
+
function Utf32Decoder (options, codec) {
|
|
95
|
+
this.isLE = codec.isLE
|
|
96
|
+
this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0)
|
|
97
|
+
this.overflow = []
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
Utf32Decoder.prototype.write = function (src) {
|
|
101
|
+
if (src.length === 0) { return "" }
|
|
102
|
+
|
|
103
|
+
var i = 0
|
|
104
|
+
var codepoint = 0
|
|
105
|
+
var dst = Buffer.alloc(src.length + 4)
|
|
106
|
+
var offset = 0
|
|
107
|
+
var isLE = this.isLE
|
|
108
|
+
var overflow = this.overflow
|
|
109
|
+
var badChar = this.badChar
|
|
110
|
+
|
|
111
|
+
if (overflow.length > 0) {
|
|
112
|
+
for (; i < src.length && overflow.length < 4; i++) { overflow.push(src[i]) }
|
|
113
|
+
|
|
114
|
+
if (overflow.length === 4) {
|
|
115
|
+
// NOTE: codepoint is a signed int32 and can be negative.
|
|
116
|
+
// NOTE: We copied this block from below to help V8 optimize it (it works with array, not buffer).
|
|
117
|
+
if (isLE) {
|
|
118
|
+
codepoint = overflow[0] | (overflow[1] << 8) | (overflow[2] << 16) | (overflow[3] << 24)
|
|
119
|
+
} else {
|
|
120
|
+
codepoint = overflow[3] | (overflow[2] << 8) | (overflow[1] << 16) | (overflow[0] << 24)
|
|
121
|
+
}
|
|
122
|
+
overflow.length = 0
|
|
123
|
+
|
|
124
|
+
offset = _writeCodepoint(dst, offset, codepoint, badChar)
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Main loop. Should be as optimized as possible.
|
|
129
|
+
for (; i < src.length - 3; i += 4) {
|
|
130
|
+
// NOTE: codepoint is a signed int32 and can be negative.
|
|
131
|
+
if (isLE) {
|
|
132
|
+
codepoint = src[i] | (src[i + 1] << 8) | (src[i + 2] << 16) | (src[i + 3] << 24)
|
|
133
|
+
} else {
|
|
134
|
+
codepoint = src[i + 3] | (src[i + 2] << 8) | (src[i + 1] << 16) | (src[i] << 24)
|
|
135
|
+
}
|
|
136
|
+
offset = _writeCodepoint(dst, offset, codepoint, badChar)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Keep overflowing bytes.
|
|
140
|
+
for (; i < src.length; i++) {
|
|
141
|
+
overflow.push(src[i])
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return dst.slice(0, offset).toString("ucs2")
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function _writeCodepoint (dst, offset, codepoint, badChar) {
|
|
148
|
+
// NOTE: codepoint is signed int32 and can be negative. We keep it that way to help V8 with optimizations.
|
|
149
|
+
if (codepoint < 0 || codepoint > 0x10FFFF) {
|
|
150
|
+
// Not a valid Unicode codepoint
|
|
151
|
+
codepoint = badChar
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Ephemeral Planes: Write high surrogate.
|
|
155
|
+
if (codepoint >= 0x10000) {
|
|
156
|
+
codepoint -= 0x10000
|
|
157
|
+
|
|
158
|
+
var high = 0xD800 | (codepoint >> 10)
|
|
159
|
+
dst[offset++] = high & 0xff
|
|
160
|
+
dst[offset++] = high >> 8
|
|
161
|
+
|
|
162
|
+
// Low surrogate is written below.
|
|
163
|
+
var codepoint = 0xDC00 | (codepoint & 0x3FF)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Write BMP char or low surrogate.
|
|
167
|
+
dst[offset++] = codepoint & 0xff
|
|
168
|
+
dst[offset++] = codepoint >> 8
|
|
169
|
+
|
|
170
|
+
return offset
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
Utf32Decoder.prototype.end = function () {
|
|
174
|
+
if (this.overflow.length === 0) { return }
|
|
175
|
+
|
|
176
|
+
// A leftover, incomplete 4-byte code unit at the end of the input is ill-formed. Substitute a
|
|
177
|
+
// single U+FFFD (Unicode Standard conformance clause C10) instead of silently dropping the bytes.
|
|
178
|
+
this.overflow.length = 0
|
|
179
|
+
return String.fromCharCode(this.badChar)
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// == UTF-32 Auto codec =============================================================
|
|
183
|
+
// Decoder chooses automatically from UTF-32LE and UTF-32BE using BOM and space-based heuristic.
|
|
184
|
+
// Defaults to UTF-32LE. http://en.wikipedia.org/wiki/UTF-32
|
|
185
|
+
// Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'});
|
|
186
|
+
|
|
187
|
+
// Encoder prepends BOM (which can be overridden with (addBOM: false}).
|
|
188
|
+
|
|
189
|
+
exports.utf32 = Utf32AutoCodec
|
|
190
|
+
exports.ucs4 = "utf32"
|
|
191
|
+
|
|
192
|
+
function Utf32AutoCodec (options, iconv) {
|
|
193
|
+
this.iconv = iconv
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
Utf32AutoCodec.prototype.encoder = Utf32AutoEncoder
|
|
197
|
+
Utf32AutoCodec.prototype.decoder = Utf32AutoDecoder
|
|
198
|
+
|
|
199
|
+
// -- Encoding
|
|
200
|
+
|
|
201
|
+
function Utf32AutoEncoder (options, codec) {
|
|
202
|
+
options = options || {}
|
|
203
|
+
|
|
204
|
+
if (options.addBOM === undefined) {
|
|
205
|
+
options.addBOM = true
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
this.encoder = codec.iconv.getEncoder(options.defaultEncoding || "utf-32le", options)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
Utf32AutoEncoder.prototype.write = function (str) {
|
|
212
|
+
return this.encoder.write(str)
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
Utf32AutoEncoder.prototype.end = function () {
|
|
216
|
+
return this.encoder.end()
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// -- Decoding
|
|
220
|
+
|
|
221
|
+
function Utf32AutoDecoder (options, codec) {
|
|
222
|
+
this.decoder = null
|
|
223
|
+
this.initialBufs = []
|
|
224
|
+
this.initialBufsLen = 0
|
|
225
|
+
this.options = options || {}
|
|
226
|
+
this.iconv = codec.iconv
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
Utf32AutoDecoder.prototype.write = function (buf) {
|
|
230
|
+
if (!this.decoder) {
|
|
231
|
+
// Codec is not chosen yet. Accumulate initial bytes.
|
|
232
|
+
this.initialBufs.push(buf)
|
|
233
|
+
this.initialBufsLen += buf.length
|
|
234
|
+
|
|
235
|
+
if (this.initialBufsLen < 32) // We need more bytes to use space heuristic (see below)
|
|
236
|
+
{ return "" }
|
|
237
|
+
|
|
238
|
+
// We have enough bytes -> detect endianness.
|
|
239
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
240
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
241
|
+
|
|
242
|
+
var resStr = ""
|
|
243
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
244
|
+
|
|
245
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
246
|
+
return resStr
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
return this.decoder.write(buf)
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
Utf32AutoDecoder.prototype.end = function () {
|
|
253
|
+
if (!this.decoder) {
|
|
254
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
255
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
256
|
+
|
|
257
|
+
var resStr = ""
|
|
258
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
259
|
+
|
|
260
|
+
var trail = this.decoder.end()
|
|
261
|
+
if (trail) { resStr += trail }
|
|
262
|
+
|
|
263
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
264
|
+
return resStr
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
return this.decoder.end()
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function detectEncoding (bufs, defaultEncoding) {
|
|
271
|
+
var b = []
|
|
272
|
+
var charsProcessed = 0
|
|
273
|
+
var invalidLE = 0; var invalidBE = 0 // Number of invalid chars when decoded as LE or BE.
|
|
274
|
+
var bmpCharsLE = 0; var bmpCharsBE = 0 // Number of BMP chars when decoded as LE or BE.
|
|
275
|
+
|
|
276
|
+
outerLoop:
|
|
277
|
+
for (var i = 0; i < bufs.length; i++) {
|
|
278
|
+
var buf = bufs[i]
|
|
279
|
+
for (var j = 0; j < buf.length; j++) {
|
|
280
|
+
b.push(buf[j])
|
|
281
|
+
if (b.length === 4) {
|
|
282
|
+
if (charsProcessed === 0) {
|
|
283
|
+
// Check BOM first.
|
|
284
|
+
if (b[0] === 0xFF && b[1] === 0xFE && b[2] === 0 && b[3] === 0) {
|
|
285
|
+
return "utf-32le"
|
|
286
|
+
}
|
|
287
|
+
if (b[0] === 0 && b[1] === 0 && b[2] === 0xFE && b[3] === 0xFF) {
|
|
288
|
+
return "utf-32be"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
if (b[0] !== 0 || b[1] > 0x10) invalidBE++
|
|
293
|
+
if (b[3] !== 0 || b[2] > 0x10) invalidLE++
|
|
294
|
+
|
|
295
|
+
if (b[0] === 0 && b[1] === 0 && (b[2] !== 0 || b[3] !== 0)) bmpCharsBE++
|
|
296
|
+
if ((b[0] !== 0 || b[1] !== 0) && b[2] === 0 && b[3] === 0) bmpCharsLE++
|
|
297
|
+
|
|
298
|
+
b.length = 0
|
|
299
|
+
charsProcessed++
|
|
300
|
+
|
|
301
|
+
if (charsProcessed >= 100) {
|
|
302
|
+
break outerLoop
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Make decisions.
|
|
309
|
+
if (bmpCharsBE - invalidBE > bmpCharsLE - invalidLE) return "utf-32be"
|
|
310
|
+
if (bmpCharsBE - invalidBE < bmpCharsLE - invalidLE) return "utf-32le"
|
|
311
|
+
|
|
312
|
+
// Couldn't decide (likely all zeros or not enough data).
|
|
313
|
+
return defaultEncoding || "utf-32le"
|
|
314
|
+
}
|