gina 0.7.3 → 0.7.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 (636) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +48 -40
  3. package/ROADMAP.md +1 -0
  4. package/bin/cli +33 -4
  5. package/bin/cli-debug +37 -1
  6. package/bin/cmd +18 -0
  7. package/framework/v0.7.4/VERSION +1 -0
  8. package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.js +1504 -621
  9. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +736 -0
  10. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  11. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  12. package/framework/{v0.7.3 → v0.7.4}/core/config.js +13 -3
  13. package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.js +268 -14
  14. package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-json.js +9 -2
  15. package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-nunjucks.js +88 -9
  16. package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-swig-async.js +87 -7
  17. package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-swig.js +115 -9
  18. package/framework/{v0.7.3 → v0.7.4}/core/gna.js +44 -2
  19. package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/src/form-validator.js +43 -4
  20. package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/src/main.js +847 -515
  21. package/framework/{v0.7.3 → v0.7.4}/core/router.js +139 -40
  22. package/framework/{v0.7.3 → v0.7.4}/core/server.express.js +5 -4
  23. package/framework/{v0.7.3 → v0.7.4}/core/server.isaac.js +93 -10
  24. package/framework/{v0.7.3 → v0.7.4}/core/server.js +348 -46
  25. package/framework/{v0.7.3 → v0.7.4}/helpers/context.js +47 -2
  26. package/framework/{v0.7.3 → v0.7.4}/helpers/data/src/main.js +10 -1
  27. package/framework/{v0.7.3 → v0.7.4}/helpers/prototypes.js +23 -1
  28. package/framework/v0.7.4/lib/cmd/bundle/inc/start-status.js +420 -0
  29. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/restart.js +71 -1
  30. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/start.js +207 -41
  31. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/clear.js +39 -8
  32. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/help.txt +3 -4
  33. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/inc/ps-titles.js +62 -6
  34. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/init.js +12 -1
  35. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/restart.js +49 -11
  36. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/status.js +23 -1
  37. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/stop.js +150 -48
  38. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/helper.js +24 -0
  39. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/run.js +6 -0
  40. package/framework/{v0.7.3 → v0.7.4}/lib/cmd/index.js +8 -1
  41. package/framework/{v0.7.3 → v0.7.4}/lib/collection/src/main.js +373 -74
  42. package/framework/{v0.7.3 → v0.7.4}/lib/job/src/main.js +49 -5
  43. package/framework/{v0.7.3 → v0.7.4}/lib/lane/src/main.js +81 -5
  44. package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/main.js +184 -15
  45. package/framework/v0.7.4/lib/logger/src/redact.js +1003 -0
  46. package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/src/main.js +118 -11
  47. package/framework/{v0.7.3 → v0.7.4}/lib/proc.js +27 -8
  48. package/framework/{v0.7.3 → v0.7.4}/lib/render-cache/src/main.js +97 -0
  49. package/framework/{v0.7.3 → v0.7.4}/lib/routing/src/main.js +140 -14
  50. package/framework/{v0.7.3 → v0.7.4}/lib/sqlite-driver.js +15 -5
  51. package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/src/main.js +123 -16
  52. package/framework/{v0.7.3 → v0.7.4}/package.json +1 -1
  53. package/gna.js +4 -4
  54. package/llms.txt +24 -22
  55. package/package.json +5 -4
  56. package/schema/settings.json +25 -1
  57. package/script/smoke_in_container.js +69 -12
  58. package/types/index.d.ts +3 -2
  59. package/utils/prototypes.js +37 -2
  60. package/framework/v0.7.3/VERSION +0 -1
  61. package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -726
  62. package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  63. package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  64. package/framework/v0.7.3/lib/logger/src/redact.js +0 -391
  65. /package/framework/{v0.7.3 → v0.7.4}/AUTHORS +0 -0
  66. /package/framework/{v0.7.3 → v0.7.4}/LICENSE +0 -0
  67. /package/framework/{v0.7.3 → v0.7.4}/core/asset/html/nolayout.html +0 -0
  68. /package/framework/{v0.7.3 → v0.7.4}/core/asset/html/static.html +0 -0
  69. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/android-chrome-192x192.png +0 -0
  70. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/android-chrome-512x512.png +0 -0
  71. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/apple-touch-icon.png +0 -0
  72. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon-16x16.png +0 -0
  73. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon-32x32.png +0 -0
  74. /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon.ico +0 -0
  75. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/README.md +0 -0
  76. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  77. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  78. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  79. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  80. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  81. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  82. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  83. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  84. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  85. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  86. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  87. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  88. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  89. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  90. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  91. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  92. /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  93. /package/framework/{v0.7.3 → v0.7.4}/core/config.requirements-anchor.js +0 -0
  94. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/ai/index.js +0 -0
  95. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/ai/lib/connector.js +0 -0
  96. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/index.js +0 -0
  97. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.js +0 -0
  98. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  99. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  100. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/n1ql.js +0 -0
  101. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.js +0 -0
  102. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  103. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  104. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/storage-store.js +0 -0
  105. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/duckdb/index.js +0 -0
  106. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/duckdb/lib/connector.js +0 -0
  107. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/index.js +0 -0
  108. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/connector.js +0 -0
  109. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/job-store.js +0 -0
  110. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  111. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/session-store.js +0 -0
  112. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mysql/index.js +0 -0
  113. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mysql/lib/connector.js +0 -0
  114. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/param-redact.js +0 -0
  115. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/postgresql/index.js +0 -0
  116. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/postgresql/lib/connector.js +0 -0
  117. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/index.js +0 -0
  118. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/connector.js +0 -0
  119. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/job-store.js +0 -0
  120. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/kv-store.js +0 -0
  121. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/render-cache-store.js +0 -0
  122. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/session-store.js +0 -0
  123. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/index.js +0 -0
  124. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/lib/connector.js +0 -0
  125. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/lib/session-store.js +0 -0
  126. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/settle-once.js +0 -0
  127. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sql-parser.js +0 -0
  128. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/index.js +0 -0
  129. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/connector.js +0 -0
  130. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/job-store.js +0 -0
  131. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/kv-store.js +0 -0
  132. /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/session-store.js +0 -0
  133. /package/framework/{v0.7.3 → v0.7.4}/core/content.encoding +0 -0
  134. /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.framework.js +0 -0
  135. /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-nunjucks-async.js +0 -0
  136. /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-stream.js +0 -0
  137. /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-v1.js +0 -0
  138. /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-xml.js +0 -0
  139. /package/framework/{v0.7.3 → v0.7.4}/core/controller/index.js +0 -0
  140. /package/framework/{v0.7.3 → v0.7.4}/core/controller/inline-script.js +0 -0
  141. /package/framework/{v0.7.3 → v0.7.4}/core/controller/inspector-window-emit.js +0 -0
  142. /package/framework/{v0.7.3 → v0.7.4}/core/controller/preload-hints.js +0 -0
  143. /package/framework/{v0.7.3 → v0.7.4}/core/controller/release-banner.js +0 -0
  144. /package/framework/{v0.7.3 → v0.7.4}/core/dev/index.js +0 -0
  145. /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/class.js +0 -0
  146. /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/factory.js +0 -0
  147. /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/tools.js +0 -0
  148. /package/framework/{v0.7.3 → v0.7.4}/core/locales/README.md +0 -0
  149. /package/framework/{v0.7.3 → v0.7.4}/core/locales/currency.json +0 -0
  150. /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/language/en.json +0 -0
  151. /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/language/fr.json +0 -0
  152. /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/region/en.json +0 -0
  153. /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/region/fr.json +0 -0
  154. /package/framework/{v0.7.3 → v0.7.4}/core/locales/index.js +0 -0
  155. /package/framework/{v0.7.3 → v0.7.4}/core/mime.types +0 -0
  156. /package/framework/{v0.7.3 → v0.7.4}/core/model/entity.js +0 -0
  157. /package/framework/{v0.7.3 → v0.7.4}/core/model/index.js +0 -0
  158. /package/framework/{v0.7.3 → v0.7.4}/core/model/template/entityFactory.js +0 -0
  159. /package/framework/{v0.7.3 → v0.7.4}/core/model/template/index.js +0 -0
  160. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/README.md +0 -0
  161. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/index.js +0 -0
  162. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/README.md +0 -0
  163. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/package.json +0 -0
  164. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/src/main.js +0 -0
  165. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/README.md +0 -0
  166. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/README.md +0 -0
  167. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/package.json +0 -0
  168. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  169. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/README.md +0 -0
  170. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/package.json +0 -0
  171. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  172. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/README.md +0 -0
  173. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/package.json +0 -0
  174. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  175. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/README.md +0 -0
  176. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/package.json +0 -0
  177. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  178. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  179. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  180. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  181. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  182. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  183. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  184. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  185. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  186. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  187. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/package.json +0 -0
  188. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  189. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  190. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  191. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/src/main.js +0 -0
  192. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  193. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  194. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  195. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  196. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  197. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  198. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  199. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  200. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  201. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  202. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  203. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  204. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  205. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  206. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  207. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  208. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  209. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  210. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/README.md +0 -0
  211. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/package.json +0 -0
  212. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/src/main.js +0 -0
  213. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/README.md +0 -0
  214. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/build.json +0 -0
  215. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/package.json +0 -0
  216. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/src/main.js +0 -0
  217. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/README.md +0 -0
  218. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/build.json +0 -0
  219. /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/package.json +0 -0
  220. /package/framework/{v0.7.3 → v0.7.4}/core/server.isaac.rapid-reset.js +0 -0
  221. /package/framework/{v0.7.3 → v0.7.4}/core/server.route-candidates.js +0 -0
  222. /package/framework/{v0.7.3 → v0.7.4}/core/status.codes +0 -0
  223. /package/framework/{v0.7.3 → v0.7.4}/core/template/_gitignore +0 -0
  224. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/app.json +0 -0
  225. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  226. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/routing.json +0 -0
  227. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/settings.json +0 -0
  228. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  229. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/templates.json +0 -0
  230. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  231. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  232. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  233. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  234. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/index.js +0 -0
  235. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/locales/en.json +0 -0
  236. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  237. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  238. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  239. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  240. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  241. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  242. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  243. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  244. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/readme.md +0 -0
  245. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/sw.js +0 -0
  246. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  247. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  248. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  249. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  250. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  251. /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  252. /package/framework/{v0.7.3 → v0.7.4}/core/template/command/gina.bat.tpl +0 -0
  253. /package/framework/{v0.7.3 → v0.7.4}/core/template/command/gina.tpl +0 -0
  254. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/env.json +0 -0
  255. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/manifest.json +0 -0
  256. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/package.json +0 -0
  257. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/settings.json +0 -0
  258. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/statics.json +0 -0
  259. /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/templates.json +0 -0
  260. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/401.json +0 -0
  261. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/403.json +0 -0
  262. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/404.json +0 -0
  263. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/html/50x.html +0 -0
  264. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/json/500.json +0 -0
  265. /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/json/503.json +0 -0
  266. /package/framework/{v0.7.3 → v0.7.4}/core/template/extensions/logger/config.json +0 -0
  267. /package/framework/{v0.7.3 → v0.7.4}/helpers/console.js +0 -0
  268. /package/framework/{v0.7.3 → v0.7.4}/helpers/data/LICENSE +0 -0
  269. /package/framework/{v0.7.3 → v0.7.4}/helpers/data/README.md +0 -0
  270. /package/framework/{v0.7.3 → v0.7.4}/helpers/data/package.json +0 -0
  271. /package/framework/{v0.7.3 → v0.7.4}/helpers/dateFormat.js +0 -0
  272. /package/framework/{v0.7.3 → v0.7.4}/helpers/index.js +0 -0
  273. /package/framework/{v0.7.3 → v0.7.4}/helpers/json/LICENSE +0 -0
  274. /package/framework/{v0.7.3 → v0.7.4}/helpers/json/README.md +0 -0
  275. /package/framework/{v0.7.3 → v0.7.4}/helpers/json/package.json +0 -0
  276. /package/framework/{v0.7.3 → v0.7.4}/helpers/json/src/main.js +0 -0
  277. /package/framework/{v0.7.3 → v0.7.4}/helpers/path.js +0 -0
  278. /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/README.md +0 -0
  279. /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/package.json +0 -0
  280. /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/src/api-error.js +0 -0
  281. /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/src/main.js +0 -0
  282. /package/framework/{v0.7.3 → v0.7.4}/helpers/task.js +0 -0
  283. /package/framework/{v0.7.3 → v0.7.4}/helpers/text.js +0 -0
  284. /package/framework/{v0.7.3 → v0.7.4}/lib/admin/package.json +0 -0
  285. /package/framework/{v0.7.3 → v0.7.4}/lib/admin/src/main.js +0 -0
  286. /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/README.md +0 -0
  287. /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/build.json +0 -0
  288. /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/package.json +0 -0
  289. /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/src/dep/jszip.min.js +0 -0
  290. /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/src/main.js +0 -0
  291. /package/framework/{v0.7.3 → v0.7.4}/lib/async/package.json +0 -0
  292. /package/framework/{v0.7.3 → v0.7.4}/lib/async/src/main.js +0 -0
  293. /package/framework/{v0.7.3 → v0.7.4}/lib/audit/package.json +0 -0
  294. /package/framework/{v0.7.3 → v0.7.4}/lib/audit/src/main.js +0 -0
  295. /package/framework/{v0.7.3 → v0.7.4}/lib/audit-store.js +0 -0
  296. /package/framework/{v0.7.3 → v0.7.4}/lib/authn/package.json +0 -0
  297. /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/lockout.js +0 -0
  298. /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/main.js +0 -0
  299. /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/totp.js +0 -0
  300. /package/framework/{v0.7.3 → v0.7.4}/lib/authz-gate/package.json +0 -0
  301. /package/framework/{v0.7.3 → v0.7.4}/lib/authz-gate/src/main.js +0 -0
  302. /package/framework/{v0.7.3 → v0.7.4}/lib/cache/README.md +0 -0
  303. /package/framework/{v0.7.3 → v0.7.4}/lib/cache/build.json +0 -0
  304. /package/framework/{v0.7.3 → v0.7.4}/lib/cache/package.json +0 -0
  305. /package/framework/{v0.7.3 → v0.7.4}/lib/cache/src/main.js +0 -0
  306. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/aliases.json +0 -0
  307. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/arguments.json +0 -0
  308. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/help.txt +0 -0
  309. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/verify.js +0 -0
  310. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/add.js +0 -0
  311. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/arguments.json +0 -0
  312. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/build.js +0 -0
  313. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/copy.js +0 -0
  314. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/cp.js +0 -0
  315. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/help.js +0 -0
  316. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/help.txt +0 -0
  317. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  318. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  319. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/name.js +0 -0
  320. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/list.js +0 -0
  321. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/man.js +0 -0
  322. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/mcp-start.js +0 -0
  323. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/mcp.js +0 -0
  324. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/oas.js +0 -0
  325. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/openapi.js +0 -0
  326. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/remove.js +0 -0
  327. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/rename.js +0 -0
  328. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/rm.js +0 -0
  329. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/status.js +0 -0
  330. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/stop.js +0 -0
  331. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/types.js +0 -0
  332. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/arguments.json +0 -0
  333. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/stats.js +0 -0
  334. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/add.js +0 -0
  335. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/arguments.json +0 -0
  336. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/help.js +0 -0
  337. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/help.txt +0 -0
  338. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/infer.js +0 -0
  339. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/list.js +0 -0
  340. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/migrate.js +0 -0
  341. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/models.js +0 -0
  342. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/remove.js +0 -0
  343. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/rm.js +0 -0
  344. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/test.js +0 -0
  345. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/arguments.json +0 -0
  346. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/help.js +0 -0
  347. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/help.txt +0 -0
  348. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/man.js +0 -0
  349. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/ps.js +0 -0
  350. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/stop.js +0 -0
  351. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/add.js +0 -0
  352. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/arguments.json +0 -0
  353. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/help.txt +0 -0
  354. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/args.js +0 -0
  355. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/namespace.js +0 -0
  356. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  357. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/reference-scan.js +0 -0
  358. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/scaffold.js +0 -0
  359. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/remove.js +0 -0
  360. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/rename.js +0 -0
  361. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/rm.js +0 -0
  362. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/add.js +0 -0
  363. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/get.js +0 -0
  364. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/help.js +0 -0
  365. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/help.txt +0 -0
  366. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/inc/name.js +0 -0
  367. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/link-dev.js +0 -0
  368. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/list.js +0 -0
  369. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/remove.js +0 -0
  370. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/rm.js +0 -0
  371. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/set.js +0 -0
  372. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/unset.js +0 -0
  373. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/use.js +0 -0
  374. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/add.js +0 -0
  375. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/arguments.json +0 -0
  376. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/build.js +0 -0
  377. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/dot.js +0 -0
  378. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/get.js +0 -0
  379. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/help.js +0 -0
  380. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/help.txt +0 -0
  381. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/inc/listen-error.js +0 -0
  382. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/link-node-modules.js +0 -0
  383. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/link.js +0 -0
  384. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/list.js +0 -0
  385. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/man.js +0 -0
  386. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/msg.json +0 -0
  387. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/open.js +0 -0
  388. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/remove.js +0 -0
  389. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/reset.js +0 -0
  390. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/set.js +0 -0
  391. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/start.js +0 -0
  392. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/tail.js +0 -0
  393. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/update.js +0 -0
  394. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/version.js +0 -0
  395. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina-dev.1.md +0 -0
  396. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina-framework.1.md +0 -0
  397. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina.1.md +0 -0
  398. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/add.js +0 -0
  399. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/arguments.json +0 -0
  400. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/export.js +0 -0
  401. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/help.js +0 -0
  402. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/help.txt +0 -0
  403. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/import.js +0 -0
  404. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/scan.js +0 -0
  405. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/_host.js +0 -0
  406. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/arguments.json +0 -0
  407. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/build.js +0 -0
  408. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/help.js +0 -0
  409. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/help.txt +0 -0
  410. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/list.js +0 -0
  411. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/man.js +0 -0
  412. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/rm.js +0 -0
  413. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/help.js +0 -0
  414. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/help.txt +0 -0
  415. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/open.js +0 -0
  416. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/man-render.js +0 -0
  417. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/arguments.json +0 -0
  418. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/help.js +0 -0
  419. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/help.txt +0 -0
  420. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/kill.js +0 -0
  421. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/list.js +0 -0
  422. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/msg.json +0 -0
  423. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/help.js +0 -0
  424. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/help.txt +0 -0
  425. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/inc/scan.js +0 -0
  426. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/list.js +0 -0
  427. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/reset.js +0 -0
  428. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/set.js +0 -0
  429. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/add.js +0 -0
  430. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/arguments.json +0 -0
  431. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/backup.js +0 -0
  432. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/build.js +0 -0
  433. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/help.js +0 -0
  434. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/help.txt +0 -0
  435. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/import.js +0 -0
  436. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/inc/name.js +0 -0
  437. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/list.js +0 -0
  438. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/man.js +0 -0
  439. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/move.js +0 -0
  440. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/remove.js +0 -0
  441. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/rename.js +0 -0
  442. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/restart.js +0 -0
  443. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/restore.js +0 -0
  444. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/rm.js +0 -0
  445. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/start.js +0 -0
  446. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/status.js +0 -0
  447. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/stop.js +0 -0
  448. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/arguments.json +0 -0
  449. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/help.js +0 -0
  450. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/help.txt +0 -0
  451. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/list.js +0 -0
  452. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/remove.js +0 -0
  453. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/set.js +0 -0
  454. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/add.js +0 -0
  455. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/help.js +0 -0
  456. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/help.txt +0 -0
  457. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/inc/name.js +0 -0
  458. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/link-local.js +0 -0
  459. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/link-production.js +0 -0
  460. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/list.js +0 -0
  461. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/remove.js +0 -0
  462. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/rm.js +0 -0
  463. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/use.js +0 -0
  464. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/arguments.json +0 -0
  465. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/check.js +0 -0
  466. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/help.js +0 -0
  467. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/help.txt +0 -0
  468. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/scan.js +0 -0
  469. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/help.js +0 -0
  470. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/help.txt +0 -0
  471. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/list.js +0 -0
  472. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/man.js +0 -0
  473. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/start.js +0 -0
  474. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/arguments.json +0 -0
  475. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/gc.js +0 -0
  476. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/help.txt +0 -0
  477. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/stats.js +0 -0
  478. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/verify.js +0 -0
  479. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/view/add.js +0 -0
  480. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd-status-format/package.json +0 -0
  481. /package/framework/{v0.7.3 → v0.7.4}/lib/cmd-status-format/src/main.js +0 -0
  482. /package/framework/{v0.7.3 → v0.7.4}/lib/collection/README.md +0 -0
  483. /package/framework/{v0.7.3 → v0.7.4}/lib/collection/build.json +0 -0
  484. /package/framework/{v0.7.3 → v0.7.4}/lib/collection/package.json +0 -0
  485. /package/framework/{v0.7.3 → v0.7.4}/lib/conf-view/package.json +0 -0
  486. /package/framework/{v0.7.3 → v0.7.4}/lib/conf-view/src/main.js +0 -0
  487. /package/framework/{v0.7.3 → v0.7.4}/lib/config.js +0 -0
  488. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-config/package.json +0 -0
  489. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-config/src/main.js +0 -0
  490. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-error/package.json +0 -0
  491. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-error/src/main.js +0 -0
  492. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-registry/package.json +0 -0
  493. /package/framework/{v0.7.3 → v0.7.4}/lib/connector-registry/src/main.js +0 -0
  494. /package/framework/{v0.7.3 → v0.7.4}/lib/cron/README.md +0 -0
  495. /package/framework/{v0.7.3 → v0.7.4}/lib/cron/package.json +0 -0
  496. /package/framework/{v0.7.3 → v0.7.4}/lib/cron/src/main.js +0 -0
  497. /package/framework/{v0.7.3 → v0.7.4}/lib/domain/LICENSE +0 -0
  498. /package/framework/{v0.7.3 → v0.7.4}/lib/domain/README.md +0 -0
  499. /package/framework/{v0.7.3 → v0.7.4}/lib/domain/package.json +0 -0
  500. /package/framework/{v0.7.3 → v0.7.4}/lib/domain/src/main.js +0 -0
  501. /package/framework/{v0.7.3 → v0.7.4}/lib/dto/package.json +0 -0
  502. /package/framework/{v0.7.3 → v0.7.4}/lib/dto/src/main.js +0 -0
  503. /package/framework/{v0.7.3 → v0.7.4}/lib/dto-pipe/package.json +0 -0
  504. /package/framework/{v0.7.3 → v0.7.4}/lib/dto-pipe/src/main.js +0 -0
  505. /package/framework/{v0.7.3 → v0.7.4}/lib/dto-types/package.json +0 -0
  506. /package/framework/{v0.7.3 → v0.7.4}/lib/dto-types/src/main.js +0 -0
  507. /package/framework/{v0.7.3 → v0.7.4}/lib/duration/package.json +0 -0
  508. /package/framework/{v0.7.3 → v0.7.4}/lib/duration/src/main.js +0 -0
  509. /package/framework/{v0.7.3 → v0.7.4}/lib/error-ref/package.json +0 -0
  510. /package/framework/{v0.7.3 → v0.7.4}/lib/error-ref/src/main.js +0 -0
  511. /package/framework/{v0.7.3 → v0.7.4}/lib/generator/index.js +0 -0
  512. /package/framework/{v0.7.3 → v0.7.4}/lib/i18n/package.json +0 -0
  513. /package/framework/{v0.7.3 → v0.7.4}/lib/i18n/src/main.js +0 -0
  514. /package/framework/{v0.7.3 → v0.7.4}/lib/idempotency/package.json +0 -0
  515. /package/framework/{v0.7.3 → v0.7.4}/lib/idempotency/src/main.js +0 -0
  516. /package/framework/{v0.7.3 → v0.7.4}/lib/image-build/package.json +0 -0
  517. /package/framework/{v0.7.3 → v0.7.4}/lib/image-build/src/main.js +0 -0
  518. /package/framework/{v0.7.3 → v0.7.4}/lib/index.js +0 -0
  519. /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/LICENSE +0 -0
  520. /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/README.md +0 -0
  521. /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/package.json +0 -0
  522. /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/src/main.js +0 -0
  523. /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-events/package.json +0 -0
  524. /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-events/src/main.js +0 -0
  525. /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-redact/package.json +0 -0
  526. /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-redact/src/main.js +0 -0
  527. /package/framework/{v0.7.3 → v0.7.4}/lib/instrument/package.json +0 -0
  528. /package/framework/{v0.7.3 → v0.7.4}/lib/instrument/src/main.js +0 -0
  529. /package/framework/{v0.7.3 → v0.7.4}/lib/job/package.json +0 -0
  530. /package/framework/{v0.7.3 → v0.7.4}/lib/job-store.js +0 -0
  531. /package/framework/{v0.7.3 → v0.7.4}/lib/json-config-header/package.json +0 -0
  532. /package/framework/{v0.7.3 → v0.7.4}/lib/json-config-header/src/main.js +0 -0
  533. /package/framework/{v0.7.3 → v0.7.4}/lib/kv/package.json +0 -0
  534. /package/framework/{v0.7.3 → v0.7.4}/lib/kv/src/main.js +0 -0
  535. /package/framework/{v0.7.3 → v0.7.4}/lib/kv-store.js +0 -0
  536. /package/framework/{v0.7.3 → v0.7.4}/lib/lane/package.json +0 -0
  537. /package/framework/{v0.7.3 → v0.7.4}/lib/loading-state/package.json +0 -0
  538. /package/framework/{v0.7.3 → v0.7.4}/lib/loading-state/src/main.js +0 -0
  539. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/README.md +0 -0
  540. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/package.json +0 -0
  541. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/default/index.js +0 -0
  542. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/file/index.js +0 -0
  543. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/index.js +0 -0
  544. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/listener.js +0 -0
  545. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/speaker.js +0 -0
  546. /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/helper.js +0 -0
  547. /package/framework/{v0.7.3 → v0.7.4}/lib/maintenance/package.json +0 -0
  548. /package/framework/{v0.7.3 → v0.7.4}/lib/maintenance/src/main.js +0 -0
  549. /package/framework/{v0.7.3 → v0.7.4}/lib/math/index.js +0 -0
  550. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-dispatch/package.json +0 -0
  551. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-dispatch/src/main.js +0 -0
  552. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-http/package.json +0 -0
  553. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-http/src/main.js +0 -0
  554. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-server/package.json +0 -0
  555. /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-server/src/main.js +0 -0
  556. /package/framework/{v0.7.3 → v0.7.4}/lib/merge/README.md +0 -0
  557. /package/framework/{v0.7.3 → v0.7.4}/lib/merge/package.json +0 -0
  558. /package/framework/{v0.7.3 → v0.7.4}/lib/merge/src/main.js +0 -0
  559. /package/framework/{v0.7.3 → v0.7.4}/lib/message-validator/package.json +0 -0
  560. /package/framework/{v0.7.3 → v0.7.4}/lib/message-validator/src/main.js +0 -0
  561. /package/framework/{v0.7.3 → v0.7.4}/lib/metrics/package.json +0 -0
  562. /package/framework/{v0.7.3 → v0.7.4}/lib/metrics/src/main.js +0 -0
  563. /package/framework/{v0.7.3 → v0.7.4}/lib/model.js +0 -0
  564. /package/framework/{v0.7.3 → v0.7.4}/lib/money/package.json +0 -0
  565. /package/framework/{v0.7.3 → v0.7.4}/lib/money/src/main.js +0 -0
  566. /package/framework/{v0.7.3 → v0.7.4}/lib/multipart/package.json +0 -0
  567. /package/framework/{v0.7.3 → v0.7.4}/lib/multipart/src/main.js +0 -0
  568. /package/framework/{v0.7.3 → v0.7.4}/lib/net-locality/package.json +0 -0
  569. /package/framework/{v0.7.3 → v0.7.4}/lib/net-locality/src/main.js +0 -0
  570. /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/README.md +0 -0
  571. /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/package.json +0 -0
  572. /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-resolver/package.json +0 -0
  573. /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-resolver/src/main.js +0 -0
  574. /package/framework/{v0.7.3 → v0.7.4}/lib/priority/package.json +0 -0
  575. /package/framework/{v0.7.3 → v0.7.4}/lib/priority/src/main.js +0 -0
  576. /package/framework/{v0.7.3 → v0.7.4}/lib/push/package.json +0 -0
  577. /package/framework/{v0.7.3 → v0.7.4}/lib/push/src/main.js +0 -0
  578. /package/framework/{v0.7.3 → v0.7.4}/lib/rate-limit/package.json +0 -0
  579. /package/framework/{v0.7.3 → v0.7.4}/lib/rate-limit/src/main.js +0 -0
  580. /package/framework/{v0.7.3 → v0.7.4}/lib/release-watch/package.json +0 -0
  581. /package/framework/{v0.7.3 → v0.7.4}/lib/release-watch/src/main.js +0 -0
  582. /package/framework/{v0.7.3 → v0.7.4}/lib/render-cache/package.json +0 -0
  583. /package/framework/{v0.7.3 → v0.7.4}/lib/render-cache-store.js +0 -0
  584. /package/framework/{v0.7.3 → v0.7.4}/lib/routing/README.md +0 -0
  585. /package/framework/{v0.7.3 → v0.7.4}/lib/routing/build.json +0 -0
  586. /package/framework/{v0.7.3 → v0.7.4}/lib/routing/package.json +0 -0
  587. /package/framework/{v0.7.3 → v0.7.4}/lib/routing-introspect/package.json +0 -0
  588. /package/framework/{v0.7.3 → v0.7.4}/lib/routing-introspect/src/main.js +0 -0
  589. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/package.json +0 -0
  590. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/env.js +0 -0
  591. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/exec.js +0 -0
  592. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/file.js +0 -0
  593. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/declaration.js +0 -0
  594. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/env-file.js +0 -0
  595. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/main.js +0 -0
  596. /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/sources.js +0 -0
  597. /package/framework/{v0.7.3 → v0.7.4}/lib/security-headers-emitter/package.json +0 -0
  598. /package/framework/{v0.7.3 → v0.7.4}/lib/security-headers-emitter/src/main.js +0 -0
  599. /package/framework/{v0.7.3 → v0.7.4}/lib/session-lifetime/package.json +0 -0
  600. /package/framework/{v0.7.3 → v0.7.4}/lib/session-lifetime/src/main.js +0 -0
  601. /package/framework/{v0.7.3 → v0.7.4}/lib/session-store.js +0 -0
  602. /package/framework/{v0.7.3 → v0.7.4}/lib/shell.js +0 -0
  603. /package/framework/{v0.7.3 → v0.7.4}/lib/sri/package.json +0 -0
  604. /package/framework/{v0.7.3 → v0.7.4}/lib/sri/src/main.js +0 -0
  605. /package/framework/{v0.7.3 → v0.7.4}/lib/state.js +0 -0
  606. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/package.json +0 -0
  607. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local-cas.js +0 -0
  608. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local-stream.js +0 -0
  609. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local.js +0 -0
  610. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/main.js +0 -0
  611. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/meta-store.js +0 -0
  612. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/s3.js +0 -0
  613. /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/util.js +0 -0
  614. /package/framework/{v0.7.3 → v0.7.4}/lib/storage-store.js +0 -0
  615. /package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/README.md +0 -0
  616. /package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/package.json +0 -0
  617. /package/framework/{v0.7.3 → v0.7.4}/lib/swig-resolver/package.json +0 -0
  618. /package/framework/{v0.7.3 → v0.7.4}/lib/swig-resolver/src/main.js +0 -0
  619. /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/package.json +0 -0
  620. /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/loaders/http.js +0 -0
  621. /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/loaders/memory.js +0 -0
  622. /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/main.js +0 -0
  623. /package/framework/{v0.7.3 → v0.7.4}/lib/url/README.md +0 -0
  624. /package/framework/{v0.7.3 → v0.7.4}/lib/url/index.js +0 -0
  625. /package/framework/{v0.7.3 → v0.7.4}/lib/url/routing.json +0 -0
  626. /package/framework/{v0.7.3 → v0.7.4}/lib/uuid/package.json +0 -0
  627. /package/framework/{v0.7.3 → v0.7.4}/lib/uuid/src/main.js +0 -0
  628. /package/framework/{v0.7.3 → v0.7.4}/lib/validator.js +0 -0
  629. /package/framework/{v0.7.3 → v0.7.4}/lib/watcher/package.json +0 -0
  630. /package/framework/{v0.7.3 → v0.7.4}/lib/watcher/src/main.js +0 -0
  631. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-framing/package.json +0 -0
  632. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-framing/src/main.js +0 -0
  633. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-query/package.json +0 -0
  634. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-query/src/main.js +0 -0
  635. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-session/package.json +0 -0
  636. /package/framework/{v0.7.3 → v0.7.4}/lib/ws-session/src/main.js +0 -0
