gina 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -0
- package/README.md +48 -40
- package/ROADMAP.md +1 -0
- package/bin/cli +33 -4
- package/bin/cli-debug +37 -1
- package/bin/cmd +18 -0
- package/framework/v0.7.4/VERSION +1 -0
- package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.js +1504 -621
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +736 -0
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.3 → v0.7.4}/core/config.js +13 -3
- package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.js +268 -14
- package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-json.js +9 -2
- package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-nunjucks.js +88 -9
- package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-swig-async.js +87 -7
- package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-swig.js +115 -9
- package/framework/{v0.7.3 → v0.7.4}/core/gna.js +44 -2
- package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/src/form-validator.js +43 -4
- package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/src/main.js +847 -515
- package/framework/{v0.7.3 → v0.7.4}/core/router.js +139 -40
- package/framework/{v0.7.3 → v0.7.4}/core/server.express.js +5 -4
- package/framework/{v0.7.3 → v0.7.4}/core/server.isaac.js +93 -10
- package/framework/{v0.7.3 → v0.7.4}/core/server.js +348 -46
- package/framework/{v0.7.3 → v0.7.4}/helpers/context.js +47 -2
- package/framework/{v0.7.3 → v0.7.4}/helpers/data/src/main.js +10 -1
- package/framework/{v0.7.3 → v0.7.4}/helpers/prototypes.js +23 -1
- package/framework/v0.7.4/lib/cmd/bundle/inc/start-status.js +420 -0
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/restart.js +71 -1
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/start.js +207 -41
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/clear.js +39 -8
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/help.txt +3 -4
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/inc/ps-titles.js +62 -6
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/init.js +12 -1
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/restart.js +49 -11
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/status.js +23 -1
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/stop.js +150 -48
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/helper.js +24 -0
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/run.js +6 -0
- package/framework/{v0.7.3 → v0.7.4}/lib/cmd/index.js +8 -1
- package/framework/{v0.7.3 → v0.7.4}/lib/collection/src/main.js +373 -74
- package/framework/{v0.7.3 → v0.7.4}/lib/job/src/main.js +49 -5
- package/framework/{v0.7.3 → v0.7.4}/lib/lane/src/main.js +81 -5
- package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/main.js +184 -15
- package/framework/v0.7.4/lib/logger/src/redact.js +1003 -0
- package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/src/main.js +118 -11
- package/framework/{v0.7.3 → v0.7.4}/lib/proc.js +27 -8
- package/framework/{v0.7.3 → v0.7.4}/lib/render-cache/src/main.js +97 -0
- package/framework/{v0.7.3 → v0.7.4}/lib/routing/src/main.js +140 -14
- package/framework/{v0.7.3 → v0.7.4}/lib/sqlite-driver.js +15 -5
- package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/src/main.js +123 -16
- package/framework/{v0.7.3 → v0.7.4}/package.json +1 -1
- package/gna.js +4 -4
- package/llms.txt +24 -22
- package/package.json +5 -4
- package/schema/settings.json +25 -1
- package/script/smoke_in_container.js +69 -12
- package/types/index.d.ts +3 -2
- package/utils/prototypes.js +37 -2
- package/framework/v0.7.3/VERSION +0 -1
- package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -726
- package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.7.3/lib/logger/src/redact.js +0 -391
- /package/framework/{v0.7.3 → v0.7.4}/AUTHORS +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/LICENSE +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/content.encoding +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/dev/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/locales/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/mime.types +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/model/entity.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/model/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/status.codes +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/console.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/path.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/task.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/helpers/text.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/async/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/config.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/job/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/job-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/math/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/model.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/money/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/push/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/session-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/shell.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/state.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/s3.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/url/README.md +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/url/index.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/validator.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.3 → v0.7.4}/lib/ws-session/src/main.js +0 -0
|
@@ -54,6 +54,15 @@
|
|
|
54
54
|
* another request's response for `throwError`. A job created with no
|
|
55
55
|
* request context runs with none, even when the pump that starts it came
|
|
56
56
|
* from a request.
|
|
57
|
+
* - **No render store (#B811).** A job also runs with NO
|
|
58
|
+
* `process.gina._renderALS` store — the one a render delegate enters
|
|
59
|
+
* around a render, and the first place the template filters look for
|
|
60
|
+
* their context. A job is not a render: without this it kept the render
|
|
61
|
+
* store of the chain that started it (its creator's, or the one of the
|
|
62
|
+
* request whose job freed the worker slot), `req` / `res` included, and
|
|
63
|
+
* a template filter called inside it resolved that request's context. A
|
|
64
|
+
* job that needs a render context enters one itself, inside its deferred
|
|
65
|
+
* function.
|
|
57
66
|
* - **Pluggable store, memory by default.** Records persist behind a small
|
|
58
67
|
* callback-shaped store interface (`set / get / remove / list / sweep`).
|
|
59
68
|
* The in-memory store is the default; a connector-backed store is a
|
|
@@ -152,7 +161,37 @@ function captureRequestContext() {
|
|
|
152
161
|
}
|
|
153
162
|
|
|
154
163
|
/**
|
|
155
|
-
* Run `cb`
|
|
164
|
+
* Run `cb` with NO render store (#B811). `process.gina._renderALS` is the
|
|
165
|
+
* store a render delegate enters around a render — `{ options, isProxyHost,
|
|
166
|
+
* throwError, req, res }` — and the first place the template filters
|
|
167
|
+
* (`getUrl`, `getWebroot`, `t`, `tIcu`) look for their context. A job is not
|
|
168
|
+
* a render and has no response, yet it kept the render store of the async
|
|
169
|
+
* chain that started it: its creator's when the job was created in a frame
|
|
170
|
+
* that carried one, or the one of the request whose job's settle chain freed
|
|
171
|
+
* the worker slot (measured with `maxConcurrency: 1`: a job created by
|
|
172
|
+
* request B, and a job created outside any request, both ran with request
|
|
173
|
+
* A's render context). A template filter called inside the job then resolved
|
|
174
|
+
* that request's context. `run(undefined)` rather than a plain call, for the
|
|
175
|
+
* reason given on {@link runInRequestContext}: a plain call inherits the
|
|
176
|
+
* pump's store. Nothing is read off the store and nothing is copied onto the
|
|
177
|
+
* job — a job that needs a render context enters one itself, inside its
|
|
178
|
+
* deferred function. The store is looked up at RUN time: the first render
|
|
179
|
+
* creates it, long after this module loaded. With no render store in the
|
|
180
|
+
* process, `cb` runs plain.
|
|
181
|
+
*
|
|
182
|
+
* @inner
|
|
183
|
+
* @param {function} cb
|
|
184
|
+
* @returns {*} `cb`'s return value.
|
|
185
|
+
*/
|
|
186
|
+
function runWithoutRenderStore(cb) {
|
|
187
|
+
var als = (process.gina && process.gina._renderALS) ? process.gina._renderALS : null;
|
|
188
|
+
if (!als) return cb();
|
|
189
|
+
return als.run(undefined, cb);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Run `cb` inside a job's own request context (#B543), and with no render
|
|
194
|
+
* store (#B811 — {@link runWithoutRenderStore}). With a captured context
|
|
156
195
|
* the job sees exactly that context; with none (`null`) it sees NO store —
|
|
157
196
|
* `run(undefined)` rather than a plain call, because a plain call would
|
|
158
197
|
* inherit whatever context the pump that started this job happened to run
|
|
@@ -167,8 +206,10 @@ function captureRequestContext() {
|
|
|
167
206
|
*/
|
|
168
207
|
function runInRequestContext(context, cb) {
|
|
169
208
|
var als = (process.gina && process.gina._reqALS) ? process.gina._reqALS : null;
|
|
170
|
-
|
|
171
|
-
|
|
209
|
+
return runWithoutRenderStore(function runInRequestStore() {
|
|
210
|
+
if (!als) return cb();
|
|
211
|
+
return als.run(context || undefined, cb);
|
|
212
|
+
});
|
|
172
213
|
}
|
|
173
214
|
|
|
174
215
|
/**
|
|
@@ -549,7 +590,8 @@ function runOne(entry) {
|
|
|
549
590
|
// deferred fn, its settlement, a retry it arms, its webhook) runs inside the
|
|
550
591
|
// job's OWN detached request context, never in the context of whichever
|
|
551
592
|
// request's settle chain called drain(). The next job drained from here
|
|
552
|
-
// re-scopes itself the same way.
|
|
593
|
+
// re-scopes itself the same way. The same wrapper clears the render store
|
|
594
|
+
// (#B811), which the job would otherwise inherit from that chain too.
|
|
553
595
|
runInRequestContext(entry.context, function runOneInContext() {
|
|
554
596
|
var id = entry.id;
|
|
555
597
|
_store.get(id, function(getErr, rec) {
|
|
@@ -793,7 +835,9 @@ function update(id, patch, cb) {
|
|
|
793
835
|
* inside a DETACHED copy of that request's context (#B543): its log lines
|
|
794
836
|
* carry the request id, absolute URLs it builds use the request's proxy
|
|
795
837
|
* context, and an error it raises through the global helpers is logged, never
|
|
796
|
-
* written to any client.
|
|
838
|
+
* written to any client. It runs with NO render context (#B811): a template
|
|
839
|
+
* filter called inside it resolves as outside a request, never from the
|
|
840
|
+
* render of the request that created the job or freed its worker slot.
|
|
797
841
|
*
|
|
798
842
|
* @memberof module:gina/lib/job
|
|
799
843
|
* @param {function(): (Promise<*>|*)} fn - The deferred work. May be `async`, return a Promise, or return a value synchronously.
|
|
@@ -120,6 +120,68 @@ var STACK_FRAME = /\n\s+at\s/;
|
|
|
120
120
|
*/
|
|
121
121
|
var DETAIL_KEYS = ['title', 'message', 'error'];
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* #B830 (2026-10-09) — render the control characters of a value as visible escapes before
|
|
125
|
+
* it is written into a log or error message, so a client-supplied value cannot forge a
|
|
126
|
+
* physical log line (CWE-117). The escaped set: C0 (U+0000-U+001F), DEL and C1
|
|
127
|
+
* (U+007F-U+009F), and the line separators U+2028 / U+2029 — every character a terminal or
|
|
128
|
+
* a line-based reader can take for a line break or a control sequence. `\n`, `\r`, `\t`
|
|
129
|
+
* become the two-character sequences; any other character of the set becomes `\uXXXX`;
|
|
130
|
+
* every other character is left untouched, so a value holding none comes back unchanged.
|
|
131
|
+
* Deliberately duplicated — in the logger, core/server.js, core/server.isaac.js,
|
|
132
|
+
* core/controller/controller.js, controller.render-swig.js, helpers/context.js, lib/lane,
|
|
133
|
+
* lib/routing and the validator — the way `escapeForJsonString` is (#B600): the logger is
|
|
134
|
+
* server-side only and two of those files are in the browser bundle, so no single
|
|
135
|
+
* requireable home serves them all without adding a public API surface.
|
|
136
|
+
* `test/lib/log-escape-parity-b830.test.js` fails when a copy drifts. The log redaction
|
|
137
|
+
* reads these escapes back (`lib/logger/src/redact.js`, `decodeView`): a change of the set
|
|
138
|
+
* here is a change there.
|
|
139
|
+
*
|
|
140
|
+
* @inner
|
|
141
|
+
* @param {*} value - Coerced with `String()`.
|
|
142
|
+
* @returns {string} The value with its control characters shown as escapes.
|
|
143
|
+
* @example
|
|
144
|
+
* escapeLogControlChars('a\nb'); // the four characters a \ n b, on one physical line
|
|
145
|
+
*/
|
|
146
|
+
function escapeLogControlChars(value) {
|
|
147
|
+
return String(value).replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029]/g, function (c) {
|
|
148
|
+
switch (c) {
|
|
149
|
+
case '\n': return '\\n';
|
|
150
|
+
case '\r': return '\\r';
|
|
151
|
+
case '\t': return '\\t';
|
|
152
|
+
default: return '\\u' + ('000' + c.charCodeAt(0).toString(16)).slice(-4);
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* #B830 — render an error detail safe from line-forging while keeping its stack readable:
|
|
159
|
+
* the control characters of every line are escaped, and a REAL line feed is kept only
|
|
160
|
+
* before a line shaped like a V8 stack frame — whitespace, `at`, whitespace, then ANY
|
|
161
|
+
* text — or starting with `caused by:`; any other line feed (the break of a client value)
|
|
162
|
+
* becomes the visible escape. Log-only: the wire copy is shaped separately by the egress
|
|
163
|
+
* gate. Residual, accepted and documented: a value crafted to look like such a line renders
|
|
164
|
+
* as one, since the detail logs a caller-passed stack whole and a crafted frame line cannot
|
|
165
|
+
* be told from a real one.
|
|
166
|
+
*
|
|
167
|
+
* @inner
|
|
168
|
+
* @param {*} detail - The composed error-detail string.
|
|
169
|
+
* @returns {string} The detail with injected line breaks neutralised, frame lines kept.
|
|
170
|
+
* @example
|
|
171
|
+
* escapeLogDetailKeepFrames('Error: a\nb\n at f (x.js:1:1)');
|
|
172
|
+
* // 'Error: a\\nb' + a real line feed + ' at f (x.js:1:1)'
|
|
173
|
+
*/
|
|
174
|
+
function escapeLogDetailKeepFrames(detail) {
|
|
175
|
+
if (detail === null || typeof detail === 'undefined') { return ''; }
|
|
176
|
+
var lines = String(detail).split('\n');
|
|
177
|
+
var out = escapeLogControlChars(lines[0]);
|
|
178
|
+
for (var i = 1; i < lines.length; i++) {
|
|
179
|
+
var keep = /^\s+at\s/.test(lines[i]) || /^caused by:/.test(lines[i]);
|
|
180
|
+
out += (keep ? '\n' : '\\n') + escapeLogControlChars(lines[i]);
|
|
181
|
+
}
|
|
182
|
+
return out;
|
|
183
|
+
}
|
|
184
|
+
|
|
123
185
|
var _isDev = null;
|
|
124
186
|
var _isLocal = null;
|
|
125
187
|
|
|
@@ -646,7 +708,8 @@ function logLateCall(what, payload) {
|
|
|
646
708
|
} catch (err) {
|
|
647
709
|
text = String(payload);
|
|
648
710
|
}
|
|
649
|
-
|
|
711
|
+
// #B830 — the payload of a late call can hold a client value: frame lines kept, any other break escaped
|
|
712
|
+
logger.warn('[ Lane ] '+ what +' called after the response was released — ignoring: '+ escapeLogDetailKeepFrames(text));
|
|
650
713
|
}
|
|
651
714
|
|
|
652
715
|
/**
|
|
@@ -916,9 +979,10 @@ function isResponseLike(value) {
|
|
|
916
979
|
* so a lane route answers an error with the envelope a controller route would:
|
|
917
980
|
*
|
|
918
981
|
* - `(errorObj)` — `{ status, error, fields | flash | errors, … }` keeps the
|
|
919
|
-
* object's keys (the gates' shape);
|
|
982
|
+
* object's keys (the gates' shape); any other object keeps `status` and
|
|
983
|
+
* `error`, plus its `message` and its `ref` when it has them (#B518);
|
|
920
984
|
* - `(err)` — an `Error`; its `status` when valid, else 500; `error` and `message`
|
|
921
|
-
* carry its message, `stack` its stack;
|
|
985
|
+
* carry its message, `stack` its stack, and its `ref` is kept (#B518);
|
|
922
986
|
* - `(status, message)` / `(status, err)` — `error` is the status text, `message`
|
|
923
987
|
* the sentence;
|
|
924
988
|
* - `(status, { message, ref, … })` and the controller's `(res, status, msg)` —
|
|
@@ -978,7 +1042,7 @@ function buildErrorObject(args, statusCodes) {
|
|
|
978
1042
|
if ( res.message && typeof(res.message) == 'string' ) {
|
|
979
1043
|
errorObject.message = res.message;
|
|
980
1044
|
} else if ( res.message ) {
|
|
981
|
-
logger.warn('[ Lane ] Ignoring message because of the format.\n'+ res.message);
|
|
1045
|
+
logger.warn('[ Lane ] Ignoring message because of the format.\n'+ escapeLogControlChars(res.message));
|
|
982
1046
|
}
|
|
983
1047
|
} else if ( typeof(last) == 'string' ) {
|
|
984
1048
|
errorObject.message = last || msg;
|
|
@@ -996,6 +1060,18 @@ function buildErrorObject(args, statusCodes) {
|
|
|
996
1060
|
) {
|
|
997
1061
|
errorObject = fillMissing(last, errorObject);
|
|
998
1062
|
}
|
|
1063
|
+
// #B518 — the controller's rule: a ONE-argument error object keeps its
|
|
1064
|
+
// `message` and its `ref` (the build above keeps only `status` and `error`
|
|
1065
|
+
// of a plain object, and only `message` and `stack` of an Error). The ref
|
|
1066
|
+
// is checked where it is minted, and `error` is left as built.
|
|
1067
|
+
if ( n == 1 && res && typeof(res) == 'object' ) {
|
|
1068
|
+
if ( typeof(errorObject.message) == 'undefined' && typeof(res.message) == 'string' && res.message != '' ) {
|
|
1069
|
+
errorObject.message = res.message;
|
|
1070
|
+
}
|
|
1071
|
+
if ( typeof(errorObject.ref) == 'undefined' && typeof(res.ref) != 'undefined' ) {
|
|
1072
|
+
errorObject.ref = res.ref;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
999
1075
|
} else if ( n < 3 ) {
|
|
1000
1076
|
msg = code || null;
|
|
1001
1077
|
code = ( res !== null && typeof(res) == 'object' ) ? res : isValidHttpStatus(res) ? res : 500;
|
|
@@ -1070,7 +1146,7 @@ function writeError(ctx, args) {
|
|
|
1070
1146
|
detail += '\ncaused by: '+ ( msg.cause.stack || msg.cause.message || msg.cause );
|
|
1071
1147
|
}
|
|
1072
1148
|
var bundle = conf.bundle || ( req.routing && req.routing.bundle ) || '-';
|
|
1073
|
-
logger.error('[ BUNDLE ][ '+ bundle +' ][ Lane ][ ref '+ errorObject.ref +' ][ req '+ ( req._ginaReqId || '-' ) +' ] '+ req.method +' [ '+ ( errorObject.status || code ) +' ] '+ req.url + ( detail ? '\n'+ detail : '' ));
|
|
1149
|
+
logger.error('[ BUNDLE ][ '+ bundle +' ][ Lane ][ ref '+ errorObject.ref +' ][ req '+ ( req._ginaReqId || '-' ) +' ] '+ req.method +' [ '+ ( errorObject.status || code ) +' ] '+ req.url + ( detail ? '\n'+ escapeLogDetailKeepFrames(detail) : '' ));
|
|
1074
1150
|
|
|
1075
1151
|
// outside local scope: no `stack`, and a stack-bearing string keeps its first line (#B670)
|
|
1076
1152
|
if ( !isLocalScope() ) {
|
|
@@ -620,6 +620,28 @@ function Logger() {
|
|
|
620
620
|
|
|
621
621
|
|
|
622
622
|
|
|
623
|
+
/**
|
|
624
|
+
* The body behind every levelled method (`self.info`, `self.warn`, …). Drops
|
|
625
|
+
* the message if its severity is outside the active hierarchy, then builds a
|
|
626
|
+
* single `content` string from the arguments — a Function is stringified, an
|
|
627
|
+
* Error rendered via {@link inspectError} (#B434), any other object through
|
|
628
|
+
* {@link parse}, and a plain string kept as given.
|
|
629
|
+
*
|
|
630
|
+
* #B830 — a plain string argument is NO LONGER rewritten when it holds the two
|
|
631
|
+
* WRITTEN characters backslash + r/n/t; only real CR / LF / TAB are handled (CR
|
|
632
|
+
* normalised to LF, TAB kept), so a written "\n" stays literal text and cannot
|
|
633
|
+
* forge a log line. Legitimate multi-line arguments (an err.stack, a formatted
|
|
634
|
+
* block) are unchanged, and a framework site embeds a DECODED client value only
|
|
635
|
+
* after escaping its control characters at the site (part C).
|
|
636
|
+
*
|
|
637
|
+
* @inner
|
|
638
|
+
* @param {Object} opt - The resolved logger options for this group.
|
|
639
|
+
* @param {function} parse - The object renderer, passed in for out-of-closure recursion.
|
|
640
|
+
* @param {string} s - The level name (`info`, `warn`, …).
|
|
641
|
+
* @param {Arguments} args - The logging call's arguments.
|
|
642
|
+
* @param {function} cb - The dispatch callback (`emit`).
|
|
643
|
+
* @returns {void}
|
|
644
|
+
*/
|
|
623
645
|
var write = function(opt, parse, s, args, cb) {
|
|
624
646
|
// caller is __stack[3]
|
|
625
647
|
//console.log("----->" + __stack.toString().replace(/\,/g, '\n') );
|
|
@@ -645,16 +667,38 @@ function Logger() {
|
|
|
645
667
|
// enumerable own props and drop the message and stack
|
|
646
668
|
content += inspectError(args[i]) + ' '
|
|
647
669
|
}
|
|
648
|
-
|
|
670
|
+
// #B832 — a null-prototype object takes this path too (see isLoggableObject).
|
|
671
|
+
// was: else if (args[i] instanceof Object) {
|
|
672
|
+
else if (isLoggableObject(args[i])) {
|
|
649
673
|
// careful, [ parse ] will be out of the main execution context: passing it for recursive use
|
|
650
674
|
content += parse(parse, args[i], "")
|
|
651
675
|
}
|
|
652
676
|
else {
|
|
653
|
-
|
|
654
|
-
|
|
677
|
+
// #B832 — a Symbol cannot be coerced with `+`: write it with String()
|
|
678
|
+
// (the line-break test and the concatenation below would throw on it).
|
|
679
|
+
if ( typeof(args[i]) == 'symbol' ) args[i] = String(args[i]);
|
|
680
|
+
|
|
681
|
+
// #B830 (2026-10-09) — the levelled writer must NOT turn the two
|
|
682
|
+
// WRITTEN characters backslash + r/n/t into a control character.
|
|
683
|
+
// The old test/replace also matched `\\r` / `\\n` / `\\t`, so a
|
|
684
|
+
// caller-supplied value containing the text "\n" became a real line
|
|
685
|
+
// feed: a logged client value could then forge a physical log line
|
|
686
|
+
// (CWE-117), and escaping the value first (JSON.stringify) did not
|
|
687
|
+
// help, because the two characters it produces were rewritten here.
|
|
688
|
+
// Real CR / LF / TAB are handled exactly as before (CR normalised to
|
|
689
|
+
// LF for the terminal, TAB kept), so a legitimate multi-line string
|
|
690
|
+
// argument — an err.stack, a formatted block — is unchanged. A
|
|
691
|
+
// framework site that embeds a DECODED client value escapes the
|
|
692
|
+
// value's control characters AT THE SITE (part C, escapeLogControlChars).
|
|
693
|
+
// was:
|
|
694
|
+
// if ( /(?:\\[rnt]|[\r\n\t])/.test(args[i]) ) { // special replacement for mixed string
|
|
695
|
+
// args[i] = args[i]
|
|
696
|
+
// .replace(/(?:\\[rn]|[\r\n])/gm, String.fromCharCode('10'))
|
|
697
|
+
// .replace(/(?:\\[t]|[\t])/gm, String.fromCharCode('09'));
|
|
698
|
+
if ( /[\r\n\t]/.test(args[i]) ) { // real control characters only
|
|
655
699
|
args[i] = args[i]
|
|
656
|
-
.replace(/
|
|
657
|
-
.replace(/
|
|
700
|
+
.replace(/[\r\n]/gm, String.fromCharCode('10')) // \r 10, but should be 13, but will be 10 because of the terminal
|
|
701
|
+
.replace(/[\t]/gm, String.fromCharCode('09'))
|
|
658
702
|
;
|
|
659
703
|
/**
|
|
660
704
|
* Oct Dec Hex Char
|
|
@@ -721,10 +765,118 @@ function Logger() {
|
|
|
721
765
|
}
|
|
722
766
|
}
|
|
723
767
|
|
|
768
|
+
/**
|
|
769
|
+
* #B830 (2026-10-09) — render the control characters of a value as visible escapes before
|
|
770
|
+
* it is written into a log or error message, so a client-supplied value cannot forge a
|
|
771
|
+
* physical log line (CWE-117). The escaped set: C0 (U+0000-U+001F), DEL and C1
|
|
772
|
+
* (U+007F-U+009F), and the line separators U+2028 / U+2029 — every character a terminal or
|
|
773
|
+
* a line-based reader can take for a line break or a control sequence. `\n`, `\r`, `\t`
|
|
774
|
+
* become the two-character sequences; any other character of the set becomes `\uXXXX`;
|
|
775
|
+
* every other character is left untouched, so a value holding none comes back unchanged.
|
|
776
|
+
* Deliberately duplicated — in the logger, core/server.js, core/server.isaac.js,
|
|
777
|
+
* core/controller/controller.js, controller.render-swig.js, helpers/context.js, lib/lane,
|
|
778
|
+
* lib/routing and the validator — the way `escapeForJsonString` is (#B600): the logger is
|
|
779
|
+
* server-side only and two of those files are in the browser bundle, so no single
|
|
780
|
+
* requireable home serves them all without adding a public API surface.
|
|
781
|
+
* `test/lib/log-escape-parity-b830.test.js` fails when a copy drifts. The log redaction
|
|
782
|
+
* reads these escapes back (`lib/logger/src/redact.js`, `decodeView`): a change of the set
|
|
783
|
+
* here is a change there. Here it serves `parse()`: the keys and the
|
|
784
|
+
* string values of a logged object or array.
|
|
785
|
+
*
|
|
786
|
+
* @inner
|
|
787
|
+
* @param {*} s - Coerced with `String()`.
|
|
788
|
+
* @returns {string} The value with its control characters shown as escapes.
|
|
789
|
+
* @example
|
|
790
|
+
* escapeLogControlChars('a\nb'); // the four characters a \ n b, on one physical line
|
|
791
|
+
*/
|
|
792
|
+
var escapeLogControlChars = function(s) {
|
|
793
|
+
return String(s).replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029]/g, function (c) {
|
|
794
|
+
switch (c) {
|
|
795
|
+
case '\n': return '\\n';
|
|
796
|
+
case '\r': return '\\r';
|
|
797
|
+
case '\t': return '\\t';
|
|
798
|
+
default: return '\\u' + ('000' + c.charCodeAt(0).toString(16)).slice(-4);
|
|
799
|
+
}
|
|
800
|
+
});
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* #B832 — tell whether a logged argument or value takes the OBJECT path.
|
|
805
|
+
* `instanceof Object` is false for a null-prototype object
|
|
806
|
+
* (`querystring.parse()`, `Object.create(null)`): it then fell into a
|
|
807
|
+
* string path, and coercing it there threw `Cannot convert object to
|
|
808
|
+
* primitive value` in the caller. A null-prototype object now takes the
|
|
809
|
+
* object path like any other object; nothing else changes path.
|
|
810
|
+
*
|
|
811
|
+
* @inner
|
|
812
|
+
* @param {*} v - A logged argument, or a value a logged object holds.
|
|
813
|
+
* @returns {boolean} `true` for an `Object` instance or a null-prototype object.
|
|
814
|
+
* @example
|
|
815
|
+
* isLoggableObject({ a: 1 }); // true
|
|
816
|
+
* isLoggableObject(Object.create(null)); // true (was: false)
|
|
817
|
+
* isLoggableObject('a'); // false
|
|
818
|
+
*/
|
|
819
|
+
var isLoggableObject = function(v) {
|
|
820
|
+
return v instanceof Object
|
|
821
|
+
|| ( v !== null && typeof(v) == 'object' && Object.getPrototypeOf(v) === null );
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* #B832 — coerce a value for the log line without throwing. `'' + v` throws
|
|
826
|
+
* on a Symbol, and on an object with no usable toString/valueOf: a
|
|
827
|
+
* null-prototype object, or an element `{"toString": "x"}` of a JSON body
|
|
828
|
+
* array. A Symbol is written with `String()`; a value whose coercion throws
|
|
829
|
+
* is written as its `Object.prototype.toString` tag, so an object inside an
|
|
830
|
+
* array reads `[object Object]` whatever its prototype. Every value that
|
|
831
|
+
* coerced before reads exactly as before.
|
|
832
|
+
*
|
|
833
|
+
* @inner
|
|
834
|
+
* @param {*} v - The value to write.
|
|
835
|
+
* @returns {string} Its string form.
|
|
836
|
+
* @example
|
|
837
|
+
* toLogString(5); // '5'
|
|
838
|
+
* toLogString(Symbol('a')); // 'Symbol(a)'
|
|
839
|
+
* toLogString(Object.create(null)); // '[object Object]'
|
|
840
|
+
*/
|
|
841
|
+
var toLogString = function(v) {
|
|
842
|
+
if ( typeof(v) == 'symbol' ) return String(v);
|
|
843
|
+
try {
|
|
844
|
+
return '' + v;
|
|
845
|
+
} catch (coercionErr) {
|
|
846
|
+
return Object.prototype.toString.call(v);
|
|
847
|
+
}
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Render a logged value (object or array) as a single-line string. Keys and
|
|
852
|
+
* string values pass through {@link escapeLogControlChars} (#B830) so no
|
|
853
|
+
* member can introduce a raw line break; a nested plain object recurses, and
|
|
854
|
+
* anything else an array or an object holds — a nested array, a Buffer, a
|
|
855
|
+
* number — is coerced to a string and written through the escaper too. A
|
|
856
|
+
* nested Error is the exception: it keeps its multi-line stack. Keys are
|
|
857
|
+
* counted with `Object.keys` and a value is coerced through
|
|
858
|
+
* {@link toLogString}, so a client-shaped object (an own `count` key, a
|
|
859
|
+
* null-prototype object, an array element `{"toString": "x"}`) cannot make
|
|
860
|
+
* the call throw (#B832).
|
|
861
|
+
*
|
|
862
|
+
* @inner
|
|
863
|
+
* @param {function} parse - This function, passed for recursion (it runs outside the closure's scope).
|
|
864
|
+
* @param {Object|Array} obj - The value to render.
|
|
865
|
+
* @param {string} str - The accumulator the caller seeds (usually `""`).
|
|
866
|
+
* @returns {string} The rendered one-line representation, with a trailing space.
|
|
867
|
+
*/
|
|
724
868
|
var parse = function(parse, obj, str) {
|
|
725
869
|
|
|
870
|
+
// #B832 — count the keys with Object.keys, not `obj.count()`: the helper is
|
|
871
|
+
// an ordinary property lookup, so an OWN key named `count` (a parsed body
|
|
872
|
+
// `{"count": 5}`) made the call throw, and a null-prototype object has no
|
|
873
|
+
// helper at all. `Object.prototype.count.call` (#B546's ownCount) was not
|
|
874
|
+
// enough here: until #B837 it read 0 on a null-prototype object or on one
|
|
875
|
+
// with an own `hasOwnProperty` key, which dropped the commas. Object.keys
|
|
876
|
+
// returns the number the helper returns on every receiver it handles.
|
|
877
|
+
// was: , len = obj.count()
|
|
726
878
|
var l = 0
|
|
727
|
-
, len =
|
|
879
|
+
, len = Object.keys(obj).length
|
|
728
880
|
, isArray = (obj instanceof Array) ? true : false
|
|
729
881
|
;
|
|
730
882
|
str += (isArray) ? '[ ' : '{';
|
|
@@ -732,29 +884,44 @@ function Logger() {
|
|
|
732
884
|
|
|
733
885
|
for (var attr in obj) {
|
|
734
886
|
++l;
|
|
887
|
+
// #B830 — the key is DATA too: escape its control characters once per turn.
|
|
888
|
+
var _k = escapeLogControlChars(attr);
|
|
735
889
|
if (isError(obj[attr])) {
|
|
736
890
|
// #B434 — a nested Error keeps its message and stack (it used to
|
|
737
891
|
// recurse into an enumerable-props walk and render as `{}`)
|
|
738
|
-
str += (isArray ? '' : '"'+
|
|
892
|
+
str += (isArray ? '' : '"'+_k+'": ') + inspectError(obj[attr]);
|
|
739
893
|
str += (l<len) ? ', ' : '';
|
|
740
894
|
} else if (obj[attr] instanceof Function) {
|
|
741
|
-
str +=
|
|
895
|
+
str += _k +': [Function]';
|
|
742
896
|
// if you want ot have it all replace by the following line
|
|
743
897
|
//str += attr +':'+ obj[attr].toString();
|
|
744
898
|
str += (l<len) ? ', ' : ''
|
|
745
|
-
} else if (obj[attr]
|
|
746
|
-
|
|
899
|
+
} else if (isLoggableObject(obj[attr]) && !isArray) {
|
|
900
|
+
// #B832 — a null-prototype value recurses too (was: `obj[attr] instanceof Object`)
|
|
901
|
+
str += '"'+_k+'": ';
|
|
747
902
|
str = parse(parse, obj[attr], str);
|
|
748
903
|
str += (l<len) ? ', ' : '';
|
|
749
904
|
} else {
|
|
750
905
|
if (!isArray && typeof(obj[attr]) == 'string') {
|
|
751
|
-
|
|
906
|
+
// #B830 — escape the string value's control characters, then the
|
|
907
|
+
// existing quote-escaping (order-independent: neither touches the other's chars)
|
|
908
|
+
// #B834 — the redaction reads both escapings back (`redact.decodeView`): an escape
|
|
909
|
+
// added here must be added there too, or a secret holding that character is printed
|
|
910
|
+
str += '"'+_k+'": "' + escapeLogControlChars(obj[attr])
|
|
752
911
|
.replace(/\'/g, "\\'")
|
|
753
912
|
.replace(/\"/g, '\\"') +'"';
|
|
754
913
|
} else if (isArray) {
|
|
755
|
-
|
|
914
|
+
// #B830 — a non-string element (a nested array, a Buffer, a number) goes
|
|
915
|
+
// through the escaper too: `'' + value` reads exactly as before when the
|
|
916
|
+
// value holds no control character, and a string inside a nested array
|
|
917
|
+
// can no longer carry a raw line break into the line
|
|
918
|
+
// #B832 — toLogString, not `'' + value`: a null-prototype element or an
|
|
919
|
+
// element {"toString": "x"} threw here (was: escapeLogControlChars('' + obj[attr]))
|
|
920
|
+
str += ( typeof(obj[attr]) != 'string' ) ? escapeLogControlChars(toLogString(obj[attr])) : '"'+ escapeLogControlChars(obj[attr]) +'"'
|
|
756
921
|
} else {
|
|
757
|
-
|
|
922
|
+
// #B830 — same for a value that is neither a string nor a plain object
|
|
923
|
+
// #B832 — toLogString: a Symbol value threw here (was: escapeLogControlChars('' + obj[attr]))
|
|
924
|
+
str += '"'+_k+'": ' + escapeLogControlChars(toLogString(obj[attr]))
|
|
758
925
|
}
|
|
759
926
|
str += (l<len) ? ', ' : ''
|
|
760
927
|
}
|
|
@@ -923,11 +1090,13 @@ function Logger() {
|
|
|
923
1090
|
if (isError(args[i])) {
|
|
924
1091
|
// #B434 — JSON.stringify(new Error()) is `{}`: message and stack are non-enumerable
|
|
925
1092
|
content += inspectError(args[i]);
|
|
926
|
-
} else if (args[i]
|
|
1093
|
+
} else if (isLoggableObject(args[i])) {
|
|
1094
|
+
// #B832 — a null-prototype object takes this path too (was: `args[i] instanceof Object`)
|
|
927
1095
|
//console.log("\n...", args[i], args[i].toString());
|
|
928
1096
|
content += JSON.stringify(args[i], errorReplacer, '\t');
|
|
929
1097
|
} else {
|
|
930
|
-
content += args[i];
|
|
1098
|
+
// #B832 — a Symbol cannot be concatenated: write it with String() (was: content += args[i];)
|
|
1099
|
+
content += ( typeof(args[i]) == 'symbol' ) ? String(args[i]) : args[i];
|
|
931
1100
|
|
|
932
1101
|
// In case of formated entries - eg.: spawned server that is already returning formated logs
|
|
933
1102
|
// if ( /(\[|\[\s+)debug/.test(args[i]) ) {
|