gina 0.7.8 → 0.7.9

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 (633) hide show
  1. package/CHANGELOG.md +27 -6
  2. package/README.md +42 -41
  3. package/ROADMAP.md +1 -0
  4. package/framework/v0.7.9/VERSION +1 -0
  5. package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.js +357 -25
  6. package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js +758 -0
  7. package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  8. package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  9. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.js +37 -10
  10. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-json.js +2 -0
  11. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-nunjucks-async.js +2 -0
  12. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-nunjucks.js +2 -0
  13. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-stream.js +2 -0
  14. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-swig-async.js +2 -0
  15. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-swig.js +4 -0
  16. package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-xml.js +2 -0
  17. package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/src/main.js +216 -15
  18. package/framework/v0.7.9/core/server.isaac.early-answer.js +279 -0
  19. package/framework/{v0.7.8 → v0.7.9}/core/server.isaac.js +15 -0
  20. package/framework/{v0.7.8 → v0.7.9}/core/server.js +152 -3
  21. package/framework/{v0.7.8 → v0.7.9}/lib/merge/src/main.js +141 -10
  22. package/framework/{v0.7.8 → v0.7.9}/package.json +2 -2
  23. package/gna.js +4 -4
  24. package/llms.txt +12 -11
  25. package/package.json +5 -5
  26. package/types/index.d.ts +6 -2
  27. package/framework/v0.7.8/VERSION +0 -1
  28. package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -754
  29. package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  30. package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  31. /package/framework/{v0.7.8 → v0.7.9}/AUTHORS +0 -0
  32. /package/framework/{v0.7.8 → v0.7.9}/LICENSE +0 -0
  33. /package/framework/{v0.7.8 → v0.7.9}/core/asset/html/nolayout.html +0 -0
  34. /package/framework/{v0.7.8 → v0.7.9}/core/asset/html/static.html +0 -0
  35. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/android-chrome-192x192.png +0 -0
  36. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/android-chrome-512x512.png +0 -0
  37. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/apple-touch-icon.png +0 -0
  38. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon-16x16.png +0 -0
  39. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon-32x32.png +0 -0
  40. /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon.ico +0 -0
  41. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/README.md +0 -0
  42. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  43. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  44. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  45. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  46. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  47. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  48. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  49. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  50. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  51. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  52. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  53. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  54. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  55. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  56. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  57. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  58. /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  59. /package/framework/{v0.7.8 → v0.7.9}/core/config.js +0 -0
  60. /package/framework/{v0.7.8 → v0.7.9}/core/config.requirements-anchor.js +0 -0
  61. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/ai/index.js +0 -0
  62. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/ai/lib/connector.js +0 -0
  63. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/index.js +0 -0
  64. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.js +0 -0
  65. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  66. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  67. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/n1ql.js +0 -0
  68. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.js +0 -0
  69. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  70. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  71. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/storage-store.js +0 -0
  72. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/duckdb/index.js +0 -0
  73. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/duckdb/lib/connector.js +0 -0
  74. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/index.js +0 -0
  75. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/connector.js +0 -0
  76. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/job-store.js +0 -0
  77. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  78. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/session-store.js +0 -0
  79. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mysql/index.js +0 -0
  80. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mysql/lib/connector.js +0 -0
  81. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/param-redact.js +0 -0
  82. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/postgresql/index.js +0 -0
  83. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/postgresql/lib/connector.js +0 -0
  84. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/index.js +0 -0
  85. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/connector.js +0 -0
  86. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/job-store.js +0 -0
  87. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/kv-store.js +0 -0
  88. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/render-cache-store.js +0 -0
  89. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/session-store.js +0 -0
  90. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/index.js +0 -0
  91. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/lib/connector.js +0 -0
  92. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/lib/session-store.js +0 -0
  93. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/settle-once.js +0 -0
  94. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sql-parser.js +0 -0
  95. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/index.js +0 -0
  96. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/connector.js +0 -0
  97. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/job-store.js +0 -0
  98. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/kv-store.js +0 -0
  99. /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/session-store.js +0 -0
  100. /package/framework/{v0.7.8 → v0.7.9}/core/content.encoding +0 -0
  101. /package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.framework.js +0 -0
  102. /package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-v1.js +0 -0
  103. /package/framework/{v0.7.8 → v0.7.9}/core/controller/index.js +0 -0
  104. /package/framework/{v0.7.8 → v0.7.9}/core/controller/inline-script.js +0 -0
  105. /package/framework/{v0.7.8 → v0.7.9}/core/controller/inspector-window-emit.js +0 -0
  106. /package/framework/{v0.7.8 → v0.7.9}/core/controller/preload-hints.js +0 -0
  107. /package/framework/{v0.7.8 → v0.7.9}/core/controller/release-banner.js +0 -0
  108. /package/framework/{v0.7.8 → v0.7.9}/core/controller/render-data.js +0 -0
  109. /package/framework/{v0.7.8 → v0.7.9}/core/controller/render-session.js +0 -0
  110. /package/framework/{v0.7.8 → v0.7.9}/core/dev/index.js +0 -0
  111. /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/class.js +0 -0
  112. /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/factory.js +0 -0
  113. /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/tools.js +0 -0
  114. /package/framework/{v0.7.8 → v0.7.9}/core/gna.js +0 -0
  115. /package/framework/{v0.7.8 → v0.7.9}/core/locales/README.md +0 -0
  116. /package/framework/{v0.7.8 → v0.7.9}/core/locales/currency.json +0 -0
  117. /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/language/en.json +0 -0
  118. /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/language/fr.json +0 -0
  119. /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/region/en.json +0 -0
  120. /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/region/fr.json +0 -0
  121. /package/framework/{v0.7.8 → v0.7.9}/core/locales/index.js +0 -0
  122. /package/framework/{v0.7.8 → v0.7.9}/core/mime.types +0 -0
  123. /package/framework/{v0.7.8 → v0.7.9}/core/model/entity.js +0 -0
  124. /package/framework/{v0.7.8 → v0.7.9}/core/model/index.js +0 -0
  125. /package/framework/{v0.7.8 → v0.7.9}/core/model/template/entityFactory.js +0 -0
  126. /package/framework/{v0.7.8 → v0.7.9}/core/model/template/index.js +0 -0
  127. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/README.md +0 -0
  128. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/index.js +0 -0
  129. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/README.md +0 -0
  130. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/package.json +0 -0
  131. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/src/main.js +0 -0
  132. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/README.md +0 -0
  133. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/README.md +0 -0
  134. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/package.json +0 -0
  135. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  136. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/README.md +0 -0
  137. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/package.json +0 -0
  138. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  139. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/README.md +0 -0
  140. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/package.json +0 -0
  141. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  142. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/README.md +0 -0
  143. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/package.json +0 -0
  144. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  145. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  146. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  147. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  148. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  149. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  150. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  151. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  152. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  153. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  154. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/package.json +0 -0
  155. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  156. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  157. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  158. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/src/main.js +0 -0
  159. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  160. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  161. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  162. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  163. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  164. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  165. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  166. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  167. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  168. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  169. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  170. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  171. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  172. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  173. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  174. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  175. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  176. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  177. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/README.md +0 -0
  178. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/package.json +0 -0
  179. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/src/main.js +0 -0
  180. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/README.md +0 -0
  181. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/build.json +0 -0
  182. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/package.json +0 -0
  183. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/src/main.js +0 -0
  184. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/README.md +0 -0
  185. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/build.json +0 -0
  186. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/package.json +0 -0
  187. /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/src/form-validator.js +0 -0
  188. /package/framework/{v0.7.8 → v0.7.9}/core/router.js +0 -0
  189. /package/framework/{v0.7.8 → v0.7.9}/core/server.express.js +0 -0
  190. /package/framework/{v0.7.8 → v0.7.9}/core/server.isaac.rapid-reset.js +0 -0
  191. /package/framework/{v0.7.8 → v0.7.9}/core/server.route-candidates.js +0 -0
  192. /package/framework/{v0.7.8 → v0.7.9}/core/status.codes +0 -0
  193. /package/framework/{v0.7.8 → v0.7.9}/core/template/_gitignore +0 -0
  194. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/app.json +0 -0
  195. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  196. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/routing.json +0 -0
  197. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/settings.json +0 -0
  198. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  199. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/templates.json +0 -0
  200. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  201. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  202. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  203. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  204. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/index.js +0 -0
  205. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/locales/en.json +0 -0
  206. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  207. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  208. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  209. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  210. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  211. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  212. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  213. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  214. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/readme.md +0 -0
  215. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/sw.js +0 -0
  216. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  217. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  218. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  219. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  220. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  221. /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  222. /package/framework/{v0.7.8 → v0.7.9}/core/template/command/gina.bat.tpl +0 -0
  223. /package/framework/{v0.7.8 → v0.7.9}/core/template/command/gina.tpl +0 -0
  224. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/env.json +0 -0
  225. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/manifest.json +0 -0
  226. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/package.json +0 -0
  227. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/settings.json +0 -0
  228. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/statics.json +0 -0
  229. /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/templates.json +0 -0
  230. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/401.json +0 -0
  231. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/403.json +0 -0
  232. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/404.json +0 -0
  233. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/html/50x.html +0 -0
  234. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/json/500.json +0 -0
  235. /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/json/503.json +0 -0
  236. /package/framework/{v0.7.8 → v0.7.9}/core/template/extensions/logger/config.json +0 -0
  237. /package/framework/{v0.7.8 → v0.7.9}/helpers/console.js +0 -0
  238. /package/framework/{v0.7.8 → v0.7.9}/helpers/context.js +0 -0
  239. /package/framework/{v0.7.8 → v0.7.9}/helpers/data/LICENSE +0 -0
  240. /package/framework/{v0.7.8 → v0.7.9}/helpers/data/README.md +0 -0
  241. /package/framework/{v0.7.8 → v0.7.9}/helpers/data/package.json +0 -0
  242. /package/framework/{v0.7.8 → v0.7.9}/helpers/data/src/main.js +0 -0
  243. /package/framework/{v0.7.8 → v0.7.9}/helpers/dateFormat.js +0 -0
  244. /package/framework/{v0.7.8 → v0.7.9}/helpers/index.js +0 -0
  245. /package/framework/{v0.7.8 → v0.7.9}/helpers/json/LICENSE +0 -0
  246. /package/framework/{v0.7.8 → v0.7.9}/helpers/json/README.md +0 -0
  247. /package/framework/{v0.7.8 → v0.7.9}/helpers/json/package.json +0 -0
  248. /package/framework/{v0.7.8 → v0.7.9}/helpers/json/src/main.js +0 -0
  249. /package/framework/{v0.7.8 → v0.7.9}/helpers/path.js +0 -0
  250. /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/README.md +0 -0
  251. /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/package.json +0 -0
  252. /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/src/api-error.js +0 -0
  253. /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/src/main.js +0 -0
  254. /package/framework/{v0.7.8 → v0.7.9}/helpers/prototypes.js +0 -0
  255. /package/framework/{v0.7.8 → v0.7.9}/helpers/task.js +0 -0
  256. /package/framework/{v0.7.8 → v0.7.9}/helpers/text.js +0 -0
  257. /package/framework/{v0.7.8 → v0.7.9}/lib/admin/package.json +0 -0
  258. /package/framework/{v0.7.8 → v0.7.9}/lib/admin/src/main.js +0 -0
  259. /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/README.md +0 -0
  260. /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/build.json +0 -0
  261. /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/package.json +0 -0
  262. /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/src/dep/jszip.min.js +0 -0
  263. /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/src/main.js +0 -0
  264. /package/framework/{v0.7.8 → v0.7.9}/lib/async/package.json +0 -0
  265. /package/framework/{v0.7.8 → v0.7.9}/lib/async/src/main.js +0 -0
  266. /package/framework/{v0.7.8 → v0.7.9}/lib/audit/package.json +0 -0
  267. /package/framework/{v0.7.8 → v0.7.9}/lib/audit/src/main.js +0 -0
  268. /package/framework/{v0.7.8 → v0.7.9}/lib/audit-store.js +0 -0
  269. /package/framework/{v0.7.8 → v0.7.9}/lib/authn/package.json +0 -0
  270. /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/lockout.js +0 -0
  271. /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/main.js +0 -0
  272. /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/totp.js +0 -0
  273. /package/framework/{v0.7.8 → v0.7.9}/lib/authz-gate/package.json +0 -0
  274. /package/framework/{v0.7.8 → v0.7.9}/lib/authz-gate/src/main.js +0 -0
  275. /package/framework/{v0.7.8 → v0.7.9}/lib/cache/README.md +0 -0
  276. /package/framework/{v0.7.8 → v0.7.9}/lib/cache/build.json +0 -0
  277. /package/framework/{v0.7.8 → v0.7.9}/lib/cache/package.json +0 -0
  278. /package/framework/{v0.7.8 → v0.7.9}/lib/cache/src/main.js +0 -0
  279. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/aliases.json +0 -0
  280. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/arguments.json +0 -0
  281. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/help.txt +0 -0
  282. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/verify.js +0 -0
  283. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/add.js +0 -0
  284. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/arguments.json +0 -0
  285. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/build.js +0 -0
  286. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/copy.js +0 -0
  287. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/cp.js +0 -0
  288. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/help.js +0 -0
  289. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/help.txt +0 -0
  290. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  291. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  292. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/name.js +0 -0
  293. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/start-status.js +0 -0
  294. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/list.js +0 -0
  295. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/man.js +0 -0
  296. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/mcp-start.js +0 -0
  297. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/mcp.js +0 -0
  298. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/oas.js +0 -0
  299. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/openapi.js +0 -0
  300. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/remove.js +0 -0
  301. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/rename.js +0 -0
  302. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/restart.js +0 -0
  303. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/rm.js +0 -0
  304. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/start.js +0 -0
  305. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/status.js +0 -0
  306. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/stop.js +0 -0
  307. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/types.js +0 -0
  308. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/arguments.json +0 -0
  309. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/clear.js +0 -0
  310. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/help.txt +0 -0
  311. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/stats.js +0 -0
  312. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/add.js +0 -0
  313. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/arguments.json +0 -0
  314. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/help.js +0 -0
  315. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/help.txt +0 -0
  316. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/infer.js +0 -0
  317. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/list.js +0 -0
  318. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/migrate.js +0 -0
  319. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/models.js +0 -0
  320. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/remove.js +0 -0
  321. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/rm.js +0 -0
  322. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/test.js +0 -0
  323. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/arguments.json +0 -0
  324. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/help.js +0 -0
  325. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/help.txt +0 -0
  326. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/man.js +0 -0
  327. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/ps.js +0 -0
  328. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/stop.js +0 -0
  329. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/add.js +0 -0
  330. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/arguments.json +0 -0
  331. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/help.txt +0 -0
  332. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/args.js +0 -0
  333. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/namespace.js +0 -0
  334. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  335. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/reference-scan.js +0 -0
  336. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/scaffold.js +0 -0
  337. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/remove.js +0 -0
  338. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/rename.js +0 -0
  339. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/rm.js +0 -0
  340. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/add.js +0 -0
  341. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/get.js +0 -0
  342. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/help.js +0 -0
  343. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/help.txt +0 -0
  344. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/inc/name.js +0 -0
  345. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/link-dev.js +0 -0
  346. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/list.js +0 -0
  347. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/remove.js +0 -0
  348. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/rm.js +0 -0
  349. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/set.js +0 -0
  350. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/unset.js +0 -0
  351. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/use.js +0 -0
  352. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/add.js +0 -0
  353. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/arguments.json +0 -0
  354. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/build.js +0 -0
  355. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/dot.js +0 -0
  356. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/get.js +0 -0
  357. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/help.js +0 -0
  358. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/help.txt +0 -0
  359. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/child-failure.js +0 -0
  360. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/listen-error.js +0 -0
  361. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/ps-titles.js +0 -0
  362. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/init.js +0 -0
  363. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/link-node-modules.js +0 -0
  364. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/link.js +0 -0
  365. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/list.js +0 -0
  366. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/man.js +0 -0
  367. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/msg.json +0 -0
  368. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/open.js +0 -0
  369. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/remove.js +0 -0
  370. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/reset.js +0 -0
  371. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/restart.js +0 -0
  372. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/set.js +0 -0
  373. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/start.js +0 -0
  374. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/status.js +0 -0
  375. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/stop.js +0 -0
  376. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/tail.js +0 -0
  377. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/update.js +0 -0
  378. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/version.js +0 -0
  379. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina-dev.1.md +0 -0
  380. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina-framework.1.md +0 -0
  381. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina.1.md +0 -0
  382. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/helper.js +0 -0
  383. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/add.js +0 -0
  384. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/arguments.json +0 -0
  385. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/export.js +0 -0
  386. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/help.js +0 -0
  387. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/help.txt +0 -0
  388. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/import.js +0 -0
  389. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/scan.js +0 -0
  390. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/_host.js +0 -0
  391. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/arguments.json +0 -0
  392. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/build.js +0 -0
  393. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/help.js +0 -0
  394. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/help.txt +0 -0
  395. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/list.js +0 -0
  396. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/man.js +0 -0
  397. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/rm.js +0 -0
  398. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/run.js +0 -0
  399. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/index.js +0 -0
  400. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/help.js +0 -0
  401. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/help.txt +0 -0
  402. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/open.js +0 -0
  403. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/man-render.js +0 -0
  404. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/arguments.json +0 -0
  405. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/help.js +0 -0
  406. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/help.txt +0 -0
  407. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/kill.js +0 -0
  408. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/list.js +0 -0
  409. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/msg.json +0 -0
  410. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/help.js +0 -0
  411. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/help.txt +0 -0
  412. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/inc/scan.js +0 -0
  413. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/list.js +0 -0
  414. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/reset.js +0 -0
  415. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/set.js +0 -0
  416. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/add.js +0 -0
  417. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/arguments.json +0 -0
  418. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/backup.js +0 -0
  419. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/build.js +0 -0
  420. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/help.js +0 -0
  421. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/help.txt +0 -0
  422. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/import.js +0 -0
  423. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/inc/name.js +0 -0
  424. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/list.js +0 -0
  425. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/man.js +0 -0
  426. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/move.js +0 -0
  427. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/remove.js +0 -0
  428. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/rename.js +0 -0
  429. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/restart.js +0 -0
  430. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/restore.js +0 -0
  431. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/rm.js +0 -0
  432. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/start.js +0 -0
  433. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/status.js +0 -0
  434. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/stop.js +0 -0
  435. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/arguments.json +0 -0
  436. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/help.js +0 -0
  437. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/help.txt +0 -0
  438. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/list.js +0 -0
  439. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/remove.js +0 -0
  440. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/set.js +0 -0
  441. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/add.js +0 -0
  442. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/help.js +0 -0
  443. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/help.txt +0 -0
  444. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/inc/name.js +0 -0
  445. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/link-local.js +0 -0
  446. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/link-production.js +0 -0
  447. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/list.js +0 -0
  448. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/remove.js +0 -0
  449. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/rm.js +0 -0
  450. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/use.js +0 -0
  451. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/arguments.json +0 -0
  452. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/check.js +0 -0
  453. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/help.js +0 -0
  454. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/help.txt +0 -0
  455. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/scan.js +0 -0
  456. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/help.js +0 -0
  457. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/help.txt +0 -0
  458. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/list.js +0 -0
  459. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/man.js +0 -0
  460. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/start.js +0 -0
  461. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/arguments.json +0 -0
  462. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/gc.js +0 -0
  463. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/help.txt +0 -0
  464. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/stats.js +0 -0
  465. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/verify.js +0 -0
  466. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/view/add.js +0 -0
  467. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd-status-format/package.json +0 -0
  468. /package/framework/{v0.7.8 → v0.7.9}/lib/cmd-status-format/src/main.js +0 -0
  469. /package/framework/{v0.7.8 → v0.7.9}/lib/collection/README.md +0 -0
  470. /package/framework/{v0.7.8 → v0.7.9}/lib/collection/build.json +0 -0
  471. /package/framework/{v0.7.8 → v0.7.9}/lib/collection/package.json +0 -0
  472. /package/framework/{v0.7.8 → v0.7.9}/lib/collection/src/main.js +0 -0
  473. /package/framework/{v0.7.8 → v0.7.9}/lib/conf-view/package.json +0 -0
  474. /package/framework/{v0.7.8 → v0.7.9}/lib/conf-view/src/main.js +0 -0
  475. /package/framework/{v0.7.8 → v0.7.9}/lib/config.js +0 -0
  476. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-config/package.json +0 -0
  477. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-config/src/main.js +0 -0
  478. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-error/package.json +0 -0
  479. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-error/src/main.js +0 -0
  480. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-registry/package.json +0 -0
  481. /package/framework/{v0.7.8 → v0.7.9}/lib/connector-registry/src/main.js +0 -0
  482. /package/framework/{v0.7.8 → v0.7.9}/lib/cron/README.md +0 -0
  483. /package/framework/{v0.7.8 → v0.7.9}/lib/cron/package.json +0 -0
  484. /package/framework/{v0.7.8 → v0.7.9}/lib/cron/src/main.js +0 -0
  485. /package/framework/{v0.7.8 → v0.7.9}/lib/domain/LICENSE +0 -0
  486. /package/framework/{v0.7.8 → v0.7.9}/lib/domain/README.md +0 -0
  487. /package/framework/{v0.7.8 → v0.7.9}/lib/domain/package.json +0 -0
  488. /package/framework/{v0.7.8 → v0.7.9}/lib/domain/src/main.js +0 -0
  489. /package/framework/{v0.7.8 → v0.7.9}/lib/dto/package.json +0 -0
  490. /package/framework/{v0.7.8 → v0.7.9}/lib/dto/src/main.js +0 -0
  491. /package/framework/{v0.7.8 → v0.7.9}/lib/dto-pipe/package.json +0 -0
  492. /package/framework/{v0.7.8 → v0.7.9}/lib/dto-pipe/src/main.js +0 -0
  493. /package/framework/{v0.7.8 → v0.7.9}/lib/dto-types/package.json +0 -0
  494. /package/framework/{v0.7.8 → v0.7.9}/lib/dto-types/src/main.js +0 -0
  495. /package/framework/{v0.7.8 → v0.7.9}/lib/duration/package.json +0 -0
  496. /package/framework/{v0.7.8 → v0.7.9}/lib/duration/src/main.js +0 -0
  497. /package/framework/{v0.7.8 → v0.7.9}/lib/error-ref/package.json +0 -0
  498. /package/framework/{v0.7.8 → v0.7.9}/lib/error-ref/src/main.js +0 -0
  499. /package/framework/{v0.7.8 → v0.7.9}/lib/generator/index.js +0 -0
  500. /package/framework/{v0.7.8 → v0.7.9}/lib/i18n/package.json +0 -0
  501. /package/framework/{v0.7.8 → v0.7.9}/lib/i18n/src/main.js +0 -0
  502. /package/framework/{v0.7.8 → v0.7.9}/lib/idempotency/package.json +0 -0
  503. /package/framework/{v0.7.8 → v0.7.9}/lib/idempotency/src/main.js +0 -0
  504. /package/framework/{v0.7.8 → v0.7.9}/lib/image-build/package.json +0 -0
  505. /package/framework/{v0.7.8 → v0.7.9}/lib/image-build/src/main.js +0 -0
  506. /package/framework/{v0.7.8 → v0.7.9}/lib/index.js +0 -0
  507. /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/LICENSE +0 -0
  508. /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/README.md +0 -0
  509. /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/package.json +0 -0
  510. /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/src/main.js +0 -0
  511. /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-events/package.json +0 -0
  512. /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-events/src/main.js +0 -0
  513. /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-redact/package.json +0 -0
  514. /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-redact/src/main.js +0 -0
  515. /package/framework/{v0.7.8 → v0.7.9}/lib/instrument/package.json +0 -0
  516. /package/framework/{v0.7.8 → v0.7.9}/lib/instrument/src/main.js +0 -0
  517. /package/framework/{v0.7.8 → v0.7.9}/lib/job/package.json +0 -0
  518. /package/framework/{v0.7.8 → v0.7.9}/lib/job/src/main.js +0 -0
  519. /package/framework/{v0.7.8 → v0.7.9}/lib/job-store.js +0 -0
  520. /package/framework/{v0.7.8 → v0.7.9}/lib/json-config-header/package.json +0 -0
  521. /package/framework/{v0.7.8 → v0.7.9}/lib/json-config-header/src/main.js +0 -0
  522. /package/framework/{v0.7.8 → v0.7.9}/lib/kv/package.json +0 -0
  523. /package/framework/{v0.7.8 → v0.7.9}/lib/kv/src/main.js +0 -0
  524. /package/framework/{v0.7.8 → v0.7.9}/lib/kv-store.js +0 -0
  525. /package/framework/{v0.7.8 → v0.7.9}/lib/lane/package.json +0 -0
  526. /package/framework/{v0.7.8 → v0.7.9}/lib/lane/src/main.js +0 -0
  527. /package/framework/{v0.7.8 → v0.7.9}/lib/loading-state/package.json +0 -0
  528. /package/framework/{v0.7.8 → v0.7.9}/lib/loading-state/src/main.js +0 -0
  529. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/README.md +0 -0
  530. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/package.json +0 -0
  531. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/default/index.js +0 -0
  532. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/file/index.js +0 -0
  533. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/index.js +0 -0
  534. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/listener.js +0 -0
  535. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/speaker.js +0 -0
  536. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/helper.js +0 -0
  537. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/main.js +0 -0
  538. /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/redact.js +0 -0
  539. /package/framework/{v0.7.8 → v0.7.9}/lib/maintenance/package.json +0 -0
  540. /package/framework/{v0.7.8 → v0.7.9}/lib/maintenance/src/main.js +0 -0
  541. /package/framework/{v0.7.8 → v0.7.9}/lib/math/index.js +0 -0
  542. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-dispatch/package.json +0 -0
  543. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-dispatch/src/main.js +0 -0
  544. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-http/package.json +0 -0
  545. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-http/src/main.js +0 -0
  546. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-server/package.json +0 -0
  547. /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-server/src/main.js +0 -0
  548. /package/framework/{v0.7.8 → v0.7.9}/lib/merge/README.md +0 -0
  549. /package/framework/{v0.7.8 → v0.7.9}/lib/merge/package.json +0 -0
  550. /package/framework/{v0.7.8 → v0.7.9}/lib/message-validator/package.json +0 -0
  551. /package/framework/{v0.7.8 → v0.7.9}/lib/message-validator/src/main.js +0 -0
  552. /package/framework/{v0.7.8 → v0.7.9}/lib/metrics/package.json +0 -0
  553. /package/framework/{v0.7.8 → v0.7.9}/lib/metrics/src/main.js +0 -0
  554. /package/framework/{v0.7.8 → v0.7.9}/lib/model.js +0 -0
  555. /package/framework/{v0.7.8 → v0.7.9}/lib/money/package.json +0 -0
  556. /package/framework/{v0.7.8 → v0.7.9}/lib/money/src/main.js +0 -0
  557. /package/framework/{v0.7.8 → v0.7.9}/lib/multipart/package.json +0 -0
  558. /package/framework/{v0.7.8 → v0.7.9}/lib/multipart/src/main.js +0 -0
  559. /package/framework/{v0.7.8 → v0.7.9}/lib/net-locality/package.json +0 -0
  560. /package/framework/{v0.7.8 → v0.7.9}/lib/net-locality/src/main.js +0 -0
  561. /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/README.md +0 -0
  562. /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/package.json +0 -0
  563. /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/src/main.js +0 -0
  564. /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-resolver/package.json +0 -0
  565. /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-resolver/src/main.js +0 -0
  566. /package/framework/{v0.7.8 → v0.7.9}/lib/priority/package.json +0 -0
  567. /package/framework/{v0.7.8 → v0.7.9}/lib/priority/src/main.js +0 -0
  568. /package/framework/{v0.7.8 → v0.7.9}/lib/proc.js +0 -0
  569. /package/framework/{v0.7.8 → v0.7.9}/lib/push/package.json +0 -0
  570. /package/framework/{v0.7.8 → v0.7.9}/lib/push/src/main.js +0 -0
  571. /package/framework/{v0.7.8 → v0.7.9}/lib/rate-limit/package.json +0 -0
  572. /package/framework/{v0.7.8 → v0.7.9}/lib/rate-limit/src/main.js +0 -0
  573. /package/framework/{v0.7.8 → v0.7.9}/lib/release-watch/package.json +0 -0
  574. /package/framework/{v0.7.8 → v0.7.9}/lib/release-watch/src/main.js +0 -0
  575. /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache/package.json +0 -0
  576. /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache/src/main.js +0 -0
  577. /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache-store.js +0 -0
  578. /package/framework/{v0.7.8 → v0.7.9}/lib/routing/README.md +0 -0
  579. /package/framework/{v0.7.8 → v0.7.9}/lib/routing/build.json +0 -0
  580. /package/framework/{v0.7.8 → v0.7.9}/lib/routing/package.json +0 -0
  581. /package/framework/{v0.7.8 → v0.7.9}/lib/routing/src/main.js +0 -0
  582. /package/framework/{v0.7.8 → v0.7.9}/lib/routing-introspect/package.json +0 -0
  583. /package/framework/{v0.7.8 → v0.7.9}/lib/routing-introspect/src/main.js +0 -0
  584. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/package.json +0 -0
  585. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/env.js +0 -0
  586. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/exec.js +0 -0
  587. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/file.js +0 -0
  588. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/declaration.js +0 -0
  589. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/env-file.js +0 -0
  590. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/main.js +0 -0
  591. /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/sources.js +0 -0
  592. /package/framework/{v0.7.8 → v0.7.9}/lib/security-headers-emitter/package.json +0 -0
  593. /package/framework/{v0.7.8 → v0.7.9}/lib/security-headers-emitter/src/main.js +0 -0
  594. /package/framework/{v0.7.8 → v0.7.9}/lib/session-lifetime/package.json +0 -0
  595. /package/framework/{v0.7.8 → v0.7.9}/lib/session-lifetime/src/main.js +0 -0
  596. /package/framework/{v0.7.8 → v0.7.9}/lib/session-store.js +0 -0
  597. /package/framework/{v0.7.8 → v0.7.9}/lib/shell.js +0 -0
  598. /package/framework/{v0.7.8 → v0.7.9}/lib/sqlite-driver.js +0 -0
  599. /package/framework/{v0.7.8 → v0.7.9}/lib/sri/package.json +0 -0
  600. /package/framework/{v0.7.8 → v0.7.9}/lib/sri/src/main.js +0 -0
  601. /package/framework/{v0.7.8 → v0.7.9}/lib/state.js +0 -0
  602. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/package.json +0 -0
  603. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local-cas.js +0 -0
  604. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local-stream.js +0 -0
  605. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local.js +0 -0
  606. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/main.js +0 -0
  607. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/meta-store.js +0 -0
  608. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/s3.js +0 -0
  609. /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/util.js +0 -0
  610. /package/framework/{v0.7.8 → v0.7.9}/lib/storage-store.js +0 -0
  611. /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/README.md +0 -0
  612. /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/package.json +0 -0
  613. /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/src/main.js +0 -0
  614. /package/framework/{v0.7.8 → v0.7.9}/lib/swig-resolver/package.json +0 -0
  615. /package/framework/{v0.7.8 → v0.7.9}/lib/swig-resolver/src/main.js +0 -0
  616. /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/package.json +0 -0
  617. /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/loaders/http.js +0 -0
  618. /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/loaders/memory.js +0 -0
  619. /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/main.js +0 -0
  620. /package/framework/{v0.7.8 → v0.7.9}/lib/url/README.md +0 -0
  621. /package/framework/{v0.7.8 → v0.7.9}/lib/url/index.js +0 -0
  622. /package/framework/{v0.7.8 → v0.7.9}/lib/url/routing.json +0 -0
  623. /package/framework/{v0.7.8 → v0.7.9}/lib/uuid/package.json +0 -0
  624. /package/framework/{v0.7.8 → v0.7.9}/lib/uuid/src/main.js +0 -0
  625. /package/framework/{v0.7.8 → v0.7.9}/lib/validator.js +0 -0
  626. /package/framework/{v0.7.8 → v0.7.9}/lib/watcher/package.json +0 -0
  627. /package/framework/{v0.7.8 → v0.7.9}/lib/watcher/src/main.js +0 -0
  628. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-framing/package.json +0 -0
  629. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-framing/src/main.js +0 -0
  630. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-query/package.json +0 -0
  631. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-query/src/main.js +0 -0
  632. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-session/package.json +0 -0
  633. /package/framework/{v0.7.8 → v0.7.9}/lib/ws-session/src/main.js +0 -0