@@ -1063,9 +1063,15 @@ function Config(opt, contextResetNeeded) {
1063
1063
  }
1064
1064
 
1065
1065
 
1066
- let name = fName.replace(new RegExp('\.'+ env +'\.json$'), '').replace(new RegExp('\.json$'), '');
1067
- let fNameWithNoExt = fName.replace(/.json$/, '');
1068
- let section = fNameWithNoExt.replace(/(^settings\.|^settings$)/, '').replace(new RegExp('\.'+ env +'$'), '').replace(new RegExp('\.json$'), '');
1066
+ // #B784 — `settings[.<section>][.<env>].json`: strip the `.<env>` suffix BEFORE
1067
+ // the `settings.` prefix. Prefix-first left `settings.<env>.json` with no leading
1068
+ // dot for the env strip, so the whole file nested under a `<env>` key and never
1069
+ // reached the top level. A file for ANOTHER env keeps its suffix in the section
1070
+ // (`server.cache.dev` under prod) and stays inert, as documented.
1071
+ foundEnvVersion = new RegExp('\\.'+ env +'\\.json$').test(fName);
1072
+ let name = fName.replace(new RegExp('\\.'+ env +'\\.json$'), '').replace(/\.json$/, '');
1073
+ let fNameWithNoExt = fName.replace(/\.json$/, '');
1074
+ let section = fNameWithNoExt.replace(new RegExp('\\.'+ env +'$'), '').replace(/(^settings\.|^settings$)/, '');
1069
1075
 
