gina 0.7.7 → 0.7.8
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 +38 -1
- package/README.md +44 -36
- package/ROADMAP.md +1 -0
- package/framework/v0.7.8/VERSION +1 -0
- package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/js/gina.js +546 -461
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js +754 -0
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.js +180 -13
- package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-swig.js +16 -9
- package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/validator/src/main.js +421 -448
- package/framework/{v0.7.7 → v0.7.8}/core/server.js +114 -4
- package/framework/{v0.7.7 → v0.7.8}/core/template/conf/settings.json +1 -1
- package/framework/{v0.7.7 → v0.7.8}/helpers/path.js +292 -43
- package/framework/{v0.7.7 → v0.7.8}/lib/collection/src/main.js +15 -1
- package/framework/{v0.7.7 → v0.7.8}/lib/merge/src/main.js +48 -3
- package/framework/{v0.7.7 → v0.7.8}/lib/nunjucks-filters/src/main.js +12 -0
- package/framework/{v0.7.7 → v0.7.8}/lib/swig-filters/src/main.js +26 -1
- package/framework/{v0.7.7 → v0.7.8}/package.json +2 -2
- package/gna.js +4 -4
- package/llms.txt +15 -15
- package/package.json +5 -5
- package/schema/settings.json +1 -1
- package/utils/prototypes.json_clone.js +12 -5
- package/framework/v0.7.7/VERSION +0 -1
- package/framework/v0.7.7/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -751
- package/framework/v0.7.7/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.7/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/AUTHORS +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/LICENSE +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/config.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/content.encoding +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-nunjucks.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-swig-async.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/render-data.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/controller/render-session.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/dev/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/gna.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/locales/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/mime.types +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/model/entity.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/model/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/router.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/server.express.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/server.isaac.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/status.codes +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/console.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/context.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/task.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/helpers/text.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/async/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/inc/child-failure.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/config.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/job/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/job-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/math/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/model.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/money/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/proc.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/push/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/session-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/shell.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/state.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/s3.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/url/README.md +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/url/index.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/validator.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.7 → v0.7.8}/lib/ws-session/src/main.js +0 -0
|
@@ -455,6 +455,9 @@ function PathHelper() {
|
|
|
455
455
|
/**
|
|
456
456
|
* _.mkdir() Create a folder if doesn't exists, else return path
|
|
457
457
|
*
|
|
458
|
+
* A failure reaches the callback (#B1048). A concurrent mkdir of the same path is
|
|
459
|
+
* not a failure.
|
|
460
|
+
*
|
|
458
461
|
* @param {string} permission Folder permission
|
|
459
462
|
* @callback callback
|
|
460
463
|
* */
|
|
@@ -481,7 +484,9 @@ function PathHelper() {
|
|
|
481
484
|
// process.exit(1)
|
|
482
485
|
}
|
|
483
486
|
|
|
484
|
-
|
|
487
|
+
// #B1048 — was also gated on `p == path`, and a failure carries no path:
|
|
488
|
+
// a failed mkdir never called back.
|
|
489
|
+
if ( typeof(callback) != 'undefined' && typeof(self.created) == 'undefined' ) {
|
|
485
490
|
if (typeof(callback) != 'undefined') {
|
|
486
491
|
callback(err, path)
|
|
487
492
|
} else if ( typeof(console.debug) != 'undefined' ) {
|
|
@@ -509,7 +514,8 @@ function PathHelper() {
|
|
|
509
514
|
var addFolder = function(self, permission, pathArr, i, path) {
|
|
510
515
|
|
|
511
516
|
fs.mkdir(path, function(err){
|
|
512
|
-
|
|
517
|
+
// #B1048 — EEXIST: a concurrent mkdir of the same path got there first
|
|
518
|
+
if ( !err || err.code == 'EEXIST' ) {
|
|
513
519
|
mkdir(self, permission, pathArr, i, path, e)
|
|
514
520
|
} else {
|
|
515
521
|
mkdirEnd(e, self, err)
|
|
@@ -782,7 +788,12 @@ function PathHelper() {
|
|
|
782
788
|
*
|
|
783
789
|
* @callback callback
|
|
784
790
|
* @param {boolean|Error} errResponse - `false` on success, an `Error` on
|
|
785
|
-
* failure (#B227 — was a plain string on stream-copy failures)
|
|
791
|
+
* failure (#B227 — was a plain string on stream-copy failures). Copying a
|
|
792
|
+
* folder, the walk copies all it can and reports its first failure at the
|
|
793
|
+
* end (#B1047). A target that already is the source is a no-op (#B1046). A
|
|
794
|
+
* folder onto a folder that holds it, or into itself unless `excluded` leaves
|
|
795
|
+
* the destination out, is refused before anything is written: an `Error` coded
|
|
796
|
+
* `EINVAL` (#B1050).
|
|
786
797
|
* @param {string} [pathResponse]
|
|
787
798
|
*
|
|
788
799
|
* @example
|
|
@@ -810,6 +821,15 @@ function PathHelper() {
|
|
|
810
821
|
var p = self.value;
|
|
811
822
|
//console.debug("starting copying ", p, " => ", target);
|
|
812
823
|
|
|
824
|
+
// #B1046 — a folder copied onto itself was removed first (strategy 3C), then copied
|
|
825
|
+
// from nothing: the callback reported a success and the folder was gone.
|
|
826
|
+
if ( isSamePath(p, target) ) {
|
|
827
|
+
process.nextTick(function() {
|
|
828
|
+
cb(false, target)
|
|
829
|
+
});
|
|
830
|
+
return;
|
|
831
|
+
}
|
|
832
|
+
|
|
813
833
|
cp(p, target, excluded)
|
|
814
834
|
.onComplete( function(err, destination, method) {
|
|
815
835
|
cb(err, destination);
|
|
@@ -917,6 +937,11 @@ function PathHelper() {
|
|
|
917
937
|
destination += '/' + folder;
|
|
918
938
|
|
|
919
939
|
var target = new _(destination).mkdir( function(err, path) {
|
|
940
|
+
// #B1048 — no destination: copying nothing would read as a success
|
|
941
|
+
if (err) {
|
|
942
|
+
e.emit("cp#complete", err, destination, method);
|
|
943
|
+
return
|
|
944
|
+
}
|
|
920
945
|
browseCopy(source, path, excluded, function(err) {
|
|
921
946
|
//console.debug("copy Dir to Dir/ done");
|
|
922
947
|
e.emit("cp#complete", err, path, method)
|
|
@@ -924,6 +949,22 @@ function PathHelper() {
|
|
|
924
949
|
})
|
|
925
950
|
} else {
|
|
926
951
|
//3C.
|
|
952
|
+
// #B1050 — clearing a destination that holds the source destroyed both, and
|
|
953
|
+
// a folder copied into itself recursed until the path was too long. `excluded`
|
|
954
|
+
// can leave the destination out of the walk, so that form stays allowed.
|
|
955
|
+
var nested = false;
|
|
956
|
+
if ( isInsideFolder(source, destination) ) {
|
|
957
|
+
nested = 'cannot overwrite folder [ '+ destination +' ] with [ '+ source +' ]: it holds it'
|
|
958
|
+
} else if ( excluded == undefined && isInsideFolder(destination, source) ) {
|
|
959
|
+
nested = 'cannot copy folder [ '+ source +' ] into itself: [ '+ destination +' ]'
|
|
960
|
+
}
|
|
961
|
+
if (nested) {
|
|
962
|
+
var nestedErr = new Error('cp() - '+ nested);
|
|
963
|
+
nestedErr.code = 'EINVAL';
|
|
964
|
+
e.emit("cp#complete", nestedErr, destination, method);
|
|
965
|
+
return
|
|
966
|
+
}
|
|
967
|
+
|
|
927
968
|
var onRemoved = function(err, target) {
|
|
928
969
|
// err: 99% means that it doesn't exist. Well, we don't care do we ?.
|
|
929
970
|
if (!err) {
|
|
@@ -944,6 +985,11 @@ function PathHelper() {
|
|
|
944
985
|
}
|
|
945
986
|
if (!isExcluded) {
|
|
946
987
|
target = new _(destination).mkdir( function(err, path) {
|
|
988
|
+
// #B1048 — no destination: copying nothing would read as a success
|
|
989
|
+
if (err) {
|
|
990
|
+
e.emit("cp#complete", err, destination, method);
|
|
991
|
+
return
|
|
992
|
+
}
|
|
947
993
|
|
|
948
994
|
browseCopy(source, path, excluded, function(err) {
|
|
949
995
|
//console.debug("copy Dir to Dir done");
|
|
@@ -962,7 +1008,12 @@ function PathHelper() {
|
|
|
962
1008
|
destination = destination.splice(0, destination.length-1);
|
|
963
1009
|
destination = destination.join('/');
|
|
964
1010
|
|
|
965
|
-
readContent(source, destination, function(_list, _listTo) {
|
|
1011
|
+
readContent(source, destination, function(_list, _listTo, readErr) {
|
|
1012
|
+
// #B1047
|
|
1013
|
+
if (readErr) {
|
|
1014
|
+
e.emit("cp#complete", readErr, oldDestination, method);
|
|
1015
|
+
return
|
|
1016
|
+
}
|
|
966
1017
|
var i = 0, list = [], listTo = [];
|
|
967
1018
|
_list = _list.splice(_list.indexOf(oldSource)+1);
|
|
968
1019
|
_listTo = _listTo.splice(_listTo.indexOf(oldDestination)+1);
|
|
@@ -980,8 +1031,11 @@ function PathHelper() {
|
|
|
980
1031
|
}
|
|
981
1032
|
|
|
982
1033
|
} else {
|
|
983
|
-
|
|
984
|
-
process.
|
|
1034
|
+
// #B1047 — the destination could not be cleared, and the source is
|
|
1035
|
+
// untouched. This ended the whole process.
|
|
1036
|
+
// was: console.error("onRemoved error: som'was wrong ");
|
|
1037
|
+
// process.exit(1)
|
|
1038
|
+
e.emit("cp#complete", err, destination, method)
|
|
985
1039
|
}
|
|
986
1040
|
};
|
|
987
1041
|
|
|
@@ -1038,9 +1092,24 @@ function PathHelper() {
|
|
|
1038
1092
|
//return this
|
|
1039
1093
|
}
|
|
1040
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* List a folder's entries, as source and target paths, for the copy walk.
|
|
1097
|
+
*
|
|
1098
|
+
* @inner
|
|
1099
|
+
* @private
|
|
1100
|
+
* @param {string} source - Folder to read
|
|
1101
|
+
* @param {string} target - Folder the entries are copied to
|
|
1102
|
+
* @param {function} callback - Called with `(list, listTo)`, or `([], [], err)` when
|
|
1103
|
+
* the read failed (#B1047)
|
|
1104
|
+
* @returns {void}
|
|
1105
|
+
*/
|
|
1041
1106
|
var readContent = function(source, target, callback) {
|
|
1042
1107
|
fs.readdir(source, function(err, files) {
|
|
1043
1108
|
var list = [], listTo = [];
|
|
1109
|
+
// #B1047 — `files` is undefined on a failed read: the throw below reached the process
|
|
1110
|
+
if (err) {
|
|
1111
|
+
return callback(list, listTo, err)
|
|
1112
|
+
}
|
|
1044
1113
|
for (var i=0; i<files.length; ++i) {
|
|
1045
1114
|
list[i] = _(source +'/'+ files[i]);
|
|
1046
1115
|
listTo[i] = _(target +'/'+ files[i])
|
|
@@ -1062,8 +1131,9 @@ function PathHelper() {
|
|
|
1062
1131
|
* @param {array} [list]
|
|
1063
1132
|
* @param {array} [listTo]
|
|
1064
1133
|
* @param {number} [i]
|
|
1065
|
-
* @param {
|
|
1066
|
-
*
|
|
1134
|
+
* @param {Error} [walkErr] - First failure of the walk (#B1047): the walk still copies
|
|
1135
|
+
* everything it can, as it always did, and reports this at its end, so `mv()`
|
|
1136
|
+
* does not remove a source it could not copy in full.
|
|
1067
1137
|
*
|
|
1068
1138
|
* @private
|
|
1069
1139
|
* */
|
|
@@ -1072,7 +1142,7 @@ function PathHelper() {
|
|
|
1072
1142
|
callback(err);
|
|
1073
1143
|
}
|
|
1074
1144
|
|
|
1075
|
-
var browseCopy = function(sourceDir, destinationDir, excluded, callback, list, listTo, i) {
|
|
1145
|
+
var browseCopy = function(sourceDir, destinationDir, excluded, callback, list, listTo, i, walkErr) {
|
|
1076
1146
|
list = ( typeof(list) != 'undefined' ) ? list : [];
|
|
1077
1147
|
listTo = ( typeof(listTo) != 'undefined' ) ? listTo : [];
|
|
1078
1148
|
i = ( typeof(i) != 'undefined' ) ? i : 0;
|
|
@@ -1089,21 +1159,28 @@ function PathHelper() {
|
|
|
1089
1159
|
if (list.length != i) {
|
|
1090
1160
|
copyError = new Error('cp() encountred a fatal error. You have to check your paths.\nSource: '+ sourceDir +'\nDestination: ' + destinationDir);
|
|
1091
1161
|
}
|
|
1092
|
-
end(callback, copyError);
|
|
1162
|
+
end(callback, walkErr || copyError);
|
|
1093
1163
|
} else {
|
|
1094
1164
|
fs.lstat(sourceDir, function(err, stats) {
|
|
1095
1165
|
|
|
1166
|
+
// #B1047 — `stats` is undefined on a failed lstat: the throw below reached the process
|
|
1167
|
+
if (err) {
|
|
1168
|
+
++i;
|
|
1169
|
+
return browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr || err)
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1096
1172
|
if ( stats.isSymbolicLink() ) {
|
|
1097
1173
|
//console.debug('real path: ', fs.realpathSync(list[i]));
|
|
1098
1174
|
//console.debug('#2 ('+process.version+') Found symlink: '+ sourceDir,'\n', JSON.stringify(stats, null, 4));
|
|
1099
1175
|
try {
|
|
1100
1176
|
symlinkSync(fs.realpathSync(list[i]), listTo[i]);
|
|
1101
1177
|
} catch (realPathError) {
|
|
1102
|
-
|
|
1178
|
+
// #B1047 — was rethrown from this async callback, to the process
|
|
1179
|
+
walkErr = walkErr || realPathError;
|
|
1103
1180
|
}
|
|
1104
1181
|
|
|
1105
1182
|
++i;
|
|
1106
|
-
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i)
|
|
1183
|
+
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr)
|
|
1107
1184
|
} else if ( stats.isDirectory() ) {
|
|
1108
1185
|
|
|
1109
1186
|
var isExcluded = false;
|
|
@@ -1131,28 +1208,33 @@ function PathHelper() {
|
|
|
1131
1208
|
|
|
1132
1209
|
createDir.mkdir( function(err, path) {
|
|
1133
1210
|
if (!err) {
|
|
1134
|
-
readContent(sourceDir, destinationDir, function(_list, _listTo) {
|
|
1211
|
+
readContent(sourceDir, destinationDir, function(_list, _listTo, readErr) {
|
|
1135
1212
|
|
|
1136
1213
|
for (var p=0; p<_list.length; ++p) {
|
|
1137
1214
|
list.push(_list[p]);
|
|
1138
1215
|
listTo.push(_listTo[p])
|
|
1139
1216
|
}
|
|
1140
1217
|
++i;
|
|
1141
|
-
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i)
|
|
1218
|
+
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr || readErr)
|
|
1142
1219
|
})
|
|
1143
1220
|
} else {
|
|
1144
|
-
|
|
1221
|
+
// #B1047 — was logged only, so the copy never completed
|
|
1222
|
+
console.error(err);
|
|
1223
|
+
++i;
|
|
1224
|
+
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr || err)
|
|
1145
1225
|
}
|
|
1146
1226
|
})
|
|
1147
1227
|
} else {
|
|
1148
1228
|
++i;
|
|
1149
|
-
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i)
|
|
1229
|
+
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr)
|
|
1150
1230
|
}
|
|
1151
1231
|
|
|
1152
1232
|
} else {
|
|
1153
1233
|
copyFileToFile(sourceDir, destinationDir, i, function(err, file, i) {
|
|
1234
|
+
// #B1047 — the error was dropped: the walk reported a success, and mv()
|
|
1235
|
+
// then removed a source whose file it had not copied.
|
|
1154
1236
|
++i;
|
|
1155
|
-
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i)
|
|
1237
|
+
browseCopy(list[i], listTo[i], excluded, callback, list, listTo, i, walkErr || err)
|
|
1156
1238
|
}, excluded)
|
|
1157
1239
|
}
|
|
1158
1240
|
})
|
|
@@ -1360,10 +1442,18 @@ function PathHelper() {
|
|
|
1360
1442
|
*
|
|
1361
1443
|
* @param {string} target
|
|
1362
1444
|
*
|
|
1363
|
-
*
|
|
1364
|
-
*
|
|
1445
|
+
* Every call settles exactly once, whatever happens to the source meanwhile
|
|
1446
|
+
* (#B1045): the callback receives `false` or an `Error`, and with no callback
|
|
1447
|
+
* a failure is logged, never thrown. A source that another move or remove took
|
|
1448
|
+
* after this copy finished is not a failure: the copy is in place and the source
|
|
1449
|
+
* is gone. A target that already is the source is a no-op (#B1046), and so is a file
|
|
1450
|
+
* moved to the folder it already sits in; a rename that only changes the case renames.
|
|
1451
|
+
* A folder moved onto a folder that holds it, or into itself, is refused before anything
|
|
1452
|
+
* is written: an `Error` coded `EINVAL` (#B1050).
|
|
1453
|
+
*
|
|
1454
|
+
* @param {function} [callback]
|
|
1455
|
+
* @param {boolean|Error} callback.errResponse - `false` on success, an `Error`
|
|
1365
1456
|
* on failure (#B227 — was a plain string on stream-copy failures)
|
|
1366
|
-
* @param {string} [pathResponse]
|
|
1367
1457
|
*
|
|
1368
1458
|
* @example
|
|
1369
1459
|
* new _('/tmp/staged.pdf').mv('/var/shared/final.pdf', function(err) {
|
|
@@ -1376,29 +1466,147 @@ function PathHelper() {
|
|
|
1376
1466
|
var self = this;
|
|
1377
1467
|
//Enter dir & start rm.
|
|
1378
1468
|
var p = self.value;
|
|
1469
|
+
// #B1045 — the one place a move settles. With no callback a failure used to be
|
|
1470
|
+
// thrown from this async callback, or to call `undefined`: either way it reached the
|
|
1471
|
+
// process, and proc.js ends a bundle on that.
|
|
1472
|
+
var settle = function(err) {
|
|
1473
|
+
if (err) {
|
|
1474
|
+
console.error(err);
|
|
1475
|
+
}
|
|
1476
|
+
if ( typeof(callback) == 'function' ) {
|
|
1477
|
+
callback(err)
|
|
1478
|
+
}
|
|
1479
|
+
};
|
|
1379
1480
|
exists(p, function(found){
|
|
1380
1481
|
if ( !found ) {
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1482
|
+
return settle( new Error(' mv() - source [ '+p+' ] does not exists !') )
|
|
1483
|
+
}
|
|
1484
|
+
// #B1046 — copied onto itself and then removed, the file was gone
|
|
1485
|
+
if ( isSamePath(p, target) ) {
|
|
1486
|
+
if ( Path.resolve(p) === Path.resolve(target) ) {
|
|
1487
|
+
return settle(false)
|
|
1385
1488
|
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
})
|
|
1489
|
+
// Another name of one file. On a case-insensitive filesystem this is a rename
|
|
1490
|
+
// that only changes the case; rename(2) does it, and does nothing for a
|
|
1491
|
+
// symlinked parent or a hard link.
|
|
1492
|
+
return fs.rename(p, target, function(renameErr) {
|
|
1493
|
+
settle(renameErr || false)
|
|
1494
|
+
})
|
|
1495
|
+
}
|
|
1496
|
+
// #B1046 — the copy takes a file to an existing folder under its own name: moved to
|
|
1497
|
+
// the folder it already sits in, it landed on itself and was then removed.
|
|
1498
|
+
if ( isSamePath(p, intoExistingFolder(p, target)) ) {
|
|
1499
|
+
return settle(false)
|
|
1398
1500
|
}
|
|
1501
|
+
var moving;
|
|
1502
|
+
try {
|
|
1503
|
+
moving = mv(self, target);
|
|
1504
|
+
} catch (mvErr) {
|
|
1505
|
+
// #B1045 — cp() throws synchronously when the source went away after the
|
|
1506
|
+
// check above (another move or remove of it), and nothing could catch that
|
|
1507
|
+
// here but the process.
|
|
1508
|
+
return settle(mvErr)
|
|
1509
|
+
}
|
|
1510
|
+
// #B1045 — was also gated on `p == path`, which only ever repeated what err says
|
|
1511
|
+
moving.onComplete( function(err){
|
|
1512
|
+
settle(err)
|
|
1513
|
+
})
|
|
1399
1514
|
})
|
|
1400
1515
|
}
|
|
1401
1516
|
|
|
1517
|
+
/**
|
|
1518
|
+
* Where the copy puts a file whose target is an existing folder: under the file's own
|
|
1519
|
+
* name in it. Any other target is returned as is. `lstat`, as the copy reads them.
|
|
1520
|
+
*
|
|
1521
|
+
* @inner
|
|
1522
|
+
* @private
|
|
1523
|
+
* @param {string} source
|
|
1524
|
+
* @param {string} target
|
|
1525
|
+
* @returns {string} The path the copy would write
|
|
1526
|
+
*/
|
|
1527
|
+
var intoExistingFolder = function(source, target) {
|
|
1528
|
+
try {
|
|
1529
|
+
if ( !fs.lstatSync(source).isDirectory() && fs.lstatSync(target).isDirectory() ) {
|
|
1530
|
+
return Path.join(target, Path.basename(source))
|
|
1531
|
+
}
|
|
1532
|
+
} catch (e) {}
|
|
1533
|
+
return target
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Whether two stats name one file, compared as node's own `fs.cp()` does: from
|
|
1538
|
+
* `bigint` stats, because an inode past 2^53 rounds alike as a Number, and never on
|
|
1539
|
+
* an inode or device of 0, which a filesystem with no stable inode reports for
|
|
1540
|
+
* every file.
|
|
1541
|
+
*
|
|
1542
|
+
* @inner
|
|
1543
|
+
* @private
|
|
1544
|
+
* @param {fs.BigIntStats} a
|
|
1545
|
+
* @param {fs.BigIntStats} b
|
|
1546
|
+
* @returns {boolean}
|
|
1547
|
+
*/
|
|
1548
|
+
var isSameInode = function(a, b) {
|
|
1549
|
+
return !!a.ino && !!a.dev && a.ino === b.ino && a.dev === b.dev
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Whether two paths name one file: same resolved path, or the same inode (a
|
|
1554
|
+
* case-insensitive filesystem, a symlinked parent, a hard link). `lstat`, so a
|
|
1555
|
+
* symlink is not its target. A path that does not exist names nothing.
|
|
1556
|
+
*
|
|
1557
|
+
* @inner
|
|
1558
|
+
* @private
|
|
1559
|
+
* @param {string} a
|
|
1560
|
+
* @param {string} b
|
|
1561
|
+
* @returns {boolean}
|
|
1562
|
+
*/
|
|
1563
|
+
var isSamePath = function(a, b) {
|
|
1564
|
+
try {
|
|
1565
|
+
if ( Path.resolve(a) === Path.resolve(b) ) {
|
|
1566
|
+
return true
|
|
1567
|
+
}
|
|
1568
|
+
return isSameInode( fs.lstatSync(a, { bigint: true }), fs.lstatSync(b, { bigint: true }) )
|
|
1569
|
+
} catch (e) {
|
|
1570
|
+
return false
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* Whether folder `outer` holds `inner`, at any depth. Compared by inode up from the
|
|
1576
|
+
* real path of `inner`'s parent, so another spelling, another case or a symlinked
|
|
1577
|
+
* parent counts. `inner` may not exist yet: the walk starts at its nearest existing
|
|
1578
|
+
* parent. Neither end counts as a folder when it is a symlink: the copy clears the
|
|
1579
|
+
* link and writes a real folder in its place.
|
|
1580
|
+
*
|
|
1581
|
+
* @inner
|
|
1582
|
+
* @private
|
|
1583
|
+
* @param {string} inner
|
|
1584
|
+
* @param {string} outer
|
|
1585
|
+
* @returns {boolean}
|
|
1586
|
+
*/
|
|
1587
|
+
var isInsideFolder = function(inner, outer) {
|
|
1588
|
+
try {
|
|
1589
|
+
if ( fs.lstatSync(outer).isSymbolicLink() ) {
|
|
1590
|
+
return false
|
|
1591
|
+
}
|
|
1592
|
+
var folder = fs.statSync(outer, { bigint: true }), p = Path.dirname(Path.resolve(inner)), up;
|
|
1593
|
+
while ( !fs.existsSync(p) && p !== Path.dirname(p) ) {
|
|
1594
|
+
p = Path.dirname(p)
|
|
1595
|
+
}
|
|
1596
|
+
p = fs.realpathSync(p);
|
|
1597
|
+
do {
|
|
1598
|
+
if ( isSameInode(fs.statSync(p, { bigint: true }), folder) ) {
|
|
1599
|
+
return true
|
|
1600
|
+
}
|
|
1601
|
+
up = p;
|
|
1602
|
+
p = Path.dirname(p)
|
|
1603
|
+
} while ( p !== up );
|
|
1604
|
+
return false
|
|
1605
|
+
} catch (e) {
|
|
1606
|
+
return false
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1402
1610
|
var mv = function(self, target) {
|
|
1403
1611
|
// Per-call emitter — isolated to this move operation to prevent cross-call interference.
|
|
1404
1612
|
var e = new Events.EventEmitter();
|
|
@@ -1588,8 +1796,13 @@ function PathHelper() {
|
|
|
1588
1796
|
/**
|
|
1589
1797
|
* rm
|
|
1590
1798
|
*
|
|
1799
|
+
* A path another remove takes meanwhile is not a failure. Any other failure reaches
|
|
1800
|
+
* the callback, once (#B1045): a failed lstat, readdir or unlink stops the walk, and
|
|
1801
|
+
* after a failed rmdir it still tries the other folders. Before, a denied unlink read
|
|
1802
|
+
* as a success, and a failed lstat or readdir never called back.
|
|
1803
|
+
*
|
|
1591
1804
|
* @callback callback
|
|
1592
|
-
* @param {
|
|
1805
|
+
* @param {boolean|Error} errResponse - `false` on success, an `Error` on failure
|
|
1593
1806
|
* @param {string} [pathResponse]
|
|
1594
1807
|
* */
|
|
1595
1808
|
_.prototype.rm = function(callback) {
|
|
@@ -1668,7 +1881,8 @@ function PathHelper() {
|
|
|
1668
1881
|
if (i === list[l].length-1 ) {
|
|
1669
1882
|
i = 0;
|
|
1670
1883
|
fs.rmdir(list[l][i], function(err) {
|
|
1671
|
-
|
|
1884
|
+
// #B1045 — ENOENT: another remove got there first, the folder is gone
|
|
1885
|
+
if ( err && err.code != 'ENOENT' ) callback(err);
|
|
1672
1886
|
|
|
1673
1887
|
++l;
|
|
1674
1888
|
removeFolders(list, l, i, callback)
|
|
@@ -1677,7 +1891,8 @@ function PathHelper() {
|
|
|
1677
1891
|
} else {
|
|
1678
1892
|
++i;
|
|
1679
1893
|
fs.rmdir(list[l][i], function(err) {
|
|
1680
|
-
|
|
1894
|
+
// #B1045 — ENOENT: another remove got there first, the folder is gone
|
|
1895
|
+
if ( err && err.code != 'ENOENT' ) callback(err);
|
|
1681
1896
|
|
|
1682
1897
|
removeFolders(list, l, i, callback)
|
|
1683
1898
|
})
|
|
@@ -1686,6 +1901,17 @@ function PathHelper() {
|
|
|
1686
1901
|
}
|
|
1687
1902
|
|
|
1688
1903
|
|
|
1904
|
+
/**
|
|
1905
|
+
* List a folder's entries into the remove walk's list. A folder that is already
|
|
1906
|
+
* gone has nothing to list (#B1045).
|
|
1907
|
+
*
|
|
1908
|
+
* @inner
|
|
1909
|
+
* @private
|
|
1910
|
+
* @param {string} source - Folder to read
|
|
1911
|
+
* @param {array} list - The walk's list, extended in place
|
|
1912
|
+
* @param {function} cb - Called with `(list)`, or `(list, err)` when the read failed
|
|
1913
|
+
* @returns {void}
|
|
1914
|
+
*/
|
|
1689
1915
|
var readContentToRemove = function(source, list, cb) {
|
|
1690
1916
|
fs.readdir(source, function(err, files) {
|
|
1691
1917
|
if (!err) {
|
|
@@ -1695,8 +1921,13 @@ function PathHelper() {
|
|
|
1695
1921
|
}
|
|
1696
1922
|
}
|
|
1697
1923
|
cb(list)
|
|
1924
|
+
} else if ( err.code == 'ENOENT' ) {
|
|
1925
|
+
// #B1045 — another remove got there first: nothing left to list
|
|
1926
|
+
cb(list)
|
|
1698
1927
|
} else {
|
|
1699
|
-
|
|
1928
|
+
// #B1045 — was logged only, so the remove never completed
|
|
1929
|
+
console.error(err);
|
|
1930
|
+
cb(list, err)
|
|
1700
1931
|
}
|
|
1701
1932
|
})
|
|
1702
1933
|
}
|
|
@@ -1739,19 +1970,34 @@ function PathHelper() {
|
|
|
1739
1970
|
folders[l].push(source)
|
|
1740
1971
|
}
|
|
1741
1972
|
|
|
1742
|
-
readContentToRemove(source, list, function(_list){
|
|
1973
|
+
readContentToRemove(source, list, function(_list, readErr){
|
|
1974
|
+
if (readErr) {
|
|
1975
|
+
return callback(readErr)
|
|
1976
|
+
}
|
|
1743
1977
|
++i;
|
|
1744
1978
|
browseRemove(_list[i], callback, _list, folders, i)
|
|
1745
1979
|
})
|
|
1746
1980
|
|
|
1747
1981
|
} else {
|
|
1748
1982
|
removeFile(source, function(err) {
|
|
1983
|
+
// #B1045 — the error was dropped: a denied unlink reported a
|
|
1984
|
+
// success with the file still there. ENOENT: another remove got
|
|
1985
|
+
// there first.
|
|
1986
|
+
if ( err && err.code != 'ENOENT' ) {
|
|
1987
|
+
return callback(err)
|
|
1988
|
+
}
|
|
1749
1989
|
++i;
|
|
1750
1990
|
browseRemove(list[i], callback, list, folders, i)
|
|
1751
1991
|
})
|
|
1752
1992
|
}
|
|
1993
|
+
} else if ( err.code == 'ENOENT' ) {
|
|
1994
|
+
// #B1045 — another remove got there first. This was logged and never
|
|
1995
|
+
// called back, so a move or a remove of this path never completed.
|
|
1996
|
+
++i;
|
|
1997
|
+
browseRemove(list[i], callback, list, folders, i)
|
|
1753
1998
|
} else {
|
|
1754
|
-
console.error(err)
|
|
1999
|
+
console.error(err);
|
|
2000
|
+
callback(err)
|
|
1755
2001
|
}
|
|
1756
2002
|
|
|
1757
2003
|
})
|
|
@@ -1775,7 +2021,10 @@ function PathHelper() {
|
|
|
1775
2021
|
var removeFile = function(filename, callback) {
|
|
1776
2022
|
fs.unlink(filename, function(err){
|
|
1777
2023
|
if (err) {
|
|
1778
|
-
|
|
2024
|
+
// #B1045 — ENOENT: another remove got there first, the caller carries on
|
|
2025
|
+
if ( err.code != 'ENOENT' ) {
|
|
2026
|
+
console.error(err.stack);
|
|
2027
|
+
}
|
|
1779
2028
|
callback(err)
|
|
1780
2029
|
} else {
|
|
1781
2030
|
callback(false)
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
* defined). An explicitly empty `{}` filter is legal and matches every
|
|
26
26
|
* record; `null` is a legal needle comparing strictly against stored values.
|
|
27
27
|
*
|
|
28
|
+
* `notIn` and `delete` return the searched rows without the rows they
|
|
29
|
+
* exclude, so on an empty collection, or an empty query result, they
|
|
30
|
+
* return `[]`.
|
|
31
|
+
*
|
|
28
32
|
* A key holding a dot is a property path (`'address.city'`), also inside an
|
|
29
33
|
* array of objects (`'reviews[*].ratings.score'`). A dotted key that is not a
|
|
30
34
|
* property path matches nothing. A single field after `[*]` (`'tags[*].label'`)
|
|
@@ -1032,6 +1036,12 @@ function Collection(content, options) {
|
|
|
1032
1036
|
* rows that come from elsewhere (the array form), are compared by key as
|
|
1033
1037
|
* before: such rows must carry the named key, a `_uuid` or an `id`.
|
|
1034
1038
|
*
|
|
1039
|
+
* #B1029 — an empty source returns an empty result: there is no row to
|
|
1040
|
+
* keep. Until 0.7.7 the array form, `notIn(rows, key)`, returned `rows`
|
|
1041
|
+
* itself when the searched array was empty (a new Collection over `[]`, or
|
|
1042
|
+
* an empty query result chained into `notIn`), so the call handed back the
|
|
1043
|
+
* very rows it excludes. `delete()` delegates here and returns `[]` too.
|
|
1044
|
+
*
|
|
1035
1045
|
* @param {object|array} filters|arrayToFilter - works like find filterss
|
|
1036
1046
|
* @param {string} [key] - unique id for comparison; faster when provided
|
|
1037
1047
|
* @returns {array} result - a copy of the searched rows without the rows found (chainable)
|
|
@@ -1164,8 +1174,12 @@ function Collection(content, options) {
|
|
|
1164
1174
|
}
|
|
1165
1175
|
}
|
|
1166
1176
|
} else if ( typeof(currentResult[c]) == 'undefined' ) { //empty source case
|
|
1177
|
+
// #B1029 — an empty source holds no row to keep, so the result is
|
|
1178
|
+
// that empty clone. This branch used to return the rows found
|
|
1179
|
+
// (« current === found »): the very rows `notIn` excludes, none
|
|
1180
|
+
// of which belong to the source.
|
|
1167
1181
|
// means that since we don't have a source to compare, current === found
|
|
1168
|
-
currentResult = JSON.clone(foundResults);
|
|
1182
|
+
// currentResult = JSON.clone(foundResults);
|
|
1169
1183
|
|
|
1170
1184
|
} else { // search based on provided filters
|
|
1171
1185
|
// for every single result found
|