gina 0.7.10 → 0.7.11

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 (641) hide show
  1. package/CHANGELOG.md +37 -1
  2. package/README.md +59 -27
  3. package/ROADMAP.md +2 -0
  4. package/framework/v0.7.11/VERSION +1 -0
  5. package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.js +533 -34
  6. package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js +768 -0
  7. package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  8. package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  9. package/framework/{v0.7.10 → v0.7.11}/core/config.js +51 -11
  10. package/framework/v0.7.11/core/config.param-bindings.js +159 -0
  11. package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.js +341 -31
  12. package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig.js +187 -46
  13. package/framework/v0.7.11/core/controller/layout-source.js +158 -0
  14. package/framework/{v0.7.10 → v0.7.11}/core/gna.js +18 -0
  15. package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/main.js +319 -4
  16. package/framework/{v0.7.10 → v0.7.11}/core/router.js +50 -3
  17. package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.js +9 -0
  18. package/framework/{v0.7.10 → v0.7.11}/core/server.js +23 -0
  19. package/framework/{v0.7.10 → v0.7.11}/lib/i18n/src/main.js +22 -4
  20. package/framework/{v0.7.10 → v0.7.11}/lib/index.js +6 -0
  21. package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/main.js +25 -1
  22. package/framework/{v0.7.10 → v0.7.11}/lib/metrics/src/main.js +81 -2
  23. package/framework/{v0.7.10 → v0.7.11}/lib/routing/src/main.js +14 -4
  24. package/framework/v0.7.11/lib/stall-watchdog/package.json +20 -0
  25. package/framework/v0.7.11/lib/stall-watchdog/src/detector.js +76 -0
  26. package/framework/v0.7.11/lib/stall-watchdog/src/frames.js +197 -0
  27. package/framework/v0.7.11/lib/stall-watchdog/src/main.js +743 -0
  28. package/framework/v0.7.11/lib/stall-watchdog/src/worker.js +788 -0
  29. package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/s3.js +65 -10
  30. package/framework/{v0.7.10 → v0.7.11}/package.json +1 -1
  31. package/gna.js +4 -4
  32. package/llms.txt +20 -18
  33. package/package.json +6 -6
  34. package/schema/settings.json +36 -0
  35. package/types/index.d.ts +31 -0
  36. package/framework/v0.7.10/VERSION +0 -1
  37. package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -758
  38. package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  39. package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  40. /package/framework/{v0.7.10 → v0.7.11}/AUTHORS +0 -0
  41. /package/framework/{v0.7.10 → v0.7.11}/LICENSE +0 -0
  42. /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/nolayout.html +0 -0
  43. /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/static.html +0 -0
  44. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-192x192.png +0 -0
  45. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-512x512.png +0 -0
  46. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/apple-touch-icon.png +0 -0
  47. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-16x16.png +0 -0
  48. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-32x32.png +0 -0
  49. /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon.ico +0 -0
  50. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/README.md +0 -0
  51. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  52. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  53. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  54. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  55. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  56. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  57. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  58. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  59. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  60. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  61. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  62. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  63. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  64. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  65. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  66. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  67. /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  68. /package/framework/{v0.7.10 → v0.7.11}/core/config.requirements-anchor.js +0 -0
  69. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/index.js +0 -0
  70. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/lib/connector.js +0 -0
  71. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/index.js +0 -0
  72. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.js +0 -0
  73. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  74. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  75. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/n1ql.js +0 -0
  76. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.js +0 -0
  77. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  78. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  79. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/storage-store.js +0 -0
  80. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/index.js +0 -0
  81. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/lib/connector.js +0 -0
  82. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/index.js +0 -0
  83. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/connector.js +0 -0
  84. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/job-store.js +0 -0
  85. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  86. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/session-store.js +0 -0
  87. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/index.js +0 -0
  88. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/lib/connector.js +0 -0
  89. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/param-redact.js +0 -0
  90. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/index.js +0 -0
  91. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/lib/connector.js +0 -0
  92. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/index.js +0 -0
  93. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/connector.js +0 -0
  94. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/job-store.js +0 -0
  95. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/kv-store.js +0 -0
  96. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/render-cache-store.js +0 -0
  97. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/session-store.js +0 -0
  98. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/index.js +0 -0
  99. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/connector.js +0 -0
  100. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/session-store.js +0 -0
  101. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/settle-once.js +0 -0
  102. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sql-parser.js +0 -0
  103. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/index.js +0 -0
  104. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/connector.js +0 -0
  105. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/job-store.js +0 -0
  106. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/kv-store.js +0 -0
  107. /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/session-store.js +0 -0
  108. /package/framework/{v0.7.10 → v0.7.11}/core/content.encoding +0 -0
  109. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.framework.js +0 -0
  110. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-json.js +0 -0
  111. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks-async.js +0 -0
  112. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks.js +0 -0
  113. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-stream.js +0 -0
  114. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig-async.js +0 -0
  115. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-v1.js +0 -0
  116. /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-xml.js +0 -0
  117. /package/framework/{v0.7.10 → v0.7.11}/core/controller/index.js +0 -0
  118. /package/framework/{v0.7.10 → v0.7.11}/core/controller/inline-script.js +0 -0
  119. /package/framework/{v0.7.10 → v0.7.11}/core/controller/inspector-window-emit.js +0 -0
  120. /package/framework/{v0.7.10 → v0.7.11}/core/controller/preload-hints.js +0 -0
  121. /package/framework/{v0.7.10 → v0.7.11}/core/controller/release-banner.js +0 -0
  122. /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-data.js +0 -0
  123. /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-session.js +0 -0
  124. /package/framework/{v0.7.10 → v0.7.11}/core/dev/index.js +0 -0
  125. /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/class.js +0 -0
  126. /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/factory.js +0 -0
  127. /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/tools.js +0 -0
  128. /package/framework/{v0.7.10 → v0.7.11}/core/locales/README.md +0 -0
  129. /package/framework/{v0.7.10 → v0.7.11}/core/locales/currency.json +0 -0
  130. /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/en.json +0 -0
  131. /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/fr.json +0 -0
  132. /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/en.json +0 -0
  133. /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/fr.json +0 -0
  134. /package/framework/{v0.7.10 → v0.7.11}/core/locales/index.js +0 -0
  135. /package/framework/{v0.7.10 → v0.7.11}/core/mime.types +0 -0
  136. /package/framework/{v0.7.10 → v0.7.11}/core/model/entity.js +0 -0
  137. /package/framework/{v0.7.10 → v0.7.11}/core/model/index.js +0 -0
  138. /package/framework/{v0.7.10 → v0.7.11}/core/model/template/entityFactory.js +0 -0
  139. /package/framework/{v0.7.10 → v0.7.11}/core/model/template/index.js +0 -0
  140. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/README.md +0 -0
  141. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/index.js +0 -0
  142. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/README.md +0 -0
  143. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/package.json +0 -0
  144. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/src/main.js +0 -0
  145. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/README.md +0 -0
  146. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/README.md +0 -0
  147. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/package.json +0 -0
  148. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  149. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/README.md +0 -0
  150. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/package.json +0 -0
  151. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  152. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/README.md +0 -0
  153. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/package.json +0 -0
  154. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  155. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/README.md +0 -0
  156. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/package.json +0 -0
  157. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  158. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  159. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  160. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  161. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  162. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  163. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  164. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  165. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  166. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  167. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/package.json +0 -0
  168. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  169. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  170. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  171. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/src/main.js +0 -0
  172. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  173. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  174. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  175. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  176. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  177. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  178. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  179. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  180. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  181. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  182. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  183. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  184. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  185. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  186. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  187. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  188. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  189. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  190. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/README.md +0 -0
  191. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/package.json +0 -0
  192. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/src/main.js +0 -0
  193. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/README.md +0 -0
  194. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/build.json +0 -0
  195. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/package.json +0 -0
  196. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/src/main.js +0 -0
  197. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/README.md +0 -0
  198. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/build.json +0 -0
  199. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/package.json +0 -0
  200. /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/form-validator.js +0 -0
  201. /package/framework/{v0.7.10 → v0.7.11}/core/server.express.js +0 -0
  202. /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.early-answer.js +0 -0
  203. /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.rapid-reset.js +0 -0
  204. /package/framework/{v0.7.10 → v0.7.11}/core/server.route-candidates.js +0 -0
  205. /package/framework/{v0.7.10 → v0.7.11}/core/status.codes +0 -0
  206. /package/framework/{v0.7.10 → v0.7.11}/core/template/_gitignore +0 -0
  207. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/app.json +0 -0
  208. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  209. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/routing.json +0 -0
  210. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.json +0 -0
  211. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  212. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/templates.json +0 -0
  213. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  214. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  215. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  216. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  217. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/index.js +0 -0
  218. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/locales/en.json +0 -0
  219. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  220. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  221. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  222. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  223. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  224. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  225. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  226. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  227. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/readme.md +0 -0
  228. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/sw.js +0 -0
  229. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  230. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  231. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  232. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  233. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  234. /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  235. /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.bat.tpl +0 -0
  236. /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.tpl +0 -0
  237. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/env.json +0 -0
  238. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/manifest.json +0 -0
  239. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/package.json +0 -0
  240. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/settings.json +0 -0
  241. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/statics.json +0 -0
  242. /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/templates.json +0 -0
  243. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/401.json +0 -0
  244. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/403.json +0 -0
  245. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/404.json +0 -0
  246. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/html/50x.html +0 -0
  247. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/500.json +0 -0
  248. /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/503.json +0 -0
  249. /package/framework/{v0.7.10 → v0.7.11}/core/template/extensions/logger/config.json +0 -0
  250. /package/framework/{v0.7.10 → v0.7.11}/helpers/console.js +0 -0
  251. /package/framework/{v0.7.10 → v0.7.11}/helpers/context.js +0 -0
  252. /package/framework/{v0.7.10 → v0.7.11}/helpers/data/LICENSE +0 -0
  253. /package/framework/{v0.7.10 → v0.7.11}/helpers/data/README.md +0 -0
  254. /package/framework/{v0.7.10 → v0.7.11}/helpers/data/package.json +0 -0
  255. /package/framework/{v0.7.10 → v0.7.11}/helpers/data/src/main.js +0 -0
  256. /package/framework/{v0.7.10 → v0.7.11}/helpers/dateFormat.js +0 -0
  257. /package/framework/{v0.7.10 → v0.7.11}/helpers/index.js +0 -0
  258. /package/framework/{v0.7.10 → v0.7.11}/helpers/json/LICENSE +0 -0
  259. /package/framework/{v0.7.10 → v0.7.11}/helpers/json/README.md +0 -0
  260. /package/framework/{v0.7.10 → v0.7.11}/helpers/json/package.json +0 -0
  261. /package/framework/{v0.7.10 → v0.7.11}/helpers/json/src/main.js +0 -0
  262. /package/framework/{v0.7.10 → v0.7.11}/helpers/path.js +0 -0
  263. /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/README.md +0 -0
  264. /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/package.json +0 -0
  265. /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/api-error.js +0 -0
  266. /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/main.js +0 -0
  267. /package/framework/{v0.7.10 → v0.7.11}/helpers/prototypes.js +0 -0
  268. /package/framework/{v0.7.10 → v0.7.11}/helpers/task.js +0 -0
  269. /package/framework/{v0.7.10 → v0.7.11}/helpers/text.js +0 -0
  270. /package/framework/{v0.7.10 → v0.7.11}/lib/admin/package.json +0 -0
  271. /package/framework/{v0.7.10 → v0.7.11}/lib/admin/src/main.js +0 -0
  272. /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/README.md +0 -0
  273. /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/build.json +0 -0
  274. /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/package.json +0 -0
  275. /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/dep/jszip.min.js +0 -0
  276. /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/main.js +0 -0
  277. /package/framework/{v0.7.10 → v0.7.11}/lib/async/package.json +0 -0
  278. /package/framework/{v0.7.10 → v0.7.11}/lib/async/src/main.js +0 -0
  279. /package/framework/{v0.7.10 → v0.7.11}/lib/audit/package.json +0 -0
  280. /package/framework/{v0.7.10 → v0.7.11}/lib/audit/src/main.js +0 -0
  281. /package/framework/{v0.7.10 → v0.7.11}/lib/audit-store.js +0 -0
  282. /package/framework/{v0.7.10 → v0.7.11}/lib/authn/package.json +0 -0
  283. /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/lockout.js +0 -0
  284. /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/main.js +0 -0
  285. /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/totp.js +0 -0
  286. /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/package.json +0 -0
  287. /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/src/main.js +0 -0
  288. /package/framework/{v0.7.10 → v0.7.11}/lib/cache/README.md +0 -0
  289. /package/framework/{v0.7.10 → v0.7.11}/lib/cache/build.json +0 -0
  290. /package/framework/{v0.7.10 → v0.7.11}/lib/cache/package.json +0 -0
  291. /package/framework/{v0.7.10 → v0.7.11}/lib/cache/src/main.js +0 -0
  292. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/aliases.json +0 -0
  293. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/arguments.json +0 -0
  294. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/help.txt +0 -0
  295. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/verify.js +0 -0
  296. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/add.js +0 -0
  297. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/arguments.json +0 -0
  298. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/build.js +0 -0
  299. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/copy.js +0 -0
  300. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/cp.js +0 -0
  301. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.js +0 -0
  302. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.txt +0 -0
  303. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  304. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  305. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name.js +0 -0
  306. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/start-status.js +0 -0
  307. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/list.js +0 -0
  308. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/man.js +0 -0
  309. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp-start.js +0 -0
  310. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp.js +0 -0
  311. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/oas.js +0 -0
  312. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/openapi.js +0 -0
  313. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/remove.js +0 -0
  314. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rename.js +0 -0
  315. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/restart.js +0 -0
  316. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rm.js +0 -0
  317. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/start.js +0 -0
  318. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/status.js +0 -0
  319. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/stop.js +0 -0
  320. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/types.js +0 -0
  321. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/arguments.json +0 -0
  322. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/clear.js +0 -0
  323. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/help.txt +0 -0
  324. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/stats.js +0 -0
  325. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/add.js +0 -0
  326. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/arguments.json +0 -0
  327. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.js +0 -0
  328. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.txt +0 -0
  329. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/infer.js +0 -0
  330. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/list.js +0 -0
  331. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/migrate.js +0 -0
  332. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/models.js +0 -0
  333. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/remove.js +0 -0
  334. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/rm.js +0 -0
  335. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/test.js +0 -0
  336. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/arguments.json +0 -0
  337. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.js +0 -0
  338. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.txt +0 -0
  339. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/man.js +0 -0
  340. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/ps.js +0 -0
  341. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/stop.js +0 -0
  342. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/add.js +0 -0
  343. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/arguments.json +0 -0
  344. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/help.txt +0 -0
  345. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/args.js +0 -0
  346. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/namespace.js +0 -0
  347. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  348. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-scan.js +0 -0
  349. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/scaffold.js +0 -0
  350. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/remove.js +0 -0
  351. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rename.js +0 -0
  352. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rm.js +0 -0
  353. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/add.js +0 -0
  354. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/get.js +0 -0
  355. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.js +0 -0
  356. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.txt +0 -0
  357. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/inc/name.js +0 -0
  358. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/link-dev.js +0 -0
  359. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/list.js +0 -0
  360. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/remove.js +0 -0
  361. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/rm.js +0 -0
  362. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/set.js +0 -0
  363. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/unset.js +0 -0
  364. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/use.js +0 -0
  365. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/add.js +0 -0
  366. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/arguments.json +0 -0
  367. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/build.js +0 -0
  368. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/dot.js +0 -0
  369. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/get.js +0 -0
  370. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.js +0 -0
  371. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.txt +0 -0
  372. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/child-failure.js +0 -0
  373. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/listen-error.js +0 -0
  374. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/ps-titles.js +0 -0
  375. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/init.js +0 -0
  376. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link-node-modules.js +0 -0
  377. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link.js +0 -0
  378. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/list.js +0 -0
  379. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/man.js +0 -0
  380. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/msg.json +0 -0
  381. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/open.js +0 -0
  382. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/remove.js +0 -0
  383. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/reset.js +0 -0
  384. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/restart.js +0 -0
  385. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/set.js +0 -0
  386. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/start.js +0 -0
  387. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/status.js +0 -0
  388. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/stop.js +0 -0
  389. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/tail.js +0 -0
  390. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/update.js +0 -0
  391. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/version.js +0 -0
  392. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-dev.1.md +0 -0
  393. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-framework.1.md +0 -0
  394. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina.1.md +0 -0
  395. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/helper.js +0 -0
  396. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/add.js +0 -0
  397. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/arguments.json +0 -0
  398. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/export.js +0 -0
  399. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.js +0 -0
  400. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.txt +0 -0
  401. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/import.js +0 -0
  402. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/scan.js +0 -0
  403. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/_host.js +0 -0
  404. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/arguments.json +0 -0
  405. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/build.js +0 -0
  406. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.js +0 -0
  407. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.txt +0 -0
  408. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/list.js +0 -0
  409. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/man.js +0 -0
  410. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/rm.js +0 -0
  411. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/run.js +0 -0
  412. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/index.js +0 -0
  413. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.js +0 -0
  414. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.txt +0 -0
  415. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/open.js +0 -0
  416. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/man-render.js +0 -0
  417. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/arguments.json +0 -0
  418. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.js +0 -0
  419. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.txt +0 -0
  420. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/kill.js +0 -0
  421. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/list.js +0 -0
  422. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/msg.json +0 -0
  423. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.js +0 -0
  424. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.txt +0 -0
  425. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/inc/scan.js +0 -0
  426. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/list.js +0 -0
  427. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/reset.js +0 -0
  428. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/set.js +0 -0
  429. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/add.js +0 -0
  430. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/arguments.json +0 -0
  431. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/backup.js +0 -0
  432. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/build.js +0 -0
  433. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.js +0 -0
  434. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.txt +0 -0
  435. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/import.js +0 -0
  436. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/inc/name.js +0 -0
  437. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/list.js +0 -0
  438. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/man.js +0 -0
  439. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/move.js +0 -0
  440. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/remove.js +0 -0
  441. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rename.js +0 -0
  442. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restart.js +0 -0
  443. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restore.js +0 -0
  444. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rm.js +0 -0
  445. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/start.js +0 -0
  446. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/status.js +0 -0
  447. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/stop.js +0 -0
  448. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/arguments.json +0 -0
  449. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.js +0 -0
  450. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.txt +0 -0
  451. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/list.js +0 -0
  452. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/remove.js +0 -0
  453. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/set.js +0 -0
  454. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/add.js +0 -0
  455. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.js +0 -0
  456. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.txt +0 -0
  457. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/inc/name.js +0 -0
  458. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-local.js +0 -0
  459. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-production.js +0 -0
  460. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/list.js +0 -0
  461. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/remove.js +0 -0
  462. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/rm.js +0 -0
  463. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/use.js +0 -0
  464. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/arguments.json +0 -0
  465. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/check.js +0 -0
  466. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.js +0 -0
  467. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.txt +0 -0
  468. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/scan.js +0 -0
  469. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.js +0 -0
  470. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.txt +0 -0
  471. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/list.js +0 -0
  472. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/man.js +0 -0
  473. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/start.js +0 -0
  474. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/arguments.json +0 -0
  475. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/gc.js +0 -0
  476. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/help.txt +0 -0
  477. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/stats.js +0 -0
  478. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/verify.js +0 -0
  479. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/view/add.js +0 -0
  480. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/package.json +0 -0
  481. /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/src/main.js +0 -0
  482. /package/framework/{v0.7.10 → v0.7.11}/lib/collection/README.md +0 -0
  483. /package/framework/{v0.7.10 → v0.7.11}/lib/collection/build.json +0 -0
  484. /package/framework/{v0.7.10 → v0.7.11}/lib/collection/package.json +0 -0
  485. /package/framework/{v0.7.10 → v0.7.11}/lib/collection/src/main.js +0 -0
  486. /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/package.json +0 -0
  487. /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/src/main.js +0 -0
  488. /package/framework/{v0.7.10 → v0.7.11}/lib/config.js +0 -0
  489. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/package.json +0 -0
  490. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/src/main.js +0 -0
  491. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/package.json +0 -0
  492. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/src/main.js +0 -0
  493. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/package.json +0 -0
  494. /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/src/main.js +0 -0
  495. /package/framework/{v0.7.10 → v0.7.11}/lib/cron/README.md +0 -0
  496. /package/framework/{v0.7.10 → v0.7.11}/lib/cron/package.json +0 -0
  497. /package/framework/{v0.7.10 → v0.7.11}/lib/cron/src/main.js +0 -0
  498. /package/framework/{v0.7.10 → v0.7.11}/lib/domain/LICENSE +0 -0
  499. /package/framework/{v0.7.10 → v0.7.11}/lib/domain/README.md +0 -0
  500. /package/framework/{v0.7.10 → v0.7.11}/lib/domain/package.json +0 -0
  501. /package/framework/{v0.7.10 → v0.7.11}/lib/domain/src/main.js +0 -0
  502. /package/framework/{v0.7.10 → v0.7.11}/lib/dto/package.json +0 -0
  503. /package/framework/{v0.7.10 → v0.7.11}/lib/dto/src/main.js +0 -0
  504. /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/package.json +0 -0
  505. /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/src/main.js +0 -0
  506. /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/package.json +0 -0
  507. /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/src/main.js +0 -0
  508. /package/framework/{v0.7.10 → v0.7.11}/lib/duration/package.json +0 -0
  509. /package/framework/{v0.7.10 → v0.7.11}/lib/duration/src/main.js +0 -0
  510. /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/package.json +0 -0
  511. /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/src/main.js +0 -0
  512. /package/framework/{v0.7.10 → v0.7.11}/lib/generator/index.js +0 -0
  513. /package/framework/{v0.7.10 → v0.7.11}/lib/i18n/package.json +0 -0
  514. /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/package.json +0 -0
  515. /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/src/main.js +0 -0
  516. /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/package.json +0 -0
  517. /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/src/main.js +0 -0
  518. /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/LICENSE +0 -0
  519. /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/README.md +0 -0
  520. /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/package.json +0 -0
  521. /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/src/main.js +0 -0
  522. /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/package.json +0 -0
  523. /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/src/main.js +0 -0
  524. /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/package.json +0 -0
  525. /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/src/main.js +0 -0
  526. /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/package.json +0 -0
  527. /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/src/main.js +0 -0
  528. /package/framework/{v0.7.10 → v0.7.11}/lib/job/package.json +0 -0
  529. /package/framework/{v0.7.10 → v0.7.11}/lib/job/src/main.js +0 -0
  530. /package/framework/{v0.7.10 → v0.7.11}/lib/job-store.js +0 -0
  531. /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/package.json +0 -0
  532. /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/src/main.js +0 -0
  533. /package/framework/{v0.7.10 → v0.7.11}/lib/kv/package.json +0 -0
  534. /package/framework/{v0.7.10 → v0.7.11}/lib/kv/src/main.js +0 -0
  535. /package/framework/{v0.7.10 → v0.7.11}/lib/kv-store.js +0 -0
  536. /package/framework/{v0.7.10 → v0.7.11}/lib/lane/package.json +0 -0
  537. /package/framework/{v0.7.10 → v0.7.11}/lib/lane/src/main.js +0 -0
  538. /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/package.json +0 -0
  539. /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/src/main.js +0 -0
  540. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/README.md +0 -0
  541. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/package.json +0 -0
  542. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/default/index.js +0 -0
  543. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/file/index.js +0 -0
  544. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/index.js +0 -0
  545. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/listener.js +0 -0
  546. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/speaker.js +0 -0
  547. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/helper.js +0 -0
  548. /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/redact.js +0 -0
  549. /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/package.json +0 -0
  550. /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/src/main.js +0 -0
  551. /package/framework/{v0.7.10 → v0.7.11}/lib/math/index.js +0 -0
  552. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/package.json +0 -0
  553. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/src/main.js +0 -0
  554. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/package.json +0 -0
  555. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/src/main.js +0 -0
  556. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/package.json +0 -0
  557. /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/src/main.js +0 -0
  558. /package/framework/{v0.7.10 → v0.7.11}/lib/merge/README.md +0 -0
  559. /package/framework/{v0.7.10 → v0.7.11}/lib/merge/package.json +0 -0
  560. /package/framework/{v0.7.10 → v0.7.11}/lib/merge/src/main.js +0 -0
  561. /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/package.json +0 -0
  562. /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/src/main.js +0 -0
  563. /package/framework/{v0.7.10 → v0.7.11}/lib/metrics/package.json +0 -0
  564. /package/framework/{v0.7.10 → v0.7.11}/lib/model.js +0 -0
  565. /package/framework/{v0.7.10 → v0.7.11}/lib/money/package.json +0 -0
  566. /package/framework/{v0.7.10 → v0.7.11}/lib/money/src/main.js +0 -0
  567. /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/package.json +0 -0
  568. /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/src/main.js +0 -0
  569. /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/package.json +0 -0
  570. /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/src/main.js +0 -0
  571. /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/README.md +0 -0
  572. /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/package.json +0 -0
  573. /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/src/main.js +0 -0
  574. /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/package.json +0 -0
  575. /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/src/main.js +0 -0
  576. /package/framework/{v0.7.10 → v0.7.11}/lib/priority/package.json +0 -0
  577. /package/framework/{v0.7.10 → v0.7.11}/lib/priority/src/main.js +0 -0
  578. /package/framework/{v0.7.10 → v0.7.11}/lib/proc.js +0 -0
  579. /package/framework/{v0.7.10 → v0.7.11}/lib/push/package.json +0 -0
  580. /package/framework/{v0.7.10 → v0.7.11}/lib/push/src/main.js +0 -0
  581. /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/package.json +0 -0
  582. /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/src/main.js +0 -0
  583. /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/package.json +0 -0
  584. /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/src/main.js +0 -0
  585. /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/package.json +0 -0
  586. /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/src/main.js +0 -0
  587. /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache-store.js +0 -0
  588. /package/framework/{v0.7.10 → v0.7.11}/lib/routing/README.md +0 -0
  589. /package/framework/{v0.7.10 → v0.7.11}/lib/routing/build.json +0 -0
  590. /package/framework/{v0.7.10 → v0.7.11}/lib/routing/package.json +0 -0
  591. /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/package.json +0 -0
  592. /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/src/main.js +0 -0
  593. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/package.json +0 -0
  594. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/env.js +0 -0
  595. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/exec.js +0 -0
  596. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/file.js +0 -0
  597. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/declaration.js +0 -0
  598. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/env-file.js +0 -0
  599. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/main.js +0 -0
  600. /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/sources.js +0 -0
  601. /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/package.json +0 -0
  602. /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/src/main.js +0 -0
  603. /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/package.json +0 -0
  604. /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/src/main.js +0 -0
  605. /package/framework/{v0.7.10 → v0.7.11}/lib/session-store.js +0 -0
  606. /package/framework/{v0.7.10 → v0.7.11}/lib/shell.js +0 -0
  607. /package/framework/{v0.7.10 → v0.7.11}/lib/sqlite-driver.js +0 -0
  608. /package/framework/{v0.7.10 → v0.7.11}/lib/sri/package.json +0 -0
  609. /package/framework/{v0.7.10 → v0.7.11}/lib/sri/src/main.js +0 -0
  610. /package/framework/{v0.7.10 → v0.7.11}/lib/state.js +0 -0
  611. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/package.json +0 -0
  612. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-cas.js +0 -0
  613. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-stream.js +0 -0
  614. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local.js +0 -0
  615. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/main.js +0 -0
  616. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/meta-store.js +0 -0
  617. /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/util.js +0 -0
  618. /package/framework/{v0.7.10 → v0.7.11}/lib/storage-store.js +0 -0
  619. /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/README.md +0 -0
  620. /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/package.json +0 -0
  621. /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/src/main.js +0 -0
  622. /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/package.json +0 -0
  623. /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/src/main.js +0 -0
  624. /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/package.json +0 -0
  625. /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/http.js +0 -0
  626. /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/memory.js +0 -0
  627. /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/main.js +0 -0
  628. /package/framework/{v0.7.10 → v0.7.11}/lib/url/README.md +0 -0
  629. /package/framework/{v0.7.10 → v0.7.11}/lib/url/index.js +0 -0
  630. /package/framework/{v0.7.10 → v0.7.11}/lib/url/routing.json +0 -0
  631. /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/package.json +0 -0
  632. /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/src/main.js +0 -0
  633. /package/framework/{v0.7.10 → v0.7.11}/lib/validator.js +0 -0
  634. /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/package.json +0 -0
  635. /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/src/main.js +0 -0
  636. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/package.json +0 -0
  637. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/src/main.js +0 -0
  638. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/package.json +0 -0
  639. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/src/main.js +0 -0
  640. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/package.json +0 -0
  641. /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/src/main.js +0 -0