@@ -2164,8 +2164,9 @@ define("requireLib", function(){});
2164
2164
  * then every source element the result lacks. A number the source repeats more
2165
2165
  * often than the result is topped up to the source's count (`[25]` + `[25,25]`
2166
2166
  * gives `[25,25]`), a value already present is never pushed again, and merging
2167
- * the same source a second time is a no-op (#B436). A nested array is merged
2168
- * once per level.
2167
+ * the same source a second time is a no-op (#B436). A `NaN` is present once the
2168
+ * result holds one, and it is never topped up (`[1,NaN]` + `[NaN,2]` gives
2169
+ * `[1,NaN,2]`, #B1091). A nested array is merged once per level.
2169
2170
  *
2170
2171
  * @example
2171
2172
  * var merge = require('lib/merge');
@@ -2247,8 +2248,13 @@ function Merge() {
2247
2248
  * @param {object|Array} target - Target (base) object or array
2248
2249
  * @param {object|Array} source - Source object or array to merge into target
2249
2250
  * @param {boolean} [override=false] - Pass `true` to let `source` overwrite existing target keys; by default they are preserved
2250
- * @returns {object|Array} Merged result (mutates and returns `target`; never
2251
- * rewrites `source` — a subtree the target lacks is referenced, not walked, #B428)
2251
+ * @returns {object|Array} Merged result. An object `target` is mutated and
2252
+ * returned; an array merge usually returns a new array. `source` is never
2253
+ * rewritten: inside an object both sides hold, a subtree the target lacks is
2254
+ * referenced, not walked (#B428), while a key the target lacks at the top level
2255
+ * is copied, an array through the array merge and an object as a shallow copy
2256
+ * whose arrays are merged the same way; with `override` such a top-level array
2257
+ * is the source's own array (#B1078)
2252
2258
  *
2253
2259
  * @example
2254
2260
  * merge({ a: 1 }, { b: 2 }) // { a: 1, b: 2 }
@@ -2258,6 +2264,7 @@ function Merge() {
2258
2264
  * merge([1, 2], [3, 4], true) // [3, 4]
2259
2265
  * merge({ a: [null, 'x'] }, { a: [null, 'x'] }) // { a: [null, 'x'] } — null elements are preserved (#B226)
2260
2266
  * merge({ ports: [8080, 8124] }, { ports: [8124] }) // { ports: [8080, 8124] } — a value already present is not pushed again (#B436)
2267
+ * merge([1, NaN], [NaN, 2]) // [1, NaN, 2] — a NaN the result holds is present too (#B1091)
2261
2268
  * merge({}, { toString: 'x' }) // { toString: 'x' } — a key held only through Object.prototype is missing, so it is filled (#B845)
2262
2269
  */
2263
2270
  var browse = function (_target, _source) {
@@ -2501,6 +2508,105 @@ function Merge() {
2501
2508
  return target;
2502
2509
  };
2503
2510
 
2511
+ /**
2512
+ * #B1078 — true when the id-keyed collection loop of `mergeArray` (its
2513
+ * non-override branch) would push nothing, so its result is the target's copy
2514
+ * as it stands. That loop compares each element of a deep clone of `options`
2515
+ * with the ids of `newTarget`: it pushes a clone only when the clone's key is
2516
+ * not among those ids, and its scan stops for good at the first element that is
2517
+ * null or whose clone lacks the key. When every element before that point has a
2518
+ * key the target already holds, the loop pushes nothing, yet it rescans
2519
+ * `options` to its end once per target element: about N^3 steps with the
2520
+ * `indexOf` it used per step, N^2 with the `Set` below, for a collection merged
2521
+ * into an empty target or one holding the same ids.
2522
+ *
2523
+ * Each key is read as the server's `JSON.clone` hands it to the loop: a plain
2524
+ * object or array is copied by its own keys (an own key holding `undefined`
2525
+ * becomes `null`), and any other value is the element itself. The browser's
2526
+ * copy (polyfill.js) copies only enumerable own keys and keeps an own
2527
+ * `undefined`, which can only stop its scan sooner, so a true answer holds there
2528
+ * too. For the one key name the two copies treat apart, `'undefined'`, for
2529
+ * `'__proto__'` (neither copy can hold it as an own key: the write runs the
2530
+ * accessor, so the loop reads the prototype) and for a `keyComparison` that is
2531
+ * not a string, the answer is false. Only a string,
2532
+ * boolean, null or non-NaN number key can be matched; any other key returns
2533
+ * false, and the loop decides, as before.
2534
+ *
2535
+ * @inner
2536
+ * @private
2537
+ * @param {Array} options - Source array (the loop's `_options`, before its clone)
2538
+ * @param {Array} newTarget - The target's copy the loop starts from
2539
+ * @param {string} keyComparison - The key the collection is compared on
2540
+ * @returns {boolean} true when the loop would leave `newTarget` unchanged
2541
+ *
2542
+ * @example
2543
+ * collectionAddsNothing([{ id: 'a' }], [{ id: 'a' }, { id: 'b' }], 'id') // true
2544
+ * collectionAddsNothing([{ id: 'c' }], [{ id: 'a' }], 'id') // false
2545
+ */
2546
+ var collectionAddsNothing = function(options, newTarget, keyComparison) {
2547
+ var ids = new Set(), t = 0, tLen = newTarget.length, n = 0, nLen = options.length, el = null, key = null;
2548
+ // the server's JSON.clone skips an own key named 'undefined' and the browser's
2549
+ // copies it: for that name, or a key that is not a string, the loop decides
2550
+ if ( typeof(keyComparison) != 'string' || keyComparison === 'undefined' ) { return false }
2551
+ // an own key named '__proto__' (JSON.parse yields one) is written through the
2552
+ // Object.prototype accessor by both clones, so a clone never holds it as data
2553
+ // and the loop reads the prototype where this check reads the value
2554
+ if ( keyComparison === '__proto__' ) { return false }
2555
+ for (; t < tLen; ++t) {
2556
+ // the loop's own id list skips the same null slots
2557
+ if (newTarget[t] == null) { continue }
2558
+ ids.add(newTarget[t][keyComparison]);
2559
+ }
2560
+ for (; n < nLen; ++n) {
2561
+ el = options[n];
2562
+ // a null element stops the loop's scan: nothing after it is read
2563
+ if (el == null) { return true }
2564
+ if ( typeof(el) != 'object' || ( el.constructor != Object && el.constructor != Array ) ) {
2565
+ // JSON.clone hands back anything but a plain object or array as is
2566
+ key = el[keyComparison];
2567
+ } else if ( !hasOwn.call(el, keyComparison) ) {
2568
+ // the clone holds only own keys
2569
+ key = ( el.constructor == Array ) ? [][keyComparison] : {}[keyComparison];
2570
+ } else {
2571
+ key = el[keyComparison];
2572
+ if ( typeof(key) == 'undefined' ) { key = null }
2573
+ }
2574
+ // a clone with no key stops the loop's scan too
2575
+ if ( typeof(key) == 'undefined' ) { return true }
2576
+ if (
2577
+ !(
2578
+ typeof(key) == 'string'
2579
+ || typeof(key) == 'boolean'
2580
+ // undefined returned above, so `== null` is the null key here
2581
+ || key == null
2582
+ || ( typeof(key) == 'number' && key === key )
2583
+ )
2584
+ ) {
2585
+ return false
2586
+ }
2587
+ if ( !ids.has(key) ) { return false }
2588
+ }
2589
+ return true
2590
+ };
2591
+
2592
+ /**
2593
+ * Whether `x` is `NaN`, the one value that is not equal to itself (#B1091): the
2594
+ * primitive push in `mergeArray` passes it to `some()`, because `indexOf` never
2595
+ * finds a `NaN`.
2596
+ *
2597
+ * @inner
2598
+ * @private
2599
+ * @param {*} x - An element of the array being merged into
2600
+ * @returns {boolean} true when `x` is `NaN`
2601
+ *
2602
+ * @example
2603
+ * [1, NaN].some(isNaNElement) // true
2604
+ * [1, 'NaN'].some(isNaNElement) // false
2605
+ */
2606
+ var isNaNElement = function(x) {
2607
+ return x !== x;
2608
+ };
2609
+
2504
2610
  /**
2505
2611
  * Merge two arrays. Will not merge function items: this is normal.
2506
2612
  * Merging plain arrays is OK, merging collections is still experimental.
@@ -2526,7 +2632,9 @@ function Merge() {
2526
2632
  * source element the result lacks. A `number` the source carries more often
2527
2633
  * than the result so far is pushed again, up to the source's count (#B436):
2528
2634
  * the comparison is by COUNT, so a number already present at another index
2529
- * is never duplicated and merging the same source twice is a no-op.
2635
+ * is never duplicated and merging the same source twice is a no-op. `NaN`,
2636
+ * which `indexOf` never finds, is present once the result holds a `NaN`, and
2637
+ * it is never topped up (#B1091).
2530
2638
  *
2531
2639
  * @inner
2532
2640
  * @private
@@ -2564,6 +2672,8 @@ function Merge() {
2564
2672
  if (newTarget[nt] == null) { continue; }
2565
2673
  newTargetIds.push(newTarget[nt][keyComparison]);
2566
2674
  }
2675
+ // #B1078 — the ids in a Set for the membership tests below (NaN is never found, as with indexOf)
2676
+ var newTargetIdSet = new Set(newTargetIds);
2567
2677
 
2568
2678
  var _options = JSON.clone(options);
2569
2679
  var index = 0;
@@ -2591,14 +2701,17 @@ function Merge() {
2591
2701
 
2592
2702
  if (_options[a][keyComparison] === target[n][keyComparison] ) {
2593
2703
 
2594
- if (newTargetIds.indexOf(_options[a][keyComparison]) > -1) {
2704
+ // was: if (newTargetIds.indexOf(_options[a][keyComparison]) > -1) {
2705
+ if ( _options[a][keyComparison] === _options[a][keyComparison] && newTargetIdSet.has(_options[a][keyComparison]) ) {
2595
2706
 
2596
2707
  newTarget[index] = _options[a];
2597
2708
  ++index;
2598
2709
 
2599
- } else if (newTargetIds.indexOf(_options[a][keyComparison]) == -1) {
2710
+ // was: } else if (newTargetIds.indexOf(_options[a][keyComparison]) == -1) {
2711
+ } else if ( _options[a][keyComparison] !== _options[a][keyComparison] || !newTargetIdSet.has(_options[a][keyComparison]) ) {
2600
2712
 
2601
2713
  newTargetIds.push(_options[a][keyComparison]);
2714
+ newTargetIdSet.add(_options[a][keyComparison]);
2602
2715
  //newTarget.push(_options[a]);
2603
2716
  newTarget[index] = _options[a];
2604
2717
  ++index;
@@ -2606,9 +2719,11 @@ function Merge() {
2606
2719
 
2607
2720
  break label;
2608
2721
 
2609
- } else if (newTargetIds.indexOf(_options[a][keyComparison]) == -1) {
2722
+ // was: } else if (newTargetIds.indexOf(_options[a][keyComparison]) == -1) {
2723
+ } else if ( _options[a][keyComparison] !== _options[a][keyComparison] || !newTargetIdSet.has(_options[a][keyComparison]) ) {
2610
2724
 
2611
2725
  newTargetIds.push(_options[a][keyComparison]);
2726
+ newTargetIdSet.add(_options[a][keyComparison]);
2612
2727
  newTarget.push(_options[a]);
2613
2728
  }
2614
2729
  } // EO For
@@ -2679,6 +2794,10 @@ function Merge() {
2679
2794
  ) {
2680
2795
 
2681
2796
  newTarget = (Array.isArray(target)) ? Array.from(target) : JSON.clone(target);
2797
+ // #B1078 — nothing in `options` can be pushed: skip the clone and the loop
2798
+ if ( collectionAddsNothing(options, newTarget, keyComparison) ) {
2799
+ return newTarget;
2800
+ }
2682
2801
  var _options = JSON.clone(options);
2683
2802
  var next = null;
2684
2803
 
@@ -2689,6 +2808,9 @@ function Merge() {
2689
2808
  if (newTarget[a] == null) { continue; }
2690
2809
  newTargetIds.push(newTarget[a][keyComparison]);
2691
2810
  }
2811
+ // #B1078 — the ids in a Set, for the membership test below. `indexOf` never
2812
+ // finds NaN (NaN !== NaN): the test skips the Set for it, as before.
2813
+ var newTargetIdSet = new Set(newTargetIds);
2692
2814
  a = 0;
2693
2815
  for (; a < aLen; ++a) {
2694
2816
 
@@ -2704,9 +2826,11 @@ function Merge() {
2704
2826
 
2705
2827
  ) {
2706
2828
 
2707
- if ( newTargetIds.indexOf(_options[n][keyComparison]) == -1 ) {
2829
+ // was: if ( newTargetIds.indexOf(_options[n][keyComparison]) == -1 ) {
2830
+ if ( _options[n][keyComparison] !== _options[n][keyComparison] || !newTargetIdSet.has(_options[n][keyComparison]) ) {
2708
2831
  newTarget.push(_options[n]);
2709
2832
  newTargetIds.push(_options[n][keyComparison]);
2833
+ newTargetIdSet.add(_options[n][keyComparison]);
2710
2834
 
2711
2835
  next = n+1;
2712
2836
 
@@ -2831,7 +2955,14 @@ function Merge() {
2831
2955
  // array with string key
2832
2956
  // #B226 — same typeof-null exception as the rebuild above
2833
2957
  // was: else if (newTarget.indexOf(options[a]) == -1 && typeof(options[a]) != 'object') {
2834
- else if (newTarget.indexOf(options[a]) == -1 && ( typeof(options[a]) != 'object' || options[a] === null )) {
2958
+ // #B1091 — `indexOf` never finds `NaN`, so a `NaN` the result already held was
2959
+ // pushed again: `[1, NaN]` + `[NaN, 2]` gave `[1, NaN, NaN, 2]`. On the createMode pass,
2960
+ // once the index-merge branch above has rebound `newTarget` to the array this loop
2961
+ // walks, each such push lengthened that array, and the merge never returned. For
2962
+ // `NaN` only, the push now also asks whether the result holds a `NaN` already
2963
+ // (ES5, for the browser bundle); every other value takes the test it took before.
2964
+ // was: else if (newTarget.indexOf(options[a]) == -1 && ( typeof(options[a]) != 'object' || options[a] === null ))
2965
+ else if (newTarget.indexOf(options[a]) == -1 && ( typeof(options[a]) != 'object' || options[a] === null ) && ( options[a] === options[a] || !newTarget.some(isNaNElement) )) {
2835
2966
  newTarget.push(options[a]);
2836
2967
  }
2837
2968
  // collection without keyComparison
@@ -16431,13 +16562,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
16431
16562
 
16432
16563
  /**
16433
16564
  * Reset fields
16434
- * Restores each bound control to the value it had when the form was bound, then runs the one pass of
16435
- * a reset: the error display and the `errors` store are cleared, nothing is painted, and the submit
16436
- * trigger is re-read (#B1037). With live check off, `resetFields()` runs no pass; a master checkbox's
16437
- * timer reads the form once more, its group applied. While the values are written the live check stays
16438
- * out of it (`isBeingReseted`, read by the live listeners), and `resetCount` tells a pass already on its way
16439
- * that the form it was checking is gone. A control removed from the page since the bind is skipped,
16440
- * and each control is looked for among the form's own, should its id be shared (#B1036).
16565
+ * Restores each bound control to the value it had when the form was bound (a form-associated custom
16566
+ * element restores itself through its own `formResetCallback`, or keeps its value without one: see
16567
+ * below), then runs the one pass of a reset: the error display and the `errors` store are cleared,
16568
+ * nothing is painted, and the submit trigger is re-read (#B1037). With live check off, `resetFields()`
16569
+ * runs no pass; a master checkbox's timer reads the form once more, its group applied. While the values
16570
+ * are written the live check stays out of it (`isBeingReseted`, read by the live listeners), and
16571
+ * `resetCount` tells a pass already on its way that the form it was checking is gone. A control removed
16572
+ * from the page since the bind is skipped, and each control is looked for among the form's own, should
16573
+ * its id be shared (#B1036). A form-associated custom element restores itself through its own
16574
+ * `formResetCallback`, which the native reset gina cancels would have run: one without that callback
16575
+ * keeps its value, as a native reset leaves it, and a callback that throws is reported without stopping
16576
+ * the reset (#B1041). The callbacks run once every other control is restored, as a native reset runs
16577
+ * them, and a component no longer among the form's `elements` (moved into another form since the bind)
16578
+ * is left alone (#B1087). A submit waiting for a staged upload of the form (#B726) is dropped, so the
16579
+ * upload's settle replays nothing, and the busy state its gesture armed is released, unless a request of
16580
+ * the form's own is in flight (#B1043).
16441
16581
  *
16442
16582
  * @param {object|string} [$form|formId]
16443
16583
  * @param {boolean} [isOnResetMode=false] - the path of a `reset` event: `text` and `hidden` inputs
@@ -16469,6 +16609,16 @@ function ValidatorPlugin(rules, data, formId, culture) {
16469
16609
  $form = instance.$forms[_id]
16470
16610
  }
16471
16611
 
16612
+ // #B1043 — a submit waiting for a staged upload of this form (#B726) belongs to the values the reset
16613
+ // replaces: drop it, so the upload's settle replays nothing, and release the busy state its gesture
16614
+ // armed, unless a request of the form's own is in flight (its settle owns that state)
16615
+ if ( $form.stagedUploadWait ) {
16616
+ $form.stagedUploadWait = null;
16617
+ if ( !/^true$/i.test($form.isSending) ) {
16618
+ disarmSubmitLoading($form);
16619
+ }
16620
+ }
16621
+
16472
16622
  if ($form.fieldsSet) {
16473
16623
 
16474
16624
  var elId = null
@@ -16479,6 +16629,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
16479
16629
  , defaultValue = null
16480
16630
  ;
16481
16631
  var resetInfo = null;
16632
+ // #B1087 — the form-associated custom elements whose own `formResetCallback` runs after the loop
16633
+ var faceResets = [];
16482
16634
  $form.isBeingReseted = true;
16483
16635
  $form.resetCount = ( $form.resetCount || 0 ) + 1;
16484
16636
  // the flag must come down whatever happens here: left up, it would silence the form's live
@@ -16500,6 +16652,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
16500
16652
  }
16501
16653
  // a field removed from the page since the bind has nothing to restore
16502
16654
  if ( !$element ) { continue; }
16655
+ // #B1041 — a form-associated custom element (bound by `getOwnedFaces`: its tag name holds
16656
+ // a `-`) restores itself: gina cancels the native reset, which would have run the element's
16657
+ // own `formResetCallback`, so the reset calls it, after this loop (#B1087). An element
16658
+ // without one keeps its value, as a native reset leaves it.
16659
+ if ( $element.tagName.indexOf('-') > -1 ) {
16660
+ // #B1087 — a component moved into another form since the bind is that form's to reset,
16661
+ // as natively: the `form` property the bind gave it still names this form, so the
16662
+ // #B1036 lookup above kept it; membership in this form's `elements` is the test
16663
+ if ( $form.target.elements && Array.prototype.indexOf.call($form.target.elements, $element) < 0 ) {
16664
+ continue;
16665
+ }
16666
+ if ( typeof($element.formResetCallback) == 'function' ) {
16667
+ faceResets.push($element);
16668
+ }
16669
+ continue;
16670
+ }
16503
16671
  type = $element.tagName.toLowerCase();
16504
16672
  tagName = $element.tagName;
16505
16673
 
@@ -16530,6 +16698,17 @@ function ValidatorPlugin(rules, data, formId, culture) {
16530
16698
  }
16531
16699
 
16532
16700
  }
16701
+ // #B1087 — the components restore themselves once every other control is restored, as a
16702
+ // native reset runs their callbacks after it has reset each control: a callback reading a
16703
+ // sibling sees the restored value. Still under `isBeingReseted`, before the pass reads the
16704
+ // form. A throwing callback is reported, as the browser reports one, and the others still run.
16705
+ for (var fr = 0, frLen = faceResets.length; fr < frLen; ++fr) {
16706
+ try {
16707
+ faceResets[fr].formResetCallback();
16708
+ } catch (formResetErr) {
16709
+ setTimeout(function onFormResetCallbackError() { throw formResetErr; }, 0);
16710
+ }
16711
+ }
16533
16712
  // On reset mode the collector writes `text` and `hidden` values too: still under the flag
16534
16713
  resetInfo = ( isOnResetMode === true )
16535
16714
  ? getFormValidationInfos($form.target, $form.rules, true)
@@ -17846,10 +18025,15 @@ function ValidatorPlugin(rules, data, formId, culture) {
17846
18025
 
17847
18026
  } catch (err) {
17848
18027
 
18028
+ // #B1083 — an answer came back and handling it failed (a JSON body
18029
+ // that does not parse, …): not a transport failure, so
18030
+ // `transportError: false`, and `contentType` says what came back.
17849
18031
  result = {
17850
18032
  status: 422,
17851
18033
  error : err.message,
17852
- stack : err.stack
18034
+ stack : err.stack,
18035
+ transportError : false,
18036
+ contentType : contentType
17853
18037
 
17854
18038
  };
17855
18039
 
@@ -17906,7 +18090,14 @@ function ValidatorPlugin(rules, data, formId, culture) {
17906
18090
 
17907
18091
  } else if ( xhr.status != 0) {
17908
18092
  // XHR Error
17909
- result = { 'status': xhr.status };
18093
+ // #B1083 — the server answered, so the request did not fail in transit:
18094
+ // `transportError: false` (the forms guide's contract; refuseSend's payload
18095
+ // carries it too), and `contentType` says what the answer is (its header as the
18096
+ // browser reads it, `null` when none), so a handler can tell a proxy's page in
18097
+ // `message` from a message the application wrote. On the normal path a JSON
18098
+ // body keeps its own keys (`merge(body, result)` keeps the target's).
18099
+ // was: result = { 'status': xhr.status };
18100
+ result = { 'status': xhr.status, 'transportError': false, 'contentType': contentType };
17910
18101
  // handling blob xhr error
17911
18102
  if ( /blob/.test(xhr.responseType) ) {
17912
18103
 
@@ -17941,6 +18132,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
17941
18132
  } catch(err) {
17942
18133
  result = merge(result, err)
17943
18134
  }
18135
+ } else if ( blobError ) {
18136
+ // #B1083 — an answer sent as an attachment whose body is not
18137
+ // JSON (a proxy's HTML page, plain text) keeps that body in
18138
+ // `message`, as the normal case below does; it was dropped.
18139
+ result.message = blobError;
17944
18140
  }
17945
18141
 
17946
18142
  if (!result.message)
@@ -18891,10 +19087,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
18891
19087
  * emptied, the delete links of the stored entries the selection replaces go (#B150), its files
18892
19088
  * become the entries the reset and delete links act on (`customFiles`, from `pendingFiles`),
18893
19089
  * the hidden fields are built (see buildUploadHiddenFields) and filled from the answer, each key
18894
- * it carries replacing its field's value (`name` included, #B962), and the previews and reset
18895
- * links are rendered. On a failure the error is shown or announced, and only the pending
19090
+ * it carries replacing its field's value (`name` included, #B962), the fields of the indices the
19091
+ * input held beyond the new selection are taken out of the form (see removeUploadEntryFields,
19092
+ * #B1057), and the previews and reset links are rendered. On a failure the error is shown or announced, and only the pending
18896
19093
  * selection is dropped: the previews, the controls, the entries and the hidden fields stay as
18897
- * they were.
19094
+ * they were. The input's value is emptied too, so the same file can be chosen again (#B1059).
18898
19095
  *
18899
19096
  * @inner
18900
19097
  * @private
@@ -18967,6 +19164,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
18967
19164
  // the reset and delete links, the input's entries and the form's hidden fields stay as they were
18968
19165
  if ( status != 'success' && $uploadTriger ) {
18969
19166
  $uploadTriger.pendingFiles = null;
19167
+ // #B1059 — the input let go of the failed selection: it kept naming the file, so choosing
19168
+ // that same file again fired `cancel` instead of `change` (Chromium) and nothing was staged.
19169
+ // A superseded staging never reaches this settle (it ends on its abort), so a newer
19170
+ // selection still staging keeps its file.
19171
+ $uploadTriger.value = '';
18970
19172
  }
18971
19173
 
18972
19174
  if ($error && status != 'success') { // handle errors first
@@ -19047,6 +19249,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
19047
19249
  // replaced ones in `_replacedStoredFiles`, and the fields were built at the selection.
19048
19250
  // was: the replaced entries came from $uploadTriger._replacedStoredFiles, then emptied
19049
19251
  var replacedStoredFiles = ( $uploadTriger.customFiles || [] ).filter(function (entry) { return entry && entry.deleteLinkId; });
19252
+ // #B1057 — the count of files the input held before this selection takes it over
19253
+ var heldFilesCount = ( $uploadTriger.customFiles || [] ).length;
19050
19254
  for (var r = 0, rLen = replacedStoredFiles.length; r < rLen; ++r) {
19051
19255
  var $replacedLink = document.getElementById(replacedStoredFiles[r].deleteLinkId);
19052
19256
  if ($replacedLink) {
@@ -19061,6 +19265,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
19061
19265
  $uploadTriger.pendingFiles = null;
19062
19266
  if ( $uploadTriger.form ) {
19063
19267
  uploadProperties.uploadFields = buildUploadHiddenFields($uploadTriger, getUploadFieldPrefix($uploadTriger), files.length, uploadProperties.mandatoryFields, false);
19268
+ // #B1057 — a selection with fewer files than the input held leaves the indices it no
19269
+ // longer has: their fields go, as a reset takes them out (a locked field stays, and a
19270
+ // later, larger selection puts back the ones the page declared). They stayed, so the form
19271
+ // posted the replaced files beside the new ones while the page showed the new ones only.
19272
+ for (var staleIndex = files.length; staleIndex < heldFilesCount; ++staleIndex) {
19273
+ removeUploadEntryFields($uploadTriger, getUploadFieldPrefix($uploadTriger), staleIndex);
19274
+ }
19064
19275
  }
19065
19276
  }
19066
19277
  for (var f = 0, fLen = files.length; f<fLen; ++f) {
@@ -19337,6 +19548,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
19337
19548
  fadeIn($resetLink);
19338
19549
  } // EO for f
19339
19550
  }
19551
+ // #B1058 — the files the input holds changed (taken over, or the pending selection dropped):
19552
+ // the gate of a rule on it follows, before a submit that waited for this upload is decided
19553
+ if ( $uploadTriger ) {
19554
+ resyncStagedUploadGate($uploadTriger);
19555
+ }
19340
19556
  }
19341
19557
 
19342
19558
  /**
@@ -19427,9 +19643,68 @@ function ValidatorPlugin(rules, data, formId, culture) {
19427
19643
  return false;
19428
19644
  };
19429
19645
 
19646
+ /**
19647
+ * getStagedUploadValue — #B1058: the value a rule of a staged file input judges. The input never
19648
+ * posts its own value (the browser's placeholder path, #B725), so its rules judge the files it
19649
+ * holds: the names of its entries (`customFiles`: the files of its last successful staging, or
19650
+ * the saved files an edit form shows) and of a selection still staging (`pendingFiles`), joined
19651
+ * with ', ', or '' when it holds none. A selection in flight counts, so the file being sent
19652
+ * satisfies `isRequired` while it uploads; a failed staging drops it.
19653
+ *
19654
+ * @inner
19655
+ * @private
19656
+ * @param {HTMLInputElement} $input - the staged file input
19657
+ * @returns {string} the names of the files it holds, or ''
19658
+ *
19659
+ * @example
19660
+ * getStagedUploadValue(document.getElementById('avatar')); // 'me.png' once a file is staged, '' after its reset
19661
+ */
19662
+ var getStagedUploadValue = function($input) {
19663
+ var names = [], lists = [ $input.customFiles, $input.pendingFiles ], list = null;
19664
+ for (var l = 0; l < lists.length; ++l) {
19665
+ list = lists[l];
19666
+ if ( !list ) {
19667
+ continue;
19668
+ }
19669
+ for (var e = 0, eLen = list.length; e < eLen; ++e) {
19670
+ if ( list[e] && list[e].name ) {
19671
+ names.push(list[e].name);
19672
+ }
19673
+ }
19674
+ }
19675
+ return names.join(', ');
19676
+ };
19677
+
19678
+ /**
19679
+ * resyncStagedUploadGate — #B1058: re-derives the gate of a staged file input's form (see
19680
+ * revalidateSilently) when the files the input holds change: a selection, a staging settle, a
19681
+ * reset or a delete. The live check does it for a field the user edits; a file input has none.
19682
+ * Only for an input that has a rule, the one case where the gate can depend on it. Without it a
19683
+ * required staged input kept the submit trigger marked not ready after its staging, so a click
19684
+ * only re-synced the trigger and sent nothing, and a click made while the file uploaded was lost.
19685
+ *
19686
+ * @inner
19687
+ * @private
19688
+ * @param {HTMLInputElement} $input - the staged file input
19689
+ * @returns {void}
19690
+ *
19691
+ * @example
19692
+ * resyncStagedUploadGate(document.getElementById('avatar')); // the trigger opens once the file is staged
19693
+ */
19694
+ var resyncStagedUploadGate = function($input) {
19695
+ var $form = ( $input && $input.form ) ? $input.form : null;
19696
+ var formId = ( $form && typeof($form.getAttribute) == 'function' ) ? $form.getAttribute('id') : null;
19697
+ var $formRecord = ( formId && typeof(instance.$forms[formId]) != 'undefined' ) ? instance.$forms[formId] : null;
19698
+ if ( !$formRecord || !$formRecord.rules || typeof($formRecord.rules[$input.name]) == 'undefined' ) {
19699
+ return;
19700
+ }
19701
+ revalidateSilently($formRecord);
19702
+ };
19703
+
19430
19704
  /**
19431
19705
  * removeUploadEntryFields — #B858/#B862: removes from a file input's form the controls of one
19432
- * of its files, `<prefix>[index]…` (except those marked `data-gina-form-upload-is-locked`), and
19706
+ * of its files, `<prefix>[index]…` (except those marked `data-gina-form-upload-is-locked`), on a
19707
+ * reset, a delete, or a staged selection with fewer files than the input held (#B1057), and
19433
19708
  * keeps them on the input so that the next selection puts them back
19434
19709
  * (see restoreRemovedUploadFields): a page's declared fields — `[preview][*]` sub-fields, a
19435
19710
  * caption — are part of the form, not of the file.
@@ -19945,6 +20220,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
19945
20220
  $uploadTrigger.value = '';
19946
20221
  $uploadTrigger.stagedFiles = [];
19947
20222
  }
20223
+ // #B1058 — the removed files no longer count for a rule of the input: the gate follows
20224
+ resyncStagedUploadGate($uploadTrigger);
19948
20225
  //update toolbar
19949
20226
  if (gina && envIsDev && isGFFCtx && typeof(window.ginaToolbar) != 'undefined' && window.ginaToolbar ) {
19950
20227
  try {
@@ -21331,6 +21608,10 @@ function ValidatorPlugin(rules, data, formId, culture) {
21331
21608
  * checkbox, text, hidden, password, number, email, tel, url, search, and the date/time family
21332
21609
  * (date, time, datetime-local, month, week).
21333
21610
  *
21611
+ * A check that waits (the keyup debounce, the deferred radio and checkbox pass) stops without
21612
+ * touching anything when, by the time it runs, its form has no record any more (`destroy()`) or
21613
+ * the field has left its form (#B1069).
21614
+ *
21334
21615
  * @inner
21335
21616
  * @param {object} $form - form instance record (`instance.$forms[id]` shape: `.rules`, `.target`)
21336
21617
  * @param {object} $el - control to wire (DOMObject)
@@ -21492,6 +21773,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
21492
21773
 
21493
21774
  var processEvent = function() {
21494
21775
 
21776
+ // #B1069 — this check waited (the keyup debounce, the radio and checkbox 0 ms pass)
21777
+ // and the form went meanwhile: `destroy()` dropped its record, or the field left the
21778
+ // form. Nothing is left to check or paint; reading the record here threw.
21779
+ if ( !event.target.form || typeof(instance.$forms[event.target.form.getAttribute('id')]) == 'undefined' ) {
21780
+ return;
21781
+ }
21782
+
21495
21783
  if ( isStaleAfterReset() ) {
21496
21784
  return;
21497
21785
  }
@@ -23076,6 +23364,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
23076
23364
  // was: $el._replacedStoredFiles = ( $el._replacedStoredFiles || [] ).concat(_replacedStoredFiles);
23077
23365
  // was: $el.customFiles = Array.from(files);
23078
23366
  $el.pendingFiles = Array.from(files);
23367
+ // #B1058 — the file now staging counts for a rule of the input: the gate follows it
23368
+ resyncStagedUploadGate($el);
23079
23369
 
23080
23370
 
23081
23371
 
@@ -23516,7 +23806,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
23516
23806
  }
23517
23807
 
23518
23808
  updateSubmitTriggerState( $gForm, isFormValid);
23519
- once = false;
23809
+ // #B1038 — no `once` is in scope here: the assignment wrote the page's `window.once`.
23810
+ // was: once = false;
23520
23811
  })
23521
23812
 
23522
23813
  });
@@ -25084,6 +25375,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
25084
25375
  // #B725 (gh#83 part 2) — a staged file input's `.value` is the browser
25085
25376
  // placeholder `C:\fakepath\<name>`; its real data travels through the
25086
25377
  // staged hidden fields, so keep it out of the XHR payload.
25378
+ // #B1058 — a rule of the input judges the files it holds (getStagedUploadValue);
25379
+ // validate() leaves that value out of the data. Without a value no rule ran:
25380
+ // `isRequired` on a staged input refused nothing.
25381
+ if ( rules && typeof(rules[name]) != 'undefined' ) {
25382
+ fields[name] = getStagedUploadValue($target[i]);
25383
+ }
25087
25384
  } else {
25088
25385
  fields[name] = $target[i].value;
25089
25386
  }
@@ -25805,6 +26102,9 @@ function ValidatorPlugin(rules, data, formId, culture) {
25805
26102
  * value-carrying checkbox whose own rule declares a truthy `isRequired` is
25806
26103
  * collected as an empty string the same way (#B926): `isRequired` on it
25807
26104
  * means « must be ticked ». A boolean checkbox posts its live state instead.
26105
+ * A staged file input (`data-gina-form-upload-action`) never gives its own
26106
+ * value (#B725); when it has a rule it is collected with the names of the
26107
+ * files it holds, which validate() judges and leaves out of the data (#B1058).
25808
26108
  *
25809
26109
  * @param {object} $form - form target (DOMObject), not the instance
25810
26110
  * @param {object} [rules]
@@ -26002,6 +26302,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
26002
26302
  // placeholder `C:\fakepath\<name>`; its real data travels through the staged
26003
26303
  // hidden fields, so keep it out of the XHR payload. The element is still
26004
26304
  // registered in `$fields` below for any rule that inspects it.
26305
+ // #B1058 — a rule of the input judges the files it holds (getStagedUploadValue);
26306
+ // validate() leaves that value out of the data. Without a value no rule ran:
26307
+ // `isRequired` on a staged input refused nothing.
26308
+ if ( rules && typeof(rules[name]) != 'undefined' ) {
26309
+ fields[name] = getStagedUploadValue($form[i]);
26310
+ }
26005
26311
  } else {
26006
26312
  fields[name] = $form[i].value;
26007
26313
  }
@@ -26277,7 +26583,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
26277
26583
  * @param {callback} cb - with `cb.isSilentPass` (#B1037) a `query` verdict is neither stored nor
26278
26584
  * painted here, and the pass waits for the answer to its own value: the caller reads the result.
26279
26585
  * With `cb.judgedQueries` (#B1039), a map of the fields whose `query` verdict is in: this pass does
26280
- * not ask them again
26586
+ * not ask them again. A `query` answer that arrives after the form went (its record dropped by
26587
+ * `destroy()`, or the field moved out of its form) ends the pass there: `cb` is not called (#B1069)
26281
26588
  * @param {string} [culture] // #i18n — server form-body path only; forwarded to FormValidator
26282
26589
  */
26283
26590
  var validate = function($formOrElement, fields, $fields, rules, cb, culture) {
@@ -26566,6 +26873,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
26566
26873
  if ( !/^form$/i.test($formOrElement.tagName) ) {
26567
26874
  $currentForm = $formOrElement.form;
26568
26875
  }
26876
+ // #B1069 — the answer came after its form went: `destroy()` dropped the record, or
26877
+ // the field left the form. The waiter has consumed its wake-up above; the pass ends
26878
+ // here, with nothing stored, painted or handed to its caller (reading the record threw).
26879
+ if ( !$currentForm || typeof(instance.$forms[$currentForm.getAttribute('id')]) == 'undefined' ) {
26880
+ return;
26881
+ }
26569
26882
  var formId = $currentForm.getAttribute('id');
26570
26883
  var isFormValid = null;
26571
26884
  // #B1037 — the form was reset since this pass started, so the value it
@@ -27707,6 +28020,25 @@ function ValidatorPlugin(rules, data, formId, culture) {
27707
28020
 
27708
28021
  if (i <= 0 && subLevelRules < 0) {
27709
28022
 
28023
+ // #B1058 — a staged file input is judged on the files it holds (getStagedUploadValue) and
28024
+ // never sent: its value leaves the data here, once every rule of the pass has run, since
28025
+ // `isRequired(false)` takes a name back out of the exclusions. A pass without controls
28026
+ // (the server's) has nothing to leave out. Written inline: this block is run on its own
28027
+ // by the tests that lift forEachField, with only the names it already used.
28028
+ if ( $fields ) {
28029
+ for (var stagedName in fields) {
28030
+ if (
28031
+ $fields[stagedName]
28032
+ && $fields[stagedName].type == 'file'
28033
+ && typeof($fields[stagedName].getAttribute) == 'function'
28034
+ && $fields[stagedName].getAttribute('data-gina-form-upload-action')
28035
+ && d[stagedName]
28036
+ && typeof(d[stagedName].exclude) == 'function'
28037
+ ) {
28038
+ d[stagedName].exclude(true);
28039
+ }
28040
+ }
28041
+ }
27710
28042
  var errors = d['getErrors']();
27711
28043
  // adding data attribute to handle display refresh
27712
28044
  for (var field in errors) {