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.
Files changed (1057) hide show
  1. package/compiler/compile.js +57 -0
  2. package/compiler/node_modules/.bin/esbuild +15 -0
  3. package/compiler/node_modules/.bin/esbuild.cmd +7 -0
  4. package/compiler/node_modules/.bin/nodemon +15 -0
  5. package/compiler/node_modules/.bin/nodemon.cmd +7 -0
  6. package/compiler/node_modules/.bin/nodetouch +15 -0
  7. package/compiler/node_modules/.bin/nodetouch.cmd +7 -0
  8. package/compiler/node_modules/.bin/semver +15 -0
  9. package/compiler/node_modules/.bin/semver.cmd +7 -0
  10. package/compiler/node_modules/.yarn-integrity +161 -0
  11. package/compiler/node_modules/@esbuild/win32-x64/README.md +3 -0
  12. package/compiler/node_modules/@esbuild/win32-x64/esbuild.exe +0 -0
  13. package/compiler/node_modules/@esbuild/win32-x64/package.json +20 -0
  14. package/compiler/node_modules/accepts/HISTORY.md +250 -0
  15. package/compiler/node_modules/accepts/LICENSE +23 -0
  16. package/compiler/node_modules/accepts/README.md +140 -0
  17. package/compiler/node_modules/accepts/index.js +238 -0
  18. package/compiler/node_modules/accepts/package.json +47 -0
  19. package/compiler/node_modules/anymatch/LICENSE +15 -0
  20. package/compiler/node_modules/anymatch/README.md +87 -0
  21. package/compiler/node_modules/anymatch/index.d.ts +20 -0
  22. package/compiler/node_modules/anymatch/index.js +104 -0
  23. package/compiler/node_modules/anymatch/package.json +48 -0
  24. package/compiler/node_modules/balanced-match/LICENSE.md +23 -0
  25. package/compiler/node_modules/balanced-match/README.md +57 -0
  26. package/compiler/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
  27. package/compiler/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
  28. package/compiler/node_modules/balanced-match/dist/commonjs/index.js +59 -0
  29. package/compiler/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
  30. package/compiler/node_modules/balanced-match/dist/commonjs/package.json +3 -0
  31. package/compiler/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
  32. package/compiler/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
  33. package/compiler/node_modules/balanced-match/dist/esm/index.js +54 -0
  34. package/compiler/node_modules/balanced-match/dist/esm/index.js.map +1 -0
  35. package/compiler/node_modules/balanced-match/dist/esm/package.json +3 -0
  36. package/compiler/node_modules/balanced-match/package.json +68 -0
  37. package/compiler/node_modules/binary-extensions/binary-extensions.json +263 -0
  38. package/compiler/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
  39. package/compiler/node_modules/binary-extensions/index.d.ts +14 -0
  40. package/compiler/node_modules/binary-extensions/index.js +1 -0
  41. package/compiler/node_modules/binary-extensions/license +10 -0
  42. package/compiler/node_modules/binary-extensions/package.json +40 -0
  43. package/compiler/node_modules/binary-extensions/readme.md +25 -0
  44. package/compiler/node_modules/body-parser/LICENSE +23 -0
  45. package/compiler/node_modules/body-parser/README.md +509 -0
  46. package/compiler/node_modules/body-parser/index.js +55 -0
  47. package/compiler/node_modules/body-parser/lib/read.js +247 -0
  48. package/compiler/node_modules/body-parser/lib/types/json.js +186 -0
  49. package/compiler/node_modules/body-parser/lib/types/raw.js +42 -0
  50. package/compiler/node_modules/body-parser/lib/types/text.js +36 -0
  51. package/compiler/node_modules/body-parser/lib/types/urlencoded.js +138 -0
  52. package/compiler/node_modules/body-parser/lib/utils.js +100 -0
  53. package/compiler/node_modules/body-parser/package.json +65 -0
  54. package/compiler/node_modules/brace-expansion/LICENSE +23 -0
  55. package/compiler/node_modules/brace-expansion/README.md +94 -0
  56. package/compiler/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
  57. package/compiler/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
  58. package/compiler/node_modules/brace-expansion/dist/commonjs/index.js +211 -0
  59. package/compiler/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
  60. package/compiler/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
  61. package/compiler/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
  62. package/compiler/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
  63. package/compiler/node_modules/brace-expansion/dist/esm/index.js +207 -0
  64. package/compiler/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
  65. package/compiler/node_modules/brace-expansion/dist/esm/package.json +3 -0
  66. package/compiler/node_modules/brace-expansion/package.json +64 -0
  67. package/compiler/node_modules/braces/LICENSE +21 -0
  68. package/compiler/node_modules/braces/README.md +586 -0
  69. package/compiler/node_modules/braces/index.js +170 -0
  70. package/compiler/node_modules/braces/lib/compile.js +60 -0
  71. package/compiler/node_modules/braces/lib/constants.js +57 -0
  72. package/compiler/node_modules/braces/lib/expand.js +113 -0
  73. package/compiler/node_modules/braces/lib/parse.js +331 -0
  74. package/compiler/node_modules/braces/lib/stringify.js +32 -0
  75. package/compiler/node_modules/braces/lib/utils.js +122 -0
  76. package/compiler/node_modules/braces/package.json +77 -0
  77. package/compiler/node_modules/bytes/History.md +97 -0
  78. package/compiler/node_modules/bytes/LICENSE +23 -0
  79. package/compiler/node_modules/bytes/Readme.md +152 -0
  80. package/compiler/node_modules/bytes/index.js +170 -0
  81. package/compiler/node_modules/bytes/package.json +42 -0
  82. package/compiler/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  83. package/compiler/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  84. package/compiler/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  85. package/compiler/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  86. package/compiler/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  87. package/compiler/node_modules/call-bind-apply-helpers/README.md +62 -0
  88. package/compiler/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  89. package/compiler/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  90. package/compiler/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  91. package/compiler/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  92. package/compiler/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  93. package/compiler/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  94. package/compiler/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  95. package/compiler/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  96. package/compiler/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  97. package/compiler/node_modules/call-bind-apply-helpers/index.js +15 -0
  98. package/compiler/node_modules/call-bind-apply-helpers/package.json +85 -0
  99. package/compiler/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  100. package/compiler/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  101. package/compiler/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  102. package/compiler/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  103. package/compiler/node_modules/call-bound/.eslintrc +13 -0
  104. package/compiler/node_modules/call-bound/.github/FUNDING.yml +12 -0
  105. package/compiler/node_modules/call-bound/.nycrc +9 -0
  106. package/compiler/node_modules/call-bound/CHANGELOG.md +42 -0
  107. package/compiler/node_modules/call-bound/LICENSE +21 -0
  108. package/compiler/node_modules/call-bound/README.md +53 -0
  109. package/compiler/node_modules/call-bound/index.d.ts +94 -0
  110. package/compiler/node_modules/call-bound/index.js +19 -0
  111. package/compiler/node_modules/call-bound/package.json +99 -0
  112. package/compiler/node_modules/call-bound/test/index.js +61 -0
  113. package/compiler/node_modules/call-bound/tsconfig.json +10 -0
  114. package/compiler/node_modules/chokidar/LICENSE +21 -0
  115. package/compiler/node_modules/chokidar/README.md +308 -0
  116. package/compiler/node_modules/chokidar/index.js +973 -0
  117. package/compiler/node_modules/chokidar/lib/constants.js +66 -0
  118. package/compiler/node_modules/chokidar/lib/fsevents-handler.js +526 -0
  119. package/compiler/node_modules/chokidar/lib/nodefs-handler.js +654 -0
  120. package/compiler/node_modules/chokidar/package.json +70 -0
  121. package/compiler/node_modules/chokidar/types/index.d.ts +192 -0
  122. package/compiler/node_modules/content-disposition/LICENSE +22 -0
  123. package/compiler/node_modules/content-disposition/README.md +141 -0
  124. package/compiler/node_modules/content-disposition/index.js +536 -0
  125. package/compiler/node_modules/content-disposition/package.json +40 -0
  126. package/compiler/node_modules/content-type/LICENSE +22 -0
  127. package/compiler/node_modules/content-type/README.md +69 -0
  128. package/compiler/node_modules/content-type/dist/index.d.ts +26 -0
  129. package/compiler/node_modules/content-type/dist/index.js +170 -0
  130. package/compiler/node_modules/content-type/dist/index.js.map +1 -0
  131. package/compiler/node_modules/content-type/package.json +52 -0
  132. package/compiler/node_modules/cookie/LICENSE +24 -0
  133. package/compiler/node_modules/cookie/README.md +317 -0
  134. package/compiler/node_modules/cookie/SECURITY.md +25 -0
  135. package/compiler/node_modules/cookie/index.js +335 -0
  136. package/compiler/node_modules/cookie/package.json +44 -0
  137. package/compiler/node_modules/cookie-signature/History.md +70 -0
  138. package/compiler/node_modules/cookie-signature/LICENSE +22 -0
  139. package/compiler/node_modules/cookie-signature/Readme.md +23 -0
  140. package/compiler/node_modules/cookie-signature/index.js +47 -0
  141. package/compiler/node_modules/cookie-signature/package.json +24 -0
  142. package/compiler/node_modules/cors/LICENSE +22 -0
  143. package/compiler/node_modules/cors/README.md +277 -0
  144. package/compiler/node_modules/cors/lib/index.js +238 -0
  145. package/compiler/node_modules/cors/package.json +42 -0
  146. package/compiler/node_modules/debug/LICENSE +20 -0
  147. package/compiler/node_modules/debug/README.md +481 -0
  148. package/compiler/node_modules/debug/package.json +64 -0
  149. package/compiler/node_modules/debug/src/browser.js +272 -0
  150. package/compiler/node_modules/debug/src/common.js +292 -0
  151. package/compiler/node_modules/debug/src/index.js +10 -0
  152. package/compiler/node_modules/debug/src/node.js +263 -0
  153. package/compiler/node_modules/depd/History.md +103 -0
  154. package/compiler/node_modules/depd/LICENSE +22 -0
  155. package/compiler/node_modules/depd/Readme.md +280 -0
  156. package/compiler/node_modules/depd/index.js +538 -0
  157. package/compiler/node_modules/depd/lib/browser/index.js +77 -0
  158. package/compiler/node_modules/depd/package.json +45 -0
  159. package/compiler/node_modules/dunder-proto/.eslintrc +5 -0
  160. package/compiler/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  161. package/compiler/node_modules/dunder-proto/.nycrc +13 -0
  162. package/compiler/node_modules/dunder-proto/CHANGELOG.md +24 -0
  163. package/compiler/node_modules/dunder-proto/LICENSE +21 -0
  164. package/compiler/node_modules/dunder-proto/README.md +54 -0
  165. package/compiler/node_modules/dunder-proto/get.d.ts +5 -0
  166. package/compiler/node_modules/dunder-proto/get.js +30 -0
  167. package/compiler/node_modules/dunder-proto/package.json +76 -0
  168. package/compiler/node_modules/dunder-proto/set.d.ts +5 -0
  169. package/compiler/node_modules/dunder-proto/set.js +35 -0
  170. package/compiler/node_modules/dunder-proto/test/get.js +34 -0
  171. package/compiler/node_modules/dunder-proto/test/index.js +4 -0
  172. package/compiler/node_modules/dunder-proto/test/set.js +50 -0
  173. package/compiler/node_modules/dunder-proto/tsconfig.json +9 -0
  174. package/compiler/node_modules/ee-first/LICENSE +22 -0
  175. package/compiler/node_modules/ee-first/README.md +80 -0
  176. package/compiler/node_modules/ee-first/index.js +95 -0
  177. package/compiler/node_modules/ee-first/package.json +29 -0
  178. package/compiler/node_modules/encodeurl/LICENSE +22 -0
  179. package/compiler/node_modules/encodeurl/README.md +109 -0
  180. package/compiler/node_modules/encodeurl/index.js +60 -0
  181. package/compiler/node_modules/encodeurl/package.json +40 -0
  182. package/compiler/node_modules/es-define-property/.eslintrc +13 -0
  183. package/compiler/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  184. package/compiler/node_modules/es-define-property/.nycrc +9 -0
  185. package/compiler/node_modules/es-define-property/CHANGELOG.md +29 -0
  186. package/compiler/node_modules/es-define-property/LICENSE +21 -0
  187. package/compiler/node_modules/es-define-property/README.md +49 -0
  188. package/compiler/node_modules/es-define-property/index.d.ts +3 -0
  189. package/compiler/node_modules/es-define-property/index.js +14 -0
  190. package/compiler/node_modules/es-define-property/package.json +81 -0
  191. package/compiler/node_modules/es-define-property/test/index.js +56 -0
  192. package/compiler/node_modules/es-define-property/tsconfig.json +10 -0
  193. package/compiler/node_modules/es-errors/.eslintrc +5 -0
  194. package/compiler/node_modules/es-errors/.github/FUNDING.yml +12 -0
  195. package/compiler/node_modules/es-errors/CHANGELOG.md +40 -0
  196. package/compiler/node_modules/es-errors/LICENSE +21 -0
  197. package/compiler/node_modules/es-errors/README.md +55 -0
  198. package/compiler/node_modules/es-errors/eval.d.ts +3 -0
  199. package/compiler/node_modules/es-errors/eval.js +4 -0
  200. package/compiler/node_modules/es-errors/index.d.ts +3 -0
  201. package/compiler/node_modules/es-errors/index.js +4 -0
  202. package/compiler/node_modules/es-errors/package.json +80 -0
  203. package/compiler/node_modules/es-errors/range.d.ts +3 -0
  204. package/compiler/node_modules/es-errors/range.js +4 -0
  205. package/compiler/node_modules/es-errors/ref.d.ts +3 -0
  206. package/compiler/node_modules/es-errors/ref.js +4 -0
  207. package/compiler/node_modules/es-errors/syntax.d.ts +3 -0
  208. package/compiler/node_modules/es-errors/syntax.js +4 -0
  209. package/compiler/node_modules/es-errors/test/index.js +19 -0
  210. package/compiler/node_modules/es-errors/tsconfig.json +49 -0
  211. package/compiler/node_modules/es-errors/type.d.ts +3 -0
  212. package/compiler/node_modules/es-errors/type.js +4 -0
  213. package/compiler/node_modules/es-errors/uri.d.ts +3 -0
  214. package/compiler/node_modules/es-errors/uri.js +4 -0
  215. package/compiler/node_modules/es-object-atoms/.eslintrc +16 -0
  216. package/compiler/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  217. package/compiler/node_modules/es-object-atoms/CHANGELOG.md +44 -0
  218. package/compiler/node_modules/es-object-atoms/LICENSE +21 -0
  219. package/compiler/node_modules/es-object-atoms/README.md +63 -0
  220. package/compiler/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  221. package/compiler/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  222. package/compiler/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  223. package/compiler/node_modules/es-object-atoms/ToObject.js +10 -0
  224. package/compiler/node_modules/es-object-atoms/index.d.ts +3 -0
  225. package/compiler/node_modules/es-object-atoms/index.js +4 -0
  226. package/compiler/node_modules/es-object-atoms/isObject.d.ts +3 -0
  227. package/compiler/node_modules/es-object-atoms/isObject.js +6 -0
  228. package/compiler/node_modules/es-object-atoms/package.json +79 -0
  229. package/compiler/node_modules/es-object-atoms/test/index.js +38 -0
  230. package/compiler/node_modules/es-object-atoms/tsconfig.json +7 -0
  231. package/compiler/node_modules/esbuild/LICENSE.md +21 -0
  232. package/compiler/node_modules/esbuild/README.md +3 -0
  233. package/compiler/node_modules/esbuild/bin/esbuild +223 -0
  234. package/compiler/node_modules/esbuild/install.js +300 -0
  235. package/compiler/node_modules/esbuild/lib/main.d.ts +716 -0
  236. package/compiler/node_modules/esbuild/lib/main.js +2532 -0
  237. package/compiler/node_modules/esbuild/package.json +74 -0
  238. package/compiler/node_modules/escape-html/LICENSE +24 -0
  239. package/compiler/node_modules/escape-html/Readme.md +43 -0
  240. package/compiler/node_modules/escape-html/index.js +78 -0
  241. package/compiler/node_modules/escape-html/package.json +24 -0
  242. package/compiler/node_modules/etag/HISTORY.md +83 -0
  243. package/compiler/node_modules/etag/LICENSE +22 -0
  244. package/compiler/node_modules/etag/README.md +159 -0
  245. package/compiler/node_modules/etag/index.js +131 -0
  246. package/compiler/node_modules/etag/package.json +47 -0
  247. package/compiler/node_modules/express/LICENSE +24 -0
  248. package/compiler/node_modules/express/Readme.md +276 -0
  249. package/compiler/node_modules/express/index.js +11 -0
  250. package/compiler/node_modules/express/lib/application.js +631 -0
  251. package/compiler/node_modules/express/lib/express.js +81 -0
  252. package/compiler/node_modules/express/lib/request.js +514 -0
  253. package/compiler/node_modules/express/lib/response.js +1053 -0
  254. package/compiler/node_modules/express/lib/utils.js +271 -0
  255. package/compiler/node_modules/express/lib/view.js +205 -0
  256. package/compiler/node_modules/express/node_modules/content-type/HISTORY.md +29 -0
  257. package/compiler/node_modules/express/node_modules/content-type/LICENSE +22 -0
  258. package/compiler/node_modules/express/node_modules/content-type/README.md +94 -0
  259. package/compiler/node_modules/express/node_modules/content-type/index.js +225 -0
  260. package/compiler/node_modules/express/node_modules/content-type/package.json +42 -0
  261. package/compiler/node_modules/express/package.json +99 -0
  262. package/compiler/node_modules/fill-range/LICENSE +21 -0
  263. package/compiler/node_modules/fill-range/README.md +237 -0
  264. package/compiler/node_modules/fill-range/index.js +248 -0
  265. package/compiler/node_modules/fill-range/package.json +74 -0
  266. package/compiler/node_modules/finalhandler/HISTORY.md +239 -0
  267. package/compiler/node_modules/finalhandler/LICENSE +22 -0
  268. package/compiler/node_modules/finalhandler/README.md +150 -0
  269. package/compiler/node_modules/finalhandler/index.js +293 -0
  270. package/compiler/node_modules/finalhandler/package.json +47 -0
  271. package/compiler/node_modules/forwarded/HISTORY.md +21 -0
  272. package/compiler/node_modules/forwarded/LICENSE +22 -0
  273. package/compiler/node_modules/forwarded/README.md +57 -0
  274. package/compiler/node_modules/forwarded/index.js +90 -0
  275. package/compiler/node_modules/forwarded/package.json +45 -0
  276. package/compiler/node_modules/fresh/HISTORY.md +80 -0
  277. package/compiler/node_modules/fresh/LICENSE +23 -0
  278. package/compiler/node_modules/fresh/README.md +117 -0
  279. package/compiler/node_modules/fresh/index.js +136 -0
  280. package/compiler/node_modules/fresh/package.json +46 -0
  281. package/compiler/node_modules/function-bind/.eslintrc +21 -0
  282. package/compiler/node_modules/function-bind/.github/FUNDING.yml +12 -0
  283. package/compiler/node_modules/function-bind/.github/SECURITY.md +3 -0
  284. package/compiler/node_modules/function-bind/.nycrc +13 -0
  285. package/compiler/node_modules/function-bind/CHANGELOG.md +136 -0
  286. package/compiler/node_modules/function-bind/LICENSE +20 -0
  287. package/compiler/node_modules/function-bind/README.md +46 -0
  288. package/compiler/node_modules/function-bind/implementation.js +84 -0
  289. package/compiler/node_modules/function-bind/index.js +5 -0
  290. package/compiler/node_modules/function-bind/package.json +87 -0
  291. package/compiler/node_modules/function-bind/test/.eslintrc +9 -0
  292. package/compiler/node_modules/function-bind/test/index.js +252 -0
  293. package/compiler/node_modules/get-intrinsic/.eslintrc +42 -0
  294. package/compiler/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  295. package/compiler/node_modules/get-intrinsic/.nycrc +9 -0
  296. package/compiler/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  297. package/compiler/node_modules/get-intrinsic/LICENSE +21 -0
  298. package/compiler/node_modules/get-intrinsic/README.md +71 -0
  299. package/compiler/node_modules/get-intrinsic/index.js +378 -0
  300. package/compiler/node_modules/get-intrinsic/package.json +97 -0
  301. package/compiler/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  302. package/compiler/node_modules/get-proto/.eslintrc +10 -0
  303. package/compiler/node_modules/get-proto/.github/FUNDING.yml +12 -0
  304. package/compiler/node_modules/get-proto/.nycrc +9 -0
  305. package/compiler/node_modules/get-proto/CHANGELOG.md +21 -0
  306. package/compiler/node_modules/get-proto/LICENSE +21 -0
  307. package/compiler/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  308. package/compiler/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  309. package/compiler/node_modules/get-proto/README.md +50 -0
  310. package/compiler/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  311. package/compiler/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  312. package/compiler/node_modules/get-proto/index.d.ts +5 -0
  313. package/compiler/node_modules/get-proto/index.js +27 -0
  314. package/compiler/node_modules/get-proto/package.json +81 -0
  315. package/compiler/node_modules/get-proto/test/index.js +68 -0
  316. package/compiler/node_modules/get-proto/tsconfig.json +9 -0
  317. package/compiler/node_modules/glob-parent/CHANGELOG.md +110 -0
  318. package/compiler/node_modules/glob-parent/LICENSE +15 -0
  319. package/compiler/node_modules/glob-parent/README.md +137 -0
  320. package/compiler/node_modules/glob-parent/index.js +42 -0
  321. package/compiler/node_modules/glob-parent/package.json +48 -0
  322. package/compiler/node_modules/gopd/.eslintrc +16 -0
  323. package/compiler/node_modules/gopd/.github/FUNDING.yml +12 -0
  324. package/compiler/node_modules/gopd/CHANGELOG.md +45 -0
  325. package/compiler/node_modules/gopd/LICENSE +21 -0
  326. package/compiler/node_modules/gopd/README.md +40 -0
  327. package/compiler/node_modules/gopd/gOPD.d.ts +1 -0
  328. package/compiler/node_modules/gopd/gOPD.js +4 -0
  329. package/compiler/node_modules/gopd/index.d.ts +5 -0
  330. package/compiler/node_modules/gopd/index.js +15 -0
  331. package/compiler/node_modules/gopd/package.json +77 -0
  332. package/compiler/node_modules/gopd/test/index.js +36 -0
  333. package/compiler/node_modules/gopd/tsconfig.json +9 -0
  334. package/compiler/node_modules/has-flag/index.js +8 -0
  335. package/compiler/node_modules/has-flag/license +9 -0
  336. package/compiler/node_modules/has-flag/package.json +44 -0
  337. package/compiler/node_modules/has-flag/readme.md +70 -0
  338. package/compiler/node_modules/has-symbols/.eslintrc +11 -0
  339. package/compiler/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  340. package/compiler/node_modules/has-symbols/.nycrc +9 -0
  341. package/compiler/node_modules/has-symbols/CHANGELOG.md +91 -0
  342. package/compiler/node_modules/has-symbols/LICENSE +21 -0
  343. package/compiler/node_modules/has-symbols/README.md +46 -0
  344. package/compiler/node_modules/has-symbols/index.d.ts +3 -0
  345. package/compiler/node_modules/has-symbols/index.js +14 -0
  346. package/compiler/node_modules/has-symbols/package.json +111 -0
  347. package/compiler/node_modules/has-symbols/shams.d.ts +3 -0
  348. package/compiler/node_modules/has-symbols/shams.js +45 -0
  349. package/compiler/node_modules/has-symbols/test/index.js +22 -0
  350. package/compiler/node_modules/has-symbols/test/shams/core-js.js +29 -0
  351. package/compiler/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  352. package/compiler/node_modules/has-symbols/test/tests.js +58 -0
  353. package/compiler/node_modules/has-symbols/tsconfig.json +10 -0
  354. package/compiler/node_modules/hasown/.github/FUNDING.yml +12 -0
  355. package/compiler/node_modules/hasown/.nycrc +13 -0
  356. package/compiler/node_modules/hasown/CHANGELOG.md +58 -0
  357. package/compiler/node_modules/hasown/LICENSE +21 -0
  358. package/compiler/node_modules/hasown/README.md +40 -0
  359. package/compiler/node_modules/hasown/eslint.config.mjs +6 -0
  360. package/compiler/node_modules/hasown/index.d.ts +3 -0
  361. package/compiler/node_modules/hasown/index.js +8 -0
  362. package/compiler/node_modules/hasown/package.json +91 -0
  363. package/compiler/node_modules/hasown/tsconfig.json +6 -0
  364. package/compiler/node_modules/http-errors/HISTORY.md +186 -0
  365. package/compiler/node_modules/http-errors/LICENSE +23 -0
  366. package/compiler/node_modules/http-errors/README.md +169 -0
  367. package/compiler/node_modules/http-errors/index.js +290 -0
  368. package/compiler/node_modules/http-errors/package.json +54 -0
  369. package/compiler/node_modules/iconv-lite/LICENSE +21 -0
  370. package/compiler/node_modules/iconv-lite/README.md +138 -0
  371. package/compiler/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  372. package/compiler/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  373. package/compiler/node_modules/iconv-lite/encodings/index.js +23 -0
  374. package/compiler/node_modules/iconv-lite/encodings/internal.js +218 -0
  375. package/compiler/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  376. package/compiler/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  377. package/compiler/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
  378. package/compiler/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  379. package/compiler/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  380. package/compiler/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  381. package/compiler/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  382. package/compiler/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  383. package/compiler/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  384. package/compiler/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  385. package/compiler/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  386. package/compiler/node_modules/iconv-lite/encodings/utf16.js +187 -0
  387. package/compiler/node_modules/iconv-lite/encodings/utf32.js +314 -0
  388. package/compiler/node_modules/iconv-lite/encodings/utf7.js +283 -0
  389. package/compiler/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  390. package/compiler/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  391. package/compiler/node_modules/iconv-lite/lib/index.d.ts +129 -0
  392. package/compiler/node_modules/iconv-lite/lib/index.js +182 -0
  393. package/compiler/node_modules/iconv-lite/lib/streams.js +105 -0
  394. package/compiler/node_modules/iconv-lite/package.json +70 -0
  395. package/compiler/node_modules/iconv-lite/types/encodings.d.ts +425 -0
  396. package/compiler/node_modules/ignore-by-default/LICENSE +14 -0
  397. package/compiler/node_modules/ignore-by-default/README.md +26 -0
  398. package/compiler/node_modules/ignore-by-default/index.js +12 -0
  399. package/compiler/node_modules/ignore-by-default/package.json +34 -0
  400. package/compiler/node_modules/inherits/LICENSE +16 -0
  401. package/compiler/node_modules/inherits/README.md +42 -0
  402. package/compiler/node_modules/inherits/inherits.js +9 -0
  403. package/compiler/node_modules/inherits/inherits_browser.js +27 -0
  404. package/compiler/node_modules/inherits/package.json +29 -0
  405. package/compiler/node_modules/ipaddr.js/LICENSE +19 -0
  406. package/compiler/node_modules/ipaddr.js/README.md +233 -0
  407. package/compiler/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  408. package/compiler/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  409. package/compiler/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  410. package/compiler/node_modules/ipaddr.js/package.json +35 -0
  411. package/compiler/node_modules/is-binary-path/index.d.ts +17 -0
  412. package/compiler/node_modules/is-binary-path/index.js +7 -0
  413. package/compiler/node_modules/is-binary-path/license +9 -0
  414. package/compiler/node_modules/is-binary-path/package.json +40 -0
  415. package/compiler/node_modules/is-binary-path/readme.md +34 -0
  416. package/compiler/node_modules/is-extglob/LICENSE +21 -0
  417. package/compiler/node_modules/is-extglob/README.md +107 -0
  418. package/compiler/node_modules/is-extglob/index.js +20 -0
  419. package/compiler/node_modules/is-extglob/package.json +69 -0
  420. package/compiler/node_modules/is-glob/LICENSE +21 -0
  421. package/compiler/node_modules/is-glob/README.md +206 -0
  422. package/compiler/node_modules/is-glob/index.js +150 -0
  423. package/compiler/node_modules/is-glob/package.json +81 -0
  424. package/compiler/node_modules/is-number/LICENSE +21 -0
  425. package/compiler/node_modules/is-number/README.md +187 -0
  426. package/compiler/node_modules/is-number/index.js +18 -0
  427. package/compiler/node_modules/is-number/package.json +82 -0
  428. package/compiler/node_modules/is-promise/LICENSE +19 -0
  429. package/compiler/node_modules/is-promise/index.d.ts +2 -0
  430. package/compiler/node_modules/is-promise/index.js +6 -0
  431. package/compiler/node_modules/is-promise/index.mjs +3 -0
  432. package/compiler/node_modules/is-promise/package.json +30 -0
  433. package/compiler/node_modules/is-promise/readme.md +33 -0
  434. package/compiler/node_modules/math-intrinsics/.eslintrc +16 -0
  435. package/compiler/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  436. package/compiler/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  437. package/compiler/node_modules/math-intrinsics/LICENSE +21 -0
  438. package/compiler/node_modules/math-intrinsics/README.md +50 -0
  439. package/compiler/node_modules/math-intrinsics/abs.d.ts +1 -0
  440. package/compiler/node_modules/math-intrinsics/abs.js +4 -0
  441. package/compiler/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  442. package/compiler/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  443. package/compiler/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  444. package/compiler/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  445. package/compiler/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  446. package/compiler/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  447. package/compiler/node_modules/math-intrinsics/floor.d.ts +1 -0
  448. package/compiler/node_modules/math-intrinsics/floor.js +4 -0
  449. package/compiler/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  450. package/compiler/node_modules/math-intrinsics/isFinite.js +12 -0
  451. package/compiler/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  452. package/compiler/node_modules/math-intrinsics/isInteger.js +16 -0
  453. package/compiler/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  454. package/compiler/node_modules/math-intrinsics/isNaN.js +6 -0
  455. package/compiler/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  456. package/compiler/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  457. package/compiler/node_modules/math-intrinsics/max.d.ts +1 -0
  458. package/compiler/node_modules/math-intrinsics/max.js +4 -0
  459. package/compiler/node_modules/math-intrinsics/min.d.ts +1 -0
  460. package/compiler/node_modules/math-intrinsics/min.js +4 -0
  461. package/compiler/node_modules/math-intrinsics/mod.d.ts +3 -0
  462. package/compiler/node_modules/math-intrinsics/mod.js +9 -0
  463. package/compiler/node_modules/math-intrinsics/package.json +86 -0
  464. package/compiler/node_modules/math-intrinsics/pow.d.ts +1 -0
  465. package/compiler/node_modules/math-intrinsics/pow.js +4 -0
  466. package/compiler/node_modules/math-intrinsics/round.d.ts +1 -0
  467. package/compiler/node_modules/math-intrinsics/round.js +4 -0
  468. package/compiler/node_modules/math-intrinsics/sign.d.ts +3 -0
  469. package/compiler/node_modules/math-intrinsics/sign.js +11 -0
  470. package/compiler/node_modules/math-intrinsics/test/index.js +192 -0
  471. package/compiler/node_modules/math-intrinsics/tsconfig.json +3 -0
  472. package/compiler/node_modules/media-typer/HISTORY.md +50 -0
  473. package/compiler/node_modules/media-typer/LICENSE +22 -0
  474. package/compiler/node_modules/media-typer/README.md +93 -0
  475. package/compiler/node_modules/media-typer/index.js +143 -0
  476. package/compiler/node_modules/media-typer/package.json +33 -0
  477. package/compiler/node_modules/merge-descriptors/index.d.ts +11 -0
  478. package/compiler/node_modules/merge-descriptors/index.js +26 -0
  479. package/compiler/node_modules/merge-descriptors/license +11 -0
  480. package/compiler/node_modules/merge-descriptors/package.json +50 -0
  481. package/compiler/node_modules/merge-descriptors/readme.md +55 -0
  482. package/compiler/node_modules/mime-db/HISTORY.md +541 -0
  483. package/compiler/node_modules/mime-db/LICENSE +23 -0
  484. package/compiler/node_modules/mime-db/README.md +109 -0
  485. package/compiler/node_modules/mime-db/db.json +9342 -0
  486. package/compiler/node_modules/mime-db/index.js +12 -0
  487. package/compiler/node_modules/mime-db/package.json +56 -0
  488. package/compiler/node_modules/mime-types/HISTORY.md +428 -0
  489. package/compiler/node_modules/mime-types/LICENSE +23 -0
  490. package/compiler/node_modules/mime-types/README.md +126 -0
  491. package/compiler/node_modules/mime-types/index.js +211 -0
  492. package/compiler/node_modules/mime-types/mimeScore.js +57 -0
  493. package/compiler/node_modules/mime-types/package.json +49 -0
  494. package/compiler/node_modules/minimatch/LICENSE.md +55 -0
  495. package/compiler/node_modules/minimatch/README.md +528 -0
  496. package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  497. package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  498. package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  499. package/compiler/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  500. package/compiler/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
  501. package/compiler/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  502. package/compiler/node_modules/minimatch/dist/commonjs/ast.js +845 -0
  503. package/compiler/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  504. package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  505. package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  506. package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
  507. package/compiler/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  508. package/compiler/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
  509. package/compiler/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  510. package/compiler/node_modules/minimatch/dist/commonjs/escape.js +30 -0
  511. package/compiler/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  512. package/compiler/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
  513. package/compiler/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  514. package/compiler/node_modules/minimatch/dist/commonjs/index.js +1127 -0
  515. package/compiler/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  516. package/compiler/node_modules/minimatch/dist/commonjs/package.json +3 -0
  517. package/compiler/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
  518. package/compiler/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  519. package/compiler/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
  520. package/compiler/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  521. package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  522. package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  523. package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  524. package/compiler/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  525. package/compiler/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
  526. package/compiler/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  527. package/compiler/node_modules/minimatch/dist/esm/ast.js +841 -0
  528. package/compiler/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  529. package/compiler/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  530. package/compiler/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  531. package/compiler/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
  532. package/compiler/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  533. package/compiler/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
  534. package/compiler/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  535. package/compiler/node_modules/minimatch/dist/esm/escape.js +26 -0
  536. package/compiler/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  537. package/compiler/node_modules/minimatch/dist/esm/index.d.ts +174 -0
  538. package/compiler/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  539. package/compiler/node_modules/minimatch/dist/esm/index.js +1114 -0
  540. package/compiler/node_modules/minimatch/dist/esm/index.js.map +1 -0
  541. package/compiler/node_modules/minimatch/dist/esm/package.json +3 -0
  542. package/compiler/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
  543. package/compiler/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  544. package/compiler/node_modules/minimatch/dist/esm/unescape.js +34 -0
  545. package/compiler/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  546. package/compiler/node_modules/minimatch/package.json +73 -0
  547. package/compiler/node_modules/ms/index.js +162 -0
  548. package/compiler/node_modules/ms/license.md +21 -0
  549. package/compiler/node_modules/ms/package.json +38 -0
  550. package/compiler/node_modules/ms/readme.md +59 -0
  551. package/compiler/node_modules/negotiator/HISTORY.md +114 -0
  552. package/compiler/node_modules/negotiator/LICENSE +24 -0
  553. package/compiler/node_modules/negotiator/README.md +212 -0
  554. package/compiler/node_modules/negotiator/index.js +83 -0
  555. package/compiler/node_modules/negotiator/lib/charset.js +169 -0
  556. package/compiler/node_modules/negotiator/lib/encoding.js +205 -0
  557. package/compiler/node_modules/negotiator/lib/language.js +179 -0
  558. package/compiler/node_modules/negotiator/lib/mediaType.js +294 -0
  559. package/compiler/node_modules/negotiator/package.json +43 -0
  560. package/compiler/node_modules/nodemon/.prettierrc.json +3 -0
  561. package/compiler/node_modules/nodemon/LICENSE +21 -0
  562. package/compiler/node_modules/nodemon/README.md +439 -0
  563. package/compiler/node_modules/nodemon/bin/nodemon.js +16 -0
  564. package/compiler/node_modules/nodemon/bin/windows-kill.exe +0 -0
  565. package/compiler/node_modules/nodemon/doc/cli/authors.txt +8 -0
  566. package/compiler/node_modules/nodemon/doc/cli/config.txt +44 -0
  567. package/compiler/node_modules/nodemon/doc/cli/help.txt +29 -0
  568. package/compiler/node_modules/nodemon/doc/cli/logo.txt +20 -0
  569. package/compiler/node_modules/nodemon/doc/cli/options.txt +36 -0
  570. package/compiler/node_modules/nodemon/doc/cli/topics.txt +8 -0
  571. package/compiler/node_modules/nodemon/doc/cli/usage.txt +3 -0
  572. package/compiler/node_modules/nodemon/doc/cli/whoami.txt +9 -0
  573. package/compiler/node_modules/nodemon/index.d.ts +124 -0
  574. package/compiler/node_modules/nodemon/jsconfig.json +7 -0
  575. package/compiler/node_modules/nodemon/lib/cli/index.js +49 -0
  576. package/compiler/node_modules/nodemon/lib/cli/parse.js +230 -0
  577. package/compiler/node_modules/nodemon/lib/config/command.js +43 -0
  578. package/compiler/node_modules/nodemon/lib/config/defaults.js +34 -0
  579. package/compiler/node_modules/nodemon/lib/config/exec.js +240 -0
  580. package/compiler/node_modules/nodemon/lib/config/index.js +93 -0
  581. package/compiler/node_modules/nodemon/lib/config/load.js +225 -0
  582. package/compiler/node_modules/nodemon/lib/help/index.js +27 -0
  583. package/compiler/node_modules/nodemon/lib/index.js +1 -0
  584. package/compiler/node_modules/nodemon/lib/monitor/index.js +4 -0
  585. package/compiler/node_modules/nodemon/lib/monitor/match.js +288 -0
  586. package/compiler/node_modules/nodemon/lib/monitor/run.js +562 -0
  587. package/compiler/node_modules/nodemon/lib/monitor/signals.js +34 -0
  588. package/compiler/node_modules/nodemon/lib/monitor/watch.js +244 -0
  589. package/compiler/node_modules/nodemon/lib/nodemon.js +317 -0
  590. package/compiler/node_modules/nodemon/lib/rules/add.js +89 -0
  591. package/compiler/node_modules/nodemon/lib/rules/index.js +53 -0
  592. package/compiler/node_modules/nodemon/lib/rules/parse.js +43 -0
  593. package/compiler/node_modules/nodemon/lib/spawn.js +74 -0
  594. package/compiler/node_modules/nodemon/lib/utils/bus.js +44 -0
  595. package/compiler/node_modules/nodemon/lib/utils/clone.js +40 -0
  596. package/compiler/node_modules/nodemon/lib/utils/colour.js +26 -0
  597. package/compiler/node_modules/nodemon/lib/utils/index.js +103 -0
  598. package/compiler/node_modules/nodemon/lib/utils/log.js +82 -0
  599. package/compiler/node_modules/nodemon/lib/utils/merge.js +47 -0
  600. package/compiler/node_modules/nodemon/lib/version.js +100 -0
  601. package/compiler/node_modules/nodemon/node_modules/.bin/nodetouch +15 -0
  602. package/compiler/node_modules/nodemon/node_modules/.bin/nodetouch.cmd +7 -0
  603. package/compiler/node_modules/nodemon/node_modules/.bin/semver +15 -0
  604. package/compiler/node_modules/nodemon/node_modules/.bin/semver.cmd +7 -0
  605. package/compiler/node_modules/nodemon/package.json +78 -0
  606. package/compiler/node_modules/normalize-path/LICENSE +21 -0
  607. package/compiler/node_modules/normalize-path/README.md +127 -0
  608. package/compiler/node_modules/normalize-path/index.js +35 -0
  609. package/compiler/node_modules/normalize-path/package.json +77 -0
  610. package/compiler/node_modules/object-assign/index.js +90 -0
  611. package/compiler/node_modules/object-assign/license +21 -0
  612. package/compiler/node_modules/object-assign/package.json +42 -0
  613. package/compiler/node_modules/object-assign/readme.md +61 -0
  614. package/compiler/node_modules/object-inspect/.eslintrc +53 -0
  615. package/compiler/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  616. package/compiler/node_modules/object-inspect/.nycrc +13 -0
  617. package/compiler/node_modules/object-inspect/CHANGELOG.md +424 -0
  618. package/compiler/node_modules/object-inspect/LICENSE +21 -0
  619. package/compiler/node_modules/object-inspect/example/all.js +23 -0
  620. package/compiler/node_modules/object-inspect/example/circular.js +6 -0
  621. package/compiler/node_modules/object-inspect/example/fn.js +5 -0
  622. package/compiler/node_modules/object-inspect/example/inspect.js +10 -0
  623. package/compiler/node_modules/object-inspect/index.js +544 -0
  624. package/compiler/node_modules/object-inspect/package-support.json +20 -0
  625. package/compiler/node_modules/object-inspect/package.json +105 -0
  626. package/compiler/node_modules/object-inspect/readme.markdown +84 -0
  627. package/compiler/node_modules/object-inspect/test/bigint.js +58 -0
  628. package/compiler/node_modules/object-inspect/test/browser/dom.js +15 -0
  629. package/compiler/node_modules/object-inspect/test/circular.js +16 -0
  630. package/compiler/node_modules/object-inspect/test/deep.js +12 -0
  631. package/compiler/node_modules/object-inspect/test/element.js +53 -0
  632. package/compiler/node_modules/object-inspect/test/err.js +48 -0
  633. package/compiler/node_modules/object-inspect/test/fakes.js +29 -0
  634. package/compiler/node_modules/object-inspect/test/fn.js +76 -0
  635. package/compiler/node_modules/object-inspect/test/global.js +17 -0
  636. package/compiler/node_modules/object-inspect/test/has.js +15 -0
  637. package/compiler/node_modules/object-inspect/test/holes.js +15 -0
  638. package/compiler/node_modules/object-inspect/test/indent-option.js +271 -0
  639. package/compiler/node_modules/object-inspect/test/inspect.js +139 -0
  640. package/compiler/node_modules/object-inspect/test/lowbyte.js +12 -0
  641. package/compiler/node_modules/object-inspect/test/number.js +58 -0
  642. package/compiler/node_modules/object-inspect/test/quoteStyle.js +26 -0
  643. package/compiler/node_modules/object-inspect/test/toStringTag.js +40 -0
  644. package/compiler/node_modules/object-inspect/test/undef.js +12 -0
  645. package/compiler/node_modules/object-inspect/test/values.js +261 -0
  646. package/compiler/node_modules/object-inspect/test-core-js.js +26 -0
  647. package/compiler/node_modules/object-inspect/util.inspect.js +1 -0
  648. package/compiler/node_modules/on-finished/HISTORY.md +98 -0
  649. package/compiler/node_modules/on-finished/LICENSE +23 -0
  650. package/compiler/node_modules/on-finished/README.md +162 -0
  651. package/compiler/node_modules/on-finished/index.js +234 -0
  652. package/compiler/node_modules/on-finished/package.json +39 -0
  653. package/compiler/node_modules/once/LICENSE +15 -0
  654. package/compiler/node_modules/once/README.md +79 -0
  655. package/compiler/node_modules/once/once.js +42 -0
  656. package/compiler/node_modules/once/package.json +33 -0
  657. package/compiler/node_modules/parseurl/HISTORY.md +58 -0
  658. package/compiler/node_modules/parseurl/LICENSE +24 -0
  659. package/compiler/node_modules/parseurl/README.md +133 -0
  660. package/compiler/node_modules/parseurl/index.js +158 -0
  661. package/compiler/node_modules/parseurl/package.json +40 -0
  662. package/compiler/node_modules/path-to-regexp/LICENSE +21 -0
  663. package/compiler/node_modules/path-to-regexp/Readme.md +224 -0
  664. package/compiler/node_modules/path-to-regexp/dist/index.d.ts +147 -0
  665. package/compiler/node_modules/path-to-regexp/dist/index.js +431 -0
  666. package/compiler/node_modules/path-to-regexp/dist/index.js.map +1 -0
  667. package/compiler/node_modules/path-to-regexp/package.json +64 -0
  668. package/compiler/node_modules/picomatch/LICENSE +21 -0
  669. package/compiler/node_modules/picomatch/README.md +716 -0
  670. package/compiler/node_modules/picomatch/index.js +3 -0
  671. package/compiler/node_modules/picomatch/lib/constants.js +184 -0
  672. package/compiler/node_modules/picomatch/lib/parse.js +1392 -0
  673. package/compiler/node_modules/picomatch/lib/picomatch.js +342 -0
  674. package/compiler/node_modules/picomatch/lib/scan.js +391 -0
  675. package/compiler/node_modules/picomatch/lib/utils.js +64 -0
  676. package/compiler/node_modules/picomatch/package.json +81 -0
  677. package/compiler/node_modules/proxy-addr/HISTORY.md +161 -0
  678. package/compiler/node_modules/proxy-addr/LICENSE +22 -0
  679. package/compiler/node_modules/proxy-addr/README.md +139 -0
  680. package/compiler/node_modules/proxy-addr/index.js +327 -0
  681. package/compiler/node_modules/proxy-addr/package.json +47 -0
  682. package/compiler/node_modules/pstree.remy/.travis.yml +8 -0
  683. package/compiler/node_modules/pstree.remy/LICENSE +7 -0
  684. package/compiler/node_modules/pstree.remy/README.md +26 -0
  685. package/compiler/node_modules/pstree.remy/lib/index.js +37 -0
  686. package/compiler/node_modules/pstree.remy/lib/tree.js +37 -0
  687. package/compiler/node_modules/pstree.remy/lib/utils.js +53 -0
  688. package/compiler/node_modules/pstree.remy/package.json +33 -0
  689. package/compiler/node_modules/pstree.remy/tests/fixtures/index.js +13 -0
  690. package/compiler/node_modules/pstree.remy/tests/fixtures/out1 +10 -0
  691. package/compiler/node_modules/pstree.remy/tests/fixtures/out2 +29 -0
  692. package/compiler/node_modules/pstree.remy/tests/index.test.js +51 -0
  693. package/compiler/node_modules/qs/.editorconfig +46 -0
  694. package/compiler/node_modules/qs/.github/FUNDING.yml +12 -0
  695. package/compiler/node_modules/qs/.github/SECURITY.md +11 -0
  696. package/compiler/node_modules/qs/.github/THREAT_MODEL.md +78 -0
  697. package/compiler/node_modules/qs/.nycrc +13 -0
  698. package/compiler/node_modules/qs/CHANGELOG.md +833 -0
  699. package/compiler/node_modules/qs/LICENSE.md +29 -0
  700. package/compiler/node_modules/qs/README.md +758 -0
  701. package/compiler/node_modules/qs/dist/qs.js +141 -0
  702. package/compiler/node_modules/qs/eslint.config.mjs +57 -0
  703. package/compiler/node_modules/qs/lib/formats.js +23 -0
  704. package/compiler/node_modules/qs/lib/index.js +11 -0
  705. package/compiler/node_modules/qs/lib/parse.js +414 -0
  706. package/compiler/node_modules/qs/lib/stringify.js +363 -0
  707. package/compiler/node_modules/qs/lib/utils.js +381 -0
  708. package/compiler/node_modules/qs/package.json +95 -0
  709. package/compiler/node_modules/qs/test/empty-keys-cases.js +267 -0
  710. package/compiler/node_modules/qs/test/parse.js +1933 -0
  711. package/compiler/node_modules/qs/test/stringify.js +1448 -0
  712. package/compiler/node_modules/qs/test/utils.js +626 -0
  713. package/compiler/node_modules/range-parser/HISTORY.md +56 -0
  714. package/compiler/node_modules/range-parser/LICENSE +23 -0
  715. package/compiler/node_modules/range-parser/README.md +85 -0
  716. package/compiler/node_modules/range-parser/index.js +181 -0
  717. package/compiler/node_modules/range-parser/package.json +48 -0
  718. package/compiler/node_modules/raw-body/LICENSE +22 -0
  719. package/compiler/node_modules/raw-body/README.md +223 -0
  720. package/compiler/node_modules/raw-body/index.d.ts +85 -0
  721. package/compiler/node_modules/raw-body/index.js +336 -0
  722. package/compiler/node_modules/raw-body/package.json +46 -0
  723. package/compiler/node_modules/readdirp/LICENSE +21 -0
  724. package/compiler/node_modules/readdirp/README.md +122 -0
  725. package/compiler/node_modules/readdirp/index.d.ts +43 -0
  726. package/compiler/node_modules/readdirp/index.js +287 -0
  727. package/compiler/node_modules/readdirp/package.json +122 -0
  728. package/compiler/node_modules/router/HISTORY.md +228 -0
  729. package/compiler/node_modules/router/LICENSE +23 -0
  730. package/compiler/node_modules/router/README.md +416 -0
  731. package/compiler/node_modules/router/index.js +748 -0
  732. package/compiler/node_modules/router/lib/layer.js +247 -0
  733. package/compiler/node_modules/router/lib/route.js +242 -0
  734. package/compiler/node_modules/router/package.json +44 -0
  735. package/compiler/node_modules/safer-buffer/LICENSE +21 -0
  736. package/compiler/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  737. package/compiler/node_modules/safer-buffer/Readme.md +156 -0
  738. package/compiler/node_modules/safer-buffer/dangerous.js +58 -0
  739. package/compiler/node_modules/safer-buffer/package.json +34 -0
  740. package/compiler/node_modules/safer-buffer/safer.js +77 -0
  741. package/compiler/node_modules/safer-buffer/tests.js +406 -0
  742. package/compiler/node_modules/semver/LICENSE +15 -0
  743. package/compiler/node_modules/semver/README.md +680 -0
  744. package/compiler/node_modules/semver/bin/semver.js +195 -0
  745. package/compiler/node_modules/semver/classes/index.js +7 -0
  746. package/compiler/node_modules/semver/functions/clean.js +8 -0
  747. package/compiler/node_modules/semver/functions/compare-build.js +9 -0
  748. package/compiler/node_modules/semver/functions/compare-loose.js +5 -0
  749. package/compiler/node_modules/semver/functions/diff.js +60 -0
  750. package/compiler/node_modules/semver/functions/inc.js +21 -0
  751. package/compiler/node_modules/semver/functions/major.js +5 -0
  752. package/compiler/node_modules/semver/functions/minor.js +5 -0
  753. package/compiler/node_modules/semver/functions/patch.js +5 -0
  754. package/compiler/node_modules/semver/functions/prerelease.js +8 -0
  755. package/compiler/node_modules/semver/functions/rcompare.js +5 -0
  756. package/compiler/node_modules/semver/functions/rsort.js +5 -0
  757. package/compiler/node_modules/semver/functions/sort.js +5 -0
  758. package/compiler/node_modules/semver/functions/truncate.js +48 -0
  759. package/compiler/node_modules/semver/functions/valid.js +8 -0
  760. package/compiler/node_modules/semver/index.js +93 -0
  761. package/compiler/node_modules/semver/preload.js +4 -0
  762. package/compiler/node_modules/semver/range.bnf +17 -0
  763. package/compiler/node_modules/semver/ranges/gtr.js +6 -0
  764. package/compiler/node_modules/semver/ranges/intersects.js +9 -0
  765. package/compiler/node_modules/semver/ranges/ltr.js +6 -0
  766. package/compiler/node_modules/semver/ranges/max-satisfying.js +27 -0
  767. package/compiler/node_modules/semver/ranges/min-satisfying.js +26 -0
  768. package/compiler/node_modules/semver/ranges/min-version.js +63 -0
  769. package/compiler/node_modules/semver/ranges/outside.js +82 -0
  770. package/compiler/node_modules/semver/ranges/simplify.js +49 -0
  771. package/compiler/node_modules/semver/ranges/subset.js +249 -0
  772. package/compiler/node_modules/semver/ranges/to-comparators.js +10 -0
  773. package/compiler/node_modules/semver/ranges/valid.js +13 -0
  774. package/compiler/node_modules/send/LICENSE +23 -0
  775. package/compiler/node_modules/send/README.md +317 -0
  776. package/compiler/node_modules/send/index.js +997 -0
  777. package/compiler/node_modules/send/package.json +63 -0
  778. package/compiler/node_modules/serve-static/LICENSE +25 -0
  779. package/compiler/node_modules/serve-static/README.md +253 -0
  780. package/compiler/node_modules/serve-static/index.js +208 -0
  781. package/compiler/node_modules/serve-static/package.json +44 -0
  782. package/compiler/node_modules/setprototypeof/LICENSE +13 -0
  783. package/compiler/node_modules/setprototypeof/README.md +31 -0
  784. package/compiler/node_modules/setprototypeof/index.d.ts +2 -0
  785. package/compiler/node_modules/setprototypeof/index.js +17 -0
  786. package/compiler/node_modules/setprototypeof/package.json +38 -0
  787. package/compiler/node_modules/setprototypeof/test/index.js +24 -0
  788. package/compiler/node_modules/side-channel/.editorconfig +9 -0
  789. package/compiler/node_modules/side-channel/.eslintrc +12 -0
  790. package/compiler/node_modules/side-channel/.github/FUNDING.yml +12 -0
  791. package/compiler/node_modules/side-channel/.nycrc +13 -0
  792. package/compiler/node_modules/side-channel/CHANGELOG.md +120 -0
  793. package/compiler/node_modules/side-channel/LICENSE +21 -0
  794. package/compiler/node_modules/side-channel/README.md +61 -0
  795. package/compiler/node_modules/side-channel/index.d.ts +14 -0
  796. package/compiler/node_modules/side-channel/index.js +46 -0
  797. package/compiler/node_modules/side-channel/package.json +85 -0
  798. package/compiler/node_modules/side-channel/test/index.js +120 -0
  799. package/compiler/node_modules/side-channel/tsconfig.json +9 -0
  800. package/compiler/node_modules/side-channel-list/.editorconfig +9 -0
  801. package/compiler/node_modules/side-channel-list/.eslintrc +11 -0
  802. package/compiler/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  803. package/compiler/node_modules/side-channel-list/.nycrc +13 -0
  804. package/compiler/node_modules/side-channel-list/CHANGELOG.md +36 -0
  805. package/compiler/node_modules/side-channel-list/LICENSE +21 -0
  806. package/compiler/node_modules/side-channel-list/README.md +62 -0
  807. package/compiler/node_modules/side-channel-list/index.d.ts +13 -0
  808. package/compiler/node_modules/side-channel-list/index.js +111 -0
  809. package/compiler/node_modules/side-channel-list/list.d.ts +14 -0
  810. package/compiler/node_modules/side-channel-list/package.json +77 -0
  811. package/compiler/node_modules/side-channel-list/test/index.js +154 -0
  812. package/compiler/node_modules/side-channel-list/tsconfig.json +9 -0
  813. package/compiler/node_modules/side-channel-map/.editorconfig +9 -0
  814. package/compiler/node_modules/side-channel-map/.eslintrc +11 -0
  815. package/compiler/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  816. package/compiler/node_modules/side-channel-map/.nycrc +13 -0
  817. package/compiler/node_modules/side-channel-map/CHANGELOG.md +22 -0
  818. package/compiler/node_modules/side-channel-map/LICENSE +21 -0
  819. package/compiler/node_modules/side-channel-map/README.md +62 -0
  820. package/compiler/node_modules/side-channel-map/index.d.ts +15 -0
  821. package/compiler/node_modules/side-channel-map/index.js +68 -0
  822. package/compiler/node_modules/side-channel-map/package.json +80 -0
  823. package/compiler/node_modules/side-channel-map/test/index.js +114 -0
  824. package/compiler/node_modules/side-channel-map/tsconfig.json +9 -0
  825. package/compiler/node_modules/side-channel-weakmap/.editorconfig +9 -0
  826. package/compiler/node_modules/side-channel-weakmap/.eslintrc +12 -0
  827. package/compiler/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  828. package/compiler/node_modules/side-channel-weakmap/.nycrc +13 -0
  829. package/compiler/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  830. package/compiler/node_modules/side-channel-weakmap/LICENSE +21 -0
  831. package/compiler/node_modules/side-channel-weakmap/README.md +62 -0
  832. package/compiler/node_modules/side-channel-weakmap/index.d.ts +15 -0
  833. package/compiler/node_modules/side-channel-weakmap/index.js +84 -0
  834. package/compiler/node_modules/side-channel-weakmap/package.json +87 -0
  835. package/compiler/node_modules/side-channel-weakmap/test/index.js +114 -0
  836. package/compiler/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  837. package/compiler/node_modules/simple-update-notifier/LICENSE +21 -0
  838. package/compiler/node_modules/simple-update-notifier/README.md +82 -0
  839. package/compiler/node_modules/simple-update-notifier/build/index.d.ts +13 -0
  840. package/compiler/node_modules/simple-update-notifier/build/index.js +210 -0
  841. package/compiler/node_modules/simple-update-notifier/node_modules/.bin/semver +15 -0
  842. package/compiler/node_modules/simple-update-notifier/node_modules/.bin/semver.cmd +7 -0
  843. package/compiler/node_modules/simple-update-notifier/package.json +100 -0
  844. package/compiler/node_modules/simple-update-notifier/src/borderedText.ts +12 -0
  845. package/compiler/node_modules/simple-update-notifier/src/cache.spec.ts +17 -0
  846. package/compiler/node_modules/simple-update-notifier/src/cache.ts +44 -0
  847. package/compiler/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +35 -0
  848. package/compiler/node_modules/simple-update-notifier/src/getDistVersion.ts +29 -0
  849. package/compiler/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +82 -0
  850. package/compiler/node_modules/simple-update-notifier/src/hasNewVersion.ts +40 -0
  851. package/compiler/node_modules/simple-update-notifier/src/index.spec.ts +27 -0
  852. package/compiler/node_modules/simple-update-notifier/src/index.ts +34 -0
  853. package/compiler/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +12 -0
  854. package/compiler/node_modules/simple-update-notifier/src/types.ts +8 -0
  855. package/compiler/node_modules/statuses/HISTORY.md +87 -0
  856. package/compiler/node_modules/statuses/LICENSE +23 -0
  857. package/compiler/node_modules/statuses/README.md +139 -0
  858. package/compiler/node_modules/statuses/codes.json +65 -0
  859. package/compiler/node_modules/statuses/index.js +146 -0
  860. package/compiler/node_modules/statuses/package.json +49 -0
  861. package/compiler/node_modules/supports-color/browser.js +5 -0
  862. package/compiler/node_modules/supports-color/index.js +131 -0
  863. package/compiler/node_modules/supports-color/license +9 -0
  864. package/compiler/node_modules/supports-color/package.json +53 -0
  865. package/compiler/node_modules/supports-color/readme.md +66 -0
  866. package/compiler/node_modules/to-regex-range/LICENSE +21 -0
  867. package/compiler/node_modules/to-regex-range/README.md +305 -0
  868. package/compiler/node_modules/to-regex-range/index.js +288 -0
  869. package/compiler/node_modules/to-regex-range/package.json +88 -0
  870. package/compiler/node_modules/toidentifier/HISTORY.md +9 -0
  871. package/compiler/node_modules/toidentifier/LICENSE +21 -0
  872. package/compiler/node_modules/toidentifier/README.md +61 -0
  873. package/compiler/node_modules/toidentifier/index.js +32 -0
  874. package/compiler/node_modules/toidentifier/package.json +38 -0
  875. package/compiler/node_modules/touch/LICENSE +15 -0
  876. package/compiler/node_modules/touch/README.md +52 -0
  877. package/compiler/node_modules/touch/bin/nodetouch.js +112 -0
  878. package/compiler/node_modules/touch/index.js +224 -0
  879. package/compiler/node_modules/touch/package.json +25 -0
  880. package/compiler/node_modules/type-is/HISTORY.md +292 -0
  881. package/compiler/node_modules/type-is/LICENSE +23 -0
  882. package/compiler/node_modules/type-is/README.md +198 -0
  883. package/compiler/node_modules/type-is/index.js +240 -0
  884. package/compiler/node_modules/type-is/package.json +51 -0
  885. package/compiler/node_modules/undefsafe/.github/workflows/release.yml +25 -0
  886. package/compiler/node_modules/undefsafe/.jscsrc +13 -0
  887. package/compiler/node_modules/undefsafe/.jshintrc +16 -0
  888. package/compiler/node_modules/undefsafe/.travis.yml +18 -0
  889. package/compiler/node_modules/undefsafe/LICENSE +22 -0
  890. package/compiler/node_modules/undefsafe/README.md +63 -0
  891. package/compiler/node_modules/undefsafe/example.js +14 -0
  892. package/compiler/node_modules/undefsafe/lib/undefsafe.js +125 -0
  893. package/compiler/node_modules/undefsafe/package.json +34 -0
  894. package/compiler/node_modules/unpipe/HISTORY.md +4 -0
  895. package/compiler/node_modules/unpipe/LICENSE +22 -0
  896. package/compiler/node_modules/unpipe/README.md +43 -0
  897. package/compiler/node_modules/unpipe/index.js +69 -0
  898. package/compiler/node_modules/unpipe/package.json +27 -0
  899. package/compiler/node_modules/vary/HISTORY.md +39 -0
  900. package/compiler/node_modules/vary/LICENSE +22 -0
  901. package/compiler/node_modules/vary/README.md +101 -0
  902. package/compiler/node_modules/vary/index.js +149 -0
  903. package/compiler/node_modules/vary/package.json +43 -0
  904. package/compiler/node_modules/wrappy/LICENSE +15 -0
  905. package/compiler/node_modules/wrappy/README.md +36 -0
  906. package/compiler/node_modules/wrappy/package.json +29 -0
  907. package/compiler/node_modules/wrappy/wrappy.js +33 -0
  908. package/compiler/package.json +21 -0
  909. package/compiler/server.js +77 -0
  910. package/compiler/yarn.lock +840 -0
  911. package/dist/BUILD_ID +1 -1
  912. package/dist/build-manifest.json +3 -3
  913. package/dist/cache/.tsbuildinfo +1 -1
  914. package/dist/fallback-build-manifest.json +3 -3
  915. package/dist/next-server.js.nft.json +1 -1
  916. package/dist/server/app/_global-error/page.js +1 -1
  917. package/dist/server/app/_global-error/page.js.nft.json +1 -1
  918. package/dist/server/app/_global-error.html +1 -1
  919. package/dist/server/app/_global-error.rsc +1 -1
  920. package/dist/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  921. package/dist/server/app/_global-error.segments/_full.segment.rsc +1 -1
  922. package/dist/server/app/_global-error.segments/_head.segment.rsc +1 -1
  923. package/dist/server/app/_global-error.segments/_index.segment.rsc +1 -1
  924. package/dist/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  925. package/dist/server/app/_not-found/page.js +1 -1
  926. package/dist/server/app/_not-found/page.js.nft.json +1 -1
  927. package/dist/server/app/_not-found.html +1 -1
  928. package/dist/server/app/_not-found.rsc +1 -1
  929. package/dist/server/app/_not-found.segments/_full.segment.rsc +1 -1
  930. package/dist/server/app/_not-found.segments/_head.segment.rsc +1 -1
  931. package/dist/server/app/_not-found.segments/_index.segment.rsc +1 -1
  932. package/dist/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  933. package/dist/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  934. package/dist/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  935. package/dist/server/app/api/component/route.js +1 -1
  936. package/dist/server/app/api/component/route.js.nft.json +1 -1
  937. package/dist/server/app/index.html +1 -1
  938. package/dist/server/app/index.rsc +1 -1
  939. package/dist/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  940. package/dist/server/app/index.segments/_full.segment.rsc +1 -1
  941. package/dist/server/app/index.segments/_head.segment.rsc +1 -1
  942. package/dist/server/app/index.segments/_index.segment.rsc +1 -1
  943. package/dist/server/app/index.segments/_tree.segment.rsc +1 -1
  944. package/dist/server/app/page.js +1 -1
  945. package/dist/server/app/page.js.nft.json +1 -1
  946. package/dist/server/chunks/[root-of-the-server]__008oj_w._.js +9 -0
  947. package/dist/server/chunks/[root-of-the-server]__008oj_w._.js.map +1 -0
  948. package/dist/server/chunks/ssr/[root-of-the-server]__0pykrpz._.js +3 -0
  949. package/dist/server/chunks/ssr/{[root-of-the-server]__0fcc145._.js.map → [root-of-the-server]__0pykrpz._.js.map} +1 -1
  950. package/dist/server/middleware-build-manifest.js +3 -3
  951. package/dist/server/pages/404.html +1 -1
  952. package/dist/server/pages/500.html +1 -1
  953. package/dist/standalone/dist/BUILD_ID +1 -1
  954. package/dist/standalone/dist/build-manifest.json +3 -3
  955. package/dist/standalone/dist/server/app/_global-error/page.js +1 -1
  956. package/dist/standalone/dist/server/app/_global-error/page.js.nft.json +1 -1
  957. package/dist/standalone/dist/server/app/_global-error.html +1 -1
  958. package/dist/standalone/dist/server/app/_global-error.rsc +1 -1
  959. package/dist/standalone/dist/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  960. package/dist/standalone/dist/server/app/_global-error.segments/_full.segment.rsc +1 -1
  961. package/dist/standalone/dist/server/app/_global-error.segments/_head.segment.rsc +1 -1
  962. package/dist/standalone/dist/server/app/_global-error.segments/_index.segment.rsc +1 -1
  963. package/dist/standalone/dist/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  964. package/dist/standalone/dist/server/app/_not-found/page.js +1 -1
  965. package/dist/standalone/dist/server/app/_not-found/page.js.nft.json +1 -1
  966. package/dist/standalone/dist/server/app/_not-found.html +1 -1
  967. package/dist/standalone/dist/server/app/_not-found.rsc +1 -1
  968. package/dist/standalone/dist/server/app/_not-found.segments/_full.segment.rsc +1 -1
  969. package/dist/standalone/dist/server/app/_not-found.segments/_head.segment.rsc +1 -1
  970. package/dist/standalone/dist/server/app/_not-found.segments/_index.segment.rsc +1 -1
  971. package/dist/standalone/dist/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  972. package/dist/standalone/dist/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  973. package/dist/standalone/dist/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  974. package/dist/standalone/dist/server/app/api/component/route.js +1 -1
  975. package/dist/standalone/dist/server/app/api/component/route.js.nft.json +1 -1
  976. package/dist/standalone/dist/server/app/index.html +1 -1
  977. package/dist/standalone/dist/server/app/index.rsc +1 -1
  978. package/dist/standalone/dist/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  979. package/dist/standalone/dist/server/app/index.segments/_full.segment.rsc +1 -1
  980. package/dist/standalone/dist/server/app/index.segments/_head.segment.rsc +1 -1
  981. package/dist/standalone/dist/server/app/index.segments/_index.segment.rsc +1 -1
  982. package/dist/standalone/dist/server/app/index.segments/_tree.segment.rsc +1 -1
  983. package/dist/standalone/dist/server/app/page.js +1 -1
  984. package/dist/standalone/dist/server/app/page.js.nft.json +1 -1
  985. package/dist/standalone/dist/server/chunks/[root-of-the-server]__008oj_w._.js +9 -0
  986. package/dist/standalone/dist/server/chunks/ssr/[root-of-the-server]__0pykrpz._.js +3 -0
  987. package/dist/standalone/dist/server/middleware-build-manifest.js +3 -3
  988. package/dist/standalone/dist/server/pages/404.html +1 -1
  989. package/dist/standalone/dist/server/pages/500.html +1 -1
  990. package/dist/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +143 -0
  991. package/dist/standalone/node_modules/sharp/node_modules/semver/classes/range.js +577 -0
  992. package/dist/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +350 -0
  993. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +54 -0
  994. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +62 -0
  995. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +7 -0
  996. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +5 -0
  997. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +5 -0
  998. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +5 -0
  999. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +5 -0
  1000. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +5 -0
  1001. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +5 -0
  1002. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +18 -0
  1003. package/dist/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +12 -0
  1004. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +37 -0
  1005. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +11 -0
  1006. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +29 -0
  1007. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +42 -0
  1008. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +17 -0
  1009. package/dist/standalone/node_modules/sharp/node_modules/semver/internal/re.js +223 -0
  1010. package/dist/standalone/node_modules/sharp/node_modules/semver/package.json +78 -0
  1011. package/dist/standalone/package.json +4 -10
  1012. package/dist/trace +1 -1
  1013. package/dist/trace-build +1 -1
  1014. package/package.json +4 -10
  1015. package/dist/server/chunks/[root-of-the-server]__1ewn43n._.js +0 -11
  1016. package/dist/server/chunks/[root-of-the-server]__1ewn43n._.js.map +0 -1
  1017. package/dist/server/chunks/ssr/[root-of-the-server]__0fcc145._.js +0 -3
  1018. package/dist/standalone/dist/server/chunks/[root-of-the-server]__1ewn43n._.js +0 -11
  1019. package/dist/standalone/dist/server/chunks/ssr/[root-of-the-server]__0fcc145._.js +0 -3
  1020. package/dist/standalone/node_modules/@swc/core/LICENSE +0 -201
  1021. package/dist/standalone/node_modules/@swc/core/README.md +0 -100
  1022. package/dist/standalone/node_modules/@swc/core/Visitor.js +0 -1399
  1023. package/dist/standalone/node_modules/@swc/core/binding.js +0 -368
  1024. package/dist/standalone/node_modules/@swc/core/index.js +0 -466
  1025. package/dist/standalone/node_modules/@swc/core/package.json +0 -119
  1026. package/dist/standalone/node_modules/@swc/core/postinstall.js +0 -148
  1027. package/dist/standalone/node_modules/@swc/core/spack.js +0 -87
  1028. package/dist/standalone/node_modules/@swc/core/util.js +0 -103
  1029. package/dist/standalone/node_modules/@swc/core-win32-x64-msvc/package.json +0 -43
  1030. package/dist/standalone/node_modules/@swc/core-win32-x64-msvc/swc.win32-x64-msvc.node +0 -0
  1031. /package/{dist/standalone → compiler}/node_modules/semver/classes/comparator.js +0 -0
  1032. /package/{dist/standalone → compiler}/node_modules/semver/classes/range.js +0 -0
  1033. /package/{dist/standalone → compiler}/node_modules/semver/classes/semver.js +0 -0
  1034. /package/{dist/standalone → compiler}/node_modules/semver/functions/cmp.js +0 -0
  1035. /package/{dist/standalone → compiler}/node_modules/semver/functions/coerce.js +0 -0
  1036. /package/{dist/standalone → compiler}/node_modules/semver/functions/compare.js +0 -0
  1037. /package/{dist/standalone → compiler}/node_modules/semver/functions/eq.js +0 -0
  1038. /package/{dist/standalone → compiler}/node_modules/semver/functions/gt.js +0 -0
  1039. /package/{dist/standalone → compiler}/node_modules/semver/functions/gte.js +0 -0
  1040. /package/{dist/standalone → compiler}/node_modules/semver/functions/lt.js +0 -0
  1041. /package/{dist/standalone → compiler}/node_modules/semver/functions/lte.js +0 -0
  1042. /package/{dist/standalone → compiler}/node_modules/semver/functions/neq.js +0 -0
  1043. /package/{dist/standalone → compiler}/node_modules/semver/functions/parse.js +0 -0
  1044. /package/{dist/standalone → compiler}/node_modules/semver/functions/satisfies.js +0 -0
  1045. /package/{dist/standalone → compiler}/node_modules/semver/internal/constants.js +0 -0
  1046. /package/{dist/standalone → compiler}/node_modules/semver/internal/debug.js +0 -0
  1047. /package/{dist/standalone → compiler}/node_modules/semver/internal/identifiers.js +0 -0
  1048. /package/{dist/standalone → compiler}/node_modules/semver/internal/lrucache.js +0 -0
  1049. /package/{dist/standalone → compiler}/node_modules/semver/internal/parse-options.js +0 -0
  1050. /package/{dist/standalone → compiler}/node_modules/semver/internal/re.js +0 -0
  1051. /package/{dist/standalone → compiler}/node_modules/semver/package.json +0 -0
  1052. /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_buildManifest.js +0 -0
  1053. /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_clientMiddlewareManifest.js +0 -0
  1054. /package/dist/standalone/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_ssgManifest.js +0 -0
  1055. /package/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_buildManifest.js +0 -0
  1056. /package/dist/static/{gwQzOw5VFPX9p238BrwNq → 1DIww69kPZoIZz0WrTURg}/_clientMiddlewareManifest.js +0 -0
  1057. /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
+ }