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
@@ -728,7 +728,7 @@ function ServerEngineClass(options) {
728
728
  cert: readSync(options.credentials.certificate)
729
729
  };
730
730
  } catch(err) {
731
- var _credMsg = 'You are trying to start a secured server (https) wihtout suficient credentials: check your `server settings`\n'+ err.stack;
731
+ var _credMsg = 'You are trying to start a secured server (https) without sufficient credentials: check your `server settings`\n'+ err.stack;
732
732
  console.emerg(_credMsg);
733
733
  // Guarantee the reason survives process.exit() on an async pipe (e.g. bin/gina-container).
734
734
  try { fs.writeSync(2, _credMsg + '\n'); } catch (_e) { /* best-effort */ }
@@ -17,8 +17,10 @@ var ${bundle} = require('gina');
17
17
  // Do whatever things you need to do before server starts
18
18
  // e.g.: register session, set a shared path for your template engine ...
19
19
  // This is mostly pre-start configuration
20
+ // `self` is the gina instance. It is set before the callback because a bundle named
21
+ // `event`, `app` or `express` would otherwise get the callback parameter of that name.
22
+ //var self = ${bundle};
20
23
  //${bundle}.onInitialize( function(event, app, express){//
21
- // var self = ${bundle};
22
24
  // // getting config/app.json would be: self.getConfig('app')
23
25
  // // or self.getConfig().app
24
26
  // var conf = self.getConfig();
@@ -80,6 +80,12 @@ function ContextHelper(contexts) {
80
80
  self = ContextHelper.instance;
81
81
  } else {
82
82
  // Get system environment variable
83
+ // #B896 — `which printenv` prints the binary's path, not the environment, and
84
+ // the keys below carry a `$` that whisper()'s lookups strip, so sysEnvVars
85
+ // resolves `~/` only: whisper() leaves every `$NAME` token as written (measured
86
+ // 2026-10-17). Left as is on purpose: resolving them would substitute OS values
87
+ // into every whispered string. Environment values reach bundle config through
88
+ // `${secret:KEY}` (lib/secrets) instead.
83
89
  self.contexts['sysEnvVars'] = { '~/': getUserHome() +'/' };
84
90
  var sysEnvVars = null;
85
91
  try {
@@ -957,6 +963,10 @@ function ContextHelper(contexts) {
957
963
  * 3. Embedded tokens inside a larger string (e.g. `~/.${projectName}`) via a manual
958
964
  * replace to avoid infinite recursion on the regex engine.
959
965
  *
966
+ * Then `~/` expands to the user's home directory. `$NAME` tokens are left as
967
+ * written: the OS passes look them up in `sysEnvVars`, which holds `~/` only
968
+ * (#B896). Environment values reach bundle config through `${secret:KEY}`.
969
+ *
960
970
  * Unknown keys are left untouched silently — earlier revisions logged a
961
971
  * "Whisper Error" on every first-run CLI command when a default had not yet
962
972
  * been seeded (see #B12). Callers that need strict-mode behaviour must
@@ -968,6 +978,11 @@ function ContextHelper(contexts) {
968
978
  * @param {Object|string} replaceable - Object or JSON-serialisable value containing `${key}` tokens.
969
979
  * @param {RegExp} [rule] - Optional custom replace rule; when provided, short-circuits the three-pass logic.
970
980
  * @returns {Object|string} The interpolated object or string. Unknown tokens are preserved verbatim.
981
+ *
982
+ * @example
983
+ * whisper({ name: 'Alice' }, 'Hello ${name}'); // → 'Hello Alice'
984
+ * whisper({}, '~/config/app.json'); // → '/Users/alice/config/app.json'
985
+ * whisper({}, '$HOME/app'); // → '$HOME/app' (left as written, #B896)
971
986
  */
972
987
  global.whisper = function(dictionary, replaceable, rule) {
973
988
  // 1. Inline rule
@@ -1021,7 +1036,8 @@ function ContextHelper(contexts) {
1021
1036
  // first-run CLI command was noisy and misleading (see #B12).
1022
1037
  return s;
1023
1038
  })
1024
- // OS Environment Variables
1039
+ // OS Environment Variables: only `~/` resolves. sysEnvVars holds `~/` alone, so
1040
+ // these two passes leave every `$NAME` token as written (#B896).
1025
1041
  .replace(/\"\~\/\"|\"\$([_A-Z0-9]+)\"/g, function(s, key) {
1026
1042
  // Safe access to external self.contexts
1027
1043
  const envs = (typeof self !== 'undefined' && self.contexts) ? self.contexts['sysEnvVars'] : process.env;
@@ -100,7 +100,8 @@ function DataHelper(){
100
100
  };
101
101
 
102
102
  /**
103
- * Parses a request payload into a plain object. Three input shapes:
103
+ * Parses a request payload into a plain object (an array for a `[`-leading
104
+ * document). Three input shapes:
104
105
  *
105
106
  * - a urlencoded string (`key=value&…`): split on `&`, then at the FIRST `=`,
106
107
  * each key and value percent-decoded exactly ONCE after the split, bracket
@@ -111,7 +112,11 @@ function DataHelper(){
111
112
  * a repeated key keeps the last value;
112
113
  * - a `{`/`[`-leading JSON document: parsed VERBATIM — never percent-decoded
113
114
  * (#B589) — after the quoted-token casting on the document text
114
- * (`"true"`/`"false"`/`"on"` → boolean, `"null"` in any case → null);
115
+ * (`"true"`/`"false"`/`"on"` → boolean, `"null"` in any case → null); a
116
+ * `[`-leading one gives an array whose object elements are parsed like a
117
+ * document of their own (bracket keys nested, the three prototype names
118
+ * dropped), each into its own object, and whose other elements are kept as
119
+ * they are (#B936, #B594);
115
120
  * - an object: stringified first, so it takes the document contract (the
116
121
  * browser validator and DTO routes hand their fields over this way).
117
122
  *
@@ -121,11 +126,13 @@ function DataHelper(){
121
126
  *
122
127
  * @global
123
128
  * @param {string|object} bodyStr - urlencoded string, JSON document, or object
124
- * @returns {object|undefined} the parsed object, or `undefined` for an invalid document
129
+ * @returns {object|Array|undefined} the parsed object (an array for a `[`-leading
130
+ * document), or `undefined` for an invalid document
125
131
  * @example
126
132
  * formatDataFromString('user[name]=Ada&tag=a%26b'); // { user: { name: 'Ada' }, tag: 'a&b' }
127
133
  * formatDataFromString('{"active":"true","n":"2"}'); // { active: true, n: '2' }
128
134
  * formatDataFromString({ q: 'a%20b' }); // { q: 'a%20b' } (never decoded)
135
+ * formatDataFromString('[{"a[b]":"1"},2,null]'); // [ { a: { b: '1' } }, 2, null ]
129
136
  */
130
137
  formatDataFromString = function(bodyStr){
131
138
 
@@ -159,10 +166,34 @@ function DataHelper(){
159
166
  return parseBody(bodyStr);
160
167
  }
161
168
 
169
+ /**
170
+ * Writes the elements of a parsed `[`-leading document into `obj` (#B936,
171
+ * #B594). An element that is an object (not `null`, not an array) is parsed
172
+ * like a document of its own, into its OWN object: bracket keys nest, and a
173
+ * top-level `__proto__`, `constructor` or `prototype` key is dropped. Any
174
+ * other element (a number, a string, a boolean, `null`, a nested array) is
175
+ * kept as it is, as a value inside an object document is.
176
+ *
177
+ * @inner
178
+ * @private
179
+ * @param {Array} collection - the array `JSON.parse` returned
180
+ * @param {Array} obj - the array the elements are written into
181
+ * @returns {Array} `obj`
182
+ * @example
183
+ * parseCollection([{ 'a[b]': '1' }, 2, null], []); // [ { a: { b: '1' } }, 2, null ]
184
+ */
162
185
  var parseCollection = function (collection, obj) {
163
186
 
164
187
  for(var i = 0, len = collection.length; i<len; ++i) {
165
- obj[i] = parseObject(collection[i], obj);
188
+ // #B936 / #B594 — was:
189
+ // obj[i] = parseObject(collection[i], obj);
190
+ // parseObject wrote each element's pairs onto the root array and returned
191
+ // it, so every slot held the array itself: a circular value that
192
+ // JSON.stringify cannot serialize (a 500 on any route that renders it), and
193
+ // an element that was not an object lost its value.
194
+ obj[i] = ( collection[i] !== null && typeof(collection[i]) == 'object' && !Array.isArray(collection[i]) )
195
+ ? parseObject(collection[i], {})
196
+ : collection[i];
166
197
  }
167
198
 
168
199
  return obj
@@ -348,6 +379,33 @@ function DataHelper(){
348
379
  // return obj;
349
380
  // }
350
381
 
382
+ /**
383
+ * Nests ONE bracket-notation key path into an accumulator, in place:
384
+ * `item[0][id]` is split into `['item','0','id']` and lands as
385
+ * `{ item: [ { id: … } ] }`. A level is created as an array when the segment
386
+ * below it is an index (`/^\d+$/`) and as an object otherwise. A level that
387
+ * mixes indexes and names is an object keyed by both, whatever came first
388
+ * (#B596): a name reaching a level that already holds an array copies the
389
+ * array into an object before the walk goes on. A path carrying a
390
+ * `__proto__`, `constructor` or `prototype` segment is dropped (#B446).
391
+ * Callers start from an object accumulator; the leaf value is assigned as given.
392
+ *
393
+ * @inner
394
+ * @private
395
+ * @param {(object|Array)} obj - accumulator, mutated in place and returned
396
+ * @param {Array<string>} key - the split key path, e.g. `['item','0','id']`
397
+ * @param {number} k - current depth into `key` (callers pass 0)
398
+ * @param {*} value - the leaf value
399
+ * @returns {(object|Array)} the accumulator
400
+ *
401
+ * @example
402
+ * parseLocalObj({}, ['item','0','id'], 0, 'x'); // { item: [ { id: 'x' } ] }
403
+ *
404
+ * @example
405
+ * // indexes first, then a name: one object, nothing lost
406
+ * var o = parseLocalObj({}, ['a','0'], 0, 'x');
407
+ * parseLocalObj(o, ['a','b'], 0, 'y'); // { a: { 0: 'x', b: 'y' } }
408
+ */
351
409
  var parseLocalObj = function(obj, key, k, value) {
352
410
 
353
411
  // #B446 — a bracket-notation field name is client-supplied and every segment is
@@ -437,6 +495,18 @@ function DataHelper(){
437
495
  obj[ _key ] = null;
438
496
  }
439
497
 
498
+ // #B596 — a segment that is not an index (`list[name]`) reaching an
499
+ // existing array: that level mixes indexes and names, so it becomes an
500
+ // OBJECT keyed by both (`"0"`, `"1"`, `"name"`), whatever came first.
501
+ // Before, the name was read as index 0 (`~~'name'`): a fresh `{}`
502
+ // replaced the first element, and the name became an array property
503
+ // that JSON drops. A level whose segments are all indexes stays an
504
+ // array. Identical in helpers/data `parseLocalObj` and the validator
505
+ // twin `nestBracketNotationKey` (pinned byte for byte).
506
+ if ( Array.isArray(obj[ _key ]) && !/^\d+$/.test(key[k+1]) ) {
507
+ obj[ _key ] = Object.assign({}, obj[ _key ]);
508
+ }
509
+
440
510
  parseLocalObj(obj[ _key ], key, k+1, value);
441
511
  }
442
512
  }
@@ -34,7 +34,13 @@ var _require = function(path) {
34
34
 
35
35
  var helpers = {}
36
36
  , path = __dirname
37
- , files = fs.readdirSync(path)
37
+ // #B927 — loaded in a fixed order: node lists a directory sorted, Bun as the file system
38
+ // does. `path.js`, `task.js`, `json` and `context` load `lib/logger`, and the logger, while
39
+ // it loads, requires `helpers/path`, `helpers/json` and `helpers/context` back and calls
40
+ // them: with `path.js` or `json` first, that call reached a module that was still loading
41
+ // and threw `require(...) is not a function`.
42
+ // was: , files = fs.readdirSync(path)
43
+ , files = fs.readdirSync(path).sort()
38
44
  , f = 0
39
45
  , len = files.length
40
46
  , helper = ''
@@ -0,0 +1,340 @@
1
+ /*
2
+ * This file is part of the gina package.
3
+ * Copyright (c) 2009-2026 Rhinostone <contact@gina.io>
4
+ *
5
+ * For the full copyright and license information, please view the LICENSE
6
+ * file that was distributed with this source code.
7
+ */
8
+
9
+ var fs = require('fs');
10
+ // #B928 — the logger is read when a function runs (getLogger), not bound when this file loads.
11
+ // lib/logger requires the helpers, this file among them, before it assigns its exports, so the
12
+ // binding taken here kept the logger's first, empty exports: in gina-container and gina-init
13
+ // (whose only instance of this file is that one) a trailing comma was refused instead of
14
+ // accepted with a warning, and so it was, in every process, in the files the logger reads while
15
+ // it loads. The require stays, so nothing loads in a different order.
16
+ // was: var console = require('./../../../lib/logger');
17
+ require('./../../../lib/logger');
18
+
19
+ /**
20
+ * The framework logger, or `null` while `lib/logger` is still loading (#B928).
21
+ *
22
+ * `lib/logger` requires the helpers, this file among them, before it assigns
23
+ * its exports, and reads the framework `package.json`, the home
24
+ * `settings.json` and its extension configs through `requireJSON` during that
25
+ * load. Required when a function runs, it is the logger, or its first, empty
26
+ * exports during those reads. An own property is tested: reading a missing
27
+ * property on a module that is still loading makes node print « Accessing
28
+ * non-existent property … inside circular dependency ». A logger that cannot
29
+ * load at all returns `null` too, so the error being reported stays the
30
+ * caller's.
31
+ *
32
+ * @private
33
+ * @returns {object|null} the logger, or `null` while it is not loaded
34
+ *
35
+ * @example
36
+ * var logger = getLogger();
37
+ * if (logger) { logger.emerg(message); process.exit(1); }
38
+ */
39
+ function getLogger() {
40
+ try {
41
+ var logger = require('./../../../lib/logger');
42
+ return ( Object.prototype.hasOwnProperty.call(logger, 'emerg') ) ? logger : null;
43
+ } catch (loggerErr) {
44
+ return null;
45
+ }
46
+ }
47
+
48
+ /**
49
+ * Logs a warning through the logger, or through node's own console while the
50
+ * logger is still loading (#B928): the logger's reads of its own files.
51
+ *
52
+ * @private
53
+ * @param {string} message - the warning
54
+ * @returns {void}
55
+ *
56
+ * @example
57
+ * warn('[ requireJSON ] trailing comma in `/path/to/file.json` — parsed successfully but please fix the file');
58
+ */
59
+ function warn(message) {
60
+ var logger = getLogger();
61
+ if (logger) {
62
+ logger.warn(message);
63
+ } else {
64
+ // node's console, also where the process replaced the global one (bin/cli does)
65
+ require('console').warn(message);
66
+ }
67
+ }
68
+
69
+ /**
70
+ * JSONHelper
71
+ *
72
+ * @package Gina.Lib.Helpers
73
+ * @author Rhinostone <contact@gina.io>
74
+ * @api public
75
+ * */
76
+
77
+ /**
78
+ * Strip `/* ... *\/` block comments from a JSON-with-comments source, linearly.
79
+ *
80
+ * Three states — default, inside a `"..."` string (honouring `\` escapes), and
81
+ * inside a block comment. A `/*` inside a string value is data and is kept; a
82
+ * `/*` anywhere else opens a block wherever it sits — including inside a `//`
83
+ * line comment, which the regex this replaces also treated as an opener and
84
+ * which a consumer configuration in the wild relies on. An unterminated block
85
+ * is kept verbatim, as the regex left it, so a malformed file fails to parse
86
+ * the way it did. Line comments are not this function's job: `requireJSON`
87
+ * strips them per line afterwards, unchanged.
88
+ *
89
+ * Replaces `/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)/g` (#B568): its
90
+ * `[^*]` and `[\r\n]` alternatives both match a newline, so against a `/*`
91
+ * with no `*\/` after it — a glob or certificate path in a string value — the
92
+ * match backtracks about 2x per LF line and 4x per CRLF line of tail, and a
93
+ * bundle whose config carried such a path a few dozen lines from the bottom
94
+ * hung at boot until the CLI's start-wait killed it. Non-newline characters
95
+ * are unambiguous to that regex, which is why a short tail never showed it.
96
+ *
97
+ * @private
98
+ * @param {string} s - raw file content
99
+ * @returns {string} the content with block comments removed
100
+ *
101
+ * @example
102
+ * stripBlockComments('/** doc *\/\n{ "ca": "/x/*.pem" }')
103
+ * // → '\n{ "ca": "/x/*.pem" }' (the in-string /* is data)
104
+ */
105
+ function stripBlockComments(s) {
106
+ var out = [], i = 0, n = s.length, st = 0, mark = 0; // st: 0 default, 1 string, 2 block
107
+ while (i < n) {
108
+ var c = s.charCodeAt(i);
109
+ if (st === 0) {
110
+ if (c === 34) { st = 1; i++; } // "
111
+ else if (c === 47 && s.charCodeAt(i + 1) === 42) { out.push(s.slice(mark, i)); mark = i; st = 2; i += 2; } // /*
112
+ else { i++; }
113
+ } else if (st === 1) {
114
+ if (c === 92) { i += 2; } // \x — skip the escaped char
115
+ else if (c === 34) { st = 0; i++; }
116
+ else { i++; }
117
+ } else {
118
+ if (c === 42 && s.charCodeAt(i + 1) === 47) { st = 0; i += 2; mark = i; } // */ — drop [mark, i)
119
+ else { i++; }
120
+ }
121
+ }
122
+ out.push(s.slice(mark)); // trailing text — or an unterminated block, kept verbatim
123
+ return out.join('');
124
+ }
125
+
126
+ /**
127
+ * Strip `// ...` line comments from a JSON-with-comments source, per line, on
128
+ * the leftmost `//` only. When that `//` is preceded by `:` (URL protocol),
129
+ * `"` (inside a string value), or `\` (escape), the entire line is treated as
130
+ * data and left alone — mirrors the original greedy-from-first-match heuristic
131
+ * so values like "http://host//:rest" round-trip unchanged. Shared by
132
+ * `requireJSON()` and `parseJSONWithComments()` (#B891).
133
+ *
134
+ * @private
135
+ * @param {string} jsonStr - the source, block comments already stripped
136
+ * @returns {string} the source with line comments removed
137
+ *
138
+ * @example
139
+ * stripLineComments('{\n // a note\n "url": "http://x/y"\n}')
140
+ * // → '{\n \n "url": "http://x/y"\n}'
141
+ */
142
+ function stripLineComments(jsonStr) {
143
+ return jsonStr.split('\n').map(function(line) {
144
+ var idx = line.indexOf('//');
145
+ if (idx === -1) {
146
+ return line;
147
+ }
148
+ if (idx > 0) {
149
+ var prev = line.charAt(idx - 1);
150
+ if (prev === ':' || prev === '"' || prev === '\\') {
151
+ return line;
152
+ }
153
+ }
154
+ return line.substring(0, idx);
155
+ }).join('\n');
156
+ }
157
+
158
+ module.exports = function(){
159
+
160
+ // `JSON.clone()` is a prototype defined in `GINA_DIR//lib/prototypes.json_clone`
161
+
162
+ /**
163
+ * Load a JSON file, stripping line (`// ...`) comments and — when the file
164
+ * carries a `/**` docblock — block (`/* ... *\/`) comments before parsing.
165
+ * Block stripping is a linear, string-aware scan, so a `/*` inside a string
166
+ * value is data and survives (#B568). Trailing commas before `}`/`]` are
167
+ * tolerated with
168
+ * a warning. Line-comment stripping is per-line on the leftmost `//`: when
169
+ * that `//` is preceded by `:` (URL protocol), `"` (inside a string value),
170
+ * or `\` (escape), the entire line is treated as data and left alone — so
171
+ * values like `"http://host//:rest"` round-trip unchanged.
172
+ *
173
+ * On a real syntax error, or a file it cannot read, the helper logs via
174
+ * `console.emerg` and exits with code 1; within the controller stack a
175
+ * syntax error is thrown instead. While `lib/logger` is still loading (its
176
+ * own reads of the framework `package.json`, the home `settings.json` and
177
+ * its extension configs) both are thrown, and the trailing-comma warning
178
+ * goes to node's console (#B928). When the engine reports the
179
+ * error's position, the message carries an excerpt of the file from 200
180
+ * characters before the error to 300 after it, the error marked
181
+ * `--(ERROR !)--` (#B917); without a position it names the file only.
182
+ *
183
+ * @param {string} filename - absolute or relative path to the JSON-with-comments file
184
+ *
185
+ * @return {object} parsed JSON object
186
+ *
187
+ * @example
188
+ * // file: app.json
189
+ * // {
190
+ * // "url": "https://example.com/foo",
191
+ * // // a bare line-comment separator
192
+ * // "value": 1
193
+ * // }
194
+ * var config = requireJSON(__dirname + '/app.json');
195
+ * // → { url: 'https://example.com/foo', value: 1 }
196
+ * */
197
+ requireJSON = function(filename){
198
+
199
+ //console.debug('[ Helpers ][ requireJSON ] ', filename);
200
+
201
+ var jsonStr = null;
202
+
203
+ try {
204
+ if (
205
+ typeof(process.env.NODE_ENV_IS_DEV) != 'undefined'
206
+ && /true/i.test(process.env.NODE_ENV_IS_DEV)
207
+ ) {
208
+ delete require.cache[require.resolve(filename)];
209
+ }
210
+ jsonStr = fs.readFileSync(filename).toString();
211
+
212
+ } catch (err) {
213
+ // #B928 — the logger read now, not the empty exports bound when this file loaded
214
+ // was: if ( typeof(console.emerg) != 'undefined' ) {
215
+ // was: console.emerg(err.stack);
216
+ var readLogger = getLogger();
217
+ if ( readLogger ) {
218
+ readLogger.emerg(err.stack);
219
+ process.exit(1);
220
+ }
221
+ throw err
222
+ }
223
+
224
+
225
+ /** block style comments — a linear, string-aware scan behind the same
226
+ * `/**` gate the regex had: a file without a docblock is untouched (#B568) */
227
+ if ( /\/\*\*/.test(jsonStr) ) {
228
+ jsonStr = stripBlockComments(jsonStr);
229
+ }
230
+
231
+ // line style comments — per-line, leftmost `//` only (stripLineComments)
232
+ jsonStr = stripLineComments(jsonStr);
233
+
234
+ try {
235
+ return JSON.parse(jsonStr)
236
+ } catch (firstErr) {
237
+ // Trailing comma tolerance: strip ,} and ,] patterns and retry
238
+ var _stripped = jsonStr.replace(/,(\s*[\}\]])/g, '$1');
239
+ if (_stripped !== jsonStr) {
240
+ try {
241
+ var _result = JSON.parse(_stripped);
242
+ // #B928 — on the empty exports, `console.warn` threw here and the retry fell through to the parse error
243
+ // was: console.warn('[ requireJSON ] trailing comma in `'+ filename +'` — parsed successfully but please fix the file');
244
+ warn('[ requireJSON ] trailing comma in `'+ filename +'` — parsed successfully but please fix the file');
245
+ return _result;
246
+ } catch (_retryErr) {
247
+ // fall through to the original error reporting below
248
+ }
249
+ }
250
+
251
+ var err = firstErr;
252
+ var pos = null
253
+ , msg = null
254
+ , error = null
255
+ ;
256
+ var stack = err.stack.match(/position(\s|\s+)\d+/);
257
+ if ( Array.isArray(stack) && stack.length > 0) {
258
+ pos = stack[0].replace(/[^\d+]/g, '');
259
+ jsonStr = jsonStr.substring(0, pos) + '--(ERROR !)--\n' + jsonStr.substring(pos);
260
+ // #B917 — the excerpt runs from 200 characters before the error to 300 after it.
261
+ // Its end was the fixed index 300, so for an error past character 500 the start
262
+ // passed the end, substring() swapped the two, and the excerpt stopped 200
263
+ // characters short of the error: the marker never showed, and a long file printed
264
+ // almost whole. `pos` is the digit string read from the stack, so it is parsed
265
+ // before the sum (a string plus 300 would concatenate).
266
+ // was: msg = (jsonStr.length > 400) ? '...'+ jsonStr.substring(pos-200, 300) +'...' : jsonStr;
267
+ var at = parseInt(pos, 10);
268
+ msg = (jsonStr.length > 400) ? '...'+ jsonStr.substring(Math.max(0, at - 200), at + 300) +'...' : jsonStr;
269
+ error = new Error('[ requireJSON ] could not parse `'+ filename +'`:' +'\n\rSomething is wrong around this portion:\n\r'+msg+'<strong style="color:red">"</strong>\n\rPlease check your file: `'+ filename +'`'+ '\n\r<strong style="color:red">'+err.stack+'</strong>\n');
270
+ } else {
271
+ error = new Error('[ requireJSON ] could not parse `'+ filename +'`:' +'\n\rSomething is wrong with the content of your file.\n\rPlease check the syntax of your file : `'+ filename +'`'+ '\n\r<strong style="color:red">'+err.stack+'</strong>\n');
272
+ }
273
+
274
+ // #B928 — the logger read now: on the empty exports this threw where it should exit
275
+ // was: if ( !/\/controllers/i.test(err.stack) && typeof(console.emerg) != 'undefined' ) {
276
+ // was: console.emerg(error.message);
277
+ var parseLogger = getLogger();
278
+ if ( !/\/controllers/i.test(err.stack) && parseLogger ) {
279
+ parseLogger.emerg(error.message);
280
+ process.exit(1);
281
+ }
282
+ throw error;
283
+ }
284
+ };
285
+
286
+ /**
287
+ * Parse JSON-with-comments text the way `requireJSON()` parses a file —
288
+ * `//` line comments, `/* ... *\/` block comments when the text carries a
289
+ * `/**` docblock, and a trailing comma before `}`/`]` (with a warning, sent
290
+ * to node's console while `lib/logger` is still loading, #B928) —
291
+ * but never exit the process: text that is still not JSON throws an Error
292
+ * whose message names `filename`. For readers whose failure must stay on
293
+ * their own error path: a CLI command, the framework daemon,
294
+ * `gina-container` (#B891, the readers of a project's `manifest.json`).
295
+ *
296
+ * @param {string} text - the JSON-with-comments source
297
+ * @param {string} [filename] - the file the text was read from, named in the error
298
+ * @returns {*} the parsed value
299
+ * @throws {Error} `could not parse \`<filename>\`: <reason>`, with the JSON
300
+ * SyntaxError as its `cause`
301
+ *
302
+ * @example
303
+ * var file = root + '/manifest.json';
304
+ * var manifest = parseJSONWithComments(fs.readFileSync(file, 'utf8'), file);
305
+ * // a comment line in the file is ignored; a missing brace throws:
306
+ * // Error: could not parse `/path/to/manifest.json`: Expected ',' or '}' …
307
+ */
308
+ parseJSONWithComments = function(text, filename) {
309
+
310
+ var jsonStr = String(text);
311
+ var name = ( typeof(filename) != 'undefined' && filename !== null ) ? filename : 'the given text';
312
+
313
+ if ( /\/\*\*/.test(jsonStr) ) {
314
+ jsonStr = stripBlockComments(jsonStr);
315
+ }
316
+ jsonStr = stripLineComments(jsonStr);
317
+
318
+ try {
319
+ return JSON.parse(jsonStr);
320
+ } catch (parseErr) {
321
+ // trailing comma tolerance, as in requireJSON()
322
+ var _stripped = jsonStr.replace(/,(\s*[\}\]])/g, '$1');
323
+ if (_stripped !== jsonStr) {
324
+ try {
325
+ var _result = JSON.parse(_stripped);
326
+ // #B928 — as in requireJSON(): the empty exports made a trailing comma a parse error
327
+ // was: console.warn('[ parseJSONWithComments ] trailing comma in `'+ name +'` — parsed successfully but please fix the file');
328
+ warn('[ parseJSONWithComments ] trailing comma in `'+ name +'` — parsed successfully but please fix the file');
329
+ return _result;
330
+ } catch (_retryErr) {
331
+ // report the original error below
332
+ }
333
+ }
334
+ var error = new Error('could not parse `'+ name +'`: '+ parseErr.message);
335
+ error.cause = parseErr;
336
+ throw error;
337
+ }
338
+ };
339
+
340
+ };//EO JSONHelper.
@@ -159,7 +159,8 @@ function List(opt, cmd) {
159
159
  let jsonProject = { project: list[p], status: 'ok' }
160
160
  try {
161
161
  path = projects[list[p]].path;
162
- bundles = require( _(path +'/manifest.json')).bundles;
162
+ var manifestFile = _(path +'/manifest.json', true);
163
+ bundles = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles; // #B891
163
164
  bundles = orderBundles(bundles);
164
165
 
165
166
  str += '------------------------------------\n\r';
@@ -226,7 +227,8 @@ function List(opt, cmd) {
226
227
  */
227
228
  var listProjectOnly = function () {
228
229
  var path = self.projects[self.projectName].path
229
- , bundles = require( _(path +'/manifest.json')).bundles
230
+ , manifestFile = _(path +'/manifest.json', true)
231
+ , bundles = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles // #B891
230
232
  , b
231
233
  , str = ''
232
234
  , json = []
@@ -366,7 +366,8 @@ function Restart(opt, cmd) {
366
366
 
367
367
  try {
368
368
  //This is mostly for dev.
369
- var pkg = require( _(root + '/manifest.json') ).bundles;
369
+ var manifestFile = _(root + '/manifest.json', true);
370
+ var pkg = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles; // #B891
370
371
 
371
372
  if ( typeof(pkg[bundle].version) == 'undefined' && typeof(pkg[bundle].tag) != 'undefined') {
372
373
  pkg[bundle].version = pkg[bundle].tag