gina 0.3.9 → 0.3.10
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/.github/scripts/scan-vendored-cves.js +1 -1
- package/.github/workflows/bundle-freshness.yml +3 -3
- package/.github/workflows/security.yml +52 -0
- package/.github/workflows/vendored-cve.yml +2 -2
- package/CHANGELOG.md +12 -4
- package/README.md +5 -8
- package/ROADMAP.md +1 -0
- package/framework/v0.3.10/VERSION +1 -0
- package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/js/gina.js +396 -295
- package/framework/v0.3.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js +548 -0
- package/framework/v0.3.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/session-store.v4.js +1 -1
- package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.js +19 -1
- package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.render-nunjucks.js +8 -8
- package/framework/{v0.3.9 → v0.3.10}/core/gna.js +1 -1
- package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/session/src/main.js +2 -2
- package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/validator/src/main.js +388 -292
- package/framework/{v0.3.9 → v0.3.10}/core/server.isaac.js +16 -0
- package/framework/{v0.3.9 → v0.3.10}/core/server.js +4 -4
- package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/migrate.js +1 -1
- package/framework/{v0.3.9 → v0.3.10}/lib/cmd/inspector/help.txt +2 -2
- package/framework/{v0.3.9 → v0.3.10}/lib/collection/src/main.js +8 -3
- package/framework/{v0.3.9 → v0.3.10}/package.json +1 -1
- package/gna.js +4 -4
- package/llms.txt +21 -7
- package/package.json +3 -2
- package/resources/git-hooks/pre-commit +4 -1
- package/script/_load_private_tokens.js +77 -0
- package/script/check_no_local_leak.js +49 -21
- package/script/retry_lockfile_sync.js +85 -0
- package/framework/v0.3.9/VERSION +0 -1
- package/framework/v0.3.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -545
- package/framework/v0.3.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/AUTHORS +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/html/static.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/config.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/content.encoding +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/controller/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/lib/types/multipart.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/streamsearch-1.1.0/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/streamsearch-1.1.0/lib/sbmh.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/deps/streamsearch-1.1.0/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/dev/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/currency.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/locales/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/mime.types +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/model/entity.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/model/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/model/template/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/router.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/server.express.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/status.codes +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/_gitignore +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/env.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/console.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/context.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/data/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/data/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/json/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/json/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/path.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/prototypes.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/task.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/helpers/text.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/archiver/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/archiver/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/archiver/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/async/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/async/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cache/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cache/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cache/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/collection/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/collection/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/collection/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/config.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cron/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cron/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/domain/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/domain/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/generator/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inherits/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inherits/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/math/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/merge/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/merge/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/model.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/proc.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing/build.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/session-store.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/shell.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/state.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/url/README.md +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/url/index.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/url/routing.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/uuid/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/validator.js +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/watcher/package.json +0 -0
- /package/framework/{v0.3.9 → v0.3.10}/lib/watcher/src/main.js +0 -0
|
@@ -198,7 +198,7 @@ module.exports = function(session, bundle){
|
|
|
198
198
|
}
|
|
199
199
|
if (err) return fn(err);
|
|
200
200
|
if (!data || !data.value) return fn();
|
|
201
|
-
// FRAMEWORK PATCH
|
|
201
|
+
// FRAMEWORK PATCH: handle the case where data.value is
|
|
202
202
|
// already a parsed object (Couchbase Node.js SDK 4.x JsonTranscoder
|
|
203
203
|
// returns the decoded value, not the raw bytes). Without this, calling
|
|
204
204
|
// .toString() on an object produces "[object Object]" which JSON.parse
|
|
@@ -510,7 +510,25 @@ function SuperController(options) {
|
|
|
510
510
|
|
|
511
511
|
|
|
512
512
|
set('page.environment.rootDomain', _config.rootDomain);
|
|
513
|
-
|
|
513
|
+
// Public webroot — composed from the X-Forwarded-Prefix the reverse
|
|
514
|
+
// proxy advertised (captured by server.isaac.js into PROXY_PREFIX) and
|
|
515
|
+
// the bundle's internal server.webroot. The bundle stays unaware of
|
|
516
|
+
// its public mount path; only this output value (templated into
|
|
517
|
+
// gina.onload.min.js → gina.config.webroot) carries the prefix so
|
|
518
|
+
// browser-side URL construction (/_gina/assets/routing.json, the
|
|
519
|
+
// gina.min.css link injection, etc.) targets the correct upstream
|
|
520
|
+
// through the proxy. Internal disk-path resolution and asset URL
|
|
521
|
+
// rewriting still use options.conf.server.webroot directly.
|
|
522
|
+
var _publicWebroot = options.conf.server.webroot;
|
|
523
|
+
if ( typeof(process.gina.PROXY_PREFIX) != 'undefined' && process.gina.PROXY_PREFIX ) {
|
|
524
|
+
var _prefix = process.gina.PROXY_PREFIX;
|
|
525
|
+
var _wr = _publicWebroot.replace(/^\/+/, '');
|
|
526
|
+
_publicWebroot = _prefix + '/' + _wr;
|
|
527
|
+
if ( !/\/$/.test(_publicWebroot) ) {
|
|
528
|
+
_publicWebroot += '/';
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
set('page.environment.webroot', _publicWebroot);
|
|
514
532
|
|
|
515
533
|
if ( typeof(ctx.config.envConf._isRoutingUpdateNeeded) == 'undefined') {
|
|
516
534
|
ctx.config.envConf._isRoutingUpdateNeeded = false;
|
|
@@ -128,7 +128,7 @@ var inspectorRedact = require('lib/inspector-redact');
|
|
|
128
128
|
// the lib registry so the dev-mode hot-reload evictions of `lib/index.js`
|
|
129
129
|
// don't poison the reference across requests.
|
|
130
130
|
//
|
|
131
|
-
// FRAMEWORK PATCH
|
|
131
|
+
// FRAMEWORK PATCH: mirror render-swig.js's `|| require.cache[...]`
|
|
132
132
|
// fallback. server.isaac.js refreshCore() overwrites the lib cache entry with the
|
|
133
133
|
// exports value (not a Module object), so a plain `require()` here returns
|
|
134
134
|
// undefined and crashes the module-level read. Push upstream to gina-io/gina.
|
|
@@ -216,7 +216,7 @@ function resolveTemplatePath(data, localOptions) {
|
|
|
216
216
|
if (effective === localOptions.namespace) {
|
|
217
217
|
effective = 'index';
|
|
218
218
|
}
|
|
219
|
-
// FRAMEWORK PATCH
|
|
219
|
+
// FRAMEWORK PATCH: drop redundant `<namespace>-` prefix
|
|
220
220
|
// from the file segment when present, so `project/project-get.njk`
|
|
221
221
|
// resolves to `project/get.njk` (and `client/client-list.njk` to
|
|
222
222
|
// `client/list.njk`). Lets route names that already carry the
|
|
@@ -481,7 +481,7 @@ function sendHtmlResponse(local, html) {
|
|
|
481
481
|
* @returns {void}
|
|
482
482
|
*/
|
|
483
483
|
function registerGinaFilters(env, self, local, localOptions) {
|
|
484
|
-
// FRAMEWORK PATCH
|
|
484
|
+
// FRAMEWORK PATCH: use module-scope libRef fallback so
|
|
485
485
|
// refreshCore's malformed cache entry doesn't return undefined here.
|
|
486
486
|
var nunjucksFilters = (libRef && libRef.nunjucksFilters)
|
|
487
487
|
|| require('../../lib/nunjucks-filters');
|
|
@@ -520,7 +520,7 @@ function registerGinaFilters(env, self, local, localOptions) {
|
|
|
520
520
|
res: local.res
|
|
521
521
|
});
|
|
522
522
|
|
|
523
|
-
// FRAMEWORK PATCH
|
|
523
|
+
// FRAMEWORK PATCH: apply bundle-level filter wraps registered
|
|
524
524
|
// on process state. Bundle-level monkey-patches on `lib.nunjucksFilters`
|
|
525
525
|
// don't survive refreshCore() (which creates a fresh lib singleton ~per-
|
|
526
526
|
// request in dev mode), so bundles register their wrap on
|
|
@@ -755,7 +755,7 @@ module.exports = async function renderNunjucks(userData, displayInspector, errOp
|
|
|
755
755
|
// Fetch the nunjucks module from the process-cache. `get()` throws if
|
|
756
756
|
// the bundle-startup load did not succeed — we surface that cleanly
|
|
757
757
|
// via throwError so the usual error page pipeline handles it.
|
|
758
|
-
// FRAMEWORK PATCH
|
|
758
|
+
// FRAMEWORK PATCH: use module-scope libRef fallback.
|
|
759
759
|
var nunjucks;
|
|
760
760
|
try {
|
|
761
761
|
nunjucks = (libRef && libRef.nunjucksResolver)
|
|
@@ -820,7 +820,7 @@ module.exports = async function renderNunjucks(userData, displayInspector, errOp
|
|
|
820
820
|
|
|
821
821
|
// Merge user data into page.data so templates can access via {{ page.data.foo }}
|
|
822
822
|
// or {{ foo }} at top level (promoted for ergonomic parity with swig).
|
|
823
|
-
// FRAMEWORK PATCH
|
|
823
|
+
// FRAMEWORK PATCH: the comment promised top-level promotion but
|
|
824
824
|
// the original code only wrote to data.page.data. Mirror to top-level too.
|
|
825
825
|
if (userData && typeof(userData) === 'object') {
|
|
826
826
|
if (!data.page.data) { data.page.data = {}; }
|
|
@@ -832,7 +832,7 @@ module.exports = async function renderNunjucks(userData, displayInspector, errOp
|
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
// FRAMEWORK PATCH
|
|
835
|
+
// FRAMEWORK PATCH: Bug J — alias `data.data` to `data.page.data`
|
|
836
836
|
// so page-shell `{% set X = data.Y %}` resolves under nunjucks layout
|
|
837
837
|
// inheritance. Mirrors swig's `_layouts/layout.html:1` `{% set data = page.data %}`.
|
|
838
838
|
// Without this, page-shells like `estimate/get.njk:11 {% set document = data.document %}`
|
|
@@ -979,7 +979,7 @@ module.exports = async function renderNunjucks(userData, displayInspector, errOp
|
|
|
979
979
|
try { console.warn('[render-nunjucks] asset injection skipped: ' + (assetErr.message || assetErr)); } catch (e) {}
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
// FRAMEWORK PATCH
|
|
982
|
+
// FRAMEWORK PATCH: substitute {{ page.X }} / {{ page.environment.X }}
|
|
983
983
|
// placeholders inside ginaLoader (gina.onload.min.js), which is inserted as a literal
|
|
984
984
|
// HTML string by injectAssets() and therefore cannot rely on nunjucks to resolve its
|
|
985
985
|
// tokens. Mirrors render-swig.js:572-582 (flatten dict) + 1276 (whisper call). Without
|
|
@@ -221,7 +221,7 @@ if (process.argv.length >= 3 /**&& /gina$/.test(process.argv[1])*/ ) {
|
|
|
221
221
|
evar = false
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
// FRAMEWORK PATCH
|
|
224
|
+
// FRAMEWORK PATCH: mirror ctxObj.envVars into process.env so
|
|
225
225
|
// third-party plugins (Csrf, future env-readers) see what filterArgs() stripped
|
|
226
226
|
// in the supervisor before spawn. Push upstream to gina-io/gina.
|
|
227
227
|
if ( typeof(obj[a]) != 'undefined' && obj[a] !== null ) {
|
|
@@ -173,8 +173,8 @@ function Session(expressSession) {
|
|
|
173
173
|
|
|
174
174
|
// Drop-in identity: introspection (`session.name`) returns the upstream
|
|
175
175
|
// identity (`'session'`), while gina stays visible in stack traces via
|
|
176
|
-
// the inner `ginaSessionDispatch` frame. Without this,
|
|
177
|
-
//
|
|
176
|
+
// the inner `ginaSessionDispatch` frame. Without this, bundles that sniff
|
|
177
|
+
// `session.name === 'session'` would see `'ginaSession'`
|
|
178
178
|
// — the wrapper was clobbering the upstream identity.
|
|
179
179
|
Object.defineProperty(wrapped, 'name', {
|
|
180
180
|
value: expressSession.name,
|