@@ -854,14 +854,25 @@ var _formsWhisperMemo = new WeakMap();
854
854
  * or a process exit when the throw ran inside an async callback — and was
855
855
  * cut to the low byte of each UTF-16 unit on HTTP/2. The name is now
856
856
  * NFC-normalised first, so a decomposed Latin accent becomes its Latin-1
857
- * letter. A name whose every character Node accepts in a header value keeps
858
- * exactly the bytes this function emitted before. Any other name follows
859
- * RFC 6266 §4.3: a `filename` fallback in printable Latin-1 (every other
860
- * character becomes `?`), then the RFC 8187 `filename*=UTF-8''<percent-
861
- * encoded>` parameter, which browsers prefer — the shape the
862
- * `content-disposition` package (Express) emits. The function never throws
863
- * and never returns a value Node refuses: a lone surrogate becomes U+FFFD
864
- * before encoding, and controls are percent-encoded in `filename*`.
857
+ * letter.
858
+ *
859
+ * #B1113 — a Latin-1 letter (U+0080–U+00FF, as in `résumé.pdf`) was kept as
860
+ * a raw byte in `filename="…"`. Node sends that byte, but Chromium and
861
+ * WebKit decode a header's bytes as UTF-8 and saved the download with
862
+ * U+FFFD in place of each such letter. Only a name of printable ASCII (and
863
+ * tab) now keeps exactly the bytes this function emitted before. Any other
864
+ * name follows RFC 6266 §4.3 and Appendix D: an all-ASCII `filename`
865
+ * fallback, then the RFC 8187 `filename*=UTF-8''<percent-encoded>`
866
+ * parameter, which browsers prefer. The fallback drops accents (the name is
867
+ * NFKD-decomposed and its combining accents, U+0300–U+036F, removed, so `é`
868
+ * becomes `e` and `fi` becomes `fi`) and writes `?` for any other non-ASCII
869
+ * character (`ß`, `æ`, `ø`, CJK, emoji, the typographic apostrophe), so a
870
+ * client that reads only `filename` (`curl -OJ`) saves `resume.pdf`. Above
871
+ * U+00FF this is the shape the `content-disposition` package (Express)
872
+ * emits; for a Latin-1 name that package (0.5.2) still sends the raw byte.
873
+ * The function never throws and never returns a value Node refuses or one
874
+ * that holds a non-ASCII byte: a lone surrogate becomes U+FFFD before
875
+ * encoding, and controls are percent-encoded in `filename*`.
865
876
  *
