@ai-qa/workflow 2.0.2 → 2.0.4

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 (1054) hide show
  1. package/.cursorrules +5 -0
  2. package/.github/copilot-instructions.md +3 -0
  3. package/PROJECT_GUIDE.md +102 -0
  4. package/README.md +15 -14
  5. package/agents/router.md +29 -0
  6. package/docs/application-context.md +20 -0
  7. package/install.js +1 -0
  8. package/package.json +24 -2
  9. package/qa-dashboard/.env +3 -0
  10. package/qa-dashboard/app.js +52 -0
  11. package/qa-dashboard/data/projects.json +9 -0
  12. package/qa-dashboard/node_modules/.bin/ejs +16 -0
  13. package/qa-dashboard/node_modules/.bin/ejs.cmd +17 -0
  14. package/qa-dashboard/node_modules/.bin/ejs.ps1 +28 -0
  15. package/qa-dashboard/node_modules/.bin/jake +16 -0
  16. package/qa-dashboard/node_modules/.bin/jake.cmd +17 -0
  17. package/qa-dashboard/node_modules/.bin/jake.ps1 +28 -0
  18. package/qa-dashboard/node_modules/.bin/mime +16 -0
  19. package/qa-dashboard/node_modules/.bin/mime.cmd +17 -0
  20. package/qa-dashboard/node_modules/.bin/mime.ps1 +28 -0
  21. package/qa-dashboard/node_modules/.package-lock.json +990 -0
  22. package/qa-dashboard/node_modules/@kurkle/color/LICENSE.md +9 -0
  23. package/qa-dashboard/node_modules/@kurkle/color/README.md +79 -0
  24. package/qa-dashboard/node_modules/@kurkle/color/dist/color.cjs +624 -0
  25. package/qa-dashboard/node_modules/@kurkle/color/dist/color.d.ts +235 -0
  26. package/qa-dashboard/node_modules/@kurkle/color/dist/color.esm.js +589 -0
  27. package/qa-dashboard/node_modules/@kurkle/color/dist/color.min.js +8 -0
  28. package/qa-dashboard/node_modules/@kurkle/color/dist/color.min.js.map +1 -0
  29. package/qa-dashboard/node_modules/@kurkle/color/package.json +77 -0
  30. package/qa-dashboard/node_modules/accepts/HISTORY.md +243 -0
  31. package/qa-dashboard/node_modules/accepts/LICENSE +23 -0
  32. package/qa-dashboard/node_modules/accepts/README.md +140 -0
  33. package/qa-dashboard/node_modules/accepts/index.js +238 -0
  34. package/qa-dashboard/node_modules/accepts/package.json +47 -0
  35. package/qa-dashboard/node_modules/array-flatten/LICENSE +21 -0
  36. package/qa-dashboard/node_modules/array-flatten/README.md +43 -0
  37. package/qa-dashboard/node_modules/array-flatten/array-flatten.js +64 -0
  38. package/qa-dashboard/node_modules/array-flatten/package.json +39 -0
  39. package/qa-dashboard/node_modules/async/CHANGELOG.md +351 -0
  40. package/qa-dashboard/node_modules/async/LICENSE +19 -0
  41. package/qa-dashboard/node_modules/async/README.md +59 -0
  42. package/qa-dashboard/node_modules/async/all.js +119 -0
  43. package/qa-dashboard/node_modules/async/allLimit.js +46 -0
  44. package/qa-dashboard/node_modules/async/allSeries.js +45 -0
  45. package/qa-dashboard/node_modules/async/any.js +122 -0
  46. package/qa-dashboard/node_modules/async/anyLimit.js +47 -0
  47. package/qa-dashboard/node_modules/async/anySeries.js +46 -0
  48. package/qa-dashboard/node_modules/async/apply.js +11 -0
  49. package/qa-dashboard/node_modules/async/applyEach.js +57 -0
  50. package/qa-dashboard/node_modules/async/applyEachSeries.js +37 -0
  51. package/qa-dashboard/node_modules/async/asyncify.js +118 -0
  52. package/qa-dashboard/node_modules/async/auto.js +333 -0
  53. package/qa-dashboard/node_modules/async/autoInject.js +182 -0
  54. package/qa-dashboard/node_modules/async/bower.json +17 -0
  55. package/qa-dashboard/node_modules/async/cargo.js +63 -0
  56. package/qa-dashboard/node_modules/async/cargoQueue.js +71 -0
  57. package/qa-dashboard/node_modules/async/compose.js +55 -0
  58. package/qa-dashboard/node_modules/async/concat.js +115 -0
  59. package/qa-dashboard/node_modules/async/concatLimit.js +60 -0
  60. package/qa-dashboard/node_modules/async/concatSeries.js +41 -0
  61. package/qa-dashboard/node_modules/async/constant.js +14 -0
  62. package/qa-dashboard/node_modules/async/detect.js +96 -0
  63. package/qa-dashboard/node_modules/async/detectLimit.js +48 -0
  64. package/qa-dashboard/node_modules/async/detectSeries.js +47 -0
  65. package/qa-dashboard/node_modules/async/dir.js +43 -0
  66. package/qa-dashboard/node_modules/async/dist/async.js +6061 -0
  67. package/qa-dashboard/node_modules/async/dist/async.min.js +1 -0
  68. package/qa-dashboard/node_modules/async/dist/async.mjs +5948 -0
  69. package/qa-dashboard/node_modules/async/doDuring.js +68 -0
  70. package/qa-dashboard/node_modules/async/doUntil.js +46 -0
  71. package/qa-dashboard/node_modules/async/doWhilst.js +68 -0
  72. package/qa-dashboard/node_modules/async/during.js +78 -0
  73. package/qa-dashboard/node_modules/async/each.js +129 -0
  74. package/qa-dashboard/node_modules/async/eachLimit.js +50 -0
  75. package/qa-dashboard/node_modules/async/eachOf.js +185 -0
  76. package/qa-dashboard/node_modules/async/eachOfLimit.js +47 -0
  77. package/qa-dashboard/node_modules/async/eachOfSeries.js +39 -0
  78. package/qa-dashboard/node_modules/async/eachSeries.js +44 -0
  79. package/qa-dashboard/node_modules/async/ensureAsync.js +67 -0
  80. package/qa-dashboard/node_modules/async/every.js +119 -0
  81. package/qa-dashboard/node_modules/async/everyLimit.js +46 -0
  82. package/qa-dashboard/node_modules/async/everySeries.js +45 -0
  83. package/qa-dashboard/node_modules/async/filter.js +93 -0
  84. package/qa-dashboard/node_modules/async/filterLimit.js +45 -0
  85. package/qa-dashboard/node_modules/async/filterSeries.js +43 -0
  86. package/qa-dashboard/node_modules/async/find.js +96 -0
  87. package/qa-dashboard/node_modules/async/findLimit.js +48 -0
  88. package/qa-dashboard/node_modules/async/findSeries.js +47 -0
  89. package/qa-dashboard/node_modules/async/flatMap.js +115 -0
  90. package/qa-dashboard/node_modules/async/flatMapLimit.js +60 -0
  91. package/qa-dashboard/node_modules/async/flatMapSeries.js +41 -0
  92. package/qa-dashboard/node_modules/async/foldl.js +153 -0
  93. package/qa-dashboard/node_modules/async/foldr.js +41 -0
  94. package/qa-dashboard/node_modules/async/forEach.js +129 -0
  95. package/qa-dashboard/node_modules/async/forEachLimit.js +50 -0
  96. package/qa-dashboard/node_modules/async/forEachOf.js +185 -0
  97. package/qa-dashboard/node_modules/async/forEachOfLimit.js +47 -0
  98. package/qa-dashboard/node_modules/async/forEachOfSeries.js +39 -0
  99. package/qa-dashboard/node_modules/async/forEachSeries.js +44 -0
  100. package/qa-dashboard/node_modules/async/forever.js +68 -0
  101. package/qa-dashboard/node_modules/async/groupBy.js +108 -0
  102. package/qa-dashboard/node_modules/async/groupByLimit.js +71 -0
  103. package/qa-dashboard/node_modules/async/groupBySeries.js +36 -0
  104. package/qa-dashboard/node_modules/async/index.js +588 -0
  105. package/qa-dashboard/node_modules/async/inject.js +153 -0
  106. package/qa-dashboard/node_modules/async/internal/DoublyLinkedList.js +92 -0
  107. package/qa-dashboard/node_modules/async/internal/Heap.js +120 -0
  108. package/qa-dashboard/node_modules/async/internal/applyEach.js +29 -0
  109. package/qa-dashboard/node_modules/async/internal/asyncEachOfLimit.js +75 -0
  110. package/qa-dashboard/node_modules/async/internal/awaitify.js +28 -0
  111. package/qa-dashboard/node_modules/async/internal/breakLoop.js +10 -0
  112. package/qa-dashboard/node_modules/async/internal/consoleFunc.js +31 -0
  113. package/qa-dashboard/node_modules/async/internal/createTester.js +40 -0
  114. package/qa-dashboard/node_modules/async/internal/eachOfLimit.js +90 -0
  115. package/qa-dashboard/node_modules/async/internal/filter.js +55 -0
  116. package/qa-dashboard/node_modules/async/internal/getIterator.js +11 -0
  117. package/qa-dashboard/node_modules/async/internal/initialParams.js +14 -0
  118. package/qa-dashboard/node_modules/async/internal/isArrayLike.js +10 -0
  119. package/qa-dashboard/node_modules/async/internal/iterator.js +57 -0
  120. package/qa-dashboard/node_modules/async/internal/map.js +30 -0
  121. package/qa-dashboard/node_modules/async/internal/once.js +17 -0
  122. package/qa-dashboard/node_modules/async/internal/onlyOnce.js +15 -0
  123. package/qa-dashboard/node_modules/async/internal/parallel.js +34 -0
  124. package/qa-dashboard/node_modules/async/internal/promiseCallback.js +23 -0
  125. package/qa-dashboard/node_modules/async/internal/queue.js +294 -0
  126. package/qa-dashboard/node_modules/async/internal/range.js +14 -0
  127. package/qa-dashboard/node_modules/async/internal/reject.js +26 -0
  128. package/qa-dashboard/node_modules/async/internal/setImmediate.js +34 -0
  129. package/qa-dashboard/node_modules/async/internal/withoutIndex.js +10 -0
  130. package/qa-dashboard/node_modules/async/internal/wrapAsync.js +34 -0
  131. package/qa-dashboard/node_modules/async/log.js +41 -0
  132. package/qa-dashboard/node_modules/async/map.js +142 -0
  133. package/qa-dashboard/node_modules/async/mapLimit.js +45 -0
  134. package/qa-dashboard/node_modules/async/mapSeries.js +44 -0
  135. package/qa-dashboard/node_modules/async/mapValues.js +152 -0
  136. package/qa-dashboard/node_modules/async/mapValuesLimit.js +61 -0
  137. package/qa-dashboard/node_modules/async/mapValuesSeries.js +37 -0
  138. package/qa-dashboard/node_modules/async/memoize.js +91 -0
  139. package/qa-dashboard/node_modules/async/nextTick.js +52 -0
  140. package/qa-dashboard/node_modules/async/package.json +75 -0
  141. package/qa-dashboard/node_modules/async/parallel.js +180 -0
  142. package/qa-dashboard/node_modules/async/parallelLimit.js +41 -0
  143. package/qa-dashboard/node_modules/async/priorityQueue.js +60 -0
  144. package/qa-dashboard/node_modules/async/queue.js +24 -0
  145. package/qa-dashboard/node_modules/async/race.js +67 -0
  146. package/qa-dashboard/node_modules/async/reduce.js +153 -0
  147. package/qa-dashboard/node_modules/async/reduceRight.js +41 -0
  148. package/qa-dashboard/node_modules/async/reflect.js +78 -0
  149. package/qa-dashboard/node_modules/async/reflectAll.js +93 -0
  150. package/qa-dashboard/node_modules/async/reject.js +87 -0
  151. package/qa-dashboard/node_modules/async/rejectLimit.js +45 -0
  152. package/qa-dashboard/node_modules/async/rejectSeries.js +43 -0
  153. package/qa-dashboard/node_modules/async/retry.js +159 -0
  154. package/qa-dashboard/node_modules/async/retryable.js +77 -0
  155. package/qa-dashboard/node_modules/async/select.js +93 -0
  156. package/qa-dashboard/node_modules/async/selectLimit.js +45 -0
  157. package/qa-dashboard/node_modules/async/selectSeries.js +43 -0
  158. package/qa-dashboard/node_modules/async/seq.js +79 -0
  159. package/qa-dashboard/node_modules/async/series.js +186 -0
  160. package/qa-dashboard/node_modules/async/setImmediate.js +45 -0
  161. package/qa-dashboard/node_modules/async/some.js +122 -0
  162. package/qa-dashboard/node_modules/async/someLimit.js +47 -0
  163. package/qa-dashboard/node_modules/async/someSeries.js +46 -0
  164. package/qa-dashboard/node_modules/async/sortBy.js +190 -0
  165. package/qa-dashboard/node_modules/async/timeout.js +89 -0
  166. package/qa-dashboard/node_modules/async/times.js +50 -0
  167. package/qa-dashboard/node_modules/async/timesLimit.js +43 -0
  168. package/qa-dashboard/node_modules/async/timesSeries.js +32 -0
  169. package/qa-dashboard/node_modules/async/transform.js +173 -0
  170. package/qa-dashboard/node_modules/async/tryEach.js +78 -0
  171. package/qa-dashboard/node_modules/async/unmemoize.js +25 -0
  172. package/qa-dashboard/node_modules/async/until.js +61 -0
  173. package/qa-dashboard/node_modules/async/waterfall.js +105 -0
  174. package/qa-dashboard/node_modules/async/whilst.js +78 -0
  175. package/qa-dashboard/node_modules/async/wrapSync.js +118 -0
  176. package/qa-dashboard/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  177. package/qa-dashboard/node_modules/balanced-match/LICENSE.md +21 -0
  178. package/qa-dashboard/node_modules/balanced-match/README.md +97 -0
  179. package/qa-dashboard/node_modules/balanced-match/index.js +62 -0
  180. package/qa-dashboard/node_modules/balanced-match/package.json +48 -0
  181. package/qa-dashboard/node_modules/basic-auth/HISTORY.md +52 -0
  182. package/qa-dashboard/node_modules/basic-auth/LICENSE +24 -0
  183. package/qa-dashboard/node_modules/basic-auth/README.md +113 -0
  184. package/qa-dashboard/node_modules/basic-auth/index.js +133 -0
  185. package/qa-dashboard/node_modules/basic-auth/node_modules/safe-buffer/LICENSE +21 -0
  186. package/qa-dashboard/node_modules/basic-auth/node_modules/safe-buffer/README.md +584 -0
  187. package/qa-dashboard/node_modules/basic-auth/node_modules/safe-buffer/index.d.ts +187 -0
  188. package/qa-dashboard/node_modules/basic-auth/node_modules/safe-buffer/index.js +62 -0
  189. package/qa-dashboard/node_modules/basic-auth/node_modules/safe-buffer/package.json +37 -0
  190. package/qa-dashboard/node_modules/basic-auth/package.json +41 -0
  191. package/qa-dashboard/node_modules/body-parser/HISTORY.md +686 -0
  192. package/qa-dashboard/node_modules/body-parser/LICENSE +23 -0
  193. package/qa-dashboard/node_modules/body-parser/README.md +476 -0
  194. package/qa-dashboard/node_modules/body-parser/index.js +156 -0
  195. package/qa-dashboard/node_modules/body-parser/lib/read.js +205 -0
  196. package/qa-dashboard/node_modules/body-parser/lib/types/json.js +243 -0
  197. package/qa-dashboard/node_modules/body-parser/lib/types/raw.js +101 -0
  198. package/qa-dashboard/node_modules/body-parser/lib/types/text.js +121 -0
  199. package/qa-dashboard/node_modules/body-parser/lib/types/urlencoded.js +299 -0
  200. package/qa-dashboard/node_modules/body-parser/package.json +55 -0
  201. package/qa-dashboard/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  202. package/qa-dashboard/node_modules/brace-expansion/LICENSE +21 -0
  203. package/qa-dashboard/node_modules/brace-expansion/README.md +135 -0
  204. package/qa-dashboard/node_modules/brace-expansion/index.js +205 -0
  205. package/qa-dashboard/node_modules/brace-expansion/package.json +49 -0
  206. package/qa-dashboard/node_modules/bytes/History.md +97 -0
  207. package/qa-dashboard/node_modules/bytes/LICENSE +23 -0
  208. package/qa-dashboard/node_modules/bytes/Readme.md +152 -0
  209. package/qa-dashboard/node_modules/bytes/index.js +170 -0
  210. package/qa-dashboard/node_modules/bytes/package.json +42 -0
  211. package/qa-dashboard/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  212. package/qa-dashboard/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  213. package/qa-dashboard/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  214. package/qa-dashboard/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  215. package/qa-dashboard/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  216. package/qa-dashboard/node_modules/call-bind-apply-helpers/README.md +62 -0
  217. package/qa-dashboard/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  218. package/qa-dashboard/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  219. package/qa-dashboard/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  220. package/qa-dashboard/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  221. package/qa-dashboard/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  222. package/qa-dashboard/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  223. package/qa-dashboard/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  224. package/qa-dashboard/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  225. package/qa-dashboard/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  226. package/qa-dashboard/node_modules/call-bind-apply-helpers/index.js +15 -0
  227. package/qa-dashboard/node_modules/call-bind-apply-helpers/package.json +85 -0
  228. package/qa-dashboard/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  229. package/qa-dashboard/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  230. package/qa-dashboard/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  231. package/qa-dashboard/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  232. package/qa-dashboard/node_modules/call-bound/.eslintrc +13 -0
  233. package/qa-dashboard/node_modules/call-bound/.github/FUNDING.yml +12 -0
  234. package/qa-dashboard/node_modules/call-bound/.nycrc +9 -0
  235. package/qa-dashboard/node_modules/call-bound/CHANGELOG.md +42 -0
  236. package/qa-dashboard/node_modules/call-bound/LICENSE +21 -0
  237. package/qa-dashboard/node_modules/call-bound/README.md +53 -0
  238. package/qa-dashboard/node_modules/call-bound/index.d.ts +94 -0
  239. package/qa-dashboard/node_modules/call-bound/index.js +19 -0
  240. package/qa-dashboard/node_modules/call-bound/package.json +99 -0
  241. package/qa-dashboard/node_modules/call-bound/test/index.js +61 -0
  242. package/qa-dashboard/node_modules/call-bound/tsconfig.json +10 -0
  243. package/qa-dashboard/node_modules/chart.js/LICENSE.md +9 -0
  244. package/qa-dashboard/node_modules/chart.js/README.md +38 -0
  245. package/qa-dashboard/node_modules/chart.js/auto/auto.cjs +6 -0
  246. package/qa-dashboard/node_modules/chart.js/auto/auto.d.ts +4 -0
  247. package/qa-dashboard/node_modules/chart.js/auto/auto.js +6 -0
  248. package/qa-dashboard/node_modules/chart.js/auto/package.json +14 -0
  249. package/qa-dashboard/node_modules/chart.js/dist/chart.cjs +11647 -0
  250. package/qa-dashboard/node_modules/chart.js/dist/chart.cjs.map +1 -0
  251. package/qa-dashboard/node_modules/chart.js/dist/chart.js +11599 -0
  252. package/qa-dashboard/node_modules/chart.js/dist/chart.js.map +1 -0
  253. package/qa-dashboard/node_modules/chart.js/dist/chart.umd.js +14 -0
  254. package/qa-dashboard/node_modules/chart.js/dist/chart.umd.js.map +1 -0
  255. package/qa-dashboard/node_modules/chart.js/dist/chart.umd.min.js +14 -0
  256. package/qa-dashboard/node_modules/chart.js/dist/chart.umd.min.js.map +1 -0
  257. package/qa-dashboard/node_modules/chart.js/dist/chunks/helpers.dataset.cjs +2915 -0
  258. package/qa-dashboard/node_modules/chart.js/dist/chunks/helpers.dataset.cjs.map +1 -0
  259. package/qa-dashboard/node_modules/chart.js/dist/chunks/helpers.dataset.js +2788 -0
  260. package/qa-dashboard/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  261. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.bar.d.ts +65 -0
  262. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.bubble.d.ts +35 -0
  263. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.doughnut.d.ts +64 -0
  264. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.line.d.ts +13 -0
  265. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.pie.d.ts +3 -0
  266. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.polarArea.d.ts +35 -0
  267. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.radar.d.ts +19 -0
  268. package/qa-dashboard/node_modules/chart.js/dist/controllers/controller.scatter.d.ts +20 -0
  269. package/qa-dashboard/node_modules/chart.js/dist/controllers/index.d.ts +8 -0
  270. package/qa-dashboard/node_modules/chart.js/dist/core/core.adapters.d.ts +67 -0
  271. package/qa-dashboard/node_modules/chart.js/dist/core/core.animation.d.ts +21 -0
  272. package/qa-dashboard/node_modules/chart.js/dist/core/core.animations.d.ts +22 -0
  273. package/qa-dashboard/node_modules/chart.js/dist/core/core.animations.defaults.d.ts +1 -0
  274. package/qa-dashboard/node_modules/chart.js/dist/core/core.animator.d.ts +67 -0
  275. package/qa-dashboard/node_modules/chart.js/dist/core/core.config.d.ts +86 -0
  276. package/qa-dashboard/node_modules/chart.js/dist/core/core.controller.d.ts +257 -0
  277. package/qa-dashboard/node_modules/chart.js/dist/core/core.datasetController.d.ts +251 -0
  278. package/qa-dashboard/node_modules/chart.js/dist/core/core.defaults.d.ts +80 -0
  279. package/qa-dashboard/node_modules/chart.js/dist/core/core.element.d.ts +21 -0
  280. package/qa-dashboard/node_modules/chart.js/dist/core/core.interaction.d.ts +92 -0
  281. package/qa-dashboard/node_modules/chart.js/dist/core/core.layouts.d.ts +88 -0
  282. package/qa-dashboard/node_modules/chart.js/dist/core/core.layouts.defaults.d.ts +1 -0
  283. package/qa-dashboard/node_modules/chart.js/dist/core/core.plugins.d.ts +64 -0
  284. package/qa-dashboard/node_modules/chart.js/dist/core/core.registry.d.ts +90 -0
  285. package/qa-dashboard/node_modules/chart.js/dist/core/core.scale.autoskip.d.ts +19 -0
  286. package/qa-dashboard/node_modules/chart.js/dist/core/core.scale.d.ts +343 -0
  287. package/qa-dashboard/node_modules/chart.js/dist/core/core.scale.defaults.d.ts +1 -0
  288. package/qa-dashboard/node_modules/chart.js/dist/core/core.ticks.d.ts +31 -0
  289. package/qa-dashboard/node_modules/chart.js/dist/core/core.typedRegistry.d.ts +33 -0
  290. package/qa-dashboard/node_modules/chart.js/dist/core/index.d.ts +15 -0
  291. package/qa-dashboard/node_modules/chart.js/dist/elements/element.arc.d.ts +51 -0
  292. package/qa-dashboard/node_modules/chart.js/dist/elements/element.bar.d.ts +32 -0
  293. package/qa-dashboard/node_modules/chart.js/dist/elements/element.line.d.ts +87 -0
  294. package/qa-dashboard/node_modules/chart.js/dist/elements/element.point.d.ts +39 -0
  295. package/qa-dashboard/node_modules/chart.js/dist/elements/index.d.ts +4 -0
  296. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.canvas.d.ts +75 -0
  297. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.collection.d.ts +68 -0
  298. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.color.d.ts +13 -0
  299. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.config.d.ts +31 -0
  300. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.config.types.d.ts +41 -0
  301. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.core.d.ts +147 -0
  302. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.curve.d.ts +17 -0
  303. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.dataset.d.ts +2 -0
  304. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.dom.d.ts +48 -0
  305. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.easing.d.ts +40 -0
  306. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.extras.d.ts +45 -0
  307. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.interpolation.d.ts +22 -0
  308. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.intl.d.ts +1 -0
  309. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.math.d.ts +84 -0
  310. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.options.d.ts +97 -0
  311. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.rtl.d.ts +10 -0
  312. package/qa-dashboard/node_modules/chart.js/dist/helpers/helpers.segment.d.ts +65 -0
  313. package/qa-dashboard/node_modules/chart.js/dist/helpers/index.d.ts +16 -0
  314. package/qa-dashboard/node_modules/chart.js/dist/helpers.cjs +136 -0
  315. package/qa-dashboard/node_modules/chart.js/dist/helpers.cjs.map +1 -0
  316. package/qa-dashboard/node_modules/chart.js/dist/helpers.js +9 -0
  317. package/qa-dashboard/node_modules/chart.js/dist/helpers.js.map +1 -0
  318. package/qa-dashboard/node_modules/chart.js/dist/index.d.ts +12 -0
  319. package/qa-dashboard/node_modules/chart.js/dist/index.umd.d.ts +5 -0
  320. package/qa-dashboard/node_modules/chart.js/dist/platform/index.d.ts +5 -0
  321. package/qa-dashboard/node_modules/chart.js/dist/platform/platform.base.d.ts +63 -0
  322. package/qa-dashboard/node_modules/chart.js/dist/platform/platform.basic.d.ts +10 -0
  323. package/qa-dashboard/node_modules/chart.js/dist/platform/platform.dom.d.ts +19 -0
  324. package/qa-dashboard/node_modules/chart.js/dist/plugins/index.d.ts +7 -0
  325. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.colors.d.ts +11 -0
  326. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.decimation.d.ts +10 -0
  327. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.drawing.d.ts +1 -0
  328. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.helper.d.ts +14 -0
  329. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.options.d.ts +30 -0
  330. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.segment.d.ts +36 -0
  331. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.d.ts +9 -0
  332. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/filler.target.stack.d.ts +14 -0
  333. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/index.d.ts +12 -0
  334. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.filler/simpleArc.d.ts +12 -0
  335. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.legend.d.ts +114 -0
  336. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.subtitle.d.ts +27 -0
  337. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.title.d.ts +61 -0
  338. package/qa-dashboard/node_modules/chart.js/dist/plugins/plugin.tooltip.d.ts +288 -0
  339. package/qa-dashboard/node_modules/chart.js/dist/scales/index.d.ts +6 -0
  340. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.category.d.ts +21 -0
  341. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.linear.d.ts +10 -0
  342. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.linearbase.d.ts +20 -0
  343. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.logarithmic.d.ts +25 -0
  344. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.radialLinear.d.ts +63 -0
  345. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.time.d.ts +130 -0
  346. package/qa-dashboard/node_modules/chart.js/dist/scales/scale.timeseries.d.ts +39 -0
  347. package/qa-dashboard/node_modules/chart.js/dist/types/animation.d.ts +34 -0
  348. package/qa-dashboard/node_modules/chart.js/dist/types/basic.d.ts +3 -0
  349. package/qa-dashboard/node_modules/chart.js/dist/types/color.d.ts +1 -0
  350. package/qa-dashboard/node_modules/chart.js/dist/types/geometric.d.ts +52 -0
  351. package/qa-dashboard/node_modules/chart.js/dist/types/index.d.ts +3885 -0
  352. package/qa-dashboard/node_modules/chart.js/dist/types/layout.d.ts +65 -0
  353. package/qa-dashboard/node_modules/chart.js/dist/types/utils.d.ts +30 -0
  354. package/qa-dashboard/node_modules/chart.js/dist/types.d.ts +10 -0
  355. package/qa-dashboard/node_modules/chart.js/helpers/helpers.cjs +1 -0
  356. package/qa-dashboard/node_modules/chart.js/helpers/helpers.d.ts +1 -0
  357. package/qa-dashboard/node_modules/chart.js/helpers/helpers.js +1 -0
  358. package/qa-dashboard/node_modules/chart.js/helpers/package.json +14 -0
  359. package/qa-dashboard/node_modules/chart.js/package.json +139 -0
  360. package/qa-dashboard/node_modules/content-disposition/HISTORY.md +60 -0
  361. package/qa-dashboard/node_modules/content-disposition/LICENSE +22 -0
  362. package/qa-dashboard/node_modules/content-disposition/README.md +142 -0
  363. package/qa-dashboard/node_modules/content-disposition/index.js +458 -0
  364. package/qa-dashboard/node_modules/content-disposition/package.json +44 -0
  365. package/qa-dashboard/node_modules/content-type/HISTORY.md +29 -0
  366. package/qa-dashboard/node_modules/content-type/LICENSE +22 -0
  367. package/qa-dashboard/node_modules/content-type/README.md +94 -0
  368. package/qa-dashboard/node_modules/content-type/index.js +225 -0
  369. package/qa-dashboard/node_modules/content-type/package.json +42 -0
  370. package/qa-dashboard/node_modules/cookie/LICENSE +24 -0
  371. package/qa-dashboard/node_modules/cookie/README.md +317 -0
  372. package/qa-dashboard/node_modules/cookie/SECURITY.md +25 -0
  373. package/qa-dashboard/node_modules/cookie/index.js +335 -0
  374. package/qa-dashboard/node_modules/cookie/package.json +44 -0
  375. package/qa-dashboard/node_modules/cookie-signature/History.md +42 -0
  376. package/qa-dashboard/node_modules/cookie-signature/Readme.md +42 -0
  377. package/qa-dashboard/node_modules/cookie-signature/index.js +51 -0
  378. package/qa-dashboard/node_modules/cookie-signature/package.json +18 -0
  379. package/qa-dashboard/node_modules/debug/.coveralls.yml +1 -0
  380. package/qa-dashboard/node_modules/debug/.eslintrc +11 -0
  381. package/qa-dashboard/node_modules/debug/.travis.yml +14 -0
  382. package/qa-dashboard/node_modules/debug/CHANGELOG.md +362 -0
  383. package/qa-dashboard/node_modules/debug/LICENSE +19 -0
  384. package/qa-dashboard/node_modules/debug/Makefile +50 -0
  385. package/qa-dashboard/node_modules/debug/README.md +312 -0
  386. package/qa-dashboard/node_modules/debug/component.json +19 -0
  387. package/qa-dashboard/node_modules/debug/karma.conf.js +70 -0
  388. package/qa-dashboard/node_modules/debug/node.js +1 -0
  389. package/qa-dashboard/node_modules/debug/package.json +49 -0
  390. package/qa-dashboard/node_modules/debug/src/browser.js +185 -0
  391. package/qa-dashboard/node_modules/debug/src/debug.js +202 -0
  392. package/qa-dashboard/node_modules/debug/src/index.js +10 -0
  393. package/qa-dashboard/node_modules/debug/src/inspector-log.js +15 -0
  394. package/qa-dashboard/node_modules/debug/src/node.js +248 -0
  395. package/qa-dashboard/node_modules/depd/History.md +103 -0
  396. package/qa-dashboard/node_modules/depd/LICENSE +22 -0
  397. package/qa-dashboard/node_modules/depd/Readme.md +280 -0
  398. package/qa-dashboard/node_modules/depd/index.js +538 -0
  399. package/qa-dashboard/node_modules/depd/lib/browser/index.js +77 -0
  400. package/qa-dashboard/node_modules/depd/package.json +45 -0
  401. package/qa-dashboard/node_modules/destroy/LICENSE +23 -0
  402. package/qa-dashboard/node_modules/destroy/README.md +63 -0
  403. package/qa-dashboard/node_modules/destroy/index.js +209 -0
  404. package/qa-dashboard/node_modules/destroy/package.json +48 -0
  405. package/qa-dashboard/node_modules/dotenv/CHANGELOG.md +520 -0
  406. package/qa-dashboard/node_modules/dotenv/LICENSE +23 -0
  407. package/qa-dashboard/node_modules/dotenv/README-es.md +411 -0
  408. package/qa-dashboard/node_modules/dotenv/README.md +645 -0
  409. package/qa-dashboard/node_modules/dotenv/SECURITY.md +1 -0
  410. package/qa-dashboard/node_modules/dotenv/config.d.ts +1 -0
  411. package/qa-dashboard/node_modules/dotenv/config.js +9 -0
  412. package/qa-dashboard/node_modules/dotenv/lib/cli-options.js +17 -0
  413. package/qa-dashboard/node_modules/dotenv/lib/env-options.js +28 -0
  414. package/qa-dashboard/node_modules/dotenv/lib/main.d.ts +162 -0
  415. package/qa-dashboard/node_modules/dotenv/lib/main.js +386 -0
  416. package/qa-dashboard/node_modules/dotenv/package.json +62 -0
  417. package/qa-dashboard/node_modules/dunder-proto/.eslintrc +5 -0
  418. package/qa-dashboard/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  419. package/qa-dashboard/node_modules/dunder-proto/.nycrc +13 -0
  420. package/qa-dashboard/node_modules/dunder-proto/CHANGELOG.md +24 -0
  421. package/qa-dashboard/node_modules/dunder-proto/LICENSE +21 -0
  422. package/qa-dashboard/node_modules/dunder-proto/README.md +54 -0
  423. package/qa-dashboard/node_modules/dunder-proto/get.d.ts +5 -0
  424. package/qa-dashboard/node_modules/dunder-proto/get.js +30 -0
  425. package/qa-dashboard/node_modules/dunder-proto/package.json +76 -0
  426. package/qa-dashboard/node_modules/dunder-proto/set.d.ts +5 -0
  427. package/qa-dashboard/node_modules/dunder-proto/set.js +35 -0
  428. package/qa-dashboard/node_modules/dunder-proto/test/get.js +34 -0
  429. package/qa-dashboard/node_modules/dunder-proto/test/index.js +4 -0
  430. package/qa-dashboard/node_modules/dunder-proto/test/set.js +50 -0
  431. package/qa-dashboard/node_modules/dunder-proto/tsconfig.json +9 -0
  432. package/qa-dashboard/node_modules/ee-first/LICENSE +22 -0
  433. package/qa-dashboard/node_modules/ee-first/README.md +80 -0
  434. package/qa-dashboard/node_modules/ee-first/index.js +95 -0
  435. package/qa-dashboard/node_modules/ee-first/package.json +29 -0
  436. package/qa-dashboard/node_modules/ejs/LICENSE +202 -0
  437. package/qa-dashboard/node_modules/ejs/README.md +358 -0
  438. package/qa-dashboard/node_modules/ejs/bin/cli.js +211 -0
  439. package/qa-dashboard/node_modules/ejs/ejs.js +1746 -0
  440. package/qa-dashboard/node_modules/ejs/ejs.min.js +1 -0
  441. package/qa-dashboard/node_modules/ejs/jakefile.js +88 -0
  442. package/qa-dashboard/node_modules/ejs/lib/ejs.js +952 -0
  443. package/qa-dashboard/node_modules/ejs/lib/utils.js +250 -0
  444. package/qa-dashboard/node_modules/ejs/package.json +42 -0
  445. package/qa-dashboard/node_modules/ejs/usage.txt +24 -0
  446. package/qa-dashboard/node_modules/encodeurl/LICENSE +22 -0
  447. package/qa-dashboard/node_modules/encodeurl/README.md +109 -0
  448. package/qa-dashboard/node_modules/encodeurl/index.js +60 -0
  449. package/qa-dashboard/node_modules/encodeurl/package.json +40 -0
  450. package/qa-dashboard/node_modules/es-define-property/.eslintrc +13 -0
  451. package/qa-dashboard/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  452. package/qa-dashboard/node_modules/es-define-property/.nycrc +9 -0
  453. package/qa-dashboard/node_modules/es-define-property/CHANGELOG.md +29 -0
  454. package/qa-dashboard/node_modules/es-define-property/LICENSE +21 -0
  455. package/qa-dashboard/node_modules/es-define-property/README.md +49 -0
  456. package/qa-dashboard/node_modules/es-define-property/index.d.ts +3 -0
  457. package/qa-dashboard/node_modules/es-define-property/index.js +14 -0
  458. package/qa-dashboard/node_modules/es-define-property/package.json +81 -0
  459. package/qa-dashboard/node_modules/es-define-property/test/index.js +56 -0
  460. package/qa-dashboard/node_modules/es-define-property/tsconfig.json +10 -0
  461. package/qa-dashboard/node_modules/es-errors/.eslintrc +5 -0
  462. package/qa-dashboard/node_modules/es-errors/.github/FUNDING.yml +12 -0
  463. package/qa-dashboard/node_modules/es-errors/CHANGELOG.md +40 -0
  464. package/qa-dashboard/node_modules/es-errors/LICENSE +21 -0
  465. package/qa-dashboard/node_modules/es-errors/README.md +55 -0
  466. package/qa-dashboard/node_modules/es-errors/eval.d.ts +3 -0
  467. package/qa-dashboard/node_modules/es-errors/eval.js +4 -0
  468. package/qa-dashboard/node_modules/es-errors/index.d.ts +3 -0
  469. package/qa-dashboard/node_modules/es-errors/index.js +4 -0
  470. package/qa-dashboard/node_modules/es-errors/package.json +80 -0
  471. package/qa-dashboard/node_modules/es-errors/range.d.ts +3 -0
  472. package/qa-dashboard/node_modules/es-errors/range.js +4 -0
  473. package/qa-dashboard/node_modules/es-errors/ref.d.ts +3 -0
  474. package/qa-dashboard/node_modules/es-errors/ref.js +4 -0
  475. package/qa-dashboard/node_modules/es-errors/syntax.d.ts +3 -0
  476. package/qa-dashboard/node_modules/es-errors/syntax.js +4 -0
  477. package/qa-dashboard/node_modules/es-errors/test/index.js +19 -0
  478. package/qa-dashboard/node_modules/es-errors/tsconfig.json +49 -0
  479. package/qa-dashboard/node_modules/es-errors/type.d.ts +3 -0
  480. package/qa-dashboard/node_modules/es-errors/type.js +4 -0
  481. package/qa-dashboard/node_modules/es-errors/uri.d.ts +3 -0
  482. package/qa-dashboard/node_modules/es-errors/uri.js +4 -0
  483. package/qa-dashboard/node_modules/es-object-atoms/.eslintrc +16 -0
  484. package/qa-dashboard/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  485. package/qa-dashboard/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  486. package/qa-dashboard/node_modules/es-object-atoms/LICENSE +21 -0
  487. package/qa-dashboard/node_modules/es-object-atoms/README.md +63 -0
  488. package/qa-dashboard/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  489. package/qa-dashboard/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  490. package/qa-dashboard/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  491. package/qa-dashboard/node_modules/es-object-atoms/ToObject.js +10 -0
  492. package/qa-dashboard/node_modules/es-object-atoms/index.d.ts +3 -0
  493. package/qa-dashboard/node_modules/es-object-atoms/index.js +4 -0
  494. package/qa-dashboard/node_modules/es-object-atoms/isObject.d.ts +3 -0
  495. package/qa-dashboard/node_modules/es-object-atoms/isObject.js +6 -0
  496. package/qa-dashboard/node_modules/es-object-atoms/package.json +80 -0
  497. package/qa-dashboard/node_modules/es-object-atoms/test/index.js +38 -0
  498. package/qa-dashboard/node_modules/es-object-atoms/tsconfig.json +6 -0
  499. package/qa-dashboard/node_modules/escape-html/LICENSE +24 -0
  500. package/qa-dashboard/node_modules/escape-html/Readme.md +43 -0
  501. package/qa-dashboard/node_modules/escape-html/index.js +78 -0
  502. package/qa-dashboard/node_modules/escape-html/package.json +24 -0
  503. package/qa-dashboard/node_modules/etag/HISTORY.md +83 -0
  504. package/qa-dashboard/node_modules/etag/LICENSE +22 -0
  505. package/qa-dashboard/node_modules/etag/README.md +159 -0
  506. package/qa-dashboard/node_modules/etag/index.js +131 -0
  507. package/qa-dashboard/node_modules/etag/package.json +47 -0
  508. package/qa-dashboard/node_modules/express/History.md +3676 -0
  509. package/qa-dashboard/node_modules/express/LICENSE +24 -0
  510. package/qa-dashboard/node_modules/express/Readme.md +260 -0
  511. package/qa-dashboard/node_modules/express/index.js +11 -0
  512. package/qa-dashboard/node_modules/express/lib/application.js +661 -0
  513. package/qa-dashboard/node_modules/express/lib/express.js +116 -0
  514. package/qa-dashboard/node_modules/express/lib/middleware/init.js +43 -0
  515. package/qa-dashboard/node_modules/express/lib/middleware/query.js +47 -0
  516. package/qa-dashboard/node_modules/express/lib/request.js +525 -0
  517. package/qa-dashboard/node_modules/express/lib/response.js +1179 -0
  518. package/qa-dashboard/node_modules/express/lib/router/index.js +673 -0
  519. package/qa-dashboard/node_modules/express/lib/router/layer.js +181 -0
  520. package/qa-dashboard/node_modules/express/lib/router/route.js +230 -0
  521. package/qa-dashboard/node_modules/express/lib/utils.js +304 -0
  522. package/qa-dashboard/node_modules/express/lib/view.js +182 -0
  523. package/qa-dashboard/node_modules/express/package.json +102 -0
  524. package/qa-dashboard/node_modules/express-ejs-layouts/.travis.yml +3 -0
  525. package/qa-dashboard/node_modules/express-ejs-layouts/LICENSE +7 -0
  526. package/qa-dashboard/node_modules/express-ejs-layouts/Readme.md +266 -0
  527. package/qa-dashboard/node_modules/express-ejs-layouts/example/index.js +27 -0
  528. package/qa-dashboard/node_modules/express-ejs-layouts/example/views/layout.ejs +33 -0
  529. package/qa-dashboard/node_modules/express-ejs-layouts/example/views/view.ejs +37 -0
  530. package/qa-dashboard/node_modules/express-ejs-layouts/lib/express-layouts.js +117 -0
  531. package/qa-dashboard/node_modules/express-ejs-layouts/package.json +24 -0
  532. package/qa-dashboard/node_modules/filelist/README.md +84 -0
  533. package/qa-dashboard/node_modules/filelist/index.d.ts +110 -0
  534. package/qa-dashboard/node_modules/filelist/index.js +495 -0
  535. package/qa-dashboard/node_modules/filelist/jakefile.js +15 -0
  536. package/qa-dashboard/node_modules/filelist/package.json +28 -0
  537. package/qa-dashboard/node_modules/finalhandler/HISTORY.md +216 -0
  538. package/qa-dashboard/node_modules/finalhandler/LICENSE +22 -0
  539. package/qa-dashboard/node_modules/finalhandler/README.md +147 -0
  540. package/qa-dashboard/node_modules/finalhandler/SECURITY.md +25 -0
  541. package/qa-dashboard/node_modules/finalhandler/index.js +341 -0
  542. package/qa-dashboard/node_modules/finalhandler/package.json +47 -0
  543. package/qa-dashboard/node_modules/forwarded/HISTORY.md +21 -0
  544. package/qa-dashboard/node_modules/forwarded/LICENSE +22 -0
  545. package/qa-dashboard/node_modules/forwarded/README.md +57 -0
  546. package/qa-dashboard/node_modules/forwarded/index.js +90 -0
  547. package/qa-dashboard/node_modules/forwarded/package.json +45 -0
  548. package/qa-dashboard/node_modules/fresh/HISTORY.md +70 -0
  549. package/qa-dashboard/node_modules/fresh/LICENSE +23 -0
  550. package/qa-dashboard/node_modules/fresh/README.md +119 -0
  551. package/qa-dashboard/node_modules/fresh/index.js +137 -0
  552. package/qa-dashboard/node_modules/fresh/package.json +46 -0
  553. package/qa-dashboard/node_modules/function-bind/.eslintrc +21 -0
  554. package/qa-dashboard/node_modules/function-bind/.github/FUNDING.yml +12 -0
  555. package/qa-dashboard/node_modules/function-bind/.github/SECURITY.md +3 -0
  556. package/qa-dashboard/node_modules/function-bind/.nycrc +13 -0
  557. package/qa-dashboard/node_modules/function-bind/CHANGELOG.md +136 -0
  558. package/qa-dashboard/node_modules/function-bind/LICENSE +20 -0
  559. package/qa-dashboard/node_modules/function-bind/README.md +46 -0
  560. package/qa-dashboard/node_modules/function-bind/implementation.js +84 -0
  561. package/qa-dashboard/node_modules/function-bind/index.js +5 -0
  562. package/qa-dashboard/node_modules/function-bind/package.json +87 -0
  563. package/qa-dashboard/node_modules/function-bind/test/.eslintrc +9 -0
  564. package/qa-dashboard/node_modules/function-bind/test/index.js +252 -0
  565. package/qa-dashboard/node_modules/get-intrinsic/.eslintrc +42 -0
  566. package/qa-dashboard/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  567. package/qa-dashboard/node_modules/get-intrinsic/.nycrc +9 -0
  568. package/qa-dashboard/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  569. package/qa-dashboard/node_modules/get-intrinsic/LICENSE +21 -0
  570. package/qa-dashboard/node_modules/get-intrinsic/README.md +71 -0
  571. package/qa-dashboard/node_modules/get-intrinsic/index.js +378 -0
  572. package/qa-dashboard/node_modules/get-intrinsic/package.json +97 -0
  573. package/qa-dashboard/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  574. package/qa-dashboard/node_modules/get-proto/.eslintrc +10 -0
  575. package/qa-dashboard/node_modules/get-proto/.github/FUNDING.yml +12 -0
  576. package/qa-dashboard/node_modules/get-proto/.nycrc +9 -0
  577. package/qa-dashboard/node_modules/get-proto/CHANGELOG.md +21 -0
  578. package/qa-dashboard/node_modules/get-proto/LICENSE +21 -0
  579. package/qa-dashboard/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  580. package/qa-dashboard/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  581. package/qa-dashboard/node_modules/get-proto/README.md +50 -0
  582. package/qa-dashboard/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  583. package/qa-dashboard/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  584. package/qa-dashboard/node_modules/get-proto/index.d.ts +5 -0
  585. package/qa-dashboard/node_modules/get-proto/index.js +27 -0
  586. package/qa-dashboard/node_modules/get-proto/package.json +81 -0
  587. package/qa-dashboard/node_modules/get-proto/test/index.js +68 -0
  588. package/qa-dashboard/node_modules/get-proto/tsconfig.json +9 -0
  589. package/qa-dashboard/node_modules/gopd/.eslintrc +16 -0
  590. package/qa-dashboard/node_modules/gopd/.github/FUNDING.yml +12 -0
  591. package/qa-dashboard/node_modules/gopd/CHANGELOG.md +45 -0
  592. package/qa-dashboard/node_modules/gopd/LICENSE +21 -0
  593. package/qa-dashboard/node_modules/gopd/README.md +40 -0
  594. package/qa-dashboard/node_modules/gopd/gOPD.d.ts +1 -0
  595. package/qa-dashboard/node_modules/gopd/gOPD.js +4 -0
  596. package/qa-dashboard/node_modules/gopd/index.d.ts +5 -0
  597. package/qa-dashboard/node_modules/gopd/index.js +15 -0
  598. package/qa-dashboard/node_modules/gopd/package.json +77 -0
  599. package/qa-dashboard/node_modules/gopd/test/index.js +36 -0
  600. package/qa-dashboard/node_modules/gopd/tsconfig.json +9 -0
  601. package/qa-dashboard/node_modules/has-symbols/.eslintrc +11 -0
  602. package/qa-dashboard/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  603. package/qa-dashboard/node_modules/has-symbols/.nycrc +9 -0
  604. package/qa-dashboard/node_modules/has-symbols/CHANGELOG.md +91 -0
  605. package/qa-dashboard/node_modules/has-symbols/LICENSE +21 -0
  606. package/qa-dashboard/node_modules/has-symbols/README.md +46 -0
  607. package/qa-dashboard/node_modules/has-symbols/index.d.ts +3 -0
  608. package/qa-dashboard/node_modules/has-symbols/index.js +14 -0
  609. package/qa-dashboard/node_modules/has-symbols/package.json +111 -0
  610. package/qa-dashboard/node_modules/has-symbols/shams.d.ts +3 -0
  611. package/qa-dashboard/node_modules/has-symbols/shams.js +45 -0
  612. package/qa-dashboard/node_modules/has-symbols/test/index.js +22 -0
  613. package/qa-dashboard/node_modules/has-symbols/test/shams/core-js.js +29 -0
  614. package/qa-dashboard/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  615. package/qa-dashboard/node_modules/has-symbols/test/tests.js +58 -0
  616. package/qa-dashboard/node_modules/has-symbols/tsconfig.json +10 -0
  617. package/qa-dashboard/node_modules/hasown/.github/FUNDING.yml +12 -0
  618. package/qa-dashboard/node_modules/hasown/.nycrc +13 -0
  619. package/qa-dashboard/node_modules/hasown/CHANGELOG.md +51 -0
  620. package/qa-dashboard/node_modules/hasown/LICENSE +21 -0
  621. package/qa-dashboard/node_modules/hasown/README.md +40 -0
  622. package/qa-dashboard/node_modules/hasown/eslint.config.mjs +6 -0
  623. package/qa-dashboard/node_modules/hasown/index.d.ts +4 -0
  624. package/qa-dashboard/node_modules/hasown/index.js +8 -0
  625. package/qa-dashboard/node_modules/hasown/package.json +92 -0
  626. package/qa-dashboard/node_modules/hasown/tsconfig.json +6 -0
  627. package/qa-dashboard/node_modules/http-errors/HISTORY.md +186 -0
  628. package/qa-dashboard/node_modules/http-errors/LICENSE +23 -0
  629. package/qa-dashboard/node_modules/http-errors/README.md +169 -0
  630. package/qa-dashboard/node_modules/http-errors/index.js +290 -0
  631. package/qa-dashboard/node_modules/http-errors/package.json +54 -0
  632. package/qa-dashboard/node_modules/iconv-lite/Changelog.md +162 -0
  633. package/qa-dashboard/node_modules/iconv-lite/LICENSE +21 -0
  634. package/qa-dashboard/node_modules/iconv-lite/README.md +156 -0
  635. package/qa-dashboard/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  636. package/qa-dashboard/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  637. package/qa-dashboard/node_modules/iconv-lite/encodings/index.js +22 -0
  638. package/qa-dashboard/node_modules/iconv-lite/encodings/internal.js +188 -0
  639. package/qa-dashboard/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  640. package/qa-dashboard/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  641. package/qa-dashboard/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  642. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  643. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  644. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  645. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  646. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  647. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  648. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  649. package/qa-dashboard/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  650. package/qa-dashboard/node_modules/iconv-lite/encodings/utf16.js +177 -0
  651. package/qa-dashboard/node_modules/iconv-lite/encodings/utf7.js +290 -0
  652. package/qa-dashboard/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  653. package/qa-dashboard/node_modules/iconv-lite/lib/extend-node.js +217 -0
  654. package/qa-dashboard/node_modules/iconv-lite/lib/index.d.ts +24 -0
  655. package/qa-dashboard/node_modules/iconv-lite/lib/index.js +153 -0
  656. package/qa-dashboard/node_modules/iconv-lite/lib/streams.js +121 -0
  657. package/qa-dashboard/node_modules/iconv-lite/package.json +46 -0
  658. package/qa-dashboard/node_modules/inherits/LICENSE +16 -0
  659. package/qa-dashboard/node_modules/inherits/README.md +42 -0
  660. package/qa-dashboard/node_modules/inherits/inherits.js +9 -0
  661. package/qa-dashboard/node_modules/inherits/inherits_browser.js +27 -0
  662. package/qa-dashboard/node_modules/inherits/package.json +29 -0
  663. package/qa-dashboard/node_modules/ipaddr.js/LICENSE +19 -0
  664. package/qa-dashboard/node_modules/ipaddr.js/README.md +233 -0
  665. package/qa-dashboard/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  666. package/qa-dashboard/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  667. package/qa-dashboard/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  668. package/qa-dashboard/node_modules/ipaddr.js/package.json +35 -0
  669. package/qa-dashboard/node_modules/jake/Makefile +44 -0
  670. package/qa-dashboard/node_modules/jake/README.md +17 -0
  671. package/qa-dashboard/node_modules/jake/bin/bash_completion.sh +41 -0
  672. package/qa-dashboard/node_modules/jake/bin/cli.js +31 -0
  673. package/qa-dashboard/node_modules/jake/jakefile.js +112 -0
  674. package/qa-dashboard/node_modules/jake/lib/api.js +409 -0
  675. package/qa-dashboard/node_modules/jake/lib/jake.js +330 -0
  676. package/qa-dashboard/node_modules/jake/lib/loader.js +174 -0
  677. package/qa-dashboard/node_modules/jake/lib/namespace.js +115 -0
  678. package/qa-dashboard/node_modules/jake/lib/package_task.js +406 -0
  679. package/qa-dashboard/node_modules/jake/lib/parseargs.js +134 -0
  680. package/qa-dashboard/node_modules/jake/lib/program.js +282 -0
  681. package/qa-dashboard/node_modules/jake/lib/publish_task.js +290 -0
  682. package/qa-dashboard/node_modules/jake/lib/rule.js +311 -0
  683. package/qa-dashboard/node_modules/jake/lib/task/directory_task.js +30 -0
  684. package/qa-dashboard/node_modules/jake/lib/task/file_task.js +126 -0
  685. package/qa-dashboard/node_modules/jake/lib/task/index.js +9 -0
  686. package/qa-dashboard/node_modules/jake/lib/task/task.js +458 -0
  687. package/qa-dashboard/node_modules/jake/lib/test_task.js +270 -0
  688. package/qa-dashboard/node_modules/jake/lib/utils/file.js +286 -0
  689. package/qa-dashboard/node_modules/jake/lib/utils/index.js +297 -0
  690. package/qa-dashboard/node_modules/jake/lib/utils/logger.js +24 -0
  691. package/qa-dashboard/node_modules/jake/package.json +44 -0
  692. package/qa-dashboard/node_modules/jake/test/integration/concurrent.js +45 -0
  693. package/qa-dashboard/node_modules/jake/test/integration/file.js +228 -0
  694. package/qa-dashboard/node_modules/jake/test/integration/file_task.js +141 -0
  695. package/qa-dashboard/node_modules/jake/test/integration/helpers.js +80 -0
  696. package/qa-dashboard/node_modules/jake/test/integration/jakefile.js +352 -0
  697. package/qa-dashboard/node_modules/jake/test/integration/jakelib/concurrent.jake.js +113 -0
  698. package/qa-dashboard/node_modules/jake/test/integration/jakelib/publish.jake.js +49 -0
  699. package/qa-dashboard/node_modules/jake/test/integration/jakelib/required_module.jake.js +10 -0
  700. package/qa-dashboard/node_modules/jake/test/integration/jakelib/rule.jake.js +222 -0
  701. package/qa-dashboard/node_modules/jake/test/integration/list_tasks.js +15 -0
  702. package/qa-dashboard/node_modules/jake/test/integration/publish_task.js +27 -0
  703. package/qa-dashboard/node_modules/jake/test/integration/rule.js +217 -0
  704. package/qa-dashboard/node_modules/jake/test/integration/selfdep.js +42 -0
  705. package/qa-dashboard/node_modules/jake/test/integration/task_base.js +167 -0
  706. package/qa-dashboard/node_modules/jake/test/unit/jakefile.js +36 -0
  707. package/qa-dashboard/node_modules/jake/test/unit/namespace.js +77 -0
  708. package/qa-dashboard/node_modules/jake/test/unit/parseargs.js +169 -0
  709. package/qa-dashboard/node_modules/jake/usage.txt +17 -0
  710. package/qa-dashboard/node_modules/math-intrinsics/.eslintrc +16 -0
  711. package/qa-dashboard/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  712. package/qa-dashboard/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  713. package/qa-dashboard/node_modules/math-intrinsics/LICENSE +21 -0
  714. package/qa-dashboard/node_modules/math-intrinsics/README.md +50 -0
  715. package/qa-dashboard/node_modules/math-intrinsics/abs.d.ts +1 -0
  716. package/qa-dashboard/node_modules/math-intrinsics/abs.js +4 -0
  717. package/qa-dashboard/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  718. package/qa-dashboard/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  719. package/qa-dashboard/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  720. package/qa-dashboard/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  721. package/qa-dashboard/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  722. package/qa-dashboard/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  723. package/qa-dashboard/node_modules/math-intrinsics/floor.d.ts +1 -0
  724. package/qa-dashboard/node_modules/math-intrinsics/floor.js +4 -0
  725. package/qa-dashboard/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  726. package/qa-dashboard/node_modules/math-intrinsics/isFinite.js +12 -0
  727. package/qa-dashboard/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  728. package/qa-dashboard/node_modules/math-intrinsics/isInteger.js +16 -0
  729. package/qa-dashboard/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  730. package/qa-dashboard/node_modules/math-intrinsics/isNaN.js +6 -0
  731. package/qa-dashboard/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  732. package/qa-dashboard/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  733. package/qa-dashboard/node_modules/math-intrinsics/max.d.ts +1 -0
  734. package/qa-dashboard/node_modules/math-intrinsics/max.js +4 -0
  735. package/qa-dashboard/node_modules/math-intrinsics/min.d.ts +1 -0
  736. package/qa-dashboard/node_modules/math-intrinsics/min.js +4 -0
  737. package/qa-dashboard/node_modules/math-intrinsics/mod.d.ts +3 -0
  738. package/qa-dashboard/node_modules/math-intrinsics/mod.js +9 -0
  739. package/qa-dashboard/node_modules/math-intrinsics/package.json +86 -0
  740. package/qa-dashboard/node_modules/math-intrinsics/pow.d.ts +1 -0
  741. package/qa-dashboard/node_modules/math-intrinsics/pow.js +4 -0
  742. package/qa-dashboard/node_modules/math-intrinsics/round.d.ts +1 -0
  743. package/qa-dashboard/node_modules/math-intrinsics/round.js +4 -0
  744. package/qa-dashboard/node_modules/math-intrinsics/sign.d.ts +3 -0
  745. package/qa-dashboard/node_modules/math-intrinsics/sign.js +11 -0
  746. package/qa-dashboard/node_modules/math-intrinsics/test/index.js +192 -0
  747. package/qa-dashboard/node_modules/math-intrinsics/tsconfig.json +3 -0
  748. package/qa-dashboard/node_modules/media-typer/HISTORY.md +22 -0
  749. package/qa-dashboard/node_modules/media-typer/LICENSE +22 -0
  750. package/qa-dashboard/node_modules/media-typer/README.md +81 -0
  751. package/qa-dashboard/node_modules/media-typer/index.js +270 -0
  752. package/qa-dashboard/node_modules/media-typer/package.json +26 -0
  753. package/qa-dashboard/node_modules/merge-descriptors/HISTORY.md +21 -0
  754. package/qa-dashboard/node_modules/merge-descriptors/LICENSE +23 -0
  755. package/qa-dashboard/node_modules/merge-descriptors/README.md +49 -0
  756. package/qa-dashboard/node_modules/merge-descriptors/index.js +60 -0
  757. package/qa-dashboard/node_modules/merge-descriptors/package.json +39 -0
  758. package/qa-dashboard/node_modules/methods/HISTORY.md +29 -0
  759. package/qa-dashboard/node_modules/methods/LICENSE +24 -0
  760. package/qa-dashboard/node_modules/methods/README.md +51 -0
  761. package/qa-dashboard/node_modules/methods/index.js +69 -0
  762. package/qa-dashboard/node_modules/methods/package.json +36 -0
  763. package/qa-dashboard/node_modules/mime/CHANGELOG.md +164 -0
  764. package/qa-dashboard/node_modules/mime/LICENSE +21 -0
  765. package/qa-dashboard/node_modules/mime/README.md +90 -0
  766. package/qa-dashboard/node_modules/mime/cli.js +8 -0
  767. package/qa-dashboard/node_modules/mime/mime.js +108 -0
  768. package/qa-dashboard/node_modules/mime/package.json +44 -0
  769. package/qa-dashboard/node_modules/mime/src/build.js +53 -0
  770. package/qa-dashboard/node_modules/mime/src/test.js +60 -0
  771. package/qa-dashboard/node_modules/mime/types.json +1 -0
  772. package/qa-dashboard/node_modules/mime-db/HISTORY.md +507 -0
  773. package/qa-dashboard/node_modules/mime-db/LICENSE +23 -0
  774. package/qa-dashboard/node_modules/mime-db/README.md +100 -0
  775. package/qa-dashboard/node_modules/mime-db/db.json +8519 -0
  776. package/qa-dashboard/node_modules/mime-db/index.js +12 -0
  777. package/qa-dashboard/node_modules/mime-db/package.json +60 -0
  778. package/qa-dashboard/node_modules/mime-types/HISTORY.md +397 -0
  779. package/qa-dashboard/node_modules/mime-types/LICENSE +23 -0
  780. package/qa-dashboard/node_modules/mime-types/README.md +113 -0
  781. package/qa-dashboard/node_modules/mime-types/index.js +188 -0
  782. package/qa-dashboard/node_modules/mime-types/package.json +44 -0
  783. package/qa-dashboard/node_modules/minimatch/LICENSE +15 -0
  784. package/qa-dashboard/node_modules/minimatch/README.md +296 -0
  785. package/qa-dashboard/node_modules/minimatch/changelog.md +35 -0
  786. package/qa-dashboard/node_modules/minimatch/lib/path.js +4 -0
  787. package/qa-dashboard/node_modules/minimatch/minimatch.js +996 -0
  788. package/qa-dashboard/node_modules/minimatch/package.json +35 -0
  789. package/qa-dashboard/node_modules/morgan/HISTORY.md +221 -0
  790. package/qa-dashboard/node_modules/morgan/LICENSE +23 -0
  791. package/qa-dashboard/node_modules/morgan/README.md +436 -0
  792. package/qa-dashboard/node_modules/morgan/index.js +544 -0
  793. package/qa-dashboard/node_modules/morgan/node_modules/on-finished/HISTORY.md +88 -0
  794. package/qa-dashboard/node_modules/morgan/node_modules/on-finished/LICENSE +23 -0
  795. package/qa-dashboard/node_modules/morgan/node_modules/on-finished/README.md +154 -0
  796. package/qa-dashboard/node_modules/morgan/node_modules/on-finished/index.js +196 -0
  797. package/qa-dashboard/node_modules/morgan/node_modules/on-finished/package.json +31 -0
  798. package/qa-dashboard/node_modules/morgan/package.json +52 -0
  799. package/qa-dashboard/node_modules/ms/index.js +152 -0
  800. package/qa-dashboard/node_modules/ms/license.md +21 -0
  801. package/qa-dashboard/node_modules/ms/package.json +37 -0
  802. package/qa-dashboard/node_modules/ms/readme.md +51 -0
  803. package/qa-dashboard/node_modules/negotiator/HISTORY.md +108 -0
  804. package/qa-dashboard/node_modules/negotiator/LICENSE +24 -0
  805. package/qa-dashboard/node_modules/negotiator/README.md +203 -0
  806. package/qa-dashboard/node_modules/negotiator/index.js +82 -0
  807. package/qa-dashboard/node_modules/negotiator/lib/charset.js +169 -0
  808. package/qa-dashboard/node_modules/negotiator/lib/encoding.js +184 -0
  809. package/qa-dashboard/node_modules/negotiator/lib/language.js +179 -0
  810. package/qa-dashboard/node_modules/negotiator/lib/mediaType.js +294 -0
  811. package/qa-dashboard/node_modules/negotiator/package.json +42 -0
  812. package/qa-dashboard/node_modules/object-inspect/.eslintrc +53 -0
  813. package/qa-dashboard/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  814. package/qa-dashboard/node_modules/object-inspect/.nycrc +13 -0
  815. package/qa-dashboard/node_modules/object-inspect/CHANGELOG.md +424 -0
  816. package/qa-dashboard/node_modules/object-inspect/LICENSE +21 -0
  817. package/qa-dashboard/node_modules/object-inspect/example/all.js +23 -0
  818. package/qa-dashboard/node_modules/object-inspect/example/circular.js +6 -0
  819. package/qa-dashboard/node_modules/object-inspect/example/fn.js +5 -0
  820. package/qa-dashboard/node_modules/object-inspect/example/inspect.js +10 -0
  821. package/qa-dashboard/node_modules/object-inspect/index.js +544 -0
  822. package/qa-dashboard/node_modules/object-inspect/package-support.json +20 -0
  823. package/qa-dashboard/node_modules/object-inspect/package.json +105 -0
  824. package/qa-dashboard/node_modules/object-inspect/readme.markdown +84 -0
  825. package/qa-dashboard/node_modules/object-inspect/test/bigint.js +58 -0
  826. package/qa-dashboard/node_modules/object-inspect/test/browser/dom.js +15 -0
  827. package/qa-dashboard/node_modules/object-inspect/test/circular.js +16 -0
  828. package/qa-dashboard/node_modules/object-inspect/test/deep.js +12 -0
  829. package/qa-dashboard/node_modules/object-inspect/test/element.js +53 -0
  830. package/qa-dashboard/node_modules/object-inspect/test/err.js +48 -0
  831. package/qa-dashboard/node_modules/object-inspect/test/fakes.js +29 -0
  832. package/qa-dashboard/node_modules/object-inspect/test/fn.js +76 -0
  833. package/qa-dashboard/node_modules/object-inspect/test/global.js +17 -0
  834. package/qa-dashboard/node_modules/object-inspect/test/has.js +15 -0
  835. package/qa-dashboard/node_modules/object-inspect/test/holes.js +15 -0
  836. package/qa-dashboard/node_modules/object-inspect/test/indent-option.js +271 -0
  837. package/qa-dashboard/node_modules/object-inspect/test/inspect.js +139 -0
  838. package/qa-dashboard/node_modules/object-inspect/test/lowbyte.js +12 -0
  839. package/qa-dashboard/node_modules/object-inspect/test/number.js +58 -0
  840. package/qa-dashboard/node_modules/object-inspect/test/quoteStyle.js +26 -0
  841. package/qa-dashboard/node_modules/object-inspect/test/toStringTag.js +40 -0
  842. package/qa-dashboard/node_modules/object-inspect/test/undef.js +12 -0
  843. package/qa-dashboard/node_modules/object-inspect/test/values.js +261 -0
  844. package/qa-dashboard/node_modules/object-inspect/test-core-js.js +26 -0
  845. package/qa-dashboard/node_modules/object-inspect/util.inspect.js +1 -0
  846. package/qa-dashboard/node_modules/on-finished/HISTORY.md +98 -0
  847. package/qa-dashboard/node_modules/on-finished/LICENSE +23 -0
  848. package/qa-dashboard/node_modules/on-finished/README.md +162 -0
  849. package/qa-dashboard/node_modules/on-finished/index.js +234 -0
  850. package/qa-dashboard/node_modules/on-finished/package.json +39 -0
  851. package/qa-dashboard/node_modules/on-headers/HISTORY.md +26 -0
  852. package/qa-dashboard/node_modules/on-headers/LICENSE +22 -0
  853. package/qa-dashboard/node_modules/on-headers/README.md +81 -0
  854. package/qa-dashboard/node_modules/on-headers/index.js +180 -0
  855. package/qa-dashboard/node_modules/on-headers/package.json +44 -0
  856. package/qa-dashboard/node_modules/parseurl/HISTORY.md +58 -0
  857. package/qa-dashboard/node_modules/parseurl/LICENSE +24 -0
  858. package/qa-dashboard/node_modules/parseurl/README.md +133 -0
  859. package/qa-dashboard/node_modules/parseurl/index.js +158 -0
  860. package/qa-dashboard/node_modules/parseurl/package.json +40 -0
  861. package/qa-dashboard/node_modules/path-to-regexp/LICENSE +21 -0
  862. package/qa-dashboard/node_modules/path-to-regexp/Readme.md +35 -0
  863. package/qa-dashboard/node_modules/path-to-regexp/index.js +158 -0
  864. package/qa-dashboard/node_modules/path-to-regexp/package.json +30 -0
  865. package/qa-dashboard/node_modules/picocolors/LICENSE +15 -0
  866. package/qa-dashboard/node_modules/picocolors/README.md +21 -0
  867. package/qa-dashboard/node_modules/picocolors/package.json +25 -0
  868. package/qa-dashboard/node_modules/picocolors/picocolors.browser.js +4 -0
  869. package/qa-dashboard/node_modules/picocolors/picocolors.d.ts +5 -0
  870. package/qa-dashboard/node_modules/picocolors/picocolors.js +75 -0
  871. package/qa-dashboard/node_modules/picocolors/types.d.ts +51 -0
  872. package/qa-dashboard/node_modules/proxy-addr/HISTORY.md +161 -0
  873. package/qa-dashboard/node_modules/proxy-addr/LICENSE +22 -0
  874. package/qa-dashboard/node_modules/proxy-addr/README.md +139 -0
  875. package/qa-dashboard/node_modules/proxy-addr/index.js +327 -0
  876. package/qa-dashboard/node_modules/proxy-addr/package.json +47 -0
  877. package/qa-dashboard/node_modules/qs/.editorconfig +46 -0
  878. package/qa-dashboard/node_modules/qs/.github/FUNDING.yml +12 -0
  879. package/qa-dashboard/node_modules/qs/.github/SECURITY.md +11 -0
  880. package/qa-dashboard/node_modules/qs/.github/THREAT_MODEL.md +78 -0
  881. package/qa-dashboard/node_modules/qs/.nycrc +13 -0
  882. package/qa-dashboard/node_modules/qs/CHANGELOG.md +822 -0
  883. package/qa-dashboard/node_modules/qs/LICENSE.md +29 -0
  884. package/qa-dashboard/node_modules/qs/README.md +758 -0
  885. package/qa-dashboard/node_modules/qs/dist/qs.js +141 -0
  886. package/qa-dashboard/node_modules/qs/eslint.config.mjs +57 -0
  887. package/qa-dashboard/node_modules/qs/lib/formats.js +23 -0
  888. package/qa-dashboard/node_modules/qs/lib/index.js +11 -0
  889. package/qa-dashboard/node_modules/qs/lib/parse.js +403 -0
  890. package/qa-dashboard/node_modules/qs/lib/stringify.js +363 -0
  891. package/qa-dashboard/node_modules/qs/lib/utils.js +342 -0
  892. package/qa-dashboard/node_modules/qs/package.json +94 -0
  893. package/qa-dashboard/node_modules/qs/test/empty-keys-cases.js +267 -0
  894. package/qa-dashboard/node_modules/qs/test/parse.js +1703 -0
  895. package/qa-dashboard/node_modules/qs/test/stringify.js +1448 -0
  896. package/qa-dashboard/node_modules/qs/test/utils.js +432 -0
  897. package/qa-dashboard/node_modules/range-parser/HISTORY.md +56 -0
  898. package/qa-dashboard/node_modules/range-parser/LICENSE +23 -0
  899. package/qa-dashboard/node_modules/range-parser/README.md +84 -0
  900. package/qa-dashboard/node_modules/range-parser/index.js +162 -0
  901. package/qa-dashboard/node_modules/range-parser/package.json +44 -0
  902. package/qa-dashboard/node_modules/raw-body/LICENSE +22 -0
  903. package/qa-dashboard/node_modules/raw-body/README.md +223 -0
  904. package/qa-dashboard/node_modules/raw-body/index.d.ts +87 -0
  905. package/qa-dashboard/node_modules/raw-body/index.js +336 -0
  906. package/qa-dashboard/node_modules/raw-body/package.json +47 -0
  907. package/qa-dashboard/node_modules/safe-buffer/LICENSE +21 -0
  908. package/qa-dashboard/node_modules/safe-buffer/README.md +584 -0
  909. package/qa-dashboard/node_modules/safe-buffer/index.d.ts +187 -0
  910. package/qa-dashboard/node_modules/safe-buffer/index.js +65 -0
  911. package/qa-dashboard/node_modules/safe-buffer/package.json +51 -0
  912. package/qa-dashboard/node_modules/safer-buffer/LICENSE +21 -0
  913. package/qa-dashboard/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  914. package/qa-dashboard/node_modules/safer-buffer/Readme.md +156 -0
  915. package/qa-dashboard/node_modules/safer-buffer/dangerous.js +58 -0
  916. package/qa-dashboard/node_modules/safer-buffer/package.json +34 -0
  917. package/qa-dashboard/node_modules/safer-buffer/safer.js +77 -0
  918. package/qa-dashboard/node_modules/safer-buffer/tests.js +406 -0
  919. package/qa-dashboard/node_modules/send/HISTORY.md +538 -0
  920. package/qa-dashboard/node_modules/send/LICENSE +23 -0
  921. package/qa-dashboard/node_modules/send/README.md +327 -0
  922. package/qa-dashboard/node_modules/send/SECURITY.md +24 -0
  923. package/qa-dashboard/node_modules/send/index.js +1142 -0
  924. package/qa-dashboard/node_modules/send/node_modules/ms/index.js +162 -0
  925. package/qa-dashboard/node_modules/send/node_modules/ms/license.md +21 -0
  926. package/qa-dashboard/node_modules/send/node_modules/ms/package.json +38 -0
  927. package/qa-dashboard/node_modules/send/node_modules/ms/readme.md +59 -0
  928. package/qa-dashboard/node_modules/send/package.json +62 -0
  929. package/qa-dashboard/node_modules/serve-static/HISTORY.md +493 -0
  930. package/qa-dashboard/node_modules/serve-static/LICENSE +25 -0
  931. package/qa-dashboard/node_modules/serve-static/README.md +257 -0
  932. package/qa-dashboard/node_modules/serve-static/index.js +209 -0
  933. package/qa-dashboard/node_modules/serve-static/package.json +42 -0
  934. package/qa-dashboard/node_modules/setprototypeof/LICENSE +13 -0
  935. package/qa-dashboard/node_modules/setprototypeof/README.md +31 -0
  936. package/qa-dashboard/node_modules/setprototypeof/index.d.ts +2 -0
  937. package/qa-dashboard/node_modules/setprototypeof/index.js +17 -0
  938. package/qa-dashboard/node_modules/setprototypeof/package.json +38 -0
  939. package/qa-dashboard/node_modules/setprototypeof/test/index.js +24 -0
  940. package/qa-dashboard/node_modules/side-channel/.editorconfig +9 -0
  941. package/qa-dashboard/node_modules/side-channel/.eslintrc +12 -0
  942. package/qa-dashboard/node_modules/side-channel/.github/FUNDING.yml +12 -0
  943. package/qa-dashboard/node_modules/side-channel/.nycrc +13 -0
  944. package/qa-dashboard/node_modules/side-channel/CHANGELOG.md +110 -0
  945. package/qa-dashboard/node_modules/side-channel/LICENSE +21 -0
  946. package/qa-dashboard/node_modules/side-channel/README.md +61 -0
  947. package/qa-dashboard/node_modules/side-channel/index.d.ts +14 -0
  948. package/qa-dashboard/node_modules/side-channel/index.js +43 -0
  949. package/qa-dashboard/node_modules/side-channel/package.json +85 -0
  950. package/qa-dashboard/node_modules/side-channel/test/index.js +104 -0
  951. package/qa-dashboard/node_modules/side-channel/tsconfig.json +9 -0
  952. package/qa-dashboard/node_modules/side-channel-list/.editorconfig +9 -0
  953. package/qa-dashboard/node_modules/side-channel-list/.eslintrc +11 -0
  954. package/qa-dashboard/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  955. package/qa-dashboard/node_modules/side-channel-list/.nycrc +13 -0
  956. package/qa-dashboard/node_modules/side-channel-list/CHANGELOG.md +36 -0
  957. package/qa-dashboard/node_modules/side-channel-list/LICENSE +21 -0
  958. package/qa-dashboard/node_modules/side-channel-list/README.md +62 -0
  959. package/qa-dashboard/node_modules/side-channel-list/index.d.ts +13 -0
  960. package/qa-dashboard/node_modules/side-channel-list/index.js +111 -0
  961. package/qa-dashboard/node_modules/side-channel-list/list.d.ts +14 -0
  962. package/qa-dashboard/node_modules/side-channel-list/package.json +77 -0
  963. package/qa-dashboard/node_modules/side-channel-list/test/index.js +154 -0
  964. package/qa-dashboard/node_modules/side-channel-list/tsconfig.json +9 -0
  965. package/qa-dashboard/node_modules/side-channel-map/.editorconfig +9 -0
  966. package/qa-dashboard/node_modules/side-channel-map/.eslintrc +11 -0
  967. package/qa-dashboard/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  968. package/qa-dashboard/node_modules/side-channel-map/.nycrc +13 -0
  969. package/qa-dashboard/node_modules/side-channel-map/CHANGELOG.md +22 -0
  970. package/qa-dashboard/node_modules/side-channel-map/LICENSE +21 -0
  971. package/qa-dashboard/node_modules/side-channel-map/README.md +62 -0
  972. package/qa-dashboard/node_modules/side-channel-map/index.d.ts +15 -0
  973. package/qa-dashboard/node_modules/side-channel-map/index.js +68 -0
  974. package/qa-dashboard/node_modules/side-channel-map/package.json +80 -0
  975. package/qa-dashboard/node_modules/side-channel-map/test/index.js +114 -0
  976. package/qa-dashboard/node_modules/side-channel-map/tsconfig.json +9 -0
  977. package/qa-dashboard/node_modules/side-channel-weakmap/.editorconfig +9 -0
  978. package/qa-dashboard/node_modules/side-channel-weakmap/.eslintrc +12 -0
  979. package/qa-dashboard/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  980. package/qa-dashboard/node_modules/side-channel-weakmap/.nycrc +13 -0
  981. package/qa-dashboard/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  982. package/qa-dashboard/node_modules/side-channel-weakmap/LICENSE +21 -0
  983. package/qa-dashboard/node_modules/side-channel-weakmap/README.md +62 -0
  984. package/qa-dashboard/node_modules/side-channel-weakmap/index.d.ts +15 -0
  985. package/qa-dashboard/node_modules/side-channel-weakmap/index.js +84 -0
  986. package/qa-dashboard/node_modules/side-channel-weakmap/package.json +87 -0
  987. package/qa-dashboard/node_modules/side-channel-weakmap/test/index.js +114 -0
  988. package/qa-dashboard/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  989. package/qa-dashboard/node_modules/statuses/HISTORY.md +87 -0
  990. package/qa-dashboard/node_modules/statuses/LICENSE +23 -0
  991. package/qa-dashboard/node_modules/statuses/README.md +139 -0
  992. package/qa-dashboard/node_modules/statuses/codes.json +65 -0
  993. package/qa-dashboard/node_modules/statuses/index.js +146 -0
  994. package/qa-dashboard/node_modules/statuses/package.json +49 -0
  995. package/qa-dashboard/node_modules/toidentifier/HISTORY.md +9 -0
  996. package/qa-dashboard/node_modules/toidentifier/LICENSE +21 -0
  997. package/qa-dashboard/node_modules/toidentifier/README.md +61 -0
  998. package/qa-dashboard/node_modules/toidentifier/index.js +32 -0
  999. package/qa-dashboard/node_modules/toidentifier/package.json +38 -0
  1000. package/qa-dashboard/node_modules/type-is/HISTORY.md +259 -0
  1001. package/qa-dashboard/node_modules/type-is/LICENSE +23 -0
  1002. package/qa-dashboard/node_modules/type-is/README.md +170 -0
  1003. package/qa-dashboard/node_modules/type-is/index.js +266 -0
  1004. package/qa-dashboard/node_modules/type-is/package.json +45 -0
  1005. package/qa-dashboard/node_modules/unpipe/HISTORY.md +4 -0
  1006. package/qa-dashboard/node_modules/unpipe/LICENSE +22 -0
  1007. package/qa-dashboard/node_modules/unpipe/README.md +43 -0
  1008. package/qa-dashboard/node_modules/unpipe/index.js +69 -0
  1009. package/qa-dashboard/node_modules/unpipe/package.json +27 -0
  1010. package/qa-dashboard/node_modules/utils-merge/LICENSE +20 -0
  1011. package/qa-dashboard/node_modules/utils-merge/README.md +34 -0
  1012. package/qa-dashboard/node_modules/utils-merge/index.js +23 -0
  1013. package/qa-dashboard/node_modules/utils-merge/package.json +40 -0
  1014. package/qa-dashboard/node_modules/vary/HISTORY.md +39 -0
  1015. package/qa-dashboard/node_modules/vary/LICENSE +22 -0
  1016. package/qa-dashboard/node_modules/vary/README.md +101 -0
  1017. package/qa-dashboard/node_modules/vary/index.js +149 -0
  1018. package/qa-dashboard/node_modules/vary/package.json +43 -0
  1019. package/qa-dashboard/package-lock.json +1002 -0
  1020. package/qa-dashboard/public/css/style.css +1062 -207
  1021. package/qa-dashboard/public/js/main.js +3 -2
  1022. package/qa-dashboard/routes/export.js +35 -16
  1023. package/qa-dashboard/routes/index.js +38 -1
  1024. package/qa-dashboard/routes/runs.js +58 -6
  1025. package/qa-dashboard/routes/stories.js +59 -15
  1026. package/qa-dashboard/services/cli-bridge.js +47 -3
  1027. package/qa-dashboard/services/project-manager.js +26 -0
  1028. package/qa-dashboard/views/analytics.ejs +226 -153
  1029. package/qa-dashboard/views/index.ejs +241 -82
  1030. package/qa-dashboard/views/layouts/main.ejs +18 -0
  1031. package/qa-dashboard/views/project.ejs +49 -29
  1032. package/qa-dashboard/views/projects.ejs +7 -5
  1033. package/qa-dashboard/views/run.ejs +97 -37
  1034. package/qa-dashboard/views/runs.ejs +29 -38
  1035. package/qa-dashboard/views/stories.ejs +23 -25
  1036. package/qa-dashboard/views/story.ejs +95 -19
  1037. package/qa-dashboard/views/test-data.ejs +24 -24
  1038. package/scripts/executor.js +11 -7
  1039. package/test-results/run-2026-05-18T14-50-14/execution-output.json +3 -0
  1040. package/test-results/run-2026-05-18T14-50-43/execution-output.json +2 -0
  1041. package/test-results/run-2026-05-18T14-50-43/execution-result.json +11 -0
  1042. package/test-results/run-2026-05-18T14-50-43/final-test-report.md +42 -0
  1043. package/test-results/run-2026-05-18T14-50-43/healing-report.json +15 -0
  1044. package/test-results/run-2026-05-18T14-51-36/execution-output.json +2 -0
  1045. package/test-results/run-2026-05-18T14-51-36/execution-result.json +11 -0
  1046. package/test-results/run-2026-05-18T14-51-36/final-test-report.md +42 -0
  1047. package/test-results/run-2026-05-18T14-51-36/healing-report.json +15 -0
  1048. package/tests/us-expense-01.spec.ts +30 -0
  1049. package/user-story/Demande-alimentation.md +24 -0
  1050. package/.opencode/agents/qa-generator.md +0 -19
  1051. package/.opencode/agents/qa-healer.md +0 -25
  1052. package/.opencode/agents/qa-planner.md +0 -20
  1053. package/.qa-workflow.json +0 -22
  1054. package/opencode.json +0 -31
@@ -0,0 +1,1746 @@
1
+ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ejs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
+ /*
3
+ * EJS Embedded JavaScript templates
4
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ 'use strict';
21
+
22
+ /**
23
+ * @file Embedded JavaScript templating engine. {@link http://ejs.co}
24
+ * @author Matthew Eernisse <mde@fleegix.org>
25
+ * @author Tiancheng "Timothy" Gu <timothygu99@gmail.com>
26
+ * @project EJS
27
+ * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
28
+ */
29
+
30
+ /**
31
+ * EJS internal functions.
32
+ *
33
+ * Technically this "module" lies in the same file as {@link module:ejs}, for
34
+ * the sake of organization all the private functions re grouped into this
35
+ * module.
36
+ *
37
+ * @module ejs-internal
38
+ * @private
39
+ */
40
+
41
+ /**
42
+ * Embedded JavaScript templating engine.
43
+ *
44
+ * @module ejs
45
+ * @public
46
+ */
47
+
48
+
49
+ var fs = require('fs');
50
+ var path = require('path');
51
+ var utils = require('./utils');
52
+
53
+ var scopeOptionWarned = false;
54
+ /** @type {string} */
55
+ var _VERSION_STRING = require('../package.json').version;
56
+ var _DEFAULT_OPEN_DELIMITER = '<';
57
+ var _DEFAULT_CLOSE_DELIMITER = '>';
58
+ var _DEFAULT_DELIMITER = '%';
59
+ var _DEFAULT_LOCALS_NAME = 'locals';
60
+ var _NAME = 'ejs';
61
+ var _REGEX_STRING = '(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)';
62
+ var _OPTS_PASSABLE_WITH_DATA = ['delimiter', 'scope', 'context', 'debug', 'compileDebug',
63
+ 'client', '_with', 'rmWhitespace', 'strict', 'filename', 'async'];
64
+ // We don't allow 'cache' option to be passed in the data obj for
65
+ // the normal `render` call, but this is where Express 2 & 3 put it
66
+ // so we make an exception for `renderFile`
67
+ var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat('cache');
68
+ var _BOM = /^\uFEFF/;
69
+ var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
70
+
71
+ /**
72
+ * EJS template function cache. This can be a LRU object from lru-cache NPM
73
+ * module. By default, it is {@link module:utils.cache}, a simple in-process
74
+ * cache that grows continuously.
75
+ *
76
+ * @type {Cache}
77
+ */
78
+
79
+ exports.cache = utils.cache;
80
+
81
+ /**
82
+ * Custom file loader. Useful for template preprocessing or restricting access
83
+ * to a certain part of the filesystem.
84
+ *
85
+ * @type {fileLoader}
86
+ */
87
+
88
+ exports.fileLoader = fs.readFileSync;
89
+
90
+ /**
91
+ * Name of the object containing the locals.
92
+ *
93
+ * This variable is overridden by {@link Options}`.localsName` if it is not
94
+ * `undefined`.
95
+ *
96
+ * @type {String}
97
+ * @public
98
+ */
99
+
100
+ exports.localsName = _DEFAULT_LOCALS_NAME;
101
+
102
+ /**
103
+ * Promise implementation -- defaults to the native implementation if available
104
+ * This is mostly just for testability
105
+ *
106
+ * @type {PromiseConstructorLike}
107
+ * @public
108
+ */
109
+
110
+ exports.promiseImpl = (new Function('return this;'))().Promise;
111
+
112
+ /**
113
+ * Get the path to the included file from the parent file path and the
114
+ * specified path.
115
+ *
116
+ * @param {String} name specified path
117
+ * @param {String} filename parent file path
118
+ * @param {Boolean} [isDir=false] whether the parent file path is a directory
119
+ * @return {String}
120
+ */
121
+ exports.resolveInclude = function(name, filename, isDir) {
122
+ var dirname = path.dirname;
123
+ var extname = path.extname;
124
+ var resolve = path.resolve;
125
+ var includePath = resolve(isDir ? filename : dirname(filename), name);
126
+ var ext = extname(name);
127
+ if (!ext) {
128
+ includePath += '.ejs';
129
+ }
130
+ return includePath;
131
+ };
132
+
133
+ /**
134
+ * Try to resolve file path on multiple directories
135
+ *
136
+ * @param {String} name specified path
137
+ * @param {Array<String>} paths list of possible parent directory paths
138
+ * @return {String}
139
+ */
140
+ function resolvePaths(name, paths) {
141
+ var filePath;
142
+ if (paths.some(function (v) {
143
+ filePath = exports.resolveInclude(name, v, true);
144
+ return fs.existsSync(filePath);
145
+ })) {
146
+ return filePath;
147
+ }
148
+ }
149
+
150
+ /**
151
+ * Get the path to the included file by Options
152
+ *
153
+ * @param {String} path specified path
154
+ * @param {Options} options compilation options
155
+ * @return {String}
156
+ */
157
+ function getIncludePath(path, options) {
158
+ var includePath;
159
+ var filePath;
160
+ var views = options.views;
161
+ var match = /^[A-Za-z]+:\\|^\//.exec(path);
162
+
163
+ // Abs path
164
+ if (match && match.length) {
165
+ path = path.replace(/^\/*/, '');
166
+ if (Array.isArray(options.root)) {
167
+ includePath = resolvePaths(path, options.root);
168
+ } else {
169
+ includePath = exports.resolveInclude(path, options.root || '/', true);
170
+ }
171
+ }
172
+ // Relative paths
173
+ else {
174
+ // Look relative to a passed filename first
175
+ if (options.filename) {
176
+ filePath = exports.resolveInclude(path, options.filename);
177
+ if (fs.existsSync(filePath)) {
178
+ includePath = filePath;
179
+ }
180
+ }
181
+ // Then look in any views directories
182
+ if (!includePath && Array.isArray(views)) {
183
+ includePath = resolvePaths(path, views);
184
+ }
185
+ if (!includePath && typeof options.includer !== 'function') {
186
+ throw new Error('Could not find the include file "' +
187
+ options.escapeFunction(path) + '"');
188
+ }
189
+ }
190
+ return includePath;
191
+ }
192
+
193
+ /**
194
+ * Get the template from a string or a file, either compiled on-the-fly or
195
+ * read from cache (if enabled), and cache the template if needed.
196
+ *
197
+ * If `template` is not set, the file specified in `options.filename` will be
198
+ * read.
199
+ *
200
+ * If `options.cache` is true, this function reads the file from
201
+ * `options.filename` so it must be set prior to calling this function.
202
+ *
203
+ * @memberof module:ejs-internal
204
+ * @param {Options} options compilation options
205
+ * @param {String} [template] template source
206
+ * @return {(TemplateFunction|ClientFunction)}
207
+ * Depending on the value of `options.client`, either type might be returned.
208
+ * @static
209
+ */
210
+
211
+ function handleCache(options, template) {
212
+ var func;
213
+ var filename = options.filename;
214
+ var hasTemplate = arguments.length > 1;
215
+
216
+ if (options.cache) {
217
+ if (!filename) {
218
+ throw new Error('cache option requires a filename');
219
+ }
220
+ func = exports.cache.get(filename);
221
+ if (func) {
222
+ return func;
223
+ }
224
+ if (!hasTemplate) {
225
+ template = fileLoader(filename).toString().replace(_BOM, '');
226
+ }
227
+ }
228
+ else if (!hasTemplate) {
229
+ // istanbul ignore if: should not happen at all
230
+ if (!filename) {
231
+ throw new Error('Internal EJS error: no file name or template '
232
+ + 'provided');
233
+ }
234
+ template = fileLoader(filename).toString().replace(_BOM, '');
235
+ }
236
+ func = exports.compile(template, options);
237
+ if (options.cache) {
238
+ exports.cache.set(filename, func);
239
+ }
240
+ return func;
241
+ }
242
+
243
+ /**
244
+ * Try calling handleCache with the given options and data and call the
245
+ * callback with the result. If an error occurs, call the callback with
246
+ * the error. Used by renderFile().
247
+ *
248
+ * @memberof module:ejs-internal
249
+ * @param {Options} options compilation options
250
+ * @param {Object} data template data
251
+ * @param {RenderFileCallback} cb callback
252
+ * @static
253
+ */
254
+
255
+ function tryHandleCache(options, data, cb) {
256
+ var result;
257
+ if (!cb) {
258
+ if (typeof exports.promiseImpl == 'function') {
259
+ return new exports.promiseImpl(function (resolve, reject) {
260
+ try {
261
+ result = handleCache(options)(data);
262
+ resolve(result);
263
+ }
264
+ catch (err) {
265
+ reject(err);
266
+ }
267
+ });
268
+ }
269
+ else {
270
+ throw new Error('Please provide a callback function');
271
+ }
272
+ }
273
+ else {
274
+ try {
275
+ result = handleCache(options)(data);
276
+ }
277
+ catch (err) {
278
+ return cb(err);
279
+ }
280
+
281
+ cb(null, result);
282
+ }
283
+ }
284
+
285
+ /**
286
+ * fileLoader is independent
287
+ *
288
+ * @param {String} filePath ejs file path.
289
+ * @return {String} The contents of the specified file.
290
+ * @static
291
+ */
292
+
293
+ function fileLoader(filePath){
294
+ return exports.fileLoader(filePath);
295
+ }
296
+
297
+ /**
298
+ * Get the template function.
299
+ *
300
+ * If `options.cache` is `true`, then the template is cached.
301
+ *
302
+ * @memberof module:ejs-internal
303
+ * @param {String} path path for the specified file
304
+ * @param {Options} options compilation options
305
+ * @return {(TemplateFunction|ClientFunction)}
306
+ * Depending on the value of `options.client`, either type might be returned
307
+ * @static
308
+ */
309
+
310
+ function includeFile(path, options) {
311
+ var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
312
+ opts.filename = getIncludePath(path, opts);
313
+ if (typeof options.includer === 'function') {
314
+ var includerResult = options.includer(path, opts.filename);
315
+ if (includerResult) {
316
+ if (includerResult.filename) {
317
+ opts.filename = includerResult.filename;
318
+ }
319
+ if (includerResult.template) {
320
+ return handleCache(opts, includerResult.template);
321
+ }
322
+ }
323
+ }
324
+ return handleCache(opts);
325
+ }
326
+
327
+ /**
328
+ * Re-throw the given `err` in context to the `str` of ejs, `filename`, and
329
+ * `lineno`.
330
+ *
331
+ * @implements {RethrowCallback}
332
+ * @memberof module:ejs-internal
333
+ * @param {Error} err Error object
334
+ * @param {String} str EJS source
335
+ * @param {String} flnm file name of the EJS file
336
+ * @param {Number} lineno line number of the error
337
+ * @param {EscapeCallback} esc
338
+ * @static
339
+ */
340
+
341
+ function rethrow(err, str, flnm, lineno, esc) {
342
+ var lines = str.split('\n');
343
+ var start = Math.max(lineno - 3, 0);
344
+ var end = Math.min(lines.length, lineno + 3);
345
+ var filename = esc(flnm);
346
+ // Error context
347
+ var context = lines.slice(start, end).map(function (line, i){
348
+ var curr = i + start + 1;
349
+ return (curr == lineno ? ' >> ' : ' ')
350
+ + curr
351
+ + '| '
352
+ + line;
353
+ }).join('\n');
354
+
355
+ // Alter exception message
356
+ err.path = filename;
357
+ err.message = (filename || 'ejs') + ':'
358
+ + lineno + '\n'
359
+ + context + '\n\n'
360
+ + err.message;
361
+
362
+ throw err;
363
+ }
364
+
365
+ function stripSemi(str){
366
+ return str.replace(/;(\s*$)/, '$1');
367
+ }
368
+
369
+ /**
370
+ * Compile the given `str` of ejs into a template function.
371
+ *
372
+ * @param {String} template EJS template
373
+ *
374
+ * @param {Options} [opts] compilation options
375
+ *
376
+ * @return {(TemplateFunction|ClientFunction)}
377
+ * Depending on the value of `opts.client`, either type might be returned.
378
+ * Note that the return type of the function also depends on the value of `opts.async`.
379
+ * @public
380
+ */
381
+
382
+ exports.compile = function compile(template, opts) {
383
+ var templ;
384
+
385
+ // v1 compat
386
+ // 'scope' is 'context'
387
+ // FIXME: Remove this in a future version
388
+ if (opts && opts.scope) {
389
+ if (!scopeOptionWarned){
390
+ console.warn('`scope` option is deprecated and will be removed in EJS 3');
391
+ scopeOptionWarned = true;
392
+ }
393
+ if (!opts.context) {
394
+ opts.context = opts.scope;
395
+ }
396
+ delete opts.scope;
397
+ }
398
+ templ = new Template(template, opts);
399
+ return templ.compile();
400
+ };
401
+
402
+ /**
403
+ * Render the given `template` of ejs.
404
+ *
405
+ * If you would like to include options but not data, you need to explicitly
406
+ * call this function with `data` being an empty object or `null`.
407
+ *
408
+ * @param {String} template EJS template
409
+ * @param {Object} [data={}] template data
410
+ * @param {Options} [opts={}] compilation and rendering options
411
+ * @return {(String|Promise<String>)}
412
+ * Return value type depends on `opts.async`.
413
+ * @public
414
+ */
415
+
416
+ exports.render = function (template, d, o) {
417
+ var data = d || utils.createNullProtoObjWherePossible();
418
+ var opts = o || utils.createNullProtoObjWherePossible();
419
+
420
+ // No options object -- if there are optiony names
421
+ // in the data, copy them to options
422
+ if (arguments.length == 2) {
423
+ utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
424
+ }
425
+
426
+ return handleCache(opts, template)(data);
427
+ };
428
+
429
+ /**
430
+ * Render an EJS file at the given `path` and callback `cb(err, str)`.
431
+ *
432
+ * If you would like to include options but not data, you need to explicitly
433
+ * call this function with `data` being an empty object or `null`.
434
+ *
435
+ * @param {String} path path to the EJS file
436
+ * @param {Object} [data={}] template data
437
+ * @param {Options} [opts={}] compilation and rendering options
438
+ * @param {RenderFileCallback} cb callback
439
+ * @public
440
+ */
441
+
442
+ exports.renderFile = function () {
443
+ var args = Array.prototype.slice.call(arguments);
444
+ var filename = args.shift();
445
+ var cb;
446
+ var opts = {filename: filename};
447
+ var data;
448
+ var viewOpts;
449
+
450
+ // Do we have a callback?
451
+ if (typeof arguments[arguments.length - 1] == 'function') {
452
+ cb = args.pop();
453
+ }
454
+ // Do we have data/opts?
455
+ if (args.length) {
456
+ // Should always have data obj
457
+ data = args.shift();
458
+ // Normal passed opts (data obj + opts obj)
459
+ if (args.length) {
460
+ // Use shallowCopy so we don't pollute passed in opts obj with new vals
461
+ utils.shallowCopy(opts, args.pop());
462
+ }
463
+ // Special casing for Express (settings + opts-in-data)
464
+ else {
465
+ // Express 3 and 4
466
+ if (data.settings) {
467
+ // Pull a few things from known locations
468
+ if (data.settings.views) {
469
+ opts.views = data.settings.views;
470
+ }
471
+ if (data.settings['view cache']) {
472
+ opts.cache = true;
473
+ }
474
+ // Undocumented after Express 2, but still usable, esp. for
475
+ // items that are unsafe to be passed along with data, like `root`
476
+ viewOpts = data.settings['view options'];
477
+ if (viewOpts) {
478
+ utils.shallowCopy(opts, viewOpts);
479
+ }
480
+ }
481
+ // Express 2 and lower, values set in app.locals, or people who just
482
+ // want to pass options in their data. NOTE: These values will override
483
+ // anything previously set in settings or settings['view options']
484
+ utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
485
+ }
486
+ opts.filename = filename;
487
+ }
488
+ else {
489
+ data = utils.createNullProtoObjWherePossible();
490
+ }
491
+
492
+ return tryHandleCache(opts, data, cb);
493
+ };
494
+
495
+ /**
496
+ * Clear intermediate JavaScript cache. Calls {@link Cache#reset}.
497
+ * @public
498
+ */
499
+
500
+ /**
501
+ * EJS template class
502
+ * @public
503
+ */
504
+ exports.Template = Template;
505
+
506
+ exports.clearCache = function () {
507
+ exports.cache.reset();
508
+ };
509
+
510
+ function Template(text, optsParam) {
511
+ var opts = utils.hasOwnOnlyObject(optsParam);
512
+ var options = utils.createNullProtoObjWherePossible();
513
+ this.templateText = text;
514
+ /** @type {string | null} */
515
+ this.mode = null;
516
+ this.truncate = false;
517
+ this.currentLine = 1;
518
+ this.source = '';
519
+ options.client = opts.client || false;
520
+ options.escapeFunction = opts.escape || opts.escapeFunction || utils.escapeXML;
521
+ options.compileDebug = opts.compileDebug !== false;
522
+ options.debug = !!opts.debug;
523
+ options.filename = opts.filename;
524
+ options.openDelimiter = opts.openDelimiter || exports.openDelimiter || _DEFAULT_OPEN_DELIMITER;
525
+ options.closeDelimiter = opts.closeDelimiter || exports.closeDelimiter || _DEFAULT_CLOSE_DELIMITER;
526
+ options.delimiter = opts.delimiter || exports.delimiter || _DEFAULT_DELIMITER;
527
+ options.strict = opts.strict || false;
528
+ options.context = opts.context;
529
+ options.cache = opts.cache || false;
530
+ options.rmWhitespace = opts.rmWhitespace;
531
+ options.root = opts.root;
532
+ options.includer = opts.includer;
533
+ options.outputFunctionName = opts.outputFunctionName;
534
+ options.localsName = opts.localsName || exports.localsName || _DEFAULT_LOCALS_NAME;
535
+ options.views = opts.views;
536
+ options.async = opts.async;
537
+ options.destructuredLocals = opts.destructuredLocals;
538
+ options.legacyInclude = typeof opts.legacyInclude != 'undefined' ? !!opts.legacyInclude : true;
539
+
540
+ if (options.strict) {
541
+ options._with = false;
542
+ }
543
+ else {
544
+ options._with = typeof opts._with != 'undefined' ? opts._with : true;
545
+ }
546
+
547
+ this.opts = options;
548
+
549
+ this.regex = this.createRegex();
550
+ }
551
+
552
+ Template.modes = {
553
+ EVAL: 'eval',
554
+ ESCAPED: 'escaped',
555
+ RAW: 'raw',
556
+ COMMENT: 'comment',
557
+ LITERAL: 'literal'
558
+ };
559
+
560
+ Template.prototype = {
561
+ createRegex: function () {
562
+ var str = _REGEX_STRING;
563
+ var delim = utils.escapeRegExpChars(this.opts.delimiter);
564
+ var open = utils.escapeRegExpChars(this.opts.openDelimiter);
565
+ var close = utils.escapeRegExpChars(this.opts.closeDelimiter);
566
+ str = str.replace(/%/g, delim)
567
+ .replace(/</g, open)
568
+ .replace(/>/g, close);
569
+ return new RegExp(str);
570
+ },
571
+
572
+ compile: function () {
573
+ /** @type {string} */
574
+ var src;
575
+ /** @type {ClientFunction} */
576
+ var fn;
577
+ var opts = this.opts;
578
+ var prepended = '';
579
+ var appended = '';
580
+ /** @type {EscapeCallback} */
581
+ var escapeFn = opts.escapeFunction;
582
+ /** @type {FunctionConstructor} */
583
+ var ctor;
584
+ /** @type {string} */
585
+ var sanitizedFilename = opts.filename ? JSON.stringify(opts.filename) : 'undefined';
586
+
587
+ if (!this.source) {
588
+ this.generateSource();
589
+ prepended +=
590
+ ' var __output = "";\n' +
591
+ ' function __append(s) { if (s !== undefined && s !== null) __output += s }\n';
592
+ if (opts.outputFunctionName) {
593
+ if (!_JS_IDENTIFIER.test(opts.outputFunctionName)) {
594
+ throw new Error('outputFunctionName is not a valid JS identifier.');
595
+ }
596
+ prepended += ' var ' + opts.outputFunctionName + ' = __append;' + '\n';
597
+ }
598
+ if (opts.localsName && !_JS_IDENTIFIER.test(opts.localsName)) {
599
+ throw new Error('localsName is not a valid JS identifier.');
600
+ }
601
+ if (opts.destructuredLocals && opts.destructuredLocals.length) {
602
+ var destructuring = ' var __locals = (' + opts.localsName + ' || {}),\n';
603
+ for (var i = 0; i < opts.destructuredLocals.length; i++) {
604
+ var name = opts.destructuredLocals[i];
605
+ if (!_JS_IDENTIFIER.test(name)) {
606
+ throw new Error('destructuredLocals[' + i + '] is not a valid JS identifier.');
607
+ }
608
+ if (i > 0) {
609
+ destructuring += ',\n ';
610
+ }
611
+ destructuring += name + ' = __locals.' + name;
612
+ }
613
+ prepended += destructuring + ';\n';
614
+ }
615
+ if (opts._with !== false) {
616
+ prepended += ' with (' + opts.localsName + ' || {}) {' + '\n';
617
+ appended += ' }' + '\n';
618
+ }
619
+ appended += ' return __output;' + '\n';
620
+ this.source = prepended + this.source + appended;
621
+ }
622
+
623
+ if (opts.compileDebug) {
624
+ src = 'var __line = 1' + '\n'
625
+ + ' , __lines = ' + JSON.stringify(this.templateText) + '\n'
626
+ + ' , __filename = ' + sanitizedFilename + ';' + '\n'
627
+ + 'try {' + '\n'
628
+ + this.source
629
+ + '} catch (e) {' + '\n'
630
+ + ' rethrow(e, __lines, __filename, __line, escapeFn);' + '\n'
631
+ + '}' + '\n';
632
+ }
633
+ else {
634
+ src = this.source;
635
+ }
636
+
637
+ if (opts.client) {
638
+ src = 'escapeFn = escapeFn || ' + escapeFn.toString() + ';' + '\n' + src;
639
+ if (opts.compileDebug) {
640
+ src = 'rethrow = rethrow || ' + rethrow.toString() + ';' + '\n' + src;
641
+ }
642
+ }
643
+
644
+ if (opts.strict) {
645
+ src = '"use strict";\n' + src;
646
+ }
647
+ if (opts.debug) {
648
+ console.log(src);
649
+ }
650
+ if (opts.compileDebug && opts.filename) {
651
+ src = src + '\n'
652
+ + '//# sourceURL=' + sanitizedFilename + '\n';
653
+ }
654
+
655
+ try {
656
+ if (opts.async) {
657
+ // Have to use generated function for this, since in envs without support,
658
+ // it breaks in parsing
659
+ try {
660
+ ctor = (new Function('return (async function(){}).constructor;'))();
661
+ }
662
+ catch(e) {
663
+ if (e instanceof SyntaxError) {
664
+ throw new Error('This environment does not support async/await');
665
+ }
666
+ else {
667
+ throw e;
668
+ }
669
+ }
670
+ }
671
+ else {
672
+ ctor = Function;
673
+ }
674
+ fn = new ctor(opts.localsName + ', escapeFn, include, rethrow', src);
675
+ }
676
+ catch(e) {
677
+ // istanbul ignore else
678
+ if (e instanceof SyntaxError) {
679
+ if (opts.filename) {
680
+ e.message += ' in ' + opts.filename;
681
+ }
682
+ e.message += ' while compiling ejs\n\n';
683
+ e.message += 'If the above error is not helpful, you may want to try EJS-Lint:\n';
684
+ e.message += 'https://github.com/RyanZim/EJS-Lint';
685
+ if (!opts.async) {
686
+ e.message += '\n';
687
+ e.message += 'Or, if you meant to create an async function, pass `async: true` as an option.';
688
+ }
689
+ }
690
+ throw e;
691
+ }
692
+
693
+ // Return a callable function which will execute the function
694
+ // created by the source-code, with the passed data as locals
695
+ // Adds a local `include` function which allows full recursive include
696
+ var returnedFn = opts.client ? fn : function anonymous(data) {
697
+ var include = function (path, includeData) {
698
+ var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
699
+ if (includeData) {
700
+ d = utils.shallowCopy(d, includeData);
701
+ }
702
+ return includeFile(path, opts)(d);
703
+ };
704
+ return fn.apply(opts.context,
705
+ [data || utils.createNullProtoObjWherePossible(), escapeFn, include, rethrow]);
706
+ };
707
+ if (opts.filename && typeof Object.defineProperty === 'function') {
708
+ var filename = opts.filename;
709
+ var basename = path.basename(filename, path.extname(filename));
710
+ try {
711
+ Object.defineProperty(returnedFn, 'name', {
712
+ value: basename,
713
+ writable: false,
714
+ enumerable: false,
715
+ configurable: true
716
+ });
717
+ } catch (e) {/* ignore */}
718
+ }
719
+ return returnedFn;
720
+ },
721
+
722
+ generateSource: function () {
723
+ var opts = this.opts;
724
+
725
+ if (opts.rmWhitespace) {
726
+ // Have to use two separate replace here as `^` and `$` operators don't
727
+ // work well with `\r` and empty lines don't work well with the `m` flag.
728
+ this.templateText =
729
+ this.templateText.replace(/[\r\n]+/g, '\n').replace(/^\s+|\s+$/gm, '');
730
+ }
731
+
732
+ // Slurp spaces and tabs before <%_ and after _%>
733
+ this.templateText =
734
+ this.templateText.replace(/[ \t]*<%_/gm, '<%_').replace(/_%>[ \t]*/gm, '_%>');
735
+
736
+ var self = this;
737
+ var matches = this.parseTemplateText();
738
+ var d = this.opts.delimiter;
739
+ var o = this.opts.openDelimiter;
740
+ var c = this.opts.closeDelimiter;
741
+
742
+ if (matches && matches.length) {
743
+ matches.forEach(function (line, index) {
744
+ var closing;
745
+ // If this is an opening tag, check for closing tags
746
+ // FIXME: May end up with some false positives here
747
+ // Better to store modes as k/v with openDelimiter + delimiter as key
748
+ // Then this can simply check against the map
749
+ if ( line.indexOf(o + d) === 0 // If it is a tag
750
+ && line.indexOf(o + d + d) !== 0) { // and is not escaped
751
+ closing = matches[index + 2];
752
+ if (!(closing == d + c || closing == '-' + d + c || closing == '_' + d + c)) {
753
+ throw new Error('Could not find matching close tag for "' + line + '".');
754
+ }
755
+ }
756
+ self.scanLine(line);
757
+ });
758
+ }
759
+
760
+ },
761
+
762
+ parseTemplateText: function () {
763
+ var str = this.templateText;
764
+ var pat = this.regex;
765
+ var result = pat.exec(str);
766
+ var arr = [];
767
+ var firstPos;
768
+
769
+ while (result) {
770
+ firstPos = result.index;
771
+
772
+ if (firstPos !== 0) {
773
+ arr.push(str.substring(0, firstPos));
774
+ str = str.slice(firstPos);
775
+ }
776
+
777
+ arr.push(result[0]);
778
+ str = str.slice(result[0].length);
779
+ result = pat.exec(str);
780
+ }
781
+
782
+ if (str) {
783
+ arr.push(str);
784
+ }
785
+
786
+ return arr;
787
+ },
788
+
789
+ _addOutput: function (line) {
790
+ if (this.truncate) {
791
+ // Only replace single leading linebreak in the line after
792
+ // -%> tag -- this is the single, trailing linebreak
793
+ // after the tag that the truncation mode replaces
794
+ // Handle Win / Unix / old Mac linebreaks -- do the \r\n
795
+ // combo first in the regex-or
796
+ line = line.replace(/^(?:\r\n|\r|\n)/, '');
797
+ this.truncate = false;
798
+ }
799
+ if (!line) {
800
+ return line;
801
+ }
802
+
803
+ // Preserve literal slashes
804
+ line = line.replace(/\\/g, '\\\\');
805
+
806
+ // Convert linebreaks
807
+ line = line.replace(/\n/g, '\\n');
808
+ line = line.replace(/\r/g, '\\r');
809
+
810
+ // Escape double-quotes
811
+ // - this will be the delimiter during execution
812
+ line = line.replace(/"/g, '\\"');
813
+ this.source += ' ; __append("' + line + '")' + '\n';
814
+ },
815
+
816
+ scanLine: function (line) {
817
+ var self = this;
818
+ var d = this.opts.delimiter;
819
+ var o = this.opts.openDelimiter;
820
+ var c = this.opts.closeDelimiter;
821
+ var newLineCount = 0;
822
+
823
+ newLineCount = (line.split('\n').length - 1);
824
+
825
+ switch (line) {
826
+ case o + d:
827
+ case o + d + '_':
828
+ this.mode = Template.modes.EVAL;
829
+ break;
830
+ case o + d + '=':
831
+ this.mode = Template.modes.ESCAPED;
832
+ break;
833
+ case o + d + '-':
834
+ this.mode = Template.modes.RAW;
835
+ break;
836
+ case o + d + '#':
837
+ this.mode = Template.modes.COMMENT;
838
+ break;
839
+ case o + d + d:
840
+ this.mode = Template.modes.LITERAL;
841
+ this.source += ' ; __append("' + line.replace(o + d + d, o + d) + '")' + '\n';
842
+ break;
843
+ case d + d + c:
844
+ this.mode = Template.modes.LITERAL;
845
+ this.source += ' ; __append("' + line.replace(d + d + c, d + c) + '")' + '\n';
846
+ break;
847
+ case d + c:
848
+ case '-' + d + c:
849
+ case '_' + d + c:
850
+ if (this.mode == Template.modes.LITERAL) {
851
+ this._addOutput(line);
852
+ }
853
+
854
+ this.mode = null;
855
+ this.truncate = line.indexOf('-') === 0 || line.indexOf('_') === 0;
856
+ break;
857
+ default:
858
+ // In script mode, depends on type of tag
859
+ if (this.mode) {
860
+ // If '//' is found without a line break, add a line break.
861
+ switch (this.mode) {
862
+ case Template.modes.EVAL:
863
+ case Template.modes.ESCAPED:
864
+ case Template.modes.RAW:
865
+ if (line.lastIndexOf('//') > line.lastIndexOf('\n')) {
866
+ line += '\n';
867
+ }
868
+ }
869
+ switch (this.mode) {
870
+ // Just executing code
871
+ case Template.modes.EVAL:
872
+ this.source += ' ; ' + line + '\n';
873
+ break;
874
+ // Exec, esc, and output
875
+ case Template.modes.ESCAPED:
876
+ this.source += ' ; __append(escapeFn(' + stripSemi(line) + '))' + '\n';
877
+ break;
878
+ // Exec and output
879
+ case Template.modes.RAW:
880
+ this.source += ' ; __append(' + stripSemi(line) + ')' + '\n';
881
+ break;
882
+ case Template.modes.COMMENT:
883
+ // Do nothing
884
+ break;
885
+ // Literal <%% mode, append as raw output
886
+ case Template.modes.LITERAL:
887
+ this._addOutput(line);
888
+ break;
889
+ }
890
+ }
891
+ // In string mode, just add the output
892
+ else {
893
+ this._addOutput(line);
894
+ }
895
+ }
896
+
897
+ if (self.opts.compileDebug && newLineCount) {
898
+ this.currentLine += newLineCount;
899
+ this.source += ' ; __line = ' + this.currentLine + '\n';
900
+ }
901
+ }
902
+ };
903
+
904
+ /**
905
+ * Escape characters reserved in XML.
906
+ *
907
+ * This is simply an export of {@link module:utils.escapeXML}.
908
+ *
909
+ * If `markup` is `undefined` or `null`, the empty string is returned.
910
+ *
911
+ * @param {String} markup Input string
912
+ * @return {String} Escaped string
913
+ * @public
914
+ * @func
915
+ * */
916
+ exports.escapeXML = utils.escapeXML;
917
+
918
+ /**
919
+ * Express.js support.
920
+ *
921
+ * This is an alias for {@link module:ejs.renderFile}, in order to support
922
+ * Express.js out-of-the-box.
923
+ *
924
+ * @func
925
+ */
926
+
927
+ exports.__express = exports.renderFile;
928
+
929
+ /**
930
+ * Version of EJS.
931
+ *
932
+ * @readonly
933
+ * @type {String}
934
+ * @public
935
+ */
936
+
937
+ exports.VERSION = _VERSION_STRING;
938
+
939
+ /**
940
+ * Name for detection of EJS.
941
+ *
942
+ * @readonly
943
+ * @type {String}
944
+ * @public
945
+ */
946
+
947
+ exports.name = _NAME;
948
+
949
+ /* istanbul ignore if */
950
+ if (typeof window != 'undefined') {
951
+ window.ejs = exports;
952
+ }
953
+
954
+
955
+ },{"../package.json":6,"./utils":2,"fs":3,"path":4}],2:[function(require,module,exports){
956
+ /*
957
+ * EJS Embedded JavaScript templates
958
+ * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
959
+ *
960
+ * Licensed under the Apache License, Version 2.0 (the "License");
961
+ * you may not use this file except in compliance with the License.
962
+ * You may obtain a copy of the License at
963
+ *
964
+ * http://www.apache.org/licenses/LICENSE-2.0
965
+ *
966
+ * Unless required by applicable law or agreed to in writing, software
967
+ * distributed under the License is distributed on an "AS IS" BASIS,
968
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
969
+ * See the License for the specific language governing permissions and
970
+ * limitations under the License.
971
+ *
972
+ */
973
+
974
+ /**
975
+ * Private utility functions
976
+ * @module utils
977
+ * @private
978
+ */
979
+
980
+ 'use strict';
981
+
982
+ var regExpChars = /[|\\{}()[\]^$+*?.]/g;
983
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
984
+ var hasOwn = function (obj, key) { return hasOwnProperty.apply(obj, [key]); };
985
+
986
+ /**
987
+ * Escape characters reserved in regular expressions.
988
+ *
989
+ * If `string` is `undefined` or `null`, the empty string is returned.
990
+ *
991
+ * @param {String} string Input string
992
+ * @return {String} Escaped string
993
+ * @static
994
+ * @private
995
+ */
996
+ exports.escapeRegExpChars = function (string) {
997
+ // istanbul ignore if
998
+ if (!string) {
999
+ return '';
1000
+ }
1001
+ return String(string).replace(regExpChars, '\\$&');
1002
+ };
1003
+
1004
+ var _ENCODE_HTML_RULES = {
1005
+ '&': '&amp;',
1006
+ '<': '&lt;',
1007
+ '>': '&gt;',
1008
+ '"': '&#34;',
1009
+ "'": '&#39;'
1010
+ };
1011
+ var _MATCH_HTML = /[&<>'"]/g;
1012
+
1013
+ function encode_char(c) {
1014
+ return _ENCODE_HTML_RULES[c] || c;
1015
+ }
1016
+
1017
+ /**
1018
+ * Stringified version of constants used by {@link module:utils.escapeXML}.
1019
+ *
1020
+ * It is used in the process of generating {@link ClientFunction}s.
1021
+ *
1022
+ * @readonly
1023
+ * @type {String}
1024
+ */
1025
+
1026
+ var escapeFuncStr =
1027
+ 'var _ENCODE_HTML_RULES = {\n'
1028
+ + ' "&": "&amp;"\n'
1029
+ + ' , "<": "&lt;"\n'
1030
+ + ' , ">": "&gt;"\n'
1031
+ + ' , \'"\': "&#34;"\n'
1032
+ + ' , "\'": "&#39;"\n'
1033
+ + ' }\n'
1034
+ + ' , _MATCH_HTML = /[&<>\'"]/g;\n'
1035
+ + 'function encode_char(c) {\n'
1036
+ + ' return _ENCODE_HTML_RULES[c] || c;\n'
1037
+ + '};\n';
1038
+
1039
+ /**
1040
+ * Escape characters reserved in XML.
1041
+ *
1042
+ * If `markup` is `undefined` or `null`, the empty string is returned.
1043
+ *
1044
+ * @implements {EscapeCallback}
1045
+ * @param {String} markup Input string
1046
+ * @return {String} Escaped string
1047
+ * @static
1048
+ * @private
1049
+ */
1050
+
1051
+ exports.escapeXML = function (markup) {
1052
+ return markup == undefined
1053
+ ? ''
1054
+ : String(markup)
1055
+ .replace(_MATCH_HTML, encode_char);
1056
+ };
1057
+
1058
+ function escapeXMLToString() {
1059
+ return Function.prototype.toString.call(this) + ';\n' + escapeFuncStr;
1060
+ }
1061
+
1062
+ try {
1063
+ if (typeof Object.defineProperty === 'function') {
1064
+ // If the Function prototype is frozen, the "toString" property is non-writable. This means that any objects which inherit this property
1065
+ // cannot have the property changed using an assignment. If using strict mode, attempting that will cause an error. If not using strict
1066
+ // mode, attempting that will be silently ignored.
1067
+ // However, we can still explicitly shadow the prototype's "toString" property by defining a new "toString" property on this object.
1068
+ Object.defineProperty(exports.escapeXML, 'toString', { value: escapeXMLToString });
1069
+ } else {
1070
+ // If Object.defineProperty() doesn't exist, attempt to shadow this property using the assignment operator.
1071
+ exports.escapeXML.toString = escapeXMLToString;
1072
+ }
1073
+ } catch (err) {
1074
+ console.warn('Unable to set escapeXML.toString (is the Function prototype frozen?)');
1075
+ }
1076
+
1077
+ /**
1078
+ * Naive copy of properties from one object to another.
1079
+ * Does not recurse into non-scalar properties
1080
+ * Does not check to see if the property has a value before copying
1081
+ *
1082
+ * @param {Object} to Destination object
1083
+ * @param {Object} from Source object
1084
+ * @return {Object} Destination object
1085
+ * @static
1086
+ * @private
1087
+ */
1088
+ exports.shallowCopy = function (to, from) {
1089
+ from = from || {};
1090
+ if ((to !== null) && (to !== undefined)) {
1091
+ for (var p in from) {
1092
+ if (!hasOwn(from, p)) {
1093
+ continue;
1094
+ }
1095
+ if (p === '__proto__' || p === 'constructor') {
1096
+ continue;
1097
+ }
1098
+ to[p] = from[p];
1099
+ }
1100
+ }
1101
+ return to;
1102
+ };
1103
+
1104
+ /**
1105
+ * Naive copy of a list of key names, from one object to another.
1106
+ * Only copies property if it is actually defined
1107
+ * Does not recurse into non-scalar properties
1108
+ *
1109
+ * @param {Object} to Destination object
1110
+ * @param {Object} from Source object
1111
+ * @param {Array} list List of properties to copy
1112
+ * @return {Object} Destination object
1113
+ * @static
1114
+ * @private
1115
+ */
1116
+ exports.shallowCopyFromList = function (to, from, list) {
1117
+ list = list || [];
1118
+ from = from || {};
1119
+ if ((to !== null) && (to !== undefined)) {
1120
+ for (var i = 0; i < list.length; i++) {
1121
+ var p = list[i];
1122
+ if (typeof from[p] != 'undefined') {
1123
+ if (!hasOwn(from, p)) {
1124
+ continue;
1125
+ }
1126
+ if (p === '__proto__' || p === 'constructor') {
1127
+ continue;
1128
+ }
1129
+ to[p] = from[p];
1130
+ }
1131
+ }
1132
+ }
1133
+ return to;
1134
+ };
1135
+
1136
+ /**
1137
+ * Simple in-process cache implementation. Does not implement limits of any
1138
+ * sort.
1139
+ *
1140
+ * @implements {Cache}
1141
+ * @static
1142
+ * @private
1143
+ */
1144
+ exports.cache = {
1145
+ _data: {},
1146
+ set: function (key, val) {
1147
+ this._data[key] = val;
1148
+ },
1149
+ get: function (key) {
1150
+ return this._data[key];
1151
+ },
1152
+ remove: function (key) {
1153
+ delete this._data[key];
1154
+ },
1155
+ reset: function () {
1156
+ this._data = {};
1157
+ }
1158
+ };
1159
+
1160
+ /**
1161
+ * Transforms hyphen case variable into camel case.
1162
+ *
1163
+ * @param {String} string Hyphen case string
1164
+ * @return {String} Camel case string
1165
+ * @static
1166
+ * @private
1167
+ */
1168
+ exports.hyphenToCamel = function (str) {
1169
+ return str.replace(/-[a-z]/g, function (match) { return match[1].toUpperCase(); });
1170
+ };
1171
+
1172
+ /**
1173
+ * Returns a null-prototype object in runtimes that support it
1174
+ *
1175
+ * @return {Object} Object, prototype will be set to null where possible
1176
+ * @static
1177
+ * @private
1178
+ */
1179
+ exports.createNullProtoObjWherePossible = (function () {
1180
+ if (typeof Object.create == 'function') {
1181
+ return function () {
1182
+ return Object.create(null);
1183
+ };
1184
+ }
1185
+ if (!({__proto__: null} instanceof Object)) {
1186
+ return function () {
1187
+ return {__proto__: null};
1188
+ };
1189
+ }
1190
+ // Not possible, just pass through
1191
+ return function () {
1192
+ return {};
1193
+ };
1194
+ })();
1195
+
1196
+ exports.hasOwnOnlyObject = function (obj) {
1197
+ var o = exports.createNullProtoObjWherePossible();
1198
+ for (var p in obj) {
1199
+ if (hasOwn(obj, p)) {
1200
+ o[p] = obj[p];
1201
+ }
1202
+ }
1203
+ return o;
1204
+ };
1205
+
1206
+
1207
+ },{}],3:[function(require,module,exports){
1208
+
1209
+ },{}],4:[function(require,module,exports){
1210
+ (function (process){
1211
+ // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
1212
+ // backported and transplited with Babel, with backwards-compat fixes
1213
+
1214
+ // Copyright Joyent, Inc. and other Node contributors.
1215
+ //
1216
+ // Permission is hereby granted, free of charge, to any person obtaining a
1217
+ // copy of this software and associated documentation files (the
1218
+ // "Software"), to deal in the Software without restriction, including
1219
+ // without limitation the rights to use, copy, modify, merge, publish,
1220
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
1221
+ // persons to whom the Software is furnished to do so, subject to the
1222
+ // following conditions:
1223
+ //
1224
+ // The above copyright notice and this permission notice shall be included
1225
+ // in all copies or substantial portions of the Software.
1226
+ //
1227
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1228
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1229
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
1230
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1231
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
1232
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
1233
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
1234
+
1235
+ // resolves . and .. elements in a path array with directory names there
1236
+ // must be no slashes, empty elements, or device names (c:\) in the array
1237
+ // (so also no leading and trailing slashes - it does not distinguish
1238
+ // relative and absolute paths)
1239
+ function normalizeArray(parts, allowAboveRoot) {
1240
+ // if the path tries to go above the root, `up` ends up > 0
1241
+ var up = 0;
1242
+ for (var i = parts.length - 1; i >= 0; i--) {
1243
+ var last = parts[i];
1244
+ if (last === '.') {
1245
+ parts.splice(i, 1);
1246
+ } else if (last === '..') {
1247
+ parts.splice(i, 1);
1248
+ up++;
1249
+ } else if (up) {
1250
+ parts.splice(i, 1);
1251
+ up--;
1252
+ }
1253
+ }
1254
+
1255
+ // if the path is allowed to go above the root, restore leading ..s
1256
+ if (allowAboveRoot) {
1257
+ for (; up--; up) {
1258
+ parts.unshift('..');
1259
+ }
1260
+ }
1261
+
1262
+ return parts;
1263
+ }
1264
+
1265
+ // path.resolve([from ...], to)
1266
+ // posix version
1267
+ exports.resolve = function() {
1268
+ var resolvedPath = '',
1269
+ resolvedAbsolute = false;
1270
+
1271
+ for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
1272
+ var path = (i >= 0) ? arguments[i] : process.cwd();
1273
+
1274
+ // Skip empty and invalid entries
1275
+ if (typeof path !== 'string') {
1276
+ throw new TypeError('Arguments to path.resolve must be strings');
1277
+ } else if (!path) {
1278
+ continue;
1279
+ }
1280
+
1281
+ resolvedPath = path + '/' + resolvedPath;
1282
+ resolvedAbsolute = path.charAt(0) === '/';
1283
+ }
1284
+
1285
+ // At this point the path should be resolved to a full absolute path, but
1286
+ // handle relative paths to be safe (might happen when process.cwd() fails)
1287
+
1288
+ // Normalize the path
1289
+ resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
1290
+ return !!p;
1291
+ }), !resolvedAbsolute).join('/');
1292
+
1293
+ return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
1294
+ };
1295
+
1296
+ // path.normalize(path)
1297
+ // posix version
1298
+ exports.normalize = function(path) {
1299
+ var isAbsolute = exports.isAbsolute(path),
1300
+ trailingSlash = substr(path, -1) === '/';
1301
+
1302
+ // Normalize the path
1303
+ path = normalizeArray(filter(path.split('/'), function(p) {
1304
+ return !!p;
1305
+ }), !isAbsolute).join('/');
1306
+
1307
+ if (!path && !isAbsolute) {
1308
+ path = '.';
1309
+ }
1310
+ if (path && trailingSlash) {
1311
+ path += '/';
1312
+ }
1313
+
1314
+ return (isAbsolute ? '/' : '') + path;
1315
+ };
1316
+
1317
+ // posix version
1318
+ exports.isAbsolute = function(path) {
1319
+ return path.charAt(0) === '/';
1320
+ };
1321
+
1322
+ // posix version
1323
+ exports.join = function() {
1324
+ var paths = Array.prototype.slice.call(arguments, 0);
1325
+ return exports.normalize(filter(paths, function(p, index) {
1326
+ if (typeof p !== 'string') {
1327
+ throw new TypeError('Arguments to path.join must be strings');
1328
+ }
1329
+ return p;
1330
+ }).join('/'));
1331
+ };
1332
+
1333
+
1334
+ // path.relative(from, to)
1335
+ // posix version
1336
+ exports.relative = function(from, to) {
1337
+ from = exports.resolve(from).substr(1);
1338
+ to = exports.resolve(to).substr(1);
1339
+
1340
+ function trim(arr) {
1341
+ var start = 0;
1342
+ for (; start < arr.length; start++) {
1343
+ if (arr[start] !== '') break;
1344
+ }
1345
+
1346
+ var end = arr.length - 1;
1347
+ for (; end >= 0; end--) {
1348
+ if (arr[end] !== '') break;
1349
+ }
1350
+
1351
+ if (start > end) return [];
1352
+ return arr.slice(start, end - start + 1);
1353
+ }
1354
+
1355
+ var fromParts = trim(from.split('/'));
1356
+ var toParts = trim(to.split('/'));
1357
+
1358
+ var length = Math.min(fromParts.length, toParts.length);
1359
+ var samePartsLength = length;
1360
+ for (var i = 0; i < length; i++) {
1361
+ if (fromParts[i] !== toParts[i]) {
1362
+ samePartsLength = i;
1363
+ break;
1364
+ }
1365
+ }
1366
+
1367
+ var outputParts = [];
1368
+ for (var i = samePartsLength; i < fromParts.length; i++) {
1369
+ outputParts.push('..');
1370
+ }
1371
+
1372
+ outputParts = outputParts.concat(toParts.slice(samePartsLength));
1373
+
1374
+ return outputParts.join('/');
1375
+ };
1376
+
1377
+ exports.sep = '/';
1378
+ exports.delimiter = ':';
1379
+
1380
+ exports.dirname = function (path) {
1381
+ if (typeof path !== 'string') path = path + '';
1382
+ if (path.length === 0) return '.';
1383
+ var code = path.charCodeAt(0);
1384
+ var hasRoot = code === 47 /*/*/;
1385
+ var end = -1;
1386
+ var matchedSlash = true;
1387
+ for (var i = path.length - 1; i >= 1; --i) {
1388
+ code = path.charCodeAt(i);
1389
+ if (code === 47 /*/*/) {
1390
+ if (!matchedSlash) {
1391
+ end = i;
1392
+ break;
1393
+ }
1394
+ } else {
1395
+ // We saw the first non-path separator
1396
+ matchedSlash = false;
1397
+ }
1398
+ }
1399
+
1400
+ if (end === -1) return hasRoot ? '/' : '.';
1401
+ if (hasRoot && end === 1) {
1402
+ // return '//';
1403
+ // Backwards-compat fix:
1404
+ return '/';
1405
+ }
1406
+ return path.slice(0, end);
1407
+ };
1408
+
1409
+ function basename(path) {
1410
+ if (typeof path !== 'string') path = path + '';
1411
+
1412
+ var start = 0;
1413
+ var end = -1;
1414
+ var matchedSlash = true;
1415
+ var i;
1416
+
1417
+ for (i = path.length - 1; i >= 0; --i) {
1418
+ if (path.charCodeAt(i) === 47 /*/*/) {
1419
+ // If we reached a path separator that was not part of a set of path
1420
+ // separators at the end of the string, stop now
1421
+ if (!matchedSlash) {
1422
+ start = i + 1;
1423
+ break;
1424
+ }
1425
+ } else if (end === -1) {
1426
+ // We saw the first non-path separator, mark this as the end of our
1427
+ // path component
1428
+ matchedSlash = false;
1429
+ end = i + 1;
1430
+ }
1431
+ }
1432
+
1433
+ if (end === -1) return '';
1434
+ return path.slice(start, end);
1435
+ }
1436
+
1437
+ // Uses a mixed approach for backwards-compatibility, as ext behavior changed
1438
+ // in new Node.js versions, so only basename() above is backported here
1439
+ exports.basename = function (path, ext) {
1440
+ var f = basename(path);
1441
+ if (ext && f.substr(-1 * ext.length) === ext) {
1442
+ f = f.substr(0, f.length - ext.length);
1443
+ }
1444
+ return f;
1445
+ };
1446
+
1447
+ exports.extname = function (path) {
1448
+ if (typeof path !== 'string') path = path + '';
1449
+ var startDot = -1;
1450
+ var startPart = 0;
1451
+ var end = -1;
1452
+ var matchedSlash = true;
1453
+ // Track the state of characters (if any) we see before our first dot and
1454
+ // after any path separator we find
1455
+ var preDotState = 0;
1456
+ for (var i = path.length - 1; i >= 0; --i) {
1457
+ var code = path.charCodeAt(i);
1458
+ if (code === 47 /*/*/) {
1459
+ // If we reached a path separator that was not part of a set of path
1460
+ // separators at the end of the string, stop now
1461
+ if (!matchedSlash) {
1462
+ startPart = i + 1;
1463
+ break;
1464
+ }
1465
+ continue;
1466
+ }
1467
+ if (end === -1) {
1468
+ // We saw the first non-path separator, mark this as the end of our
1469
+ // extension
1470
+ matchedSlash = false;
1471
+ end = i + 1;
1472
+ }
1473
+ if (code === 46 /*.*/) {
1474
+ // If this is our first dot, mark it as the start of our extension
1475
+ if (startDot === -1)
1476
+ startDot = i;
1477
+ else if (preDotState !== 1)
1478
+ preDotState = 1;
1479
+ } else if (startDot !== -1) {
1480
+ // We saw a non-dot and non-path separator before our dot, so we should
1481
+ // have a good chance at having a non-empty extension
1482
+ preDotState = -1;
1483
+ }
1484
+ }
1485
+
1486
+ if (startDot === -1 || end === -1 ||
1487
+ // We saw a non-dot character immediately before the dot
1488
+ preDotState === 0 ||
1489
+ // The (right-most) trimmed path component is exactly '..'
1490
+ preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
1491
+ return '';
1492
+ }
1493
+ return path.slice(startDot, end);
1494
+ };
1495
+
1496
+ function filter (xs, f) {
1497
+ if (xs.filter) return xs.filter(f);
1498
+ var res = [];
1499
+ for (var i = 0; i < xs.length; i++) {
1500
+ if (f(xs[i], i, xs)) res.push(xs[i]);
1501
+ }
1502
+ return res;
1503
+ }
1504
+
1505
+ // String.prototype.substr - negative index don't work in IE8
1506
+ var substr = 'ab'.substr(-1) === 'b'
1507
+ ? function (str, start, len) { return str.substr(start, len) }
1508
+ : function (str, start, len) {
1509
+ if (start < 0) start = str.length + start;
1510
+ return str.substr(start, len);
1511
+ }
1512
+ ;
1513
+
1514
+ }).call(this,require('_process'))
1515
+ },{"_process":5}],5:[function(require,module,exports){
1516
+ // shim for using process in browser
1517
+ var process = module.exports = {};
1518
+
1519
+ // cached from whatever global is present so that test runners that stub it
1520
+ // don't break things. But we need to wrap it in a try catch in case it is
1521
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
1522
+ // function because try/catches deoptimize in certain engines.
1523
+
1524
+ var cachedSetTimeout;
1525
+ var cachedClearTimeout;
1526
+
1527
+ function defaultSetTimout() {
1528
+ throw new Error('setTimeout has not been defined');
1529
+ }
1530
+ function defaultClearTimeout () {
1531
+ throw new Error('clearTimeout has not been defined');
1532
+ }
1533
+ (function () {
1534
+ try {
1535
+ if (typeof setTimeout === 'function') {
1536
+ cachedSetTimeout = setTimeout;
1537
+ } else {
1538
+ cachedSetTimeout = defaultSetTimout;
1539
+ }
1540
+ } catch (e) {
1541
+ cachedSetTimeout = defaultSetTimout;
1542
+ }
1543
+ try {
1544
+ if (typeof clearTimeout === 'function') {
1545
+ cachedClearTimeout = clearTimeout;
1546
+ } else {
1547
+ cachedClearTimeout = defaultClearTimeout;
1548
+ }
1549
+ } catch (e) {
1550
+ cachedClearTimeout = defaultClearTimeout;
1551
+ }
1552
+ } ())
1553
+ function runTimeout(fun) {
1554
+ if (cachedSetTimeout === setTimeout) {
1555
+ //normal enviroments in sane situations
1556
+ return setTimeout(fun, 0);
1557
+ }
1558
+ // if setTimeout wasn't available but was latter defined
1559
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
1560
+ cachedSetTimeout = setTimeout;
1561
+ return setTimeout(fun, 0);
1562
+ }
1563
+ try {
1564
+ // when when somebody has screwed with setTimeout but no I.E. maddness
1565
+ return cachedSetTimeout(fun, 0);
1566
+ } catch(e){
1567
+ try {
1568
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1569
+ return cachedSetTimeout.call(null, fun, 0);
1570
+ } catch(e){
1571
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
1572
+ return cachedSetTimeout.call(this, fun, 0);
1573
+ }
1574
+ }
1575
+
1576
+
1577
+ }
1578
+ function runClearTimeout(marker) {
1579
+ if (cachedClearTimeout === clearTimeout) {
1580
+ //normal enviroments in sane situations
1581
+ return clearTimeout(marker);
1582
+ }
1583
+ // if clearTimeout wasn't available but was latter defined
1584
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
1585
+ cachedClearTimeout = clearTimeout;
1586
+ return clearTimeout(marker);
1587
+ }
1588
+ try {
1589
+ // when when somebody has screwed with setTimeout but no I.E. maddness
1590
+ return cachedClearTimeout(marker);
1591
+ } catch (e){
1592
+ try {
1593
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
1594
+ return cachedClearTimeout.call(null, marker);
1595
+ } catch (e){
1596
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
1597
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
1598
+ return cachedClearTimeout.call(this, marker);
1599
+ }
1600
+ }
1601
+
1602
+
1603
+
1604
+ }
1605
+ var queue = [];
1606
+ var draining = false;
1607
+ var currentQueue;
1608
+ var queueIndex = -1;
1609
+
1610
+ function cleanUpNextTick() {
1611
+ if (!draining || !currentQueue) {
1612
+ return;
1613
+ }
1614
+ draining = false;
1615
+ if (currentQueue.length) {
1616
+ queue = currentQueue.concat(queue);
1617
+ } else {
1618
+ queueIndex = -1;
1619
+ }
1620
+ if (queue.length) {
1621
+ drainQueue();
1622
+ }
1623
+ }
1624
+
1625
+ function drainQueue() {
1626
+ if (draining) {
1627
+ return;
1628
+ }
1629
+ var timeout = runTimeout(cleanUpNextTick);
1630
+ draining = true;
1631
+
1632
+ var len = queue.length;
1633
+ while(len) {
1634
+ currentQueue = queue;
1635
+ queue = [];
1636
+ while (++queueIndex < len) {
1637
+ if (currentQueue) {
1638
+ currentQueue[queueIndex].run();
1639
+ }
1640
+ }
1641
+ queueIndex = -1;
1642
+ len = queue.length;
1643
+ }
1644
+ currentQueue = null;
1645
+ draining = false;
1646
+ runClearTimeout(timeout);
1647
+ }
1648
+
1649
+ process.nextTick = function (fun) {
1650
+ var args = new Array(arguments.length - 1);
1651
+ if (arguments.length > 1) {
1652
+ for (var i = 1; i < arguments.length; i++) {
1653
+ args[i - 1] = arguments[i];
1654
+ }
1655
+ }
1656
+ queue.push(new Item(fun, args));
1657
+ if (queue.length === 1 && !draining) {
1658
+ runTimeout(drainQueue);
1659
+ }
1660
+ };
1661
+
1662
+ // v8 likes predictible objects
1663
+ function Item(fun, array) {
1664
+ this.fun = fun;
1665
+ this.array = array;
1666
+ }
1667
+ Item.prototype.run = function () {
1668
+ this.fun.apply(null, this.array);
1669
+ };
1670
+ process.title = 'browser';
1671
+ process.browser = true;
1672
+ process.env = {};
1673
+ process.argv = [];
1674
+ process.version = ''; // empty string to avoid regexp issues
1675
+ process.versions = {};
1676
+
1677
+ function noop() {}
1678
+
1679
+ process.on = noop;
1680
+ process.addListener = noop;
1681
+ process.once = noop;
1682
+ process.off = noop;
1683
+ process.removeListener = noop;
1684
+ process.removeAllListeners = noop;
1685
+ process.emit = noop;
1686
+ process.prependListener = noop;
1687
+ process.prependOnceListener = noop;
1688
+
1689
+ process.listeners = function (name) { return [] }
1690
+
1691
+ process.binding = function (name) {
1692
+ throw new Error('process.binding is not supported');
1693
+ };
1694
+
1695
+ process.cwd = function () { return '/' };
1696
+ process.chdir = function (dir) {
1697
+ throw new Error('process.chdir is not supported');
1698
+ };
1699
+ process.umask = function() { return 0; };
1700
+
1701
+ },{}],6:[function(require,module,exports){
1702
+ module.exports={
1703
+ "name": "ejs",
1704
+ "description": "Embedded JavaScript templates",
1705
+ "keywords": [
1706
+ "template",
1707
+ "engine",
1708
+ "ejs"
1709
+ ],
1710
+ "version": "3.1.9",
1711
+ "author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
1712
+ "license": "Apache-2.0",
1713
+ "bin": {
1714
+ "ejs": "./bin/cli.js"
1715
+ },
1716
+ "main": "./lib/ejs.js",
1717
+ "jsdelivr": "ejs.min.js",
1718
+ "unpkg": "ejs.min.js",
1719
+ "repository": {
1720
+ "type": "git",
1721
+ "url": "git://github.com/mde/ejs.git"
1722
+ },
1723
+ "bugs": "https://github.com/mde/ejs/issues",
1724
+ "homepage": "https://github.com/mde/ejs",
1725
+ "dependencies": {
1726
+ "jake": "^10.8.5"
1727
+ },
1728
+ "devDependencies": {
1729
+ "browserify": "^16.5.1",
1730
+ "eslint": "^6.8.0",
1731
+ "git-directory-deploy": "^1.5.1",
1732
+ "jsdoc": "^4.0.2",
1733
+ "lru-cache": "^4.0.1",
1734
+ "mocha": "^10.2.0",
1735
+ "uglify-js": "^3.3.16"
1736
+ },
1737
+ "engines": {
1738
+ "node": ">=0.10.0"
1739
+ },
1740
+ "scripts": {
1741
+ "test": "npx jake test"
1742
+ }
1743
+ }
1744
+
1745
+ },{}]},{},[1])(1)
1746
+ });