gina 0.7.4 → 0.7.5

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 (643) hide show
  1. package/CHANGELOG.md +79 -8
  2. package/CONTRIBUTING.md +1 -1
  3. package/INSTALL.md +3 -42
  4. package/README.md +56 -50
  5. package/ROADMAP.md +18 -4
  6. package/bin/cli +13 -6
  7. package/bin/gina +8 -0
  8. package/bin/gina-container +92 -11
  9. package/bin/gina-init +49 -4
  10. package/framework/v0.7.5/VERSION +1 -0
  11. package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.js +1062 -139
  12. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +744 -0
  13. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  14. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  15. package/framework/{v0.7.4 → v0.7.5}/core/config.js +27 -2
  16. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/index.js +36 -2
  17. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v3.js +63 -13
  18. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v4.js +56 -11
  19. package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/index.js +10 -5
  20. package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/lib/connector.js +27 -3
  21. package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/index.js +10 -5
  22. package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/index.js +10 -5
  23. package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/index.js +10 -5
  24. package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/index.js +10 -5
  25. package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/connector.js +4 -3
  26. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/index.js +10 -5
  27. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/connector.js +10 -5
  28. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/job-store.js +2 -2
  29. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/kv-store.js +1 -1
  30. package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.js +79 -8
  31. package/framework/{v0.7.4 → v0.7.5}/core/gna.js +11 -3
  32. package/framework/{v0.7.4 → v0.7.5}/core/model/index.js +19 -12
  33. package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/form-validator.js +95 -8
  34. package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/main.js +574 -64
  35. package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.js +1 -1
  36. package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/index.js +3 -1
  37. package/framework/{v0.7.4 → v0.7.5}/helpers/context.js +17 -1
  38. package/framework/{v0.7.4 → v0.7.5}/helpers/data/src/main.js +74 -4
  39. package/framework/{v0.7.4 → v0.7.5}/helpers/index.js +7 -1
  40. package/framework/v0.7.5/helpers/json/src/main.js +340 -0
  41. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/list.js +4 -2
  42. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/restart.js +2 -1
  43. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/start.js +52 -4
  44. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/status.js +2 -1
  45. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/add.js +17 -3
  46. package/framework/v0.7.5/lib/cmd/framework/inc/child-failure.js +77 -0
  47. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/init.js +31 -4
  48. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link.js +6 -1
  49. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/start.js +6 -6
  50. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/helper.js +165 -16
  51. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/add.js +79 -27
  52. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rename.js +1 -1
  53. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restore.js +4 -4
  54. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/status.js +2 -1
  55. package/framework/{v0.7.4 → v0.7.5}/lib/collection/src/main.js +59 -9
  56. package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/src/main.js +52 -1
  57. package/framework/{v0.7.4 → v0.7.5}/lib/model.js +35 -11
  58. package/framework/{v0.7.4 → v0.7.5}/lib/proc.js +95 -31
  59. package/framework/{v0.7.4 → v0.7.5}/lib/routing/src/main.js +260 -54
  60. package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/src/main.js +107 -12
  61. package/framework/{v0.7.4 → v0.7.5}/package.json +2 -2
  62. package/gna.js +4 -4
  63. package/llms.txt +35 -28
  64. package/package.json +6 -6
  65. package/schema/connectors.json +3 -3
  66. package/schema/settings.json +3 -3
  67. package/script/post_install.js +36 -9
  68. package/script/pre_install.js +9 -5
  69. package/script/smoke_in_container.js +4 -4
  70. package/types/globals.d.ts +7 -1
  71. package/types/index.d.ts +3 -3
  72. package/framework/v0.7.4/VERSION +0 -1
  73. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -736
  74. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  75. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  76. package/framework/v0.7.4/helpers/json/src/main.js +0 -187
  77. /package/framework/{v0.7.4 → v0.7.5}/AUTHORS +0 -0
  78. /package/framework/{v0.7.4 → v0.7.5}/LICENSE +0 -0
  79. /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/nolayout.html +0 -0
  80. /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/static.html +0 -0
  81. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-192x192.png +0 -0
  82. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-512x512.png +0 -0
  83. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/apple-touch-icon.png +0 -0
  84. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-16x16.png +0 -0
  85. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-32x32.png +0 -0
  86. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon.ico +0 -0
  87. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/README.md +0 -0
  88. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  89. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  90. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  91. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  92. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  93. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  94. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  95. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  96. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  97. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  98. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  99. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  100. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  101. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  102. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  103. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  104. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  105. /package/framework/{v0.7.4 → v0.7.5}/core/config.requirements-anchor.js +0 -0
  106. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/index.js +0 -0
  107. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/lib/connector.js +0 -0
  108. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.js +0 -0
  109. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/n1ql.js +0 -0
  110. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.js +0 -0
  111. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  112. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  113. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/storage-store.js +0 -0
  114. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/connector.js +0 -0
  115. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/job-store.js +0 -0
  116. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  117. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/session-store.js +0 -0
  118. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/lib/connector.js +0 -0
  119. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/param-redact.js +0 -0
  120. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/lib/connector.js +0 -0
  121. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/index.js +0 -0
  122. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/connector.js +0 -0
  123. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/job-store.js +0 -0
  124. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/kv-store.js +0 -0
  125. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/render-cache-store.js +0 -0
  126. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/session-store.js +0 -0
  127. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/session-store.js +0 -0
  128. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/settle-once.js +0 -0
  129. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sql-parser.js +0 -0
  130. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/session-store.js +0 -0
  131. /package/framework/{v0.7.4 → v0.7.5}/core/content.encoding +0 -0
  132. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.framework.js +0 -0
  133. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-json.js +0 -0
  134. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks-async.js +0 -0
  135. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks.js +0 -0
  136. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-stream.js +0 -0
  137. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig-async.js +0 -0
  138. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig.js +0 -0
  139. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-v1.js +0 -0
  140. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-xml.js +0 -0
  141. /package/framework/{v0.7.4 → v0.7.5}/core/controller/index.js +0 -0
  142. /package/framework/{v0.7.4 → v0.7.5}/core/controller/inline-script.js +0 -0
  143. /package/framework/{v0.7.4 → v0.7.5}/core/controller/inspector-window-emit.js +0 -0
  144. /package/framework/{v0.7.4 → v0.7.5}/core/controller/preload-hints.js +0 -0
  145. /package/framework/{v0.7.4 → v0.7.5}/core/controller/release-banner.js +0 -0
  146. /package/framework/{v0.7.4 → v0.7.5}/core/dev/index.js +0 -0
  147. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/class.js +0 -0
  148. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/factory.js +0 -0
  149. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/tools.js +0 -0
  150. /package/framework/{v0.7.4 → v0.7.5}/core/locales/README.md +0 -0
  151. /package/framework/{v0.7.4 → v0.7.5}/core/locales/currency.json +0 -0
  152. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/en.json +0 -0
  153. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/fr.json +0 -0
  154. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/en.json +0 -0
  155. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/fr.json +0 -0
  156. /package/framework/{v0.7.4 → v0.7.5}/core/locales/index.js +0 -0
  157. /package/framework/{v0.7.4 → v0.7.5}/core/mime.types +0 -0
  158. /package/framework/{v0.7.4 → v0.7.5}/core/model/entity.js +0 -0
  159. /package/framework/{v0.7.4 → v0.7.5}/core/model/template/entityFactory.js +0 -0
  160. /package/framework/{v0.7.4 → v0.7.5}/core/model/template/index.js +0 -0
  161. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/README.md +0 -0
  162. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/index.js +0 -0
  163. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/README.md +0 -0
  164. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/package.json +0 -0
  165. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/src/main.js +0 -0
  166. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/README.md +0 -0
  167. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/README.md +0 -0
  168. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/package.json +0 -0
  169. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  170. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/README.md +0 -0
  171. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/package.json +0 -0
  172. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  173. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/README.md +0 -0
  174. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/package.json +0 -0
  175. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  176. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/README.md +0 -0
  177. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/package.json +0 -0
  178. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  179. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  180. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  181. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  182. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  183. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  184. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  185. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  186. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  187. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  188. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/package.json +0 -0
  189. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  190. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  191. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  192. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/src/main.js +0 -0
  193. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  194. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  195. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  196. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  197. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  198. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  199. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  200. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  201. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  202. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  203. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  204. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  205. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  206. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  207. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  208. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  209. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  210. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  211. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/README.md +0 -0
  212. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/package.json +0 -0
  213. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/src/main.js +0 -0
  214. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/README.md +0 -0
  215. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/build.json +0 -0
  216. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/package.json +0 -0
  217. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/src/main.js +0 -0
  218. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/README.md +0 -0
  219. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/build.json +0 -0
  220. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/package.json +0 -0
  221. /package/framework/{v0.7.4 → v0.7.5}/core/router.js +0 -0
  222. /package/framework/{v0.7.4 → v0.7.5}/core/server.express.js +0 -0
  223. /package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.rapid-reset.js +0 -0
  224. /package/framework/{v0.7.4 → v0.7.5}/core/server.js +0 -0
  225. /package/framework/{v0.7.4 → v0.7.5}/core/server.route-candidates.js +0 -0
  226. /package/framework/{v0.7.4 → v0.7.5}/core/status.codes +0 -0
  227. /package/framework/{v0.7.4 → v0.7.5}/core/template/_gitignore +0 -0
  228. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/app.json +0 -0
  229. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  230. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/routing.json +0 -0
  231. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.json +0 -0
  232. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  233. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/templates.json +0 -0
  234. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  235. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  236. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  237. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  238. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/locales/en.json +0 -0
  239. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  240. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  241. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  242. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  243. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  244. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  245. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  246. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  247. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/readme.md +0 -0
  248. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/sw.js +0 -0
  249. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  250. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  251. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  252. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  253. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  254. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  255. /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.bat.tpl +0 -0
  256. /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.tpl +0 -0
  257. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/env.json +0 -0
  258. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/manifest.json +0 -0
  259. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/package.json +0 -0
  260. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/settings.json +0 -0
  261. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/statics.json +0 -0
  262. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/templates.json +0 -0
  263. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/401.json +0 -0
  264. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/403.json +0 -0
  265. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/404.json +0 -0
  266. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/html/50x.html +0 -0
  267. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/500.json +0 -0
  268. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/503.json +0 -0
  269. /package/framework/{v0.7.4 → v0.7.5}/core/template/extensions/logger/config.json +0 -0
  270. /package/framework/{v0.7.4 → v0.7.5}/helpers/console.js +0 -0
  271. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/LICENSE +0 -0
  272. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/README.md +0 -0
  273. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/package.json +0 -0
  274. /package/framework/{v0.7.4 → v0.7.5}/helpers/dateFormat.js +0 -0
  275. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/LICENSE +0 -0
  276. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/README.md +0 -0
  277. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/package.json +0 -0
  278. /package/framework/{v0.7.4 → v0.7.5}/helpers/path.js +0 -0
  279. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/README.md +0 -0
  280. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/package.json +0 -0
  281. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/api-error.js +0 -0
  282. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/main.js +0 -0
  283. /package/framework/{v0.7.4 → v0.7.5}/helpers/prototypes.js +0 -0
  284. /package/framework/{v0.7.4 → v0.7.5}/helpers/task.js +0 -0
  285. /package/framework/{v0.7.4 → v0.7.5}/helpers/text.js +0 -0
  286. /package/framework/{v0.7.4 → v0.7.5}/lib/admin/package.json +0 -0
  287. /package/framework/{v0.7.4 → v0.7.5}/lib/admin/src/main.js +0 -0
  288. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/README.md +0 -0
  289. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/build.json +0 -0
  290. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/package.json +0 -0
  291. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/dep/jszip.min.js +0 -0
  292. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/main.js +0 -0
  293. /package/framework/{v0.7.4 → v0.7.5}/lib/async/package.json +0 -0
  294. /package/framework/{v0.7.4 → v0.7.5}/lib/async/src/main.js +0 -0
  295. /package/framework/{v0.7.4 → v0.7.5}/lib/audit/package.json +0 -0
  296. /package/framework/{v0.7.4 → v0.7.5}/lib/audit/src/main.js +0 -0
  297. /package/framework/{v0.7.4 → v0.7.5}/lib/audit-store.js +0 -0
  298. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/package.json +0 -0
  299. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/lockout.js +0 -0
  300. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/main.js +0 -0
  301. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/totp.js +0 -0
  302. /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/package.json +0 -0
  303. /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/src/main.js +0 -0
  304. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/README.md +0 -0
  305. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/build.json +0 -0
  306. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/package.json +0 -0
  307. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/src/main.js +0 -0
  308. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/aliases.json +0 -0
  309. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/arguments.json +0 -0
  310. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/help.txt +0 -0
  311. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/verify.js +0 -0
  312. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/add.js +0 -0
  313. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/arguments.json +0 -0
  314. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/build.js +0 -0
  315. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/copy.js +0 -0
  316. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/cp.js +0 -0
  317. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.js +0 -0
  318. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.txt +0 -0
  319. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  320. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  321. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name.js +0 -0
  322. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/start-status.js +0 -0
  323. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/man.js +0 -0
  324. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp-start.js +0 -0
  325. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp.js +0 -0
  326. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/oas.js +0 -0
  327. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/openapi.js +0 -0
  328. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/remove.js +0 -0
  329. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rename.js +0 -0
  330. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rm.js +0 -0
  331. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/stop.js +0 -0
  332. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/types.js +0 -0
  333. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/arguments.json +0 -0
  334. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/clear.js +0 -0
  335. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/help.txt +0 -0
  336. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/stats.js +0 -0
  337. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/add.js +0 -0
  338. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/arguments.json +0 -0
  339. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.js +0 -0
  340. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.txt +0 -0
  341. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/infer.js +0 -0
  342. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/list.js +0 -0
  343. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/migrate.js +0 -0
  344. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/models.js +0 -0
  345. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/remove.js +0 -0
  346. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/rm.js +0 -0
  347. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/test.js +0 -0
  348. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/arguments.json +0 -0
  349. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.js +0 -0
  350. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.txt +0 -0
  351. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/man.js +0 -0
  352. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/ps.js +0 -0
  353. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/stop.js +0 -0
  354. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/add.js +0 -0
  355. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/arguments.json +0 -0
  356. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/help.txt +0 -0
  357. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/args.js +0 -0
  358. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/namespace.js +0 -0
  359. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  360. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-scan.js +0 -0
  361. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/scaffold.js +0 -0
  362. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/remove.js +0 -0
  363. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rename.js +0 -0
  364. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rm.js +0 -0
  365. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/get.js +0 -0
  366. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.js +0 -0
  367. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.txt +0 -0
  368. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/inc/name.js +0 -0
  369. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/link-dev.js +0 -0
  370. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/list.js +0 -0
  371. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/remove.js +0 -0
  372. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/rm.js +0 -0
  373. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/set.js +0 -0
  374. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/unset.js +0 -0
  375. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/use.js +0 -0
  376. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/add.js +0 -0
  377. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/arguments.json +0 -0
  378. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/build.js +0 -0
  379. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/dot.js +0 -0
  380. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/get.js +0 -0
  381. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.js +0 -0
  382. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.txt +0 -0
  383. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/listen-error.js +0 -0
  384. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/ps-titles.js +0 -0
  385. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link-node-modules.js +0 -0
  386. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/list.js +0 -0
  387. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/man.js +0 -0
  388. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/msg.json +0 -0
  389. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/open.js +0 -0
  390. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/remove.js +0 -0
  391. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/reset.js +0 -0
  392. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/restart.js +0 -0
  393. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/set.js +0 -0
  394. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/status.js +0 -0
  395. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/stop.js +0 -0
  396. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/tail.js +0 -0
  397. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/update.js +0 -0
  398. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/version.js +0 -0
  399. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-dev.1.md +0 -0
  400. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-framework.1.md +0 -0
  401. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina.1.md +0 -0
  402. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/add.js +0 -0
  403. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/arguments.json +0 -0
  404. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/export.js +0 -0
  405. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.js +0 -0
  406. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.txt +0 -0
  407. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/import.js +0 -0
  408. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/scan.js +0 -0
  409. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/_host.js +0 -0
  410. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/arguments.json +0 -0
  411. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/build.js +0 -0
  412. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.js +0 -0
  413. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.txt +0 -0
  414. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/list.js +0 -0
  415. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/man.js +0 -0
  416. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/rm.js +0 -0
  417. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/run.js +0 -0
  418. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/index.js +0 -0
  419. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.js +0 -0
  420. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.txt +0 -0
  421. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/open.js +0 -0
  422. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/man-render.js +0 -0
  423. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/arguments.json +0 -0
  424. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.js +0 -0
  425. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.txt +0 -0
  426. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/kill.js +0 -0
  427. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/list.js +0 -0
  428. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/msg.json +0 -0
  429. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.js +0 -0
  430. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.txt +0 -0
  431. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/inc/scan.js +0 -0
  432. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/list.js +0 -0
  433. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/reset.js +0 -0
  434. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/set.js +0 -0
  435. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/arguments.json +0 -0
  436. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/backup.js +0 -0
  437. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/build.js +0 -0
  438. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.js +0 -0
  439. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.txt +0 -0
  440. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/import.js +0 -0
  441. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/inc/name.js +0 -0
  442. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/list.js +0 -0
  443. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/man.js +0 -0
  444. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/move.js +0 -0
  445. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/remove.js +0 -0
  446. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restart.js +0 -0
  447. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rm.js +0 -0
  448. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/start.js +0 -0
  449. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/stop.js +0 -0
  450. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/arguments.json +0 -0
  451. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.js +0 -0
  452. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.txt +0 -0
  453. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/list.js +0 -0
  454. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/remove.js +0 -0
  455. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/set.js +0 -0
  456. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/add.js +0 -0
  457. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.js +0 -0
  458. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.txt +0 -0
  459. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/inc/name.js +0 -0
  460. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-local.js +0 -0
  461. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-production.js +0 -0
  462. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/list.js +0 -0
  463. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/remove.js +0 -0
  464. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/rm.js +0 -0
  465. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/use.js +0 -0
  466. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/arguments.json +0 -0
  467. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/check.js +0 -0
  468. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.js +0 -0
  469. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.txt +0 -0
  470. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/scan.js +0 -0
  471. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.js +0 -0
  472. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.txt +0 -0
  473. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/list.js +0 -0
  474. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/man.js +0 -0
  475. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/start.js +0 -0
  476. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/arguments.json +0 -0
  477. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/gc.js +0 -0
  478. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/help.txt +0 -0
  479. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/stats.js +0 -0
  480. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/verify.js +0 -0
  481. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/view/add.js +0 -0
  482. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/package.json +0 -0
  483. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/src/main.js +0 -0
  484. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/README.md +0 -0
  485. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/build.json +0 -0
  486. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/package.json +0 -0
  487. /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/package.json +0 -0
  488. /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/src/main.js +0 -0
  489. /package/framework/{v0.7.4 → v0.7.5}/lib/config.js +0 -0
  490. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/package.json +0 -0
  491. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/package.json +0 -0
  492. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/src/main.js +0 -0
  493. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/package.json +0 -0
  494. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/src/main.js +0 -0
  495. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/README.md +0 -0
  496. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/package.json +0 -0
  497. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/src/main.js +0 -0
  498. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/LICENSE +0 -0
  499. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/README.md +0 -0
  500. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/package.json +0 -0
  501. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/src/main.js +0 -0
  502. /package/framework/{v0.7.4 → v0.7.5}/lib/dto/package.json +0 -0
  503. /package/framework/{v0.7.4 → v0.7.5}/lib/dto/src/main.js +0 -0
  504. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/package.json +0 -0
  505. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/src/main.js +0 -0
  506. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/package.json +0 -0
  507. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/src/main.js +0 -0
  508. /package/framework/{v0.7.4 → v0.7.5}/lib/duration/package.json +0 -0
  509. /package/framework/{v0.7.4 → v0.7.5}/lib/duration/src/main.js +0 -0
  510. /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/package.json +0 -0
  511. /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/src/main.js +0 -0
  512. /package/framework/{v0.7.4 → v0.7.5}/lib/generator/index.js +0 -0
  513. /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/package.json +0 -0
  514. /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/src/main.js +0 -0
  515. /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/package.json +0 -0
  516. /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/src/main.js +0 -0
  517. /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/package.json +0 -0
  518. /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/src/main.js +0 -0
  519. /package/framework/{v0.7.4 → v0.7.5}/lib/index.js +0 -0
  520. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/LICENSE +0 -0
  521. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/README.md +0 -0
  522. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/package.json +0 -0
  523. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/src/main.js +0 -0
  524. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/package.json +0 -0
  525. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/src/main.js +0 -0
  526. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/package.json +0 -0
  527. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/src/main.js +0 -0
  528. /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/package.json +0 -0
  529. /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/src/main.js +0 -0
  530. /package/framework/{v0.7.4 → v0.7.5}/lib/job/package.json +0 -0
  531. /package/framework/{v0.7.4 → v0.7.5}/lib/job/src/main.js +0 -0
  532. /package/framework/{v0.7.4 → v0.7.5}/lib/job-store.js +0 -0
  533. /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/package.json +0 -0
  534. /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/src/main.js +0 -0
  535. /package/framework/{v0.7.4 → v0.7.5}/lib/kv/package.json +0 -0
  536. /package/framework/{v0.7.4 → v0.7.5}/lib/kv/src/main.js +0 -0
  537. /package/framework/{v0.7.4 → v0.7.5}/lib/kv-store.js +0 -0
  538. /package/framework/{v0.7.4 → v0.7.5}/lib/lane/package.json +0 -0
  539. /package/framework/{v0.7.4 → v0.7.5}/lib/lane/src/main.js +0 -0
  540. /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/package.json +0 -0
  541. /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/src/main.js +0 -0
  542. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/README.md +0 -0
  543. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/package.json +0 -0
  544. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/default/index.js +0 -0
  545. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/file/index.js +0 -0
  546. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/index.js +0 -0
  547. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/listener.js +0 -0
  548. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/speaker.js +0 -0
  549. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/helper.js +0 -0
  550. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/main.js +0 -0
  551. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/redact.js +0 -0
  552. /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/package.json +0 -0
  553. /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/src/main.js +0 -0
  554. /package/framework/{v0.7.4 → v0.7.5}/lib/math/index.js +0 -0
  555. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/package.json +0 -0
  556. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/src/main.js +0 -0
  557. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/package.json +0 -0
  558. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/src/main.js +0 -0
  559. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/package.json +0 -0
  560. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/src/main.js +0 -0
  561. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/README.md +0 -0
  562. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/package.json +0 -0
  563. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/src/main.js +0 -0
  564. /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/package.json +0 -0
  565. /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/src/main.js +0 -0
  566. /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/package.json +0 -0
  567. /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/src/main.js +0 -0
  568. /package/framework/{v0.7.4 → v0.7.5}/lib/money/package.json +0 -0
  569. /package/framework/{v0.7.4 → v0.7.5}/lib/money/src/main.js +0 -0
  570. /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/package.json +0 -0
  571. /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/src/main.js +0 -0
  572. /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/package.json +0 -0
  573. /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/src/main.js +0 -0
  574. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/README.md +0 -0
  575. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/package.json +0 -0
  576. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/src/main.js +0 -0
  577. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/package.json +0 -0
  578. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/src/main.js +0 -0
  579. /package/framework/{v0.7.4 → v0.7.5}/lib/priority/package.json +0 -0
  580. /package/framework/{v0.7.4 → v0.7.5}/lib/priority/src/main.js +0 -0
  581. /package/framework/{v0.7.4 → v0.7.5}/lib/push/package.json +0 -0
  582. /package/framework/{v0.7.4 → v0.7.5}/lib/push/src/main.js +0 -0
  583. /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/package.json +0 -0
  584. /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/src/main.js +0 -0
  585. /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/package.json +0 -0
  586. /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/src/main.js +0 -0
  587. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/package.json +0 -0
  588. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/src/main.js +0 -0
  589. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache-store.js +0 -0
  590. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/README.md +0 -0
  591. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/build.json +0 -0
  592. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/package.json +0 -0
  593. /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/package.json +0 -0
  594. /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/src/main.js +0 -0
  595. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/package.json +0 -0
  596. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/env.js +0 -0
  597. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/exec.js +0 -0
  598. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/file.js +0 -0
  599. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/declaration.js +0 -0
  600. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/env-file.js +0 -0
  601. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/main.js +0 -0
  602. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/sources.js +0 -0
  603. /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/package.json +0 -0
  604. /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/src/main.js +0 -0
  605. /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/package.json +0 -0
  606. /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/src/main.js +0 -0
  607. /package/framework/{v0.7.4 → v0.7.5}/lib/session-store.js +0 -0
  608. /package/framework/{v0.7.4 → v0.7.5}/lib/shell.js +0 -0
  609. /package/framework/{v0.7.4 → v0.7.5}/lib/sqlite-driver.js +0 -0
  610. /package/framework/{v0.7.4 → v0.7.5}/lib/sri/package.json +0 -0
  611. /package/framework/{v0.7.4 → v0.7.5}/lib/sri/src/main.js +0 -0
  612. /package/framework/{v0.7.4 → v0.7.5}/lib/state.js +0 -0
  613. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/package.json +0 -0
  614. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-cas.js +0 -0
  615. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-stream.js +0 -0
  616. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local.js +0 -0
  617. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/main.js +0 -0
  618. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/meta-store.js +0 -0
  619. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/s3.js +0 -0
  620. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/util.js +0 -0
  621. /package/framework/{v0.7.4 → v0.7.5}/lib/storage-store.js +0 -0
  622. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/README.md +0 -0
  623. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/package.json +0 -0
  624. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/src/main.js +0 -0
  625. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/package.json +0 -0
  626. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/package.json +0 -0
  627. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/http.js +0 -0
  628. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/memory.js +0 -0
  629. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/main.js +0 -0
  630. /package/framework/{v0.7.4 → v0.7.5}/lib/url/README.md +0 -0
  631. /package/framework/{v0.7.4 → v0.7.5}/lib/url/index.js +0 -0
  632. /package/framework/{v0.7.4 → v0.7.5}/lib/url/routing.json +0 -0
  633. /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/package.json +0 -0
  634. /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/src/main.js +0 -0
  635. /package/framework/{v0.7.4 → v0.7.5}/lib/validator.js +0 -0
  636. /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/package.json +0 -0
  637. /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/src/main.js +0 -0
  638. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/package.json +0 -0
  639. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/src/main.js +0 -0
  640. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/package.json +0 -0
  641. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/src/main.js +0 -0
  642. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/package.json +0 -0
  643. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/src/main.js +0 -0