866
877
  * @function formatAttachmentDisposition
867
878
  * @private
@@ -872,6 +883,9 @@ var _formsWhisperMemo = new WeakMap();
872
883
  * formatAttachmentDisposition('monthly report.pdf');
873
884
  * // -> 'attachment; filename="monthly report.pdf"'
874
885
  * @example
886
+ * formatAttachmentDisposition('résumé.pdf');
887
+ * // -> 'attachment; filename="resume.pdf"; filename*=UTF-8\'\'r%C3%A9sum%C3%A9.pdf'
888
+ * @example
875
889
  * formatAttachmentDisposition('l’offre.pdf');
876
890
  * // -> 'attachment; filename="l?offre.pdf"; filename*=UTF-8\'\'l%E2%80%99offre.pdf'
877
891
  */
@@ -883,8 +897,11 @@ function formatAttachmentDisposition(filename) {
883
897
  name = name.toWellFormed();
884
898
  }
885
899
  name = name.normalize('NFC');
886
- // every character Node accepts in a header value: today's exact bytes
887
- if ( /^[\t\x20-\x7e\x80-\xff]*$/.test(name) ) {
900
+ // was: // every character Node accepts in a header value: today's exact bytes
901
+ // was: if ( /^[\t\x20-\x7e\x80-\xff]*$/.test(name) ) …
902
+ // #B1113 — printable ASCII (and tab) only keeps the plain form: a Latin-1 letter sent
903
+ // as a raw byte is decoded as UTF-8 by Chromium and WebKit, which saved it as U+FFFD
904
+ if ( /^[\t\x20-\x7e]*$/.test(name) ) {
888
905
  return 'attachment; filename="' + name.replace(/[\\"]/g, '\\$&') + '"';
889
906
  }
890
907
  var encoded = null;
@@ -898,7 +915,12 @@ function formatAttachmentDisposition(filename) {
898
915
  encoded = encoded.replace(/['()*]/g, function(c) {
899
916
  return '%' + c.charCodeAt(0).toString(16).toUpperCase();
900
917
  });
901
- var fallback = name.replace(/[^\x20-\x7e\xa0-\xff]/g, '?').replace(/[\\"]/g, '\\$&');
918
+ // was: var fallback = name.replace(/[^\x20-\x7e\xa0-\xff]/g, '?').replace(/[\\"]/g, '\\$&');
919
+ // #B1113 — an all-ASCII fallback (RFC 6266 Appendix D): accents dropped (NFKD, then the
920
+ // combining accents U+0300–U+036F removed: é -> e, fi -> fi), `?` for any other non-ASCII
921
+ // character; the quote and backslash escape runs last, since NFKD maps a fullwidth `"` or
922
+ // `\` to ASCII
923
+ var fallback = name.normalize('NFKD').replace(/[\u0300-\u036f]/g, '').replace(/[^\x20-\x7e]/g, '?').replace(/[\\"]/g, '\\$&');
902
924
  return 'attachment; filename="' + fallback + '"; filename*=UTF-8\'\'' + encoded;
903
925
  }
904
926
 
@@ -995,6 +1017,61 @@ function _resolveServedContentType(optsContentType, metaContentType) {
995
1017
  return 'application/octet-stream';
996
1018
  }
997
1019
 
1020
+ /**
1021
+ * #B1122 — the status `redirect()` answers with, read from `param.code` of the route object the
1022
+ * redirect form leaves on the request: the redirect route itself; for `self.redirect(url)` and
1023
+ * `self.redirect('<route>@<bundle>')`, the route that dispatched the action; for a relative path,
1024
+ * the route its matcher resolves, when the matcher runs.
1025
+ *
1026
+ * A route that binds a URL segment under the name `code` (`"code": ":code"`, the binding shape the
1027
+ * routing guide teaches for any key) keeps the placeholder text there, because `req.routing.param`
1028
+ * is the raw routing config. Over HTTP/1.1 `writeHead(':code')` threw inside the async method, so
1029
+ * every redirect from that route answered 500; over HTTP/2 the status became 200, a page showing
1030
+ * the redirect's JSON body instead of a redirect.
1031
+ *
1032
+ * Only the five statuses whose Location the client follows (RFC 9110 §15.4: 301, 302, 303, 307,
1033
+ * 308) are honoured, read with the coercion `writeHead` applies (`value | 0`), so every value that
1034
+ * redirected before still does (`302`, `"302"`). Anything else answers the documented default,
1035
+ * 301; a non-empty one is logged once per route and value, so a mistyped redirect route shows in
1036
+ * the log. An absent, empty or zero `code` is the default, silently.
1037
+ *
1038
+ * @inner
1039
+ * @param {*} value - `req.routing.param.code`
1040
+ * @param {string} [rule] - the route's name, for the log line
1041
+ * @returns {number} 301, 302, 303, 307 or 308
1042
+ *
1043
+ * @example
1044
+ * redirectStatus(302, 'old@public'); // 302
1045
+ * redirectStatus('307', 'old@public'); // 307
1046
+ * redirectStatus(':code', 'item@public'); // 301, logged once for this route and value
1047
+ * redirectStatus(undefined); // 301
1048
+ */
1049
+ var REDIRECT_STATUSES = [301, 302, 303, 307, 308];
1050
+ var redirectStatusLogged = {};
1051
+ function redirectStatus(value, rule) {
1052
+ var status = 0;
1053
+ try {
1054
+ status = value | 0;
1055
+ } catch (coerceErr) {
1056
+ // a value with no primitive form (only code can set one) is not a status either
1057
+ status = 0;
1058
+ }
1059
+ if ( REDIRECT_STATUSES.indexOf(status) > -1 ) {
1060
+ return status;
1061
+ }
1062
+ if ( value ) {
1063
+ var shown = null;
1064
+ try { shown = JSON.stringify(value); } catch (showErr) { shown = typeof(value); }
1065
+ var key = String(rule) +'|'+ shown;
1066
+ if ( !redirectStatusLogged[key] ) {
1067
+ redirectStatusLogged[key] = true;
1068
+ console.warn('[ Controller ] redirect(): route `'+ rule +'` declares `param.code` '+ shown +', which is not a redirect status (301, 302, 303, 307 or 308): answering 301.'
1069
+ + ( ( typeof(value) == 'string' && value.charAt(0) == ':' ) ? ' A URL segment bound under the name `code` keeps its placeholder text there: bind it under another name.' : '' ));
1070
+ }
1071
+ }
1072
+ return 301;
1073
+ }
1074
+
998
1075
  /**
999
1076
  * @class SuperController
1000
1077
  * @constructor
@@ -3810,6 +3887,11 @@ function SuperController(options) {
3810
3887
  *
3811
3888
  * For this to work you have to set in your routing.json a new route using "param":
3812
3889
  * { "control": "redirect", "route": "one-valid-route" }
3890
+ * The [ route ] name resolves as the method form's does (2, below), as lib.routing.getRoute() resolves a name:
3891
+ * lowercased; without `@bundle` a route of the current bundle; `one-valid-route@other-bundle[/env]` names that
3892
+ * bundle's route, reached on that bundle's hostname. #B1134: up to 0.7.10 the name was looked up as written, so a
3893
+ * bare or mixed-case name, or one with an env suffix, answered 404, and another bundle's route got a relative
3894
+ * Location on this host.
3813
3895
  * OR
3814
3896
  * { "control": "redirect", "url": "http://www.somedomain.com/page.html" }
3815
3897
  *
@@ -3819,7 +3901,18 @@ function SuperController(options) {
3819
3901
  * OR
3820
3902
  * { "control": "redirect", "url": "http://home@public/production", "ignoreWebRoot": true }
3821
3903
  *
3822
- * if you are free to use the redirection [ code ] of your choice, we've set it to 301 by default
3904
+ * A [ path ] is a path of this bundle: the webroot is prepended (`/general` under the webroot
3905
+ * `/web/` answers `/web/general`), unless the route sets `ignoreWebRoot`, the webroot is `/` or
3906
+ * the path is an absolute URL. The same holds when a custom action hands its request to
3907
+ * `self.redirect(req, res, next)` on a route that declares `param.path`. #B1137: up to 0.7.10
3908
+ * the path only lost its first character under a non-root webroot, a relative Location.
3909
+ *
3910
+ * Set the status with [ code ]: 301, 302, 303, 307 or 308 (default 301). Any other value answers
3911
+ * 301 and is logged once per route and value (#B1122: up to 0.7.10 the value was sent as it was,
3912
+ * so the placeholder text a URL segment bound under the name `code` leaves there made writeHead
3913
+ * throw, a 500 over HTTP/1.1, and went out as a 200 page over HTTP/2). The method form (2) reads
3914
+ * [ code ] from the route that dispatched the action for a URL or a route name, and from the
3915
+ * route a relative path resolves to when its matcher runs.
3823
3916
  *
3824
3917
  * Add [ keep-params ] to carry the incoming request's query string onto the
3825
3918
  * redirect target (#B352). Default is `false`: the target is used verbatim and the
@@ -3846,6 +3939,11 @@ function SuperController(options) {
3846
3939
  * => home (will use same bundle, same protocol scheme & same environment)
3847
3940
  * => home@public (will use same protocol scheme & same environment)
3848
3941
  * => http://home@public/dev (port style for more precision)
3942
+ * A route name is resolved as lib.routing.getRoute() resolves it: lowercased, and without
3943
+ * `@bundle` it names a route of the current bundle (#B1125: up to 0.7.10 a name without
3944
+ * `@bundle` was looked up as `<webroot characters>-<name>`, a name config.js never creates,
3945
+ * so it threw under the default webroot `/`, a 500, and answered 404 under any other webroot;
3946
+ * a mixed-case `Name@bundle` answered 404).
3849
3947
  *
3850
3948
  * - an URI
3851
3949
  * => /home
@@ -4035,10 +4133,17 @@ function SuperController(options) {
4035
4133
  rteArr = rteArr[0].split(/\@/);
4036
4134
 
4037
4135
  bundle = rteArr[1];
4136
+ // #B1125 — the name lowercased, as lib.routing.getRoute() resolves it and config.js keys every route.
4137
+ rte = route = rteArr[0].toLowerCase() +'@'+ bundle;
4038
4138
 
4039
4139
  } else {
4040
4140
  // replaced: new RegExp('^/'+bundle+'-$') — use === instead (#P1)
4041
- rte = route = ( req === '/'+conf.bundle+'-' ) ? req : wroot.match(/[^/]/g).join('') +'-'+ req;
4141
+ // #B1125 — a route name without `@bundle` names a route of the current bundle, resolved as
4142
+ // lib.routing.getRoute() resolves it: lowercased, as config.js keys every route `<rule>@<bundle>`.
4143
+ // The old lookup joined the webroot's characters to the name (`/dashboard/` → `dashboard-<name>`),
4144
+ // a key config.js never creates: a TypeError under the default webroot `/` (a 500), a 404 elsewhere.
4145
+ // was: rte = route = ( req === '/'+conf.bundle+'-' ) ? req : wroot.match(/[^/]/g).join('') +'-'+ req;
4146
+ rte = route = req.toLowerCase() +'@'+ bundle;
4042
4147
  }
4043
4148
 
4044
4149
 
@@ -4050,7 +4155,26 @@ function SuperController(options) {
4050
4155
  }
4051
4156
 
4052
4157
  } else {
4158
+ // #B1134 — a routing.json redirect route names its target in `param.route`. It resolves as the string form
4159
+ // above does since #B1125, as lib.routing.getRoute() resolves a name: lowercased; without `@bundle` a route of
4160
+ // the current bundle; with `@bundle[/env]` that bundle and env, so the `bundle != conf.bundle` step below
4161
+ // prefixes the target bundle's hostname. The name used to be looked up as written while config.js keys every
4162
+ // route `<rule lowercased>@<bundle>`: a bare or mixed-case name, or one with an env suffix, answered 404, and
4163
+ // another bundle's route got a relative Location on this host.
4053
4164
  route = req.routing.param.route;
4165
+ if ( typeof(route) == 'string' && route !== '' ) {
4166
+ var _jsonRoute = route.split(/\//);
4167
+ if ( /\@/.test(_jsonRoute[0]) ) {
4168
+ if ( typeof(_jsonRoute[1]) != 'undefined' && _jsonRoute[1] !== '' ) {
4169
+ env = _jsonRoute[1];
4170
+ }
4171
+ _jsonRoute = _jsonRoute[0].split(/\@/);
4172
+ bundle = _jsonRoute[1];
4173
+ route = _jsonRoute[0].toLowerCase() +'@'+ bundle;
4174
+ } else {
4175
+ route = route.toLowerCase() +'@'+ bundle;
4176
+ }
4177
+ }
4054
4178
  }
4055
4179
 
4056
4180
  if ( !originalMethod ) {
@@ -4058,8 +4182,30 @@ function SuperController(options) {
4058
4182
  }
4059
4183
 
4060
4184
  var path = originalUrl || req.routing.param.path || '';
4185
+ // #B1137 — a redirect that uses `param.path` (a routing.json redirect route, or a custom action calling
4186
+ // self.redirect(req, res, next) on a route that declares `param.path`) gets the bundle's webroot, as the string
4187
+ // form `self.redirect('/x')` does: under `/web/`, `/general` and `general` answer `/web/general`, and `/`
4188
+ // answers `/web/`. Left as written: the string form (it adds the webroot itself), a `route` target (its url
4189
+ // carries its own webroot), `ignoreWebRoot`, the webroot `/`, and an absolute URL (`scheme://…` or `//…`).
4190
+ // Up to 0.7.10 config.js meant to add it at boot and only cut the path's first character, so the Location
4191
+ // was relative: `general`, `eneral`, or empty.
4192
+ if (
4193
+ !originalUrl
4194
+ && !route
4195
+ && path
4196
+ && !req.routing.param.ignoreWebRoot
4197
+ && wroot
4198
+ && wroot.length > 1
4199
+ && !/^([a-z][a-z0-9+.\-]*:)?\/\//i.test(path)
4200
+ ) {
4201
+ path = wroot + ( ( path.charAt(0) === '/' ) ? path.substring(1) : path );
4202
+ }
4061
4203
  var url = req.routing.param.url;
4062
- var code = req.routing.param.code || 301;
4204
+ // #B1122 — a URL segment bound under the name `code` (`"code": ":code"`) left its placeholder text in
4205
+ // `param.code`, and that text reached writeHead as the status: a 500 over HTTP/1.1, a 200 page over
4206
+ // HTTP/2. Only a redirect status is honoured now (redirectStatus(), above SuperController).
4207
+ // was: var code = req.routing.param.code || 301;
4208
+ var code = redirectStatus(req.routing.param.code, req.routing.rule || req.routing.name);
4063
4209
 
4064
4210
  var keepParams = req.routing.param['keep-params'] || false;
4065
4211
 
@@ -4620,12 +4766,80 @@ function SuperController(options) {
4620
4766
  * - To avoid this, add to your download link the attribute `data-gina-link`
4621
4767
  * This will convert the regular HTTP Request to an XML Request
4622
4768
  *
4623
- * @param {string} url - eg.: https://upload.wikimedia.org/wikipedia/fr/2/2f/Firefox_Old_Logo.png
4624
- * @param {object} [options]
4769
+ * These inputs are answered with a 500 through `throwError()`, and the
4770
+ * method returns without a request: an `options` that is neither an object
4771
+ * nor `null` (a string, a number, a boolean), a url that is not a string, a
4772
+ * scheme other than `http` or `https`, a url carrying credentials
4773
+ * (`user:password@`: they go in `options.auth`, #B1121), a url without a
4774
+ * filename, a filename (the url's, or `options.file`) without an extension
4775
+ * of ASCII word characters, and an extension `mime.types` does not know
4776
+ * (#B1111, #B1114, #B1118: such an `options`, the first two and a bad
4777
+ * `options.file` used to throw inside this async method, so its promise
4778
+ * rejected and the request got no response).
4779
+ *
4780
+ * When the url's host is that of a bundle named in `app.json`'s `proxy` (a
4781
+ * `bundle@project` hostname) and the url's port is not that bundle's port,
4782
+ * the request goes to the bundle's port (#B1120: up to 0.7.10 this override
4783
+ * replaced the host with the port number, and the method answered 500).
4784
+ *
4785
+ * @param {string} url - an `http` or `https` url ending in a filename with
4786
+ * an extension, eg.: https://upload.wikimedia.org/wikipedia/fr/2/2f/Firefox_Old_Logo.png;
4787
+ * with no port in it and no `options.port`, the request goes to the
4788
+ * scheme's port, 443 for `https` and 80 for `http` (#B1119: up to 0.7.10 an
4789
+ * `https` url without a port went to port 80, and the download answered 500).
4790
+ * The host and the port are read from the url's authority, what follows
4791
+ * `scheme://` up to the first `/`, `?` or `#`, so a `:<digits>` later in
4792
+ * the path or the query is not a port; an IPv6 literal is written in
4793
+ * brackets (`https://[::1]:8443/x.pdf`) and reaches Node without them; the
4794
+ * path goes out as written (#B1121: up to 0.7.10 a `:<digits>/` anywhere in
4795
+ * the url set the port, a `user:password@` stayed in the host and an IPv6
4796
+ * literal lost part of its address)
4797
+ * @param {object} [options] - read, never changed: the method works on a
4798
+ * copy of it and of its `headers`, so one object can serve several calls
4799
+ * (#B1112: up to 0.7.10 the defaults, the formatted content-disposition
4800
+ * and the forwarded headers were written into it, so a second call given
4801
+ * the same object went out under the first one's name and request id);
4802
+ * `null` takes the defaults, and a function in its place, as in
4803
+ * `downloadFromURL(url, cb)`, is copied the same way and not called (#B1118)
4804
+ * @param {string} [options.file] - the name the client saves the download
4805
+ * as, in place of the url's; it must end in an extension of ASCII word
4806
+ * characters (`.pdf`, not `.été`), which gives the content type
4807
+ * @param {string} [options.contentDisposition='attachment'] - `inline` lets
4808
+ * the browser display the resource
4809
+ * @param {string} [options.contentType] - replaces the type `mime.types`
4810
+ * gives the extension (the extension must still be known)
4811
+ * @param {number} [options.fileSize] - sent as `content-length`
4812
+ * @param {number} [options.port] - the port to use when the url names none;
4813
+ * a port in the url wins
4814
+ * @param {string} [options.auth] - `user:password`, sent as Basic credentials
4815
+ * (Node's own request option); credentials written in the url are refused
4816
+ * @param {function} [cb] - called with `false` once the resource is piped
4817
+ * to the client, or with the request's error (an unreachable upstream, a
4818
+ * status of 400 or more), in which case nothing is answered for you
4819
+ * @returns {Promise<void>}
4625
4820
  *
4626
4821
  * N.B.: when `options.contentDisposition` is left at its `attachment`
4627
4822
  * default, the emitted header carries the target filename as an RFC 6266
4628
4823
  * quoted-string (see `formatAttachmentDisposition`).
4824
+ *
4825
+ * @example
4826
+ * // saved by the client as invoice-42.pdf
4827
+ * self.downloadFromURL('https://example.com/files/2026/proof.pdf', { file: 'invoice-42.pdf' });
4828
+ * @example
4829
+ * // displayed by the browser instead of saved
4830
+ * self.downloadFromURL('https://example.com/brand/logo.png', { contentDisposition: 'inline' });
4831
+ * @example
4832
+ * // one options object kept at module level serves every request: each
4833
+ * // download keeps its own name and request id (#B1112)
4834
+ * var DOWNLOAD_OPTIONS = { contentType: 'application/pdf' };
4835
+ * this.proof = function(req, res, next) {
4836
+ * self.downloadFromURL('https://example.com/proofs/'+ req.params.id +'.pdf', DOWNLOAD_OPTIONS);
4837
+ * };
4838
+ * @example
4839
+ * // credentials go in options.auth, never in the url (#B1121)
4840
+ * self.downloadFromURL('https://files.example.com/2026/proof.pdf', {
4841
+ * auth: 'reports:' + process.env.REPORTS_PASSWORD
4842
+ * });
4629
4843
  * */
4630
4844
  this.downloadFromURL = async function(url, options, cb) {
4631
4845
 
@@ -4644,13 +4858,37 @@ function SuperController(options) {
4644
4858
  // set to false to ignore certificate verification
4645
4859
  rejectUnauthorized: true,
4646
4860
  //responseType: 'blob',
4647
- port: 80,
4861
+ // was: port: 80,
4862
+ // #B1119 — with `port: 80` here an `https` url that names no port went to port 80
4863
+ // (Node's own 443 applies only when no port is given); see « defining port » below
4648
4864
  method: 'GET',
4649
4865
  keepAlive: true,
4650
4866
  headers: {}
4651
4867
  };
4652
4868
 
4653
- var opt = ( typeof(options) != 'undefined' ) ? merge(options, defaultOptions) : defaultOptions;
4869
+ // was: var opt = ( typeof(options) != 'undefined' ) ? merge(options, defaultOptions) : defaultOptions;
4870
+ // #B1112 — lib/merge fills and returns its target, so the caller's own object became
4871
+ // `opt`: the formatted content-disposition and the forwarded headers (x-request-id…)
4872
+ // were written into it, and a second call given the same object went out under the
4873
+ // first one's filename and request id. An object is copied first, with its own copy of
4874
+ // `headers`, the one nested object written below; every other value it holds (an
4875
+ // http.Agent, TLS buffers, a lookup function) is passed on as it is.
4876
+ var opt = defaultOptions;
4877
+ // #B1118 — a function in the options position (`downloadFromURL(url, cb)`) is
4878
+ // copied like an object, so nothing is written onto it; `null` takes the defaults
4879
+ if ( options !== null && ( typeof(options) == 'object' || typeof(options) == 'function' ) ) {
4880
+ opt = Object.assign({}, options);
4881
+ if ( opt.headers && typeof(opt.headers) == 'object' ) {
4882
+ opt.headers = Object.assign({}, opt.headers);
4883
+ }
4884
+ opt = merge(opt, defaultOptions);
4885
+ } else if ( typeof(options) != 'undefined' && options !== null ) {
4886
+ // #B1118 — a string, a number or a boolean came back from lib/merge as it was, so
4887
+ // `requestOptions.headers` stayed undefined and the header write below threw inside
4888
+ // this async method: the promise rejected and the request got no response
4889
+ self.throwError(local.res, 500, new Error('`options` must be an object, got '+ typeof(options) +'.'));
4890
+ return;
4891
+ }
4654
4892
 
4655
4893
  // replaced: for...in + regex test — use Object.keys() + string checks (#P22)
4656
4894
  var requestOptions = {};
@@ -4665,11 +4903,25 @@ function SuperController(options) {
4665
4903
  var protocol = null;
4666
4904
  var scheme = null;
4667
4905
 
4668
- if ( /\:\/\//.test(url) ) {
4669
- scheme = url.match(/^\w+\:/)[0];
4670
- scheme = scheme.substring(0, scheme.length-1);
4906
+ // #B1114 — a url that is not a string threw at its first `url.match` below,
4907
+ // inside this async method: the promise rejected, the request got no response
4908
+ if ( typeof(url) != 'string' ) {
4909
+ self.throwError(local.res, 500, new Error('`url` must be a string, got '+ ( (url === null) ? 'null' : typeof(url) ) +'.'));
4910
+ return;
4911
+ }
4671
4912
 
4672
- if ( !/^http/.test(scheme) ) {
4913
+ if ( /\:\/\//.test(url) ) {
4914
+ // was: scheme = url.match(/^\w+\:/)[0];
4915
+ // scheme = scheme.substring(0, scheme.length-1);
4916
+ // #B1114 — the scheme is what precedes `://`; the pattern could not read one
4917
+ // that is not a leading run of word characters (` http://…`) and threw
4918
+ scheme = url.substring(0, url.indexOf('://'));
4919
+
4920
+ // was: if ( !/^http/.test(scheme) ) {
4921
+ // #B1114 — `/^http/` let `httpfoo` or `http2` through to `require(''+ scheme)`
4922
+ // below, which rejected (« Cannot find module ») or loaded a module named
4923
+ // after the url
4924
+ if ( !/^https?$/.test(scheme) ) {
4673
4925
  self.throwError(local.res, 500, new Error('[ '+ scheme +' ] Scheme not supported. Ref.: `http` or `https` only'));
4674
4926
  return;
4675
4927
  }
@@ -4682,17 +4934,56 @@ function SuperController(options) {
4682
4934
 
4683
4935
  //defining port
4684
4936
  // console.debug('[ CONTROLLER ][ HTTP/2.0#downloadFromURL ] defining port from: ', url);
4685
- var port = url.match(/\:\d+\//) || null;
4686
- if ( port != null ) {
4687
- port = port[0].match(/\d+/)[0];
4688
- requestOptions.port = ~~port;
4937
+ // was: var port = url.match(/\:\d+\//) || null;
4938
+ // if ( port != null ) {
4939
+ // port = port[0].match(/\d+/)[0];
4940
+ // requestOptions.port = ~~port;
4941
+ // }
4942
+ // #B1121 — the port and the host come from the url's authority only: what follows
4943
+ // `scheme://` up to the first `/`, `?` or `#`. The pattern above read `:<digits>/`
4944
+ // anywhere in the url, so a path such as `/files/a:1/x.pdf`, or a query holding
4945
+ // `:9/`, set the port.
4946
+ var urlRest = ( url.indexOf('://') > -1 ) ? url.substring(url.indexOf('://') + 3) : url;
4947
+ var urlAuthorityEnd = urlRest.search(/[\/?#]/);
4948
+ var urlAuthority = ( urlAuthorityEnd > -1 ) ? urlRest.substring(0, urlAuthorityEnd) : urlRest;
4949
+ var urlPath = ( urlAuthorityEnd > -1 ) ? urlRest.substring(urlAuthorityEnd) : '';
4950
+ // a userinfo (`user:password@`) is not part of the host
4951
+ var urlUserinfo = ( urlAuthority.lastIndexOf('@') > -1 ) ? urlAuthority.substring(0, urlAuthority.lastIndexOf('@')) : null;
4952
+ var urlHost = urlAuthority.substring(urlAuthority.lastIndexOf('@') + 1);
4953
+ var urlPort = null;
4954
+ if ( urlHost.charAt(0) == '[' && urlHost.indexOf(']') > -1 ) {
4955
+ // an IPv6 literal goes without its brackets, as in Node's own request options
4956
+ // for a URL; a port may follow the closing bracket
4957
+ urlPort = urlHost.substring(urlHost.indexOf(']') + 1);
4958
+ urlHost = urlHost.substring(1, urlHost.indexOf(']'));
4959
+ urlPort = ( /^\:\d+$/.test(urlPort) ) ? urlPort.substring(1) : null;
4960
+ } else if ( /\:\d*$/.test(urlHost) ) {
4961
+ urlPort = urlHost.substring(urlHost.lastIndexOf(':') + 1) || null;
4962
+ urlHost = urlHost.substring(0, urlHost.lastIndexOf(':'));
4963
+ }
4964
+ if ( urlPort != null ) {
4965
+ requestOptions.port = ~~urlPort;
4966
+ }
4967
+ // credentials do not go in a url (RFC 3986 deprecates `user:password` there, and the
4968
+ // Fetch standard refuses such a url): `options.auth` carries them
4969
+ if ( urlUserinfo != null ) {
4970
+ self.throwError(local.res, 500, new Error('The url carries credentials (`user:password@`): pass them in `options.auth` instead.'));
4971
+ return;
4972
+ }
4973
+ // #B1119 — the scheme's port when neither the url nor `options.port` names one
4974
+ if ( typeof(requestOptions.port) == 'undefined' || requestOptions.port === null ) {
4975
+ requestOptions.port = ( scheme == 'https' ) ? 443 : 80;
4689
4976
  }
4690
4977
 
4691
4978
  // defining hostname & path
4692
4979
  // replaced: new RegExp(scheme + '://') — use string replace (#P1)
4693
- var parts = url.replace(scheme + '://', '').split('/');
4694
- requestOptions.host = parts[0].replace(/\:\d+/, '');
4695
- requestOptions.path = '/' + parts.splice(1).join('/');
4980
+ // was: var parts = url.replace(scheme + '://', '').split('/');
4981
+ // requestOptions.host = parts[0].replace(/\:\d+/, '');
4982
+ // requestOptions.path = '/' + parts.splice(1).join('/');
4983
+ // #B1121 — that host kept a userinfo (`u:p@host`) and cut an IPv6 literal
4984
+ // (`[::1]` became `[:]`); the path is the rest of the url, sent as written
4985
+ requestOptions.host = urlHost;
4986
+ requestOptions.path = ( urlPath.charAt(0) == '/' ) ? urlPath : '/' + urlPath;
4696
4987
 
4697
4988
  // check for protocol upgrade
4698
4989
  // Compare with current proxy list if available
@@ -4716,7 +5007,10 @@ function SuperController(options) {
4716
5007
  ) {
4717
5008
  // Override
4718
5009
  console.info("Overriding port to fit protocol upgrade: "+ requestOptions.port +" -> "+ bundleObj.port);
4719
- requestOptions.host = bundleObj.port
5010
+ // was: requestOptions.host = bundleObj.port
5011
+ // #B1120 — the host became the port number, so the request was never made and the
5012
+ // method answered 500 (« The "options.host" property must be of type string »)
5013
+ requestOptions.port = bundleObj.port;
4720
5014
  break;
4721
5015
  }
4722
5016
  }
@@ -4739,8 +5033,24 @@ function SuperController(options) {
4739
5033
 
4740
5034
 
4741
5035
  // filename renaming
4742
- if (opt.file)
5036
+ // was: if (opt.file)
5037
+ // filename = opt.file;
5038
+ // #B1111 — `options.file` replaced the url's name after the extension test above,
5039
+ // so a name with no ASCII-word extension (`report`, `notes.été`, `a.pdf ` with a
5040
+ // trailing space) or a value that is not a string reached the `ext` line below
5041
+ // and threw inside this async method: the promise rejected and the request got
5042
+ // no response. The final name now gets the url's test and the same answer.
5043
+ if (opt.file) {
5044
+ if ( typeof(opt.file) != 'string' ) {
5045
+ self.throwError(local.res, 500, new Error('`options.file` must be a string, got '+ typeof(opt.file) +'.'));
5046
+ return;
5047
+ }
5048
+ if ( !/\.\w+$/.test(opt.file) ) {
5049
+ self.throwError(local.res, 500, new Error('[ '+ opt.file +' ] extension not found in `options.file`.'));
5050
+ return;
5051
+ }
4743
5052
  filename = opt.file;
5053
+ }
4744
5054
 
4745
5055
  if ( opt.contentDisposition == 'attachment') {
4746
5056
  opt.contentDisposition = formatAttachmentDisposition(filename);