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,562 @@
|
|
|
1
|
+
var debug = require('debug')('nodemon:run');
|
|
2
|
+
const statSync = require('fs').statSync;
|
|
3
|
+
var utils = require('../utils');
|
|
4
|
+
var bus = utils.bus;
|
|
5
|
+
var childProcess = require('child_process');
|
|
6
|
+
var spawn = childProcess.spawn;
|
|
7
|
+
var exec = childProcess.exec;
|
|
8
|
+
var execSync = childProcess.execSync;
|
|
9
|
+
var fork = childProcess.fork;
|
|
10
|
+
var watch = require('./watch').watch;
|
|
11
|
+
var config = require('../config');
|
|
12
|
+
var child = null; // the actual child process we spawn
|
|
13
|
+
var killedAfterChange = false;
|
|
14
|
+
var noop = () => {};
|
|
15
|
+
var restart = null;
|
|
16
|
+
var psTree = require('pstree.remy');
|
|
17
|
+
var path = require('path');
|
|
18
|
+
var signals = require('./signals');
|
|
19
|
+
const undefsafe = require('undefsafe');
|
|
20
|
+
const osRelease = parseInt(require('os').release().split('.')[0], 10);
|
|
21
|
+
|
|
22
|
+
function run(options) {
|
|
23
|
+
var cmd = config.command.raw;
|
|
24
|
+
// moved up
|
|
25
|
+
// we need restart function below in the global scope for run.kill
|
|
26
|
+
/*jshint validthis:true*/
|
|
27
|
+
restart = run.bind(this, options);
|
|
28
|
+
run.restart = restart;
|
|
29
|
+
|
|
30
|
+
// binding options with instance of run
|
|
31
|
+
// so that we can use it in run.kill
|
|
32
|
+
run.options = options;
|
|
33
|
+
|
|
34
|
+
var runCmd = !options.runOnChangeOnly || config.lastStarted !== 0;
|
|
35
|
+
if (runCmd) {
|
|
36
|
+
utils.log.status('starting `' + config.command.string + '`');
|
|
37
|
+
} else {
|
|
38
|
+
// should just watch file if command is not to be run
|
|
39
|
+
// had another alternate approach
|
|
40
|
+
// to stop process being forked/spawned in the below code
|
|
41
|
+
// but this approach does early exit and makes code cleaner
|
|
42
|
+
debug('start watch on: %s', config.options.watch);
|
|
43
|
+
if (config.options.watch !== false) {
|
|
44
|
+
watch();
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
config.lastStarted = Date.now();
|
|
50
|
+
|
|
51
|
+
var stdio = ['pipe', 'pipe', 'pipe'];
|
|
52
|
+
|
|
53
|
+
if (config.options.stdout) {
|
|
54
|
+
stdio = ['pipe', process.stdout, process.stderr];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (config.options.stdin === false) {
|
|
58
|
+
stdio = [process.stdin, process.stdout, process.stderr];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
var sh = 'sh';
|
|
62
|
+
var shFlag = '-c';
|
|
63
|
+
|
|
64
|
+
const binPath = process.cwd() + '/node_modules/.bin';
|
|
65
|
+
|
|
66
|
+
const spawnOptions = {
|
|
67
|
+
env: Object.assign({}, options.execOptions.env, process.env, {
|
|
68
|
+
PATH:
|
|
69
|
+
binPath +
|
|
70
|
+
path.delimiter +
|
|
71
|
+
(undefsafe(options, '.execOptions.env.PATH') || process.env.PATH),
|
|
72
|
+
}),
|
|
73
|
+
stdio: stdio,
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
var executable = cmd.executable;
|
|
77
|
+
|
|
78
|
+
if (utils.isWindows) {
|
|
79
|
+
// if the exec includes a forward slash, reverse it for windows compat
|
|
80
|
+
// but *only* apply to the first command, and none of the arguments.
|
|
81
|
+
// ref #1251 and #1236
|
|
82
|
+
if (executable.indexOf('/') !== -1) {
|
|
83
|
+
executable = executable
|
|
84
|
+
.split(' ')
|
|
85
|
+
.map((e, i) => {
|
|
86
|
+
if (i === 0) {
|
|
87
|
+
return path.normalize(e);
|
|
88
|
+
}
|
|
89
|
+
return e;
|
|
90
|
+
})
|
|
91
|
+
.join(' ');
|
|
92
|
+
}
|
|
93
|
+
// taken from npm's cli: https://git.io/vNFD4
|
|
94
|
+
sh = process.env.comspec || 'cmd';
|
|
95
|
+
shFlag = '/d /s /c';
|
|
96
|
+
spawnOptions.windowsVerbatimArguments = true;
|
|
97
|
+
spawnOptions.windowsHide = true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
var args = runCmd ? utils.stringify(executable, cmd.args) : ':';
|
|
101
|
+
var spawnArgs = [sh, [shFlag, args], spawnOptions];
|
|
102
|
+
|
|
103
|
+
const firstArg = cmd.args[0] || '';
|
|
104
|
+
|
|
105
|
+
var inBinPath = false;
|
|
106
|
+
try {
|
|
107
|
+
inBinPath = statSync(`${binPath}/${executable}`).isFile();
|
|
108
|
+
} catch (e) {}
|
|
109
|
+
|
|
110
|
+
// hasStdio allows us to correctly handle stdin piping
|
|
111
|
+
// see: https://git.io/vNtX3
|
|
112
|
+
const hasStdio = utils.satisfies('>= 6.4.0 || < 5');
|
|
113
|
+
|
|
114
|
+
// forking helps with sub-process handling and tends to clean up better
|
|
115
|
+
// than spawning, but it should only be used under specific conditions
|
|
116
|
+
const shouldFork =
|
|
117
|
+
!config.options.spawn &&
|
|
118
|
+
!inBinPath &&
|
|
119
|
+
!(firstArg.indexOf('-') === 0) && // don't fork if there's a node exec arg
|
|
120
|
+
firstArg !== 'inspect' && // don't fork it's `inspect` debugger
|
|
121
|
+
executable === 'node' && // only fork if node
|
|
122
|
+
utils.version.major > 4; // only fork if node version > 4
|
|
123
|
+
|
|
124
|
+
if (shouldFork) {
|
|
125
|
+
// this assumes the first argument is the script and slices it out, since
|
|
126
|
+
// we're forking
|
|
127
|
+
var forkArgs = cmd.args.slice(1);
|
|
128
|
+
var env = utils.merge(options.execOptions.env, process.env);
|
|
129
|
+
stdio.push('ipc');
|
|
130
|
+
const forkOptions = {
|
|
131
|
+
env: env,
|
|
132
|
+
stdio: stdio,
|
|
133
|
+
silent: !hasStdio,
|
|
134
|
+
};
|
|
135
|
+
if (utils.isWindows) {
|
|
136
|
+
forkOptions.windowsHide = true;
|
|
137
|
+
}
|
|
138
|
+
child = fork(options.execOptions.script, forkArgs, forkOptions);
|
|
139
|
+
utils.log.detail('forking');
|
|
140
|
+
debug('fork', sh, shFlag, args);
|
|
141
|
+
} else {
|
|
142
|
+
utils.log.detail('spawning');
|
|
143
|
+
child = spawn.apply(null, spawnArgs);
|
|
144
|
+
debug('spawn', sh, shFlag, args);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (config.required) {
|
|
148
|
+
var emit = {
|
|
149
|
+
stdout: function (data) {
|
|
150
|
+
bus.emit('stdout', data);
|
|
151
|
+
},
|
|
152
|
+
stderr: function (data) {
|
|
153
|
+
bus.emit('stderr', data);
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
// now work out what to bind to...
|
|
158
|
+
if (config.options.stdout) {
|
|
159
|
+
child.on('stdout', emit.stdout).on('stderr', emit.stderr);
|
|
160
|
+
} else {
|
|
161
|
+
child.stdout.on('data', emit.stdout);
|
|
162
|
+
child.stderr.on('data', emit.stderr);
|
|
163
|
+
|
|
164
|
+
bus.stdout = child.stdout;
|
|
165
|
+
bus.stderr = child.stderr;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
if (shouldFork) {
|
|
169
|
+
child.on('message', function (message, sendHandle) {
|
|
170
|
+
bus.emit('message', message, sendHandle);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
bus.emit('start');
|
|
176
|
+
|
|
177
|
+
utils.log.detail('child pid: ' + child.pid);
|
|
178
|
+
|
|
179
|
+
child.on('error', function (error) {
|
|
180
|
+
bus.emit('error', error);
|
|
181
|
+
if (error.code === 'ENOENT') {
|
|
182
|
+
utils.log.error('unable to run executable: "' + cmd.executable + '"');
|
|
183
|
+
process.exit(1);
|
|
184
|
+
} else {
|
|
185
|
+
utils.log.error('failed to start child process: ' + error.code);
|
|
186
|
+
throw error;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
child.on('exit', function (code, signal) {
|
|
191
|
+
if (child && child.stdin) {
|
|
192
|
+
process.stdin.unpipe(child.stdin);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if (code === 127) {
|
|
196
|
+
utils.log.error(
|
|
197
|
+
'failed to start process, "' + cmd.executable + '" exec not found'
|
|
198
|
+
);
|
|
199
|
+
bus.emit('error', code);
|
|
200
|
+
process.exit();
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// If the command failed with code 2, it may or may not be a syntax error
|
|
204
|
+
// See: http://git.io/fNOAR
|
|
205
|
+
// We will only assume a parse error, if the child failed quickly
|
|
206
|
+
if (code === 2 && Date.now() < config.lastStarted + 500) {
|
|
207
|
+
utils.log.error('process failed, unhandled exit code (2)');
|
|
208
|
+
utils.log.error('');
|
|
209
|
+
utils.log.error('Either the command has a syntax error,');
|
|
210
|
+
utils.log.error('or it is exiting with reserved code 2.');
|
|
211
|
+
utils.log.error('');
|
|
212
|
+
utils.log.error('To keep nodemon running even after a code 2,');
|
|
213
|
+
utils.log.error('add this to the end of your command: || exit 1');
|
|
214
|
+
utils.log.error('');
|
|
215
|
+
utils.log.error('Read more here: https://git.io/fNOAG');
|
|
216
|
+
utils.log.error('');
|
|
217
|
+
utils.log.error('nodemon will stop now so that you can fix the command.');
|
|
218
|
+
utils.log.error('');
|
|
219
|
+
bus.emit('error', code);
|
|
220
|
+
process.exit();
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// In case we killed the app ourselves, set the signal thusly
|
|
224
|
+
if (killedAfterChange) {
|
|
225
|
+
killedAfterChange = false;
|
|
226
|
+
signal = config.signal;
|
|
227
|
+
}
|
|
228
|
+
// this is nasty, but it gives it windows support
|
|
229
|
+
if (utils.isWindows && signal === 'SIGTERM') {
|
|
230
|
+
signal = config.signal;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (signal === config.signal || code === 0) {
|
|
234
|
+
// this was a clean exit, so emit exit, rather than crash
|
|
235
|
+
debug('bus.emit(exit) via ' + config.signal);
|
|
236
|
+
bus.emit('exit', signal);
|
|
237
|
+
|
|
238
|
+
// exit the monitor, but do it gracefully
|
|
239
|
+
if (signal === config.signal) {
|
|
240
|
+
return restart();
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (code === 0) {
|
|
244
|
+
// clean exit - wait until file change to restart
|
|
245
|
+
if (runCmd) {
|
|
246
|
+
utils.log.status('clean exit - waiting for changes before restart');
|
|
247
|
+
}
|
|
248
|
+
child = null;
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
bus.emit('crash');
|
|
252
|
+
|
|
253
|
+
// support the old syntax of `exitcrash` - 2024-12-13
|
|
254
|
+
if (options.exitcrash) {
|
|
255
|
+
options.exitCrash = true;
|
|
256
|
+
delete options.exitcrash;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if (options.exitCrash) {
|
|
260
|
+
utils.log.fail('app crashed');
|
|
261
|
+
if (!config.required) {
|
|
262
|
+
process.exit(1);
|
|
263
|
+
}
|
|
264
|
+
} else {
|
|
265
|
+
utils.log.fail(
|
|
266
|
+
'app crashed - waiting for file changes before' + ' starting...'
|
|
267
|
+
);
|
|
268
|
+
child = null;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
if (config.options.restartable) {
|
|
273
|
+
// stdin needs to kick in again to be able to listen to the
|
|
274
|
+
// restart command
|
|
275
|
+
process.stdin.resume();
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
|
|
279
|
+
// moved the run.kill outside to handle both the cases
|
|
280
|
+
// intial start
|
|
281
|
+
// no start
|
|
282
|
+
|
|
283
|
+
// connect stdin to the child process (options.stdin is on by default)
|
|
284
|
+
if (options.stdin) {
|
|
285
|
+
process.stdin.resume();
|
|
286
|
+
// FIXME decide whether or not we need to decide the encoding
|
|
287
|
+
// process.stdin.setEncoding('utf8');
|
|
288
|
+
|
|
289
|
+
// swallow the stdin error if it happens
|
|
290
|
+
// ref: https://github.com/remy/nodemon/issues/1195
|
|
291
|
+
if (hasStdio) {
|
|
292
|
+
child.stdin.on('error', () => {});
|
|
293
|
+
process.stdin.pipe(child.stdin);
|
|
294
|
+
} else {
|
|
295
|
+
if (child.stdout) {
|
|
296
|
+
child.stdout.pipe(process.stdout);
|
|
297
|
+
} else {
|
|
298
|
+
utils.log.error(
|
|
299
|
+
'running an unsupported version of node ' + process.version
|
|
300
|
+
);
|
|
301
|
+
utils.log.error(
|
|
302
|
+
'nodemon may not work as expected - ' +
|
|
303
|
+
'please consider upgrading to LTS'
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
bus.once('exit', function () {
|
|
309
|
+
if (child && process.stdin.unpipe) {
|
|
310
|
+
// node > 0.8
|
|
311
|
+
process.stdin.unpipe(child.stdin);
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
debug('start watch on: %s', config.options.watch);
|
|
317
|
+
if (config.options.watch !== false) {
|
|
318
|
+
watch();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
function waitForSubProcesses(pid, callback) {
|
|
323
|
+
debug('checking ps tree for pids of ' + pid);
|
|
324
|
+
psTree(pid, (err, pids) => {
|
|
325
|
+
if (!pids.length) {
|
|
326
|
+
return callback();
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
utils.log.status(
|
|
330
|
+
`still waiting for ${pids.length} sub-process${
|
|
331
|
+
pids.length > 2 ? 'es' : ''
|
|
332
|
+
} to finish...`
|
|
333
|
+
);
|
|
334
|
+
setTimeout(() => waitForSubProcesses(pid, callback), 1000);
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
function kill(child, signal, callback) {
|
|
339
|
+
if (!callback) {
|
|
340
|
+
callback = noop;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
if (utils.isWindows) {
|
|
344
|
+
const taskKill = () => {
|
|
345
|
+
try {
|
|
346
|
+
exec('taskkill /pid ' + child.pid + ' /T /F');
|
|
347
|
+
} catch (e) {
|
|
348
|
+
utils.log.error('Could not shutdown sub process cleanly');
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
// We are handling a 'SIGKILL' , 'SIGUSR2' and 'SIGUSR1' POSIX signal under Windows the
|
|
353
|
+
// same way it is handled on a UNIX system: We are performing
|
|
354
|
+
// a hard shutdown without waiting for the process to clean-up.
|
|
355
|
+
if (
|
|
356
|
+
signal === 'SIGKILL' ||
|
|
357
|
+
osRelease < 10 ||
|
|
358
|
+
signal === 'SIGUSR2' ||
|
|
359
|
+
signal === 'SIGUSR1'
|
|
360
|
+
) {
|
|
361
|
+
debug('terminating process group by force: %s', child.pid);
|
|
362
|
+
|
|
363
|
+
// We are using the taskkill utility to terminate the whole
|
|
364
|
+
// process group ('/t') of the child ('/pid') by force ('/f').
|
|
365
|
+
// We need to end all sub processes, because the 'child'
|
|
366
|
+
// process in this context is actually a cmd.exe wrapper.
|
|
367
|
+
taskKill();
|
|
368
|
+
callback();
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
try {
|
|
373
|
+
// We are using the Windows Management Instrumentation Command-line
|
|
374
|
+
// (wmic.exe) to resolve the sub-child process identifier, because the
|
|
375
|
+
// 'child' process in this context is actually a cmd.exe wrapper.
|
|
376
|
+
// We want to send the termination signal directly to the node process.
|
|
377
|
+
// The '2> nul' silences the no process found error message.
|
|
378
|
+
const resultBuffer = execSync(
|
|
379
|
+
`wmic process where (ParentProcessId=${child.pid}) get ProcessId 2> nul`
|
|
380
|
+
);
|
|
381
|
+
const result = resultBuffer.toString().match(/^[0-9]+/m);
|
|
382
|
+
|
|
383
|
+
// If there is no sub-child process we fall back to the child process.
|
|
384
|
+
const processId = Array.isArray(result) ? result[0] : child.pid;
|
|
385
|
+
|
|
386
|
+
debug('sending kill signal SIGINT to process: %s', processId);
|
|
387
|
+
|
|
388
|
+
// We are using the standalone 'windows-kill' executable to send the
|
|
389
|
+
// standard POSIX signal 'SIGINT' to the node process. This fixes #1720.
|
|
390
|
+
const windowsKill = path.normalize(
|
|
391
|
+
`${__dirname}/../../bin/windows-kill.exe`
|
|
392
|
+
);
|
|
393
|
+
|
|
394
|
+
// We have to detach the 'windows-kill' execution completely from this
|
|
395
|
+
// process group to avoid terminating the nodemon process itself.
|
|
396
|
+
// See: https://github.com/alirdn/windows-kill#how-it-works--limitations
|
|
397
|
+
//
|
|
398
|
+
// Therefore we are using 'start' to create a new cmd.exe context.
|
|
399
|
+
// The '/min' option hides the new terminal window and the '/wait'
|
|
400
|
+
// option lets the process wait for the command to finish.
|
|
401
|
+
|
|
402
|
+
execSync(
|
|
403
|
+
`start "windows-kill" /min /wait "${windowsKill}" -SIGINT ${processId}`
|
|
404
|
+
);
|
|
405
|
+
} catch (e) {
|
|
406
|
+
taskKill();
|
|
407
|
+
}
|
|
408
|
+
callback();
|
|
409
|
+
} else {
|
|
410
|
+
// we use psTree to kill the full subtree of nodemon, because when
|
|
411
|
+
// spawning processes like `coffee` under the `--debug` flag, it'll spawn
|
|
412
|
+
// it's own child, and that can't be killed by nodemon, so psTree gives us
|
|
413
|
+
// an array of PIDs that have spawned under nodemon, and we send each the
|
|
414
|
+
// configured signal (default: SIGUSR2) signal, which fixes #335
|
|
415
|
+
// note that psTree also works if `ps` is missing by looking in /proc
|
|
416
|
+
let sig = signal.replace('SIG', '');
|
|
417
|
+
|
|
418
|
+
psTree(child.pid, function (err, pids) {
|
|
419
|
+
// if ps isn't native to the OS, then we need to send the numeric value
|
|
420
|
+
// for the signal during the kill, `signals` is a lookup table for that.
|
|
421
|
+
if (!psTree.hasPS) {
|
|
422
|
+
sig = signals[signal];
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
// the sub processes need to be killed from smallest to largest
|
|
426
|
+
debug('sending kill signal to ' + pids.join(', '));
|
|
427
|
+
|
|
428
|
+
child.kill(signal);
|
|
429
|
+
|
|
430
|
+
pids.sort().forEach((pid) => exec(`kill -${sig} ${pid}`, noop));
|
|
431
|
+
|
|
432
|
+
waitForSubProcesses(child.pid, () => {
|
|
433
|
+
// finally kill the main user process
|
|
434
|
+
exec(`kill -${sig} ${child.pid}`, callback);
|
|
435
|
+
});
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
run.kill = function (noRestart, callback) {
|
|
441
|
+
// I hate code like this :( - Remy (author of said code)
|
|
442
|
+
if (typeof noRestart === 'function') {
|
|
443
|
+
callback = noRestart;
|
|
444
|
+
noRestart = false;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
if (!callback) {
|
|
448
|
+
callback = noop;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
if (child !== null) {
|
|
452
|
+
// if the stdin piping is on, we need to unpipe, but also close stdin on
|
|
453
|
+
// the child, otherwise linux can throw EPIPE or ECONNRESET errors.
|
|
454
|
+
if (run.options.stdin) {
|
|
455
|
+
process.stdin.unpipe(child.stdin);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// For the on('exit', ...) handler above the following looks like a
|
|
459
|
+
// crash, so we set the killedAfterChange flag if a restart is planned
|
|
460
|
+
if (!noRestart) {
|
|
461
|
+
killedAfterChange = true;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/* Now kill the entire subtree of processes belonging to nodemon */
|
|
465
|
+
var oldPid = child.pid;
|
|
466
|
+
if (child) {
|
|
467
|
+
kill(child, config.signal, function () {
|
|
468
|
+
// this seems to fix the 0.11.x issue with the "rs" restart command,
|
|
469
|
+
// though I'm unsure why. it seems like more data is streamed in to
|
|
470
|
+
// stdin after we close.
|
|
471
|
+
if (child && run.options.stdin && child.stdin && oldPid === child.pid) {
|
|
472
|
+
child.stdin.end();
|
|
473
|
+
}
|
|
474
|
+
callback();
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
} else if (!noRestart) {
|
|
478
|
+
// if there's no child, then we need to manually start the process
|
|
479
|
+
// this is because as there was no child, the child.on('exit') event
|
|
480
|
+
// handler doesn't exist which would normally trigger the restart.
|
|
481
|
+
bus.once('start', callback);
|
|
482
|
+
run.restart();
|
|
483
|
+
} else {
|
|
484
|
+
callback();
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
run.restart = noop;
|
|
489
|
+
|
|
490
|
+
bus.on('quit', function onQuit(code) {
|
|
491
|
+
if (code === undefined) {
|
|
492
|
+
code = 0;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
// remove event listener
|
|
496
|
+
var exitTimer = null;
|
|
497
|
+
var exit = function () {
|
|
498
|
+
clearTimeout(exitTimer);
|
|
499
|
+
exit = noop; // null out in case of race condition
|
|
500
|
+
child = null;
|
|
501
|
+
if (!config.required) {
|
|
502
|
+
// Execute all other quit listeners.
|
|
503
|
+
bus.listeners('quit').forEach(function (listener) {
|
|
504
|
+
if (listener !== onQuit) {
|
|
505
|
+
listener();
|
|
506
|
+
}
|
|
507
|
+
});
|
|
508
|
+
process.exit(code);
|
|
509
|
+
} else {
|
|
510
|
+
bus.emit('exit');
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
// if we're not running already, don't bother with trying to kill
|
|
515
|
+
if (config.run === false) {
|
|
516
|
+
return exit();
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// immediately try to stop any polling
|
|
520
|
+
config.run = false;
|
|
521
|
+
|
|
522
|
+
if (child) {
|
|
523
|
+
// give up waiting for the kids after 10 seconds
|
|
524
|
+
exitTimer = setTimeout(exit, 10 * 1000);
|
|
525
|
+
child.removeAllListeners('exit');
|
|
526
|
+
child.once('exit', exit);
|
|
527
|
+
|
|
528
|
+
kill(child, 'SIGINT');
|
|
529
|
+
} else {
|
|
530
|
+
exit();
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
bus.on('restart', function () {
|
|
535
|
+
// run.kill will send a SIGINT to the child process, which will cause it
|
|
536
|
+
// to terminate, which in turn uses the 'exit' event handler to restart
|
|
537
|
+
run.kill();
|
|
538
|
+
});
|
|
539
|
+
|
|
540
|
+
// remove the child file on exit
|
|
541
|
+
process.on('exit', function () {
|
|
542
|
+
utils.log.detail('exiting');
|
|
543
|
+
if (child) {
|
|
544
|
+
child.kill();
|
|
545
|
+
}
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
// because windows borks when listening for the SIG* events
|
|
549
|
+
if (!utils.isWindows) {
|
|
550
|
+
bus.once('boot', () => {
|
|
551
|
+
// usual suspect: ctrl+c exit
|
|
552
|
+
process.once('SIGINT', () => bus.emit('quit', 130));
|
|
553
|
+
process.once('SIGTERM', () => {
|
|
554
|
+
bus.emit('quit', 143);
|
|
555
|
+
if (child) {
|
|
556
|
+
child.kill('SIGTERM');
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
module.exports = run;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
SIGHUP: 1,
|
|
3
|
+
SIGINT: 2,
|
|
4
|
+
SIGQUIT: 3,
|
|
5
|
+
SIGILL: 4,
|
|
6
|
+
SIGTRAP: 5,
|
|
7
|
+
SIGABRT: 6,
|
|
8
|
+
SIGBUS: 7,
|
|
9
|
+
SIGFPE: 8,
|
|
10
|
+
SIGKILL: 9,
|
|
11
|
+
SIGUSR1: 10,
|
|
12
|
+
SIGSEGV: 11,
|
|
13
|
+
SIGUSR2: 12,
|
|
14
|
+
SIGPIPE: 13,
|
|
15
|
+
SIGALRM: 14,
|
|
16
|
+
SIGTERM: 15,
|
|
17
|
+
SIGSTKFLT: 16,
|
|
18
|
+
SIGCHLD: 17,
|
|
19
|
+
SIGCONT: 18,
|
|
20
|
+
SIGSTOP: 19,
|
|
21
|
+
SIGTSTP: 20,
|
|
22
|
+
SIGTTIN: 21,
|
|
23
|
+
SIGTTOU: 22,
|
|
24
|
+
SIGURG: 23,
|
|
25
|
+
SIGXCPU: 24,
|
|
26
|
+
SIGXFSZ: 25,
|
|
27
|
+
SIGVTALRM: 26,
|
|
28
|
+
SIGPROF: 27,
|
|
29
|
+
SIGWINCH: 28,
|
|
30
|
+
SIGIO: 29,
|
|
31
|
+
SIGPWR: 30,
|
|
32
|
+
SIGSYS: 31,
|
|
33
|
+
SIGRTMIN: 35,
|
|
34
|
+
}
|