1070
1076
  if (/\-/.test(name)) {
1071
1077
  name = name.replace(/-([a-z])/g, function(g) { return g[1].toUpperCase(); })
@@ -1154,6 +1160,10 @@ function Config(opt, contextResetNeeded) {
1154
1160
  section = section.replace(/-([a-z])/g, function(g) { return g[1].toUpperCase(); })
1155
1161
  }
1156
1162
  mergeConfig(tmpSettings, section, fileContent );
1163
+ } else if ( foundEnvVersion && fileContent && typeof(fileContent) === 'object' ) {
1164
+ // #B784 — the env version of the whole-settings file wins over `settings.json`
1165
+ // whatever the directory order: lib/merge is fill-only, the target wins.
1166
+ tmpSettings = merge(fileContent, tmpSettings);
1157
1167
  } else {
1158
1168
  tmpSettings = merge(tmpSettings, fileContent);
1159
1169
  }
@@ -44,6 +44,68 @@ function ownCount(container) {
44
44
  return Object.prototype.count.call(container);
45
45
  }
46
46
 
47
+ /**
48
+ * #B830 (2026-10-09) — render the control characters of a value as visible escapes before
49
+ * it is written into a log or error message, so a client-supplied value cannot forge a
50
+ * physical log line (CWE-117). The escaped set: C0 (U+0000-U+001F), DEL and C1
51
+ * (U+007F-U+009F), and the line separators U+2028 / U+2029 — every character a terminal or
52
+ * a line-based reader can take for a line break or a control sequence. `\n`, `\r`, `\t`
53
+ * become the two-character sequences; any other character of the set becomes `\uXXXX`;
54
+ * every other character is left untouched, so a value holding none comes back unchanged.
55
+ * Deliberately duplicated — in the logger, core/server.js, core/server.isaac.js,
56
+ * core/controller/controller.js, controller.render-swig.js, helpers/context.js, lib/lane,
57
+ * lib/routing and the validator — the way `escapeForJsonString` is (#B600): the logger is
58
+ * server-side only and two of those files are in the browser bundle, so no single
59
+ * requireable home serves them all without adding a public API surface.
60
+ * `test/lib/log-escape-parity-b830.test.js` fails when a copy drifts. The log redaction
61
+ * reads these escapes back (`lib/logger/src/redact.js`, `decodeView`): a change of the set
62
+ * here is a change there.
63
+ *
64
+ * @inner
65
+ * @param {*} value - Coerced with `String()`.
66
+ * @returns {string} The value with its control characters shown as escapes.
67
+ * @example
68
+ * escapeLogControlChars('a\nb'); // the four characters a \ n b, on one physical line
69
+ */
70
+ function escapeLogControlChars(value) {
71
+ return String(value).replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029]/g, function (c) {
72
+ switch (c) {
73
+ case '\n': return '\\n';
74
+ case '\r': return '\\r';
75
+ case '\t': return '\\t';
76
+ default: return '\\u' + ('000' + c.charCodeAt(0).toString(16)).slice(-4);
77
+ }
78
+ });
79
+ }
80
+
81
+ /**
82
+ * #B830 — render an error detail safe from line-forging while keeping its stack readable:
83
+ * the control characters of every line are escaped, and a REAL line feed is kept only
84
+ * before a line shaped like a V8 stack frame — whitespace, `at`, whitespace, then ANY
85
+ * text — or starting with `caused by:`; any other line feed (the break of a client value)
86
+ * becomes the visible escape. Log-only: the wire copy is shaped separately by the egress
87
+ * gate. Residual, accepted and documented: a value crafted to look like such a line renders
88
+ * as one, since the detail logs a caller-passed stack whole and a crafted frame line cannot
89
+ * be told from a real one.
90
+ *
91
+ * @inner
92
+ * @param {*} detail - The composed error-detail string.
93
+ * @returns {string} The detail with injected line breaks neutralised, frame lines kept.
94
+ * @example
95
+ * escapeLogDetailKeepFrames('Error: a\nb\n at f (x.js:1:1)');
96
+ * // 'Error: a\\nb' + a real line feed + ' at f (x.js:1:1)'
97
+ */
98
+ function escapeLogDetailKeepFrames(detail) {
99
+ if (detail === null || typeof detail === 'undefined') { return ''; }
100
+ var lines = String(detail).split('\n');
101
+ var out = escapeLogControlChars(lines[0]);
102
+ for (var i = 1; i < lines.length; i++) {
103
+ var keep = /^\s+at\s/.test(lines[i]) || /^caused by:/.test(lines[i]);
104
+ out += (keep ? '\n' : '\\n') + escapeLogControlChars(lines[i]);
105
+ }
106
+ return out;
107
+ }
108
+
47
109
  const { Resolver } = require('node:dns').promises;