@@ -225,8 +225,8 @@ function Add(opt, cmd) {
225
225
  if ( !file.existsSync() ) {
226
226
  createPackageFile( file.toString() )
227
227
  } else {
228
- console.warn('[ package.json ] already exists in this location: '+ file + '\nUpdating package.json...');
229
- // Merge existing package.json with framework template; createPackageFile calls end()
228
+ console.warn('[ package.json ] already exists in this location: '+ file + '\nLeaving it as it is.');
229
+ // #B363: createPackageFile leaves it untouched, then calls end()
230
230
  // which writes projects.json and calls process.exit(0). Without this, the process
231
231
  // hangs wherever bin/cli has bound its MQ log listener, which keeps the event loop
232
232
  // alive (the MQ speaker's socket is unref'd).
@@ -560,45 +560,97 @@ function Add(opt, cmd) {
560
560
 
561
561
 
562
562
  /**
563
- * Creates or updates package.json from the framework template, merging
564
- * any existing file when isCreatedFromExistingPackage is true.
563
+ * gina's own Node floor: the lower bound of `engines.node` in gina's
564
+ * package.json (`>= 22 <27` gives `22`). A new project's package.json
565
+ * carries it rather than the version of the Node running this command,
566
+ * which would tie the project to the machine that created it (#B363).
565
567
  *
566
568
  * @inner
567
569
  * @private
570
+ * @returns {?string} The floor, such as `22`; null when gina's `engines.node` has no `>=` lower bound
571
+ *
572
+ * @example
573
+ * // gina's package.json declares "engines": { "node": ">= 22 <27" }
574
+ * getNodeFloor(); // → '22'
575
+ */
576
+ var getNodeFloor = function() {
577
+ try {
578
+ var ginaPack = JSON.parse(fs.readFileSync(String(_(getPath('gina').root + '/package.json', true)), 'utf8'));
579
+ var range = ( ginaPack.engines && ginaPack.engines.node ) ? String(ginaPack.engines.node) : '';
580
+ var floor = /^\s*>=\s*v?(\d+(?:\.\d+){0,2})/.exec(range);
581
+ return ( floor ) ? floor[1] : null;
582
+ } catch (floorErr) {
583
+ return null;
584
+ }
585
+ }
586
+
587
+ /**
588
+ * Writes a NEW package.json: JSON with a 4-space indent and a final
589
+ * newline, at mode 0644, through a sibling temp file and a rename so no
590
+ * reader sees a partial file. It does not use
591
+ * `lib.generator.createFileFromDataSync`, which writes every file at mode
592
+ * 0755 and without a final newline (#B363).
593
+ *
594
+ * @inner
595
+ * @private
596
+ * @param {object} content - The package.json content
568
597
  * @param {string} target - Absolute path to package.json
569
- * @param {boolean} [isCreatedFromExistingPackage] - When true, merge with the existing file
598
+ *
599
+ * @example
600
+ * writePackageFile({ name: 'myproject', version: '1.0.0' }, '/path/to/myproject/package.json');
601
+ */
602
+ var writePackageFile = function(content, target) {
603
+ var tmp = target + '.' + process.pid + '.tmp';
604
+ try {
605
+ fs.writeFileSync(tmp, JSON.stringify(content, null, 4) + '\n');
606
+ fs.chmodSync(tmp, 0o644);
607
+ fs.renameSync(tmp, target);
608
+ } catch (writeErr) {
609
+ try { fs.unlinkSync(tmp) } catch (unlinkErr) { /* already gone */ }
610
+ throw writeErr
611
+ }
612
+ }
613
+
614
+ /**
615
+ * Writes the project's package.json from the framework template, only
616
+ * when the project has none, then the `.gitignore`, then ends the command.
617
+ *
618
+ * An existing package.json is the project's own manifest and is left as it
619
+ * is, as the `.gitignore` is (#B258). Up to 0.7.4 it was rewritten with the
620
+ * template winning every key both defined (`name`, `description`,
621
+ * `engines.node`), re-indented, without its final newline and at mode
622
+ * 0755; nothing in gina reads those three fields (#B363). A new
623
+ * package.json carries gina's own Node floor (getNodeFloor) and is written
624
+ * by writePackageFile.
625
+ *
626
+ * @inner
627
+ * @private
628
+ * @param {string} target - Absolute path to package.json
629
+ * @param {boolean} [isCreatedFromExistingPackage] - When true, the project already has a package.json, which is left untouched
570
630
  */
571
631
  var createPackageFile = function(target, isCreatedFromExistingPackage) {
572
632
 
573
633
  loadAssets();
574
634
 
575
- var conf = _(getPath('gina').core +'/template/conf/package.json', true);
576
- var contentFile = requireJSON(conf);
635
+ if ( !/^true$/i.test(isCreatedFromExistingPackage) ) {
636
+ var conf = _(getPath('gina').core +'/template/conf/package.json', true);
637
+ var contentFile = requireJSON(conf);
638
+ var nodeFloor = getNodeFloor();
639
+ if ( !nodeFloor ) {
640
+ delete contentFile.engines
641
+ }
577
642
 
578
- var dic = {
579
- 'project' : self.projectName,
580
- 'node_version' : GINA_NODE_VERSION.match(/\d+/g).join('.'),
581
- 'gina_version' : GINA_VERSION
582
- };
643
+ var dic = {
644
+ 'project' : self.projectName,
645
+ 'node_version' : nodeFloor || '',
646
+ 'gina_version' : GINA_VERSION
647
+ };
583
648
 
584
- contentFile = whisper(dic, contentFile);//data
649
+ contentFile = whisper(dic, contentFile);//data
585
650
 
586
- // Updating package.json if needed
587
- if (
588
- typeof(isCreatedFromExistingPackage) != 'undefined'
589
- && /^true$/i.test(isCreatedFromExistingPackage)
590
- ) {
591
- var existingPack = require(target);
592
- contentFile = merge(contentFile, existingPack);
593
- contentFile.version = existingPack.version || "1.0.0";
594
- new _(target, true).rmSync()
651
+ writePackageFile(contentFile, target);
595
652
  }
596
653
 
597
- lib.generator.createFileFromDataSync(
598
- contentFile,
599
- target
600
- );
601
-
602
654
  // #B258 — the project's `.gitignore`, written only when absent. This is
603
655
  // the last scaffold step for both the new-project and the import path:
604
656
  // an imported project without one has exactly the same exposure as a
@@ -134,7 +134,7 @@ function Rename(opt, cmd) {
134
134
  self.projects[local.target].path = target;
135
135
 
136
136
  if ( fs.existsSync( _(target +'/manifest.json') )) {
137
- project = require(_(target +'/manifest.json'));
137
+ project = parseJSONWithComments(fs.readFileSync(_(target +'/manifest.json', true), 'utf8'), _(target +'/manifest.json', true)); // #B891
138
138
  project['name'] = local.target;
139
139
  lib.generator.createFileFromDataSync(
140
140
  project,
@@ -19,8 +19,8 @@ var projectNameRule = require('./inc/name');
19
19
  * would be unstartable (`MODULE_NOT_FOUND` with no `node_modules/gina` link; a
20
20
  * config emerg with no ports). Registration is delegated to the EXISTING,
21
21
  * tested commands rather than duplicating their logic:
22
- * - `project:add @<name> --path=<to>` — writes the registry entry, recreates the
23
- * `node_modules/gina` symlink, and stamps the project name into package.json;
22
+ * - `project:add @<name> --path=<to>` — writes the registry entry and recreates the
23
+ * `node_modules/gina` symlink; it leaves the restored package.json as it is (#B363);
24
24
  * - `bundle:add <bundle> @<name> --import` per manifest bundle — registers the
25
25
  * already-extracted bundle source and allocates its ports.
26
26
  * (`project:import` is NOT usable here — it refuses a not-yet-registered name and
@@ -196,7 +196,7 @@ function Restore(opt, cmd) {
196
196
  }
197
197
 
198
198
  // register the project (writes the registry entry + recreates the
199
- // node_modules/gina symlink + stamps the name into package.json)
199
+ // node_modules/gina symlink; the restored package.json is left as it is, #B363)
200
200
  var reg = selfCli(['project:add', '@'+ local.project, '--path='+ local.target]);
201
201
  var registered = false;
202
202
  try {
@@ -213,7 +213,7 @@ function Restore(opt, cmd) {
213
213
  // allocate ports for each bundle by importing its already-extracted source
214
214
  var bundles = [];
215
215
  try {
216
- var manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));
216
+ var manifest = parseJSONWithComments(fs.readFileSync(manifestPath, 'utf8'), manifestPath); // #B891
217
217
  bundles = (manifest && manifest.bundles) ? Object.keys(manifest.bundles) : [];
218
218
  } catch (e) { bundles = []; }
219
219
 
@@ -104,7 +104,8 @@ function Status(opt, cmd) {
104
104
  var out = [];
105
105
  var entry = self.projects[projectName];
106
106
  var path = entry.path;
107
- var bundles = require( _(path + '/manifest.json') ).bundles;
107
+ var manifestFile = _(path + '/manifest.json', true);
108
+ var bundles = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles; // #B891
108
109
  bundles = orderBundles(bundles);
109
110
 
110
111
  // Per-project framework version: the projects.json pin (v-prefixed,
@@ -27,7 +27,10 @@
27
27
  *
28
28
  * A key holding a dot is a property path (`'address.city'`), also inside an
29
29
  * array of objects (`'reviews[*].ratings.score'`). A dotted key that is not a
30
- * property path matches nothing.
30
+ * property path matches nothing. A single field after `[*]` (`'tags[*].label'`)
31
+ * is read from each element of the array and compared like a plain key: a row
32
+ * matches when one element matches, and an element that is not an object (a
33
+ * string, a number, `null`) is compared as itself.
31
34
  *
32
35
  * Query results (`find`, `orderBy`, `limit`, `notIn`, …) are Arrays carrying
33
36
  * these methods, so calls chain. Their `filter` takes either a function, which
@@ -46,7 +49,8 @@
46
49
  * and the value `not null`, in any case, matches every defined, non-null
47
50
  * value. `{ searchOptionRules: { skipEval: true } }`, passed to the
48
51
  * constructor, turns the comparison off for the plain (non-dotted) keys of
49
- * that Collection; it changes neither `not null` nor a dotted key.
52
+ * that Collection and for a single field after `[*]`; it changes neither
53
+ * `not null` nor a property path.
50
54
  *
51
55
  * @class Collection
52
56
  * @constructor
@@ -70,7 +74,7 @@
70
74
  * // find — nested
71
75
  * col.find({ 'address.city': 'Paris' });
72
76
  * // find — within array
73
- * col.find({ 'tags[*].label': 'news' });
77
+ * col.find({ 'tags[*].label': 'news' }); // the rows holding an element { label: 'news' }
74
78
  * // OR clause (pass two filter objects)
75
79
  * col.or().find({ name: 'Alice' }, { name: 'Bob' });
76
80
  *
@@ -274,7 +278,8 @@ function Collection(content, options) {
274
278
  * `isCaseSensitive` (`true` or `false`; the texts `'true'` / `'false'` are
275
279
  * read as booleans). `skipEval` is a constructor option
276
280
  * (`options.searchOptionRules`): as a top-level key of the object it is
277
- * accepted and has no effect.
281
+ * accepted and has no effect, and as the rule of a field, in either form,
282
+ * it is refused (#B824).
278
283
  *
279
284
  * @param {object|string} searchOptionObject or searchOptionTargetedProperty - the options keyed by field, or the field name
280
285
  * @param {string} [searchRule] - the rule name (three-argument form)
@@ -284,6 +289,7 @@ function Collection(content, options) {
284
289
  * @throws {Error} on zero, two or more than three arguments
285
290
  * @throws {Error} when a single argument is not an object
286
291
  * @throws {Error} `<rule> is not an allowed searchOption !` on an unknown rule name
292
+ * @throws {Error} when a field is given `skipEval`, in either form: the message names the constructor option
287
293
  * @throws {Error} when a field's entry in the object form is not an object of rules
288
294
  *
289
295
  * @example
@@ -340,6 +346,12 @@ function Collection(content, options) {
340
346
  if ( typeof(searchOptionRules[ruleName]) == 'undefined' )
341
347
  throw new Error(ruleName + ' is not an allowed searchOption !');
342
348
 
349
+ // #B824 — as in the three-argument form below: a rule that is not a
350
+ // table of entries is a constructor option, and set on a field it made
351
+ // that field match no row.
352
+ if ( !searchOptionRules[ruleName] || typeof(searchOptionRules[ruleName]) != 'object' )
353
+ throw new Error('searchOption `' + ruleName + '` cannot be set on a field: it is a constructor option, e.g. new Collection(rows, { searchOptionRules: { ' + ruleName + ': true } })');
354
+
343
355
  if ( /true|false/i.test(given[prop][ruleName]) ) {
344
356
  normalized[prop][ruleName] = /true/i.test(given[prop][ruleName]) ? true : false
345
357
  } else {
@@ -358,6 +370,12 @@ function Collection(content, options) {
358
370
  if ( typeof(searchOptionRules[arguments[1]]) == 'undefined' )
359
371
  throw new Error(arguments[1] + ' is not an allowed searchOption !');
360
372
 
373
+ // #B824 — a rule that is not a table of entries (`skipEval`, a boolean) is a
374
+ // constructor option. Set on a field, the search looked the value up in the
375
+ // rule's table, found nothing, and the field matched no row, with no error.
376
+ if ( !searchOptionRules[arguments[1]] || typeof(searchOptionRules[arguments[1]]) != 'object' )
377
+ throw new Error('searchOption `' + arguments[1] + '` cannot be set on a field: it is a constructor option, e.g. new Collection(rows, { searchOptionRules: { ' + arguments[1] + ': true } })');
378
+
361
379
  if (typeof(localSearchOptions[arguments[0]]) == 'undefined')
362
380
  localSearchOptions[arguments[0]] = {};
363
381
 
@@ -710,13 +728,36 @@ function Collection(content, options) {
710
728
  }
711
729
  }
712
730
 
713
- // if one of the entry matches the given filter, tag the whole entry as matched
731
+ /**
732
+ * Search on a `[*]` key: compare the elements of the row's array with
733
+ * `filter`, and count the condition once when one element matches.
734
+ *
735
+ * A single field after `[*]` (`'tags[*].label'`) is read from each
736
+ * element that is an object, like a plain key is read from a row, and
737
+ * compared like that plain key (#B823). An element that is not an
738
+ * object (a string, a number, `null`) is compared as itself. A dotted
739
+ * rest (`'reviews[*].ratings.score'`) is a property path of each element.
740
+ *
741
+ * @inner
742
+ * @private
743
+ * @param {*} filter - The filter value, or a comparison (`'>= 4'`)
744
+ * @param {string} f - The key, e.g. `'tags[*].label'`
745
+ * @param {object} _content - The row
746
+ * @param {number} matched - The conditions matched so far
747
+ * @param {number} i - Not read
748
+ * @returns {{matched: number}} `matched`, plus one when an element matches
749
+ *
750
+ * @example
751
+ * // row { tags: [{ label: 'News' }, { label: 'Sport' }] }
752
+ * searchWithin('Sport', 'tags[*].label', row, 0, 0); // { matched: 1 }
753
+ */
714
754
  var searchWithin = function(filter, f, _content, matched, i) {
715
755
 
716
756
  var collectionName = null
717
757
  , collection = null
718
758
  , arr = null
719
- , field = null;
759
+ , field = null
760
+ , elementValue = null;
720
761
 
721
762
 
722
763
  arr = f.split(/\[\*\]/g);
@@ -740,7 +781,14 @@ function Collection(content, options) {
740
781
 
741
782
  } else { // normal case
742
783
 
743
- searchResult = search(filter, field, collection[c], subMatched, searchOptionRules);
784
+ // #B823 — the whole element was handed to search(), whose every
785
+ // branch refuses an object, so a plain sub-field of an array of
786
+ // objects (`'tags[*].label'`) matched nothing. An object element
787
+ // now gives its field, like a plain key gives its value (below);
788
+ // an element that is not an object is compared as itself, as before.
789
+ // searchResult = search(filter, field, collection[c], subMatched, searchOptionRules);
790
+ elementValue = ( collection[c] !== null && typeof(collection[c]) == 'object' ) ? collection[c][field] : collection[c];
791
+ searchResult = search(filter, field, elementValue, subMatched, searchOptionRules);
744
792
  subMatched = searchResult.matched;
745
793
  }
746
794
 
@@ -864,9 +912,11 @@ function Collection(content, options) {
864
912
  * .findOne({name: 'my project'})
865
913
  *
866
914
  *
867
- * Available options :
915
+ * Search option, set with `setSearchOption()` before the call:
868
916
  * isCaseSensitive: [true|false] - set to true by default
869
- * skipEval: [true|false] - set to false by default
917
+ *
918
+ * `skipEval` is not a search option: it is a constructor option,
919
+ * `new Collection(rows, { searchOptionRules: { skipEval: true } })` (#B824).
870
920
  *
871
921
  * @param {object} filter
872
922
  *
@@ -29,6 +29,10 @@
29
29
  * argument, recursing into nested objects — without poisoning the `requireJSON`
30
30
  * cache the parsed JSON came from.
31
31
  *
32
+ * {@link applyKeyTypes} is the one helper the runtime also uses: `core/config.js`
33
+ * calls it at boot to give a type to entries keyed by their connector type
34
+ * (#B900).
35
+ *
32
36
  * @example
33
37
  * var cfg = lib.connectorConfig;
34
38
  * var shared = requireJSON(_(project.path + '/shared/config/connectors.json', true));
@@ -196,7 +200,54 @@ function isAIConnector(entry, key) {
196
200
  return !!(isPlainObject(entry) && ((entry.connector || key) === 'ai'));
197
201
  }
198
202
 
203
+ /**
204
+ * Give a connector type to every entry of a `connectors.json` map that names
205
+ * none, when the entry's key is itself a connector type: `"sqlite": { … }` is
206
+ * read as `"sqlite": { "connector": "sqlite", … }`. This is the convention
207
+ * `connector:add` writes (it leaves `connector` out when the name equals the
208
+ * type), `connector:list` displays and the connectors schema states; the
209
+ * runtime applies it once, in `core/config.js`, where a bundle's merged
210
+ * connectors are finalised (#B900).
211
+ *
212
+ * An entry whose `connector` is set keeps it, even when its key names another
213
+ * type. An entry whose key names no type is left alone, and the model layer
214
+ * still stops the boot on it with « No connector found ». "Names none" is the
215
+ * CLI's own test, `entry.connector || key`: an empty or `null` field counts as
216
+ * absent. Only own keys holding plain objects are considered, so `$schema` and
217
+ * malformed values are skipped. The map is updated in place.
218
+ *
219
+ * @memberof module:gina/lib/connector-config
220
+ * @function applyKeyTypes
221
+ * @param {*} connectors - The merged `connectors.json` map (updated in place).
222
+ * @param {string[]} types - The built-in connector types. The runtime passes
223
+ * `lib.connectorRegistry.getDriverTypes()` plus `'ai'`.
224
+ * @returns {string[]} The keys whose entry took its type from its key, in key
225
+ * order; empty when none did or when an argument is malformed.
226
+ *
227
+ * @example
228
+ * var connectors = { sqlite: { database: 'app' }, myDb: { database: 'x' } };
229
+ * applyKeyTypes(connectors, ['sqlite', 'redis', 'ai']); // ['sqlite']
230
+ * connectors.sqlite.connector; // 'sqlite'
231
+ * 'connector' in connectors.myDb; // false
232
+ * applyKeyTypes({ redis: { connector: 'sqlite' } }, ['redis', 'sqlite']); // [] (the field wins)
233
+ */
234
+ function applyKeyTypes(connectors, types) {
235
+ var applied = [];
236
+ if (!isPlainObject(connectors) || !Array.isArray(types)) {
237
+ return applied;
238
+ }
239
+ for (var key in connectors) {
240
+ if (!Object.prototype.hasOwnProperty.call(connectors, key)) { continue; }
241
+ var entry = connectors[key];
242
+ if (!isPlainObject(entry) || entry.connector || types.indexOf(key) === -1) { continue; }
243
+ entry.connector = key;
244
+ applied.push(key);
245
+ }
246
+ return applied;
247
+ }
248
+
199
249
  module.exports = {
200
250
  resolve: resolve,
201
- isAIConnector: isAIConnector
251
+ isAIConnector: isAIConnector,
252
+ applyKeyTypes: applyKeyTypes
202
253
  };
@@ -325,6 +325,31 @@ function ModelUtil() {
325
325
  }
326
326
 
327
327
 
328
+ /**
329
+ * Builds the models at boot: one `core/model` Model per connectors.json entry,
330
+ * then, once every entry of the bundle is connected, the entity classes each
331
+ * entry's connector factory returns, attached to that entry's model.
332
+ *
333
+ * Each factory receives `{ model, bundle, database, scope }`: `model` is the
334
+ * entry key, and `database` is the entry's `database`, or its `keyspace` when it
335
+ * sets none (#B909), since the factory reads the entities from
336
+ * `models/<database>/`. A failure while the models are built ends the boot
337
+ * (#B617).
338
+ *
339
+ * @param {string[]} bundles - the bundles of this process, the starting one first
340
+ * @param {object} configuration - per bundle and env: `configuration[bundle][env]`,
341
+ * whose `content.connectors` holds the entries
342
+ * @param {string} env - the env whose configuration is read
343
+ * @param {function} cb - called once, when the models of the first bundle that has
344
+ * connectors.json entries are built; a bundle with none passes on to the next,
345
+ * and the bundles after the first one with entries are not loaded (#B910)
346
+ * @returns {void}
347
+ *
348
+ * @example
349
+ * modelUtil.loadAllModels(conf.bundles, config.getInstance(), env, function() {
350
+ * // getModel('<entry key>') now carries that entry's entities
351
+ * });
352
+ */
328
353
  this.loadAllModels = function(bundles, configuration, env, cb) {
329
354
 
330
355
  var loadModel = function(b, bundles, configuration, env, cb) {
@@ -397,8 +422,6 @@ function ModelUtil() {
397
422
  var conn = null
398
423
  , connectorPath = null
399
424
  , entitiesManager = null
400
- , modelPath = null
401
- , entitiesPath = null
402
425
  , entitiesObject = null
403
426
  , foundInitError = false;
404
427
 
@@ -408,11 +431,13 @@ function ModelUtil() {
408
431
  for (var name in self.models[bundle]) {//name as connector name
409
432
  conn = self.models[bundle][name]['_connection'];
410
433
  connectorPath = _(GINA_FRAMEWORK_DIR + '/core/connectors/' + conf.content['connectors'][name].connector);
411
- modelPath = _(conf.modelsPath + '/' + name);
412
- entitiesPath = _(modelPath + '/entities');
413
434
  //Getting Entities Manager thru connector.
414
435
  //entitiesManager = new require( _(modelPath + '/index.js', true) )(conn)[name](conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database });
415
- entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database, scope: conf.content['connectors'][name].scope });
436
+ // #B909 — `database` names the directory the factory reads the entities
437
+ // from (`models/<database>/`). An entry that sets no `database` names it
438
+ // with its `keyspace`, as every ScyllaDB example in the guides does; an
439
+ // entry that sets `database` keeps it, also alongside `keyspace`.
440
+ entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database || conf.content['connectors'][name].keyspace, scope: conf.content['connectors'][name].scope });
416
441
 
417
442
  self.setConnection(bundle, name, conn);
418
443
 
@@ -569,7 +594,9 @@ function ModelUtil() {
569
594
  *
570
595
  * Each connector factory receives the same `{ model, bundle, database, scope }`
571
596
  * infos as at boot. #B624: the reload used to omit `scope`, so a connector whose
572
- * entry declares one fell back to `NODE_SCOPE` after a reload.
597
+ * entry declares one fell back to `NODE_SCOPE` after a reload. #B909: `database`
598
+ * is the entry's `database`, or its `keyspace` when it sets none, since the
599
+ * factory reads the entities from `models/<database>/`.
573
600
  *
574
601
  * @param {object} conf - the bundle's env conf: `conf.content.connectors` and `conf.modelsPath`
575
602
  * @param {function(Error|false)} cb - receives `false` once the rebuild completes. A
@@ -591,8 +618,6 @@ function ModelUtil() {
591
618
  , foundInitError = false
592
619
  , connectorPath = null
593
620
  , entitiesManager = null
594
- , modelPath = null
595
- , entitiesPath = null
596
621
  , modelConnectors = null;
597
622
 
598
623
 
@@ -616,15 +641,14 @@ function ModelUtil() {
616
641
  conn = getContext('modelConnectors')[bundle][name].conn;
617
642
  // #B10 fix: conf.connectorsPath is never populated by config.js — use GINA_FRAMEWORK_DIR directly.
618
643
  connectorPath = _(GINA_FRAMEWORK_DIR + '/core/connectors/' + conf.content['connectors'][name].connector);
619
- modelPath = _(conf.modelsPath + '/' + name);
620
- entitiesPath = _(modelPath + '/entities');
621
644
 
622
645
  //Getting Entities Manager thru connector.
623
646
  delete require.cache[require.resolve(_(connectorPath + '/index.js', true))];//child
624
647
  try {
625
648
  //entitiesManager = new require( _(conf.modelsPath + '/index.js', true) )(conn)[name](conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database });
626
649
  // #B624 — the same infos as the boot call in loadAllModels' done(), scope included.
627
- entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database, scope: conf.content['connectors'][name].scope });
650
+ // #B909 — and the same `database`: the entry's `keyspace` when it sets none.
651
+ entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database || conf.content['connectors'][name].keyspace, scope: conf.content['connectors'][name].scope });
628
652
  } catch (err) {
629
653
  cb(err)
630
654
  }