48
110
 
49
111
  var lib = require('./../../lib') || require.cache[require.resolve('./../../lib')];
@@ -306,7 +368,7 @@ function exposeOptionsOnEngine(engine, opts) {
306
368
  * (they read per-request context from `process.gina._renderALS`, so a shared
307
369
  * engine cannot bleed), and a bundle's own `controllers/setup.js` filters land
308
370
  * here too because `self.engine` points at this instance before setup runs
309
- * (`router.js:944` hands `controller.engine` to the setup module). Two things
371
+ * (`router.js:1079` hands `controller.engine` to the setup module). Two things
310
372
  * the move off the module lost are restored per instance at mint: #B535
311
373
  * bridges the three registration setters back to the module, and #B538 gives
312
374
  * the instance its own `getOptions()` accessor (`exposeOptionsOnEngine`) —
@@ -337,6 +399,71 @@ function getDefaultSwigEngine(swigMod, templateRoot, opts) {
337
399
  }
338
400
  return process.gina._swigDefaultEngines[templateRoot];
339
401
  }
402
+
403
+ /**
404
+ * #B825 — record what a bundle registers on its per-bundle engine, for the
405
+ * async render delegate.
406
+ *
407
+ * A bundle whose templates come from an async swig loader
408
+ * (`settings.template.swig.loader`) renders on an engine the delegate builds
409
+ * itself (`controller.render-swig-async.js`, `getSwigEngine`), and swig gives
410
+ * every instance private filter and tag maps (swig-core `install()`): a filter
411
+ * that `controllers/setup.js` registers through `this.engine` lands on this
412
+ * engine (and, through the #B535 bridge, on the module), never on that one, so a
413
+ * template using it answered `Invalid filter` (500), a tag `Unexpected tag`, and
414
+ * an extension was missing from `_ext`. The maps cannot be copied out later, so
415
+ * each registration is recorded as it is made, and the delegate replays the
416
+ * record onto its engine whenever it changed (`replayBundleRegistrations`).
417
+ *
418
+ * Wraps the three setters as they are, the #B535 bridge included: a
419
+ * registration still reaches the instance and the module first, and the
420
+ * setter's own validation throws before anything is recorded. Idempotent per
421
+ * instance. Installed by `setOptions` only for a bundle with an async swig
422
+ * loader; the default render path never reads the record.
423
+ *
424
+ * @inner
425
+ * @param {*} engine - A per-bundle `new swigMod.Swig()` instance
426
+ * @returns {*} the same instance, its setters recording into `engine._ginaRegistrations`
427
+ * (`{ rev, filters, tags, extensions }`, `rev` incremented on every registration)
428
+ *
429
+ * @example
430
+ * var engine = recordRegistrations(getDefaultSwigEngine(swig, dir, swigOptions));
431
+ * engine.setFilter('stamp', fn); // engine._ginaRegistrations.filters.stamp === fn
432
+ */
433
+ function recordRegistrations(engine) {
434
+ if (engine._ginaRegistrations) {
435
+ return engine;
436
+ }
437
+ var record = {
438
+ rev : 0,
439
+ filters : Object.create(null),
440
+ tags : Object.create(null),
441
+ extensions: Object.create(null)
442
+ };
443
+ var _setFilter = engine.setFilter;
444
+ var _setTag = engine.setTag;
445
+ var _setExtension = engine.setExtension;
446
+ engine.setFilter = function (name, method) {
447
+ var result = _setFilter.apply(engine, arguments);
448
+ record.filters[name] = method;
449
+ record.rev++;
450
+ return result;
451
+ };
452
+ engine.setTag = function (name, parse, compile, ends, blockLevel) {
453
+ var result = _setTag.apply(engine, arguments);
454
+ record.tags[name] = { parse: parse, compile: compile, ends: ends, blockLevel: blockLevel };
455
+ record.rev++;
456
+ return result;
457
+ };
458
+ engine.setExtension = function (name, object) {
459
+ var result = _setExtension.apply(engine, arguments);
460
+ record.extensions[name] = object;
461
+ record.rev++;
462
+ return result;
463
+ };
464
+ engine._ginaRegistrations = record;
465
+ return engine;
466
+ }
340
467
  const { type } = require('node:os');
341
468
  var SwigFilters = lib.SwigFilters;
342
469
  var statusCodes = requireJSON( _( getPath('gina').core + '/status.codes') );
@@ -917,6 +1044,20 @@ function SuperController(options) {
917
1044
  this.setOptions = function(req, res, next, options) {
918
1045
  // #M1 — each request has its own `local` closure; overwrite directly.
919
1046
  local.options = options;
1047
+ // #B519 — register THIS request's options and error responder on its own store
1048
+ // (core/server.js handle() runs every dispatch inside process.gina._reqALS), so a
1049
+ // template filter called in this request with no render store of its own — a
1050
+ // template run in an action outside a render delegate — resolves this request's
1051
+ // context instead of a process-wide slot. Two property writes, no allocation.
1052
+ // The identity test keeps a controller built on another request object (a
1053
+ // synthetic one, a test instance) from registering on a store that is not its own.
1054
+ var _reqStore = ( typeof(process) != 'undefined' && process.gina && process.gina._reqALS )
1055
+ ? process.gina._reqALS.getStore()
1056
+ : null;
1057
+ if ( _reqStore && _reqStore.req === req ) {
1058
+ _reqStore.options = options;
1059
+ _reqStore.throwError = self.throwError;
1060
+ }
920
1061
  local.options.renderingStack = (local.options.renderingStack) ? local.options.renderingStack : [];
921
1062
  local.options.isRenderingCustomError = (local.options.isRenderingCustomError) ? local.options.isRenderingCustomError : false;
922
1063
 
@@ -1639,6 +1780,23 @@ function SuperController(options) {
1639
1780
  local._swigEngine = ( dir && typeof(swig.Swig) === 'function' )
1640
1781
  ? getDefaultSwigEngine(swig, dir, swigOptions)
1641
1782
  : swig;
1783
+ // #B825 — a bundle whose templates come from an async swig loader renders
1784
+ // on the async delegate's own engine, which never sees what setup.js
1785
+ // registers on this one: record the registrations, and the delegate replays
1786
+ // them. The test is the one render() uses to pick the async delegate; a
1787
+ // bundle without an async loader keeps this engine untouched.
1788
+ var _asyncRoot = local.options.conf && local.options.conf.content
1789
+ && local.options.conf.content.templates && local.options.conf.content.templates._common
1790
+ && local.options.conf.content.templates._common.html;
1791
+ if (
1792
+ local._swigEngine !== swig
1793
+ && _asyncRoot && typeof(process.gina) != 'undefined' && process.gina
1794
+ && process.gina._swigLoaders && process.gina._swigLoaders[_asyncRoot]
1795
+ && process.gina._swigLoaders[_asyncRoot].loader
1796
+ && process.gina._swigLoaders[_asyncRoot].loader.async === true
1797
+ ) {
1798
+ recordRegistrations(local._swigEngine);
1799
+ }
1642
1800
  // Must precede controllers/setup.js: router.js hands `controller.engine`
1643
1801
  // to the setup module, so a bundle's own filters register HERE.
1644
1802
  self.engine = local._swigEngine;
@@ -2121,9 +2279,30 @@ function SuperController(options) {
2121
2279
 
2122
2280
 
2123
2281
 
2282
+ /**
2283
+ * Tells redirect() whether its target is an absolute URL rather than a
2284
+ * route name.
2285
+ *
2286
+ * #B794 — the first test requires a dot in the host, so an absolute URL on
2287
+ * a dot-less host (`http://localhost:3100/…`, a single-label host such as a
2288
+ * container service name, a bracketed IPv6 address) failed it, and
2289
+ * redirect() treated the URL as a route name and answered 404. The second
2290
+ * test accepts any `scheme://host[:port]` followed by a path, a query, a
2291
+ * fragment or the end. It is anchored, so a route name or a relative path,
2292
+ * neither of which starts with a scheme, is still refused, and every value
2293
+ * the first test accepts is still accepted.
2294
+ *
2295
+ * @inner
2296
+ * @param {string} url - redirect target
2297
+ * @returns {boolean} `true` for an absolute http, https, ftp or sftp URL
2298
+ */
2124
2299
  var isValidURL = function(url){
2125
2300
  // var re = /(http|ftp|https|sftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?/;
2126
- return (/(http|ftp|https|sftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?/.test(url)) ? true : false;
2301
+ // was: return (/(http|ftp|https|sftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?/.test(url)) ? true : false;
2302
+ return (
2303
+ /(http|ftp|https|sftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?/.test(url)
2304
+ || /^(http|ftp|https|sftp):\/\/(\[[0-9a-fA-F:.]+\]|[\w-]+)(:\d+)?([\/?#]|$)/.test(url)
2305
+ ) ? true : false;
2127
2306
  }
2128
2307
 
2129
2308
  /**
@@ -2137,16 +2316,22 @@ function SuperController(options) {
2137
2316
  *
2138
2317
  * The render delegates (controller.render-swig.js,
2139
2318
  * controller.render-nunjucks.js) read `localOptions._templateOverride`
2140
- * and use it verbatim under the templates root — with no namespace
2319
+ * and join it under the section's template root (`html` in
2320
+ * templates.json, `templates/html` by default) — with no namespace
2141
2321
  * prefixing — before falling back to `data.page.view.file`/`.ext`.
2322
+ * The resolved path must stay inside that root (#B867): a value that
2323
+ * resolves outside it (a `..` segment, a backslash-separated `..`, an
2324
+ * absolute path) makes the render answer 500 instead of reading the file,
2325
+ * so a request value can be passed here without leaving the root.
2142
2326
  * Setting this after `setOptions()` has already populated
2143
2327
  * `data.page.view.*` is the supported way to redirect rendering from
2144
2328
  * inside an action — that eviction-order is otherwise unreachable from
2145
2329
  * controller code because `local.options` is closure-private.
2146
2330
  *
2147
2331
  * @memberof BaseController
2148
- * @param {string} file - Template path relative to the bundle's
2149
- * templates root (no extension; pass `ext` separately).
2332
+ * @param {string} file - Template path relative to the section's template
2333
+ * root (no extension; pass `ext` separately). It must
2334
+ * resolve inside that root.
2150
2335
  * @param {string} [ext] - File extension (with or without leading dot).
2151
2336
  * Defaults to whatever `data.page.view.ext` carries.
2152
2337
  * @returns {void}
@@ -2154,7 +2339,7 @@ function SuperController(options) {
2154
2339
  * // Catch-all action dispatching to a template chosen at runtime:
2155
2340
  * this.catchAll = function (req, res, next) {
2156
2341
  * var self = this;
2157
- * self.setTemplate('errors/' + res.statusCode); // → templates/errors/404(.html)
2342
+ * self.setTemplate('errors/' + res.statusCode); // → templates/html/errors/404.html
2158
2343
  * self.render({ message: 'Not found' });
2159
2344
  * };
2160
2345
  */
@@ -2457,6 +2642,11 @@ function SuperController(options) {
2457
2642
  hasViews : hasViews,
2458
2643
  setResources: setResources,
2459
2644
  swig : (local._swigEngine || swig),
2645
+ // #B808 — the swig MODULE, for the async delegate: it builds an engine of its
2646
+ // own with `new swigMod.Swig({ loader })`, and `swig` above has been the bundle's
2647
+ // engine INSTANCE since #B514 (0.6.30), which has no `.Swig` — every render of a
2648
+ // bundle with an async loader threw `swigMod.Swig is not a constructor` (500).
2649
+ swigModule : swig,
2460
2650
  SwigFilters : SwigFilters,
2461
2651
  headersSent : headersSent
2462
2652
  }); //(userData, displayInspector, errOptions)
@@ -3853,7 +4043,8 @@ function SuperController(options) {
3853
4043
  }
3854
4044
  if ( _droppedCarry.length > 0 ) {
3855
4045
  // Names only, never values — not carrying them is the whole point.
3856
- console.debug('[ Controller ] redirect(): credential-class field(s) not carried across the redirect: '+ _droppedCarry.join(', '));
4046
+ // #B830 — a key name is the client's text too: its control characters are written as visible escapes
4047
+ console.debug('[ Controller ] redirect(): credential-class field(s) not carried across the redirect: '+ escapeLogControlChars(_droppedCarry.join(', ')));
3857
4048
  }
3858
4049
  requestParams = _carriedParams;
3859
4050
  // #B546 — shadow-proof own-property count; see the note in setOptions().
@@ -9052,8 +9243,18 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9052
9243
  * ref. The HTML surfaces (custom error page `eData.ref` + the inline
9053
9244
  * fallback page) carry the same ref.
9054
9245
  *
9246
+ * #B518 — the one-argument form keeps the error's own `message` and a
9247
+ * relay-safe `ref`, as the two- and three-argument forms do: a plain
9248
+ * object's `message` reaches the JSON body, the fallback page and the
9249
+ * #ERRREF line, and a `ref` on a plain object or on an Error is honoured.
9250
+ * A `self.query()` error relayed with `return self.throwError(err)` thus
9251
+ * answers with the upstream's sentence, under the ref of the upstream's
9252
+ * log line. In this form `error` carries the object's own `error`, or its
9253
+ * `message` when it has none (an Error's message included); in the two-
9254
+ * and three-argument forms it carries the status text.
9255
+ *
9055
9256
  * Polymorphic signatures:
9056
- * - `throwError(err)` — Error instance or errorObj `{status, error, ...}`
9257
+ * - `throwError(err)` — Error instance or errorObj `{status, error, message, ref, ...}`
9057
9258
  * - `throwError(code, err)` — 2-arg form: HTTP status + Error|string
9058
9259
  * - `throwError(res, code, msg)` — internal 3-arg form used by the router
9059
9260
  *
@@ -9063,6 +9264,16 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9063
9264
  * wire body, so those keys ride the JSON envelope alongside
9064
9265
  * `status`/`error`/`ref`.
9065
9266
  *
9267
+ * Fallback: an error object carrying `fallback` — a URL string, or a route
9268
+ * object from `lib.routing.getRoute()` — is answered by a redirect to it
9269
+ * instead of an error response, when the request is an XHR request or the
9270
+ * route renders no template. The redirect answers as redirects do: the
9271
+ * current route's status (301 by default), a 303 when the method is unsafe
9272
+ * (the request switches to GET), and the `isXhrRedirect` JSON for an XHR
9273
+ * request that carries params or comes from a popin (#B783: that JSON used
9274
+ * to be lost, because the controller was still marked as processing an
9275
+ * error when it was written).
9276
+ *
9066
9277
  * #CE1 — transient upgrade (opt-in): when the bundle sets
9067
9278
  * `server.transientErrors.enabled: true` and any call argument carries
9068
9279
  * `isTransient === true` (a `lib/connector-error`-stamped datastore
@@ -9092,6 +9303,20 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9092
9303
  *
9093
9304
  * @returns {void|boolean} `false` when the call is ignored (nested
9094
9305
  * rendering stack, or a late call on a released response)
9306
+ *
9307
+ * @example
9308
+ * // relay another bundle's error: its status, message and ref are kept
9309
+ * self.query(options, function (err, data) {
9310
+ * if (err) { return self.throwError(err); }
9311
+ * self.renderJSON(data);
9312
+ * });
9313
+ *
9314
+ * @example
9315
+ * return self.throwError(404, 'Not found');
9316
+ *
9317
+ * @example
9318
+ * // one error object: its status, its message and a relay-safe ref are kept
9319
+ * return self.throwError({ status: 502, message: 'upstream refused', ref: 'ORDER-42' });
9095
9320
  * */
9096
9321
  this.throwError = function(res, code, msg) {
9097
9322
 
@@ -9215,7 +9440,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9215
9440
  } catch (_b44JsonErr) {
9216
9441
  _b44LateErrorStr = String(_b44LateError);
9217
9442
  }
9218
- console.warn('[ Controller ] throwError() called after the response was released — ignoring late error: '+ _b44LateErrorStr);
9443
+ console.warn('[ Controller ] throwError() called after the response was released — ignoring late error: '+ escapeLogDetailKeepFrames(_b44LateErrorStr));
9219
9444
  return false;
9220
9445
  }
9221
9446
 
@@ -9273,7 +9498,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9273
9498
  if (res.message && typeof(res.message) == 'string') {
9274
9499
  errorObject.message = res.message;
9275
9500
  } else if (res.message) {
9276
- console.warn('[ Controller ] Ignoring message because of the format.\n'+res.message)
9501
+ console.warn('[ Controller ] Ignoring message because of the format.\n'+ escapeLogControlChars(res.message))
9277
9502
  }
9278
9503
 
9279
9504
  // ApiError merge
@@ -9319,6 +9544,28 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9319
9544
  errorObject = merge(arguments[arguments.length-1], errorObject)
9320
9545
  }
9321
9546
 
9547
+ // #B518 — a ONE-argument error object keeps its `message` and its `ref`.
9548
+ // The build above keeps only `status` and `error` of a plain object, and
9549
+ // only `message` and `stack` of an Error, so a plain object's sentence
9550
+ // never reached the body or the log line, and a `ref` on either was
9551
+ // replaced by a fresh one. That broke the relay between bundles:
9552
+ // `self.query()` hands its callback the upstream's error body as a plain
9553
+ // object, and `return self.throwError(err)` answered without the
9554
+ // upstream's sentence, under a ref that matched no upstream log line. The
9555
+ // two- and three-argument forms already carried both. `error` is left as
9556
+ // built. Both values are checked downstream like any other: the ref is
9557
+ // honoured only when relay-safe, and a message carrying a stack keeps its
9558
+ // first line outside the local scope (#B670). After the ApiError merge
9559
+ // above `errorObject` IS the caller's object, so nothing is written there.
9560
+ if ( arguments.length == 1 && res && typeof(res) == 'object' ) {
9561
+ if ( typeof(errorObject.message) == 'undefined' && typeof(res.message) == 'string' && res.message != '' ) {
9562
+ errorObject.message = res.message;
9563
+ }
9564
+ if ( typeof(errorObject.ref) == 'undefined' && typeof(res.ref) != 'undefined' ) {
9565
+ errorObject.ref = res.ref;
9566
+ }
9567
+ }
9568
+
9322
9569
  if ( typeof(res.fallback) != 'undefined' ) {
9323
9570
  fallback = res.fallback
9324
9571
  }
@@ -9362,7 +9609,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9362
9609
  } catch (_lateJsonErr) {
9363
9610
  _lateErrorStr = String(_lateError);
9364
9611
  }
9365
- console.warn('[ Controller ] throwError() called after the response was released — ignoring late error: '+ _lateErrorStr);
9612
+ console.warn('[ Controller ] throwError() called after the response was released — ignoring late error: '+ escapeLogDetailKeepFrames(_lateErrorStr));
9366
9613
  return false;
9367
9614
  }
9368
9615
  if ( typeof(res.getHeaders) == 'undefined' && typeof(res.stream) != 'undefined' ) {
@@ -9383,6 +9630,13 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9383
9630
  if ( self.isXMLRequest() || !hasViews() && !/delete/i.test(req.method) || !local.options.isUsingTemplate && !hasViews() || hasViews() && !local.options.isUsingTemplate ) {
9384
9631
  // fallback interception
9385
9632
  if ( fallback ) {
9633
+ // #B783 — the error is not answered here: it is handed to redirect(),
9634
+ // which answers an XHR request (one carrying params, or a popin) through
9635
+ // renderJSON(). renderJSON() writes nothing while the controller is
9636
+ // marked as processing an error, so with the mark still set such a
9637
+ // request was never answered. Clear the mark before the hand-off: from
9638
+ // here on the request is answered by redirect(), not as an error.
9639
+ self.isProcessingError = false;
9386
9640
  if ( typeof(fallback) == 'string' ){ // string url: user provided
9387
9641
  return self.redirect( fallback, true )
9388
9642
  } else {
@@ -9501,7 +9755,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9501
9755
  if ( msg && typeof(msg) == 'object' && msg.cause ) {
9502
9756
  _errDetail += '\ncaused by: '+ ( msg.cause.stack || msg.cause.message || msg.cause );
9503
9757
  }
9504
- console.error('[ BUNDLE ][ '+ bundleConf.bundle +' ][ Controller ][ ref '+ errorObject.ref +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ ( errorObject.status || res.statusCode ) +' ] '+ req.url + ( _errDetail ? '\n'+ _errDetail : '' ));
9758
+ console.error('[ BUNDLE ][ '+ bundleConf.bundle +' ][ Controller ][ ref '+ errorObject.ref +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ ( errorObject.status || res.statusCode ) +' ] '+ req.url + ( _errDetail ? '\n'+ escapeLogDetailKeepFrames(_errDetail) : '' ));
9505
9759
 
9506
9760
  // Fail-closed: strip server-side stack from the JSON wire outside
9507
9761
  // local scope so file paths, library versions, and internal stack
@@ -9591,7 +9845,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9591
9845
  _logMsg += '\n'+ errorObject[_logKeys[_lk]];
9592
9846
  }
9593
9847
  }
9594
- console.error('[ ref '+ _errRef +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ errorObject.status +' ] '+ req.url + '\n'+ _logMsg);
9848
+ console.error('[ ref '+ _errRef +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ errorObject.status +' ] '+ req.url + '\n'+ escapeLogDetailKeepFrames(_logMsg));
9595
9849
  } else if ( msg && typeof(msg) == 'object' ) {
9596
9850
  // #B670 — the (res, code, errorObj) shape reaches this branch with no
9597
9851
  // errorObject, so no line paired the ref the page renders. Log the
@@ -9602,7 +9856,7 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
9602
9856
  _msgLog += ( _msgLog ? '\n' : '' ) + msg[_msgKeys[_mk]];
9603
9857
  }
9604
9858
  }
9605
- console.error('[ ref '+ _errRef +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ code +' ] '+ req.url + ( _msgLog ? '\n'+ _msgLog : '' ));
9859
+ console.error('[ ref '+ _errRef +' ][ req '+ ( ( req && req._ginaReqId ) || '-' ) +' ] '+ req.method +' [ '+ code +' ] '+ req.url + ( _msgLog ? '\n'+ escapeLogDetailKeepFrames(_msgLog) : '' ));
9606
9860
  }
9607
9861
 
9608
9862
  // #B670 — outside local scope the page (the inline fallback page, or a
@@ -542,9 +542,16 @@ module.exports = function renderJSON(jsonObj, deps) {
542
542
  });
543
543
  }
544
544
 
545
- // Cache-Control: miss path — inform browsers/CDNs of the response lifetime (#C6)
545
+ // Cache-Control: miss path — inform browsers/CDNs of the response lifetime (#C6).
546
+ // #B744 — on the write's own gate: the server cache on, a GET, a route `cache`.
547
+ // With the switch off nothing stores this render, so the browser is not told
548
+ // to reuse it either (dev with the cache off; an event-invalidated route).
546
549
  var _cc = null;
547
- if ( typeof(request.routing.cache) != 'undefined' && request.routing.cache ) {
550
+ if (
551
+ /^true$/i.test(self.serverInstance._cacheIsEnabled)
552
+ && /^GET$/i.test(request.method)
553
+ && typeof(request.routing.cache) != 'undefined' && request.routing.cache
554
+ ) {
548
555
  var _ccCfg = ( typeof(request.routing.cache) == 'string' ) ? { type: request.routing.cache } : request.routing.cache;
549
556
  var _ccTtl = ( typeof(_ccCfg.ttl) != 'undefined' && _ccCfg.ttl > 0 ) ? _ccCfg.ttl : local.options.conf.server.cache.ttl;
550
557
  if ( _ccTtl > 0 ) {