gina 0.1.6-alpha.87 → 0.1.6-alpha.89
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/framework/v0.1.6-alpha.89/VERSION +1 -0
- package/framework/v0.1.6-alpha.89/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +1 -0
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/js/gina.js +13 -3
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +340 -340
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +4 -4
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.map +2 -2
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/config.js +12 -4
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/controller/controller.js +1 -3
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/.travis.yml +4 -0
- package/framework/{v0.1.6-alpha.87/core/deps/busboy-1.6.0 → v0.1.6-alpha.89/core/deps/optimist-0.6.1}/LICENSE +10 -8
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/bool.js +10 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/boolean_double.js +7 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/boolean_single.js +7 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/default_hash.js +8 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/default_singles.js +7 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/divide.js +8 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/line_count.js +20 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/line_count_options.js +29 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/line_count_wrap.js +29 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/nonopt.js +4 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/reflect.js +2 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/short.js +3 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/string.js +11 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/usage-options.js +19 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/example/xup.js +10 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/index.js +343 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/package.json +31 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/package.json.dist +39 -0
- package/framework/v0.1.6-alpha.89/core/deps/optimist-0.6.1/readme.markdown +513 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/HISTORY.md +498 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/LICENSE +7 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/README.md +88 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/bin/swig.js +161 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/bin/swig.js.dist +161 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/dist/swig.min.js +7 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/dist/swig.min.js.map +8 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/index.js +1 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/dateformatter.js +198 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/filters.js +630 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/lexer.js +306 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/loaders/filesystem.js +59 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/loaders/index.js +53 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/loaders/memory.js +63 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/parser.js +744 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/swig.js +740 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/autoescape.js +37 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/block.js +25 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/else.js +25 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/elseif.js +28 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/extends.js +19 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/filter.js +68 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/for.js +130 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/if.js +86 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/import.js +91 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/include.js +100 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/index.js +16 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/macro.js +79 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/parent.js +51 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/raw.js +23 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/set.js +109 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/tags/spaceless.js +42 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/lib/utils.js +184 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/package.json +57 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-1.4.2/package.json.dist +61 -0
- package/framework/v0.1.6-alpha.89/core/deps/swig-client/swig.js +5031 -0
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/server.js +7 -2
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/data/package.json +1 -1
- package/framework/{v0.1.6-alpha.87/helpers/plugins → v0.1.6-alpha.89/helpers/json}/package.json +1 -1
- package/framework/{v0.1.6-alpha.87/helpers/json → v0.1.6-alpha.89/helpers/plugins}/package.json +1 -1
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/src/main.js +11 -1
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/mq/listener.js +10 -2
- package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/package.json +0 -1
- package/package.json +2 -2
- package/framework/v0.1.6-alpha.87/VERSION +0 -1
- package/framework/v0.1.6-alpha.87/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +0 -1
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/.travis.yml +0 -17
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/README.md +0 -225
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/deps/encoding/encoding-indexes.js +0 -73
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/deps/encoding/encoding.js +0 -2391
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/lib/main.js +0 -89
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/lib/types/multipart.js +0 -328
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/lib/types/urlencoded.js +0 -214
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/lib/utils.js +0 -191
- package/framework/v0.1.6-alpha.87/core/deps/busboy-0.2.14/package.json +0 -69
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/AUTHORS +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/html/static.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/asset/plugin/uuid.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/controller/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/.github/workflows/ci.yml +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/.github/workflows/lint.yml +0 -0
- /package/framework/{v0.1.6-alpha.87/core/deps/busboy-0.2.14 → v0.1.6-alpha.89/core/deps/busboy-1.6.0}/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-multipart-fields-100mb-big.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-multipart-fields-100mb-small.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-multipart-files-100mb-big.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-multipart-files-100mb-small.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-urlencoded-fields-100pairs-small.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/bench/bench-urlencoded-fields-900pairs-small-alt.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/lib/types/multipart.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/dev/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/gna.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/currency.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/src/make.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/src/resources/currency.csv +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/src/resources/region.csv +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/locales/src/resources/region.mapping.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/mime.types +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/model/entity.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/model/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/model/template/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/plugins/lib/validator/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/router.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/server.express.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/server.isaac.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/status.codes +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/_gitignore +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/env.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/console.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/context.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/data/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/json/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/path.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/prototypes.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/task.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/helpers/text.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/archiver/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/archiver/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/archiver/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/collection/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/collection/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/collection/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/config.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cron/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cron/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/dist/public_suffix_list.dat +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/exemples/backend.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/exemples/frontend.html +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/domain/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/generator/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/example/inheriting_eventemitter.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/example/protected_inheritance.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/example/simple_inheritance.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/math/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/example/merge.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/example/merge_2_literal objects.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/example/merge_and_preserve_first.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/model.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/proc.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/routing/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/routing/build.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/routing/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/session-store.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/shell.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/url/README.md +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/url/index.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/url/mocks.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/url/routing.json +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/url/test.js +0 -0
- /package/framework/{v0.1.6-alpha.87 → v0.1.6-alpha.89}/lib/validator.js +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var utils = require('../utils'),
|
|
2
|
+
strings = ['html', 'js'];
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Control auto-escaping of variable output from within your templates.
|
|
6
|
+
*
|
|
7
|
+
* @alias autoescape
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* // myvar = '<foo>';
|
|
11
|
+
* {% autoescape true %}{{ myvar }}{% endautoescape %}
|
|
12
|
+
* // => <foo>
|
|
13
|
+
* {% autoescape false %}{{ myvar }}{% endautoescape %}
|
|
14
|
+
* // => <foo>
|
|
15
|
+
*
|
|
16
|
+
* @param {boolean|string} control One of `true`, `false`, `"js"` or `"html"`.
|
|
17
|
+
*/
|
|
18
|
+
exports.compile = function (compiler, args, content, parents, options, blockName) {
|
|
19
|
+
return compiler(content, parents, options, blockName);
|
|
20
|
+
};
|
|
21
|
+
exports.parse = function (str, line, parser, types, stack, opts) {
|
|
22
|
+
var matched;
|
|
23
|
+
parser.on('*', function (token) {
|
|
24
|
+
if (!matched &&
|
|
25
|
+
(token.type === types.BOOL ||
|
|
26
|
+
(token.type === types.STRING && strings.indexOf(token.match) === -1))
|
|
27
|
+
) {
|
|
28
|
+
this.out.push(token.match);
|
|
29
|
+
matched = true;
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
utils.throwError('Unexpected token "' + token.match + '" in autoescape tag', line, opts.filename);
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
return true;
|
|
36
|
+
};
|
|
37
|
+
exports.ends = true;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines a block in a template that can be overridden by a template extending this one and/or will override the current template's parent template block of the same name.
|
|
3
|
+
*
|
|
4
|
+
* See <a href="#inheritance">Template Inheritance</a> for more information.
|
|
5
|
+
*
|
|
6
|
+
* @alias block
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {% block body %}...{% endblock %}
|
|
10
|
+
*
|
|
11
|
+
* @param {literal} name Name of the block for use in parent and extended templates.
|
|
12
|
+
*/
|
|
13
|
+
exports.compile = function (compiler, args, content, parents, options) {
|
|
14
|
+
return compiler(content, parents, options, args.join(''));
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
exports.parse = function (str, line, parser) {
|
|
18
|
+
parser.on('*', function (token) {
|
|
19
|
+
this.out.push(token.match);
|
|
20
|
+
});
|
|
21
|
+
return true;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
exports.ends = true;
|
|
25
|
+
exports.block = true;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Used within an <code data-language="swig">{% if %}</code> tag, the code block following this tag up until <code data-language="swig">{% endif %}</code> will be rendered if the <i>if</i> statement returns false.
|
|
3
|
+
*
|
|
4
|
+
* @alias else
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* {% if false %}
|
|
8
|
+
* statement1
|
|
9
|
+
* {% else %}
|
|
10
|
+
* statement2
|
|
11
|
+
* {% endif %}
|
|
12
|
+
* // => statement2
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
exports.compile = function () {
|
|
16
|
+
return '} else {\n';
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.parse = function (str, line, parser, types, stack) {
|
|
20
|
+
parser.on('*', function (token) {
|
|
21
|
+
throw new Error('"else" tag does not accept any tokens. Found "' + token.match + '" on line ' + line + '.');
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
return (stack.length && stack[stack.length - 1].name === 'if');
|
|
25
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var ifparser = require('./if').parse;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Like <code data-language="swig">{% else %}</code>, except this tag can take more conditional statements.
|
|
5
|
+
*
|
|
6
|
+
* @alias elseif
|
|
7
|
+
* @alias elif
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* {% if false %}
|
|
11
|
+
* Tacos
|
|
12
|
+
* {% elseif true %}
|
|
13
|
+
* Burritos
|
|
14
|
+
* {% else %}
|
|
15
|
+
* Churros
|
|
16
|
+
* {% endif %}
|
|
17
|
+
* // => Burritos
|
|
18
|
+
*
|
|
19
|
+
* @param {...mixed} conditional Conditional statement that returns a truthy or falsy value.
|
|
20
|
+
*/
|
|
21
|
+
exports.compile = function (compiler, args) {
|
|
22
|
+
return '} else if (' + args.join(' ') + ') {\n';
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
exports.parse = function (str, line, parser, types, stack) {
|
|
26
|
+
var okay = ifparser(str, line, parser, types, stack);
|
|
27
|
+
return okay && (stack.length && stack[stack.length - 1].name === 'if');
|
|
28
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Makes the current template extend a parent template. This tag must be the first item in your template.
|
|
3
|
+
*
|
|
4
|
+
* See <a href="#inheritance">Template Inheritance</a> for more information.
|
|
5
|
+
*
|
|
6
|
+
* @alias extends
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {% extends "./layout.html" %}
|
|
10
|
+
*
|
|
11
|
+
* @param {string} parentFile Relative path to the file that this template extends.
|
|
12
|
+
*/
|
|
13
|
+
exports.compile = function () {};
|
|
14
|
+
|
|
15
|
+
exports.parse = function () {
|
|
16
|
+
return true;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.ends = false;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var filters = require('../filters');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Apply a filter to an entire block of template.
|
|
5
|
+
*
|
|
6
|
+
* @alias filter
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {% filter uppercase %}oh hi, {{ name }}{% endfilter %}
|
|
10
|
+
* // => OH HI, PAUL
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {% filter replace(".", "!", "g") %}Hi. My name is Paul.{% endfilter %}
|
|
14
|
+
* // => Hi! My name is Paul!
|
|
15
|
+
*
|
|
16
|
+
* @param {function} filter The filter that should be applied to the contents of the tag.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
exports.compile = function (compiler, args, content, parents, options, blockName) {
|
|
20
|
+
var filter = args.shift().replace(/\($/, ''),
|
|
21
|
+
val = '(function () {\n' +
|
|
22
|
+
' var _output = "";\n' +
|
|
23
|
+
compiler(content, parents, options, blockName) +
|
|
24
|
+
' return _output;\n' +
|
|
25
|
+
'})()';
|
|
26
|
+
|
|
27
|
+
if (args[args.length - 1] === ')') {
|
|
28
|
+
args.pop();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
args = (args.length) ? ', ' + args.join('') : '';
|
|
32
|
+
return '_output += _filters["' + filter + '"](' + val + args + ');\n';
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
exports.parse = function (str, line, parser, types) {
|
|
36
|
+
var filter;
|
|
37
|
+
|
|
38
|
+
function check(filter) {
|
|
39
|
+
if (!filters.hasOwnProperty(filter)) {
|
|
40
|
+
throw new Error('Filter "' + filter + '" does not exist on line ' + line + '.');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
parser.on(types.FUNCTION, function (token) {
|
|
45
|
+
if (!filter) {
|
|
46
|
+
filter = token.match.replace(/\($/, '');
|
|
47
|
+
check(filter);
|
|
48
|
+
this.out.push(token.match);
|
|
49
|
+
this.state.push(token.type);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
return true;
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
parser.on(types.VAR, function (token) {
|
|
56
|
+
if (!filter) {
|
|
57
|
+
filter = token.match;
|
|
58
|
+
check(filter);
|
|
59
|
+
this.out.push(filter);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
return true;
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
return true;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
exports.ends = true;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
var ctx = '_ctx.',
|
|
2
|
+
ctxloop = ctx + 'loop';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Loop over objects and arrays.
|
|
6
|
+
*
|
|
7
|
+
* @alias for
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* // obj = { one: 'hi', two: 'bye' };
|
|
11
|
+
* {% for x in obj %}
|
|
12
|
+
* {% if loop.first %}<ul>{% endif %}
|
|
13
|
+
* <li>{{ loop.index }} - {{ loop.key }}: {{ x }}</li>
|
|
14
|
+
* {% if loop.last %}</ul>{% endif %}
|
|
15
|
+
* {% endfor %}
|
|
16
|
+
* // => <ul>
|
|
17
|
+
* // <li>1 - one: hi</li>
|
|
18
|
+
* // <li>2 - two: bye</li>
|
|
19
|
+
* // </ul>
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* // arr = [1, 2, 3]
|
|
23
|
+
* // Reverse the array, shortcut the key/index to `key`
|
|
24
|
+
* {% for key, val in arr|reverse %}
|
|
25
|
+
* {{ key }} -- {{ val }}
|
|
26
|
+
* {% endfor %}
|
|
27
|
+
* // => 0 -- 3
|
|
28
|
+
* // 1 -- 2
|
|
29
|
+
* // 2 -- 1
|
|
30
|
+
*
|
|
31
|
+
* @param {literal} [key] A shortcut to the index of the array or current key accessor.
|
|
32
|
+
* @param {literal} variable The current value will be assigned to this variable name temporarily. The variable will be reset upon ending the for tag.
|
|
33
|
+
* @param {literal} in Literally, "in". This token is required.
|
|
34
|
+
* @param {object} object An enumerable object that will be iterated over.
|
|
35
|
+
*
|
|
36
|
+
* @return {loop.index} The current iteration of the loop (1-indexed)
|
|
37
|
+
* @return {loop.index0} The current iteration of the loop (0-indexed)
|
|
38
|
+
* @return {loop.revindex} The number of iterations from the end of the loop (1-indexed)
|
|
39
|
+
* @return {loop.revindex0} The number of iterations from the end of the loop (0-indexed)
|
|
40
|
+
* @return {loop.key} If the iterator is an object, this will be the key of the current item, otherwise it will be the same as the loop.index.
|
|
41
|
+
* @return {loop.first} True if the current object is the first in the object or array.
|
|
42
|
+
* @return {loop.last} True if the current object is the last in the object or array.
|
|
43
|
+
*/
|
|
44
|
+
exports.compile = function (compiler, args, content, parents, options, blockName) {
|
|
45
|
+
var val = args.shift(),
|
|
46
|
+
key = '__k',
|
|
47
|
+
ctxloopcache = (ctx + '__loopcache' + Math.random()).replace(/\./g, ''),
|
|
48
|
+
last;
|
|
49
|
+
|
|
50
|
+
if (args[0] && args[0] === ',') {
|
|
51
|
+
args.shift();
|
|
52
|
+
key = val;
|
|
53
|
+
val = args.shift();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
last = args.join('');
|
|
57
|
+
|
|
58
|
+
return [
|
|
59
|
+
'(function () {\n',
|
|
60
|
+
' var __l = ' + last + ', __len = (_utils.isArray(__l) || typeof __l === "string") ? __l.length : _utils.keys(__l).length;\n',
|
|
61
|
+
' if (!__l) { return; }\n',
|
|
62
|
+
' var ' + ctxloopcache + ' = { loop: ' + ctxloop + ', ' + val + ': ' + ctx + val + ', ' + key + ': ' + ctx + key + ' };\n',
|
|
63
|
+
' ' + ctxloop + ' = { first: false, index: 1, index0: 0, revindex: __len, revindex0: __len - 1, length: __len, last: false };\n',
|
|
64
|
+
' _utils.each(__l, function (' + val + ', ' + key + ') {\n',
|
|
65
|
+
' ' + ctx + val + ' = ' + val + ';\n',
|
|
66
|
+
' ' + ctx + key + ' = ' + key + ';\n',
|
|
67
|
+
' ' + ctxloop + '.key = ' + key + ';\n',
|
|
68
|
+
' ' + ctxloop + '.first = (' + ctxloop + '.index0 === 0);\n',
|
|
69
|
+
' ' + ctxloop + '.last = (' + ctxloop + '.revindex0 === 0);\n',
|
|
70
|
+
' ' + compiler(content, parents, options, blockName),
|
|
71
|
+
' ' + ctxloop + '.index += 1; ' + ctxloop + '.index0 += 1; ' + ctxloop + '.revindex -= 1; ' + ctxloop + '.revindex0 -= 1;\n',
|
|
72
|
+
' });\n',
|
|
73
|
+
' ' + ctxloop + ' = ' + ctxloopcache + '.loop;\n',
|
|
74
|
+
' ' + ctx + val + ' = ' + ctxloopcache + '.' + val + ';\n',
|
|
75
|
+
' ' + ctx + key + ' = ' + ctxloopcache + '.' + key + ';\n',
|
|
76
|
+
' ' + ctxloopcache + ' = undefined;\n',
|
|
77
|
+
'})();\n'
|
|
78
|
+
].join('');
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
exports.parse = function (str, line, parser, types) {
|
|
82
|
+
var firstVar, ready;
|
|
83
|
+
|
|
84
|
+
parser.on(types.NUMBER, function (token) {
|
|
85
|
+
var lastState = this.state.length ? this.state[this.state.length - 1] : null;
|
|
86
|
+
if (!ready ||
|
|
87
|
+
(lastState !== types.ARRAYOPEN &&
|
|
88
|
+
lastState !== types.CURLYOPEN &&
|
|
89
|
+
lastState !== types.CURLYCLOSE &&
|
|
90
|
+
lastState !== types.FUNCTION &&
|
|
91
|
+
lastState !== types.FILTER)
|
|
92
|
+
) {
|
|
93
|
+
throw new Error('Unexpected number "' + token.match + '" on line ' + line + '.');
|
|
94
|
+
}
|
|
95
|
+
return true;
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
parser.on(types.VAR, function (token) {
|
|
99
|
+
if (ready && firstVar) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (!this.out.length) {
|
|
104
|
+
firstVar = true;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
this.out.push(token.match);
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
parser.on(types.COMMA, function (token) {
|
|
111
|
+
if (firstVar && this.prevToken.type === types.VAR) {
|
|
112
|
+
this.out.push(token.match);
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return true;
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
parser.on(types.COMPARATOR, function (token) {
|
|
120
|
+
if (token.match !== 'in' || !firstVar) {
|
|
121
|
+
throw new Error('Unexpected token "' + token.match + '" on line ' + line + '.');
|
|
122
|
+
}
|
|
123
|
+
ready = true;
|
|
124
|
+
this.filterApplyIdx.push(this.out.length);
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
return true;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
exports.ends = true;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Used to create conditional statements in templates. Accepts most JavaScript valid comparisons.
|
|
3
|
+
*
|
|
4
|
+
* Can be used in conjunction with <a href="#elseif"><code data-language="swig">{% elseif ... %}</code></a> and <a href="#else"><code data-language="swig">{% else %}</code></a> tags.
|
|
5
|
+
*
|
|
6
|
+
* @alias if
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* {% if x %}{% endif %}
|
|
10
|
+
* {% if !x %}{% endif %}
|
|
11
|
+
* {% if not x %}{% endif %}
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* {% if x and y %}{% endif %}
|
|
15
|
+
* {% if x && y %}{% endif %}
|
|
16
|
+
* {% if x or y %}{% endif %}
|
|
17
|
+
* {% if x || y %}{% endif %}
|
|
18
|
+
* {% if x || (y && z) %}{% endif %}
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* {% if x [operator] y %}
|
|
22
|
+
* Operators: ==, !=, <, <=, >, >=, ===, !==
|
|
23
|
+
* {% endif %}
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* {% if x == 'five' %}
|
|
27
|
+
* The operands can be also be string or number literals
|
|
28
|
+
* {% endif %}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* {% if x|lower === 'tacos' %}
|
|
32
|
+
* You can use filters on any operand in the statement.
|
|
33
|
+
* {% endif %}
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* {% if x in y %}
|
|
37
|
+
* If x is a value that is present in y, this will return true.
|
|
38
|
+
* {% endif %}
|
|
39
|
+
*
|
|
40
|
+
* @param {...mixed} conditional Conditional statement that returns a truthy or falsy value.
|
|
41
|
+
*/
|
|
42
|
+
exports.compile = function (compiler, args, content, parents, options, blockName) {
|
|
43
|
+
return 'if (' + args.join(' ') + ') { \n' +
|
|
44
|
+
compiler(content, parents, options, blockName) + '\n' +
|
|
45
|
+
'}';
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
exports.parse = function (str, line, parser, types) {
|
|
49
|
+
if (typeof str === "undefined") {
|
|
50
|
+
throw new Error('No conditional statement provided on line ' + line + '.');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
parser.on(types.COMPARATOR, function (token) {
|
|
54
|
+
if (this.isLast) {
|
|
55
|
+
throw new Error('Unexpected logic "' + token.match + '" on line ' + line + '.');
|
|
56
|
+
}
|
|
57
|
+
if (this.prevToken.type === types.NOT) {
|
|
58
|
+
throw new Error('Attempted logic "not ' + token.match + '" on line ' + line + '. Use !(foo ' + token.match + ') instead.');
|
|
59
|
+
}
|
|
60
|
+
this.out.push(token.match);
|
|
61
|
+
this.filterApplyIdx.push(this.out.length);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
parser.on(types.NOT, function (token) {
|
|
65
|
+
if (this.isLast) {
|
|
66
|
+
throw new Error('Unexpected logic "' + token.match + '" on line ' + line + '.');
|
|
67
|
+
}
|
|
68
|
+
this.out.push(token.match);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
parser.on(types.BOOL, function (token) {
|
|
72
|
+
this.out.push(token.match);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
parser.on(types.LOGIC, function (token) {
|
|
76
|
+
if (!this.out.length || this.isLast) {
|
|
77
|
+
throw new Error('Unexpected logic "' + token.match + '" on line ' + line + '.');
|
|
78
|
+
}
|
|
79
|
+
this.out.push(token.match);
|
|
80
|
+
this.filterApplyIdx.pop();
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
return true;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
exports.ends = true;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
var utils = require('../utils');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Allows you to import macros from another file directly into your current context.
|
|
5
|
+
* The import tag is specifically designed for importing macros into your template with a specific context scope. This is very useful for keeping your macros from overriding template context that is being injected by your server-side page generation.
|
|
6
|
+
*
|
|
7
|
+
* @alias import
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* {% import './formmacros.html' as forms %}
|
|
11
|
+
* {{ form.input("text", "name") }}
|
|
12
|
+
* // => <input type="text" name="name">
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* {% import "../shared/tags.html" as tags %}
|
|
16
|
+
* {{ tags.stylesheet('global') }}
|
|
17
|
+
* // => <link rel="stylesheet" href="/global.css">
|
|
18
|
+
*
|
|
19
|
+
* @param {string|var} file Relative path from the current template file to the file to import macros from.
|
|
20
|
+
* @param {literal} as Literally, "as".
|
|
21
|
+
* @param {literal} varname Local-accessible object name to assign the macros to.
|
|
22
|
+
*/
|
|
23
|
+
exports.compile = function (compiler, args) {
|
|
24
|
+
var ctx = args.pop(),
|
|
25
|
+
out = '_ctx.' + ctx + ' = {};\n var _output = "";\n',
|
|
26
|
+
replacements = utils.map(args, function (arg) {
|
|
27
|
+
return {
|
|
28
|
+
ex: new RegExp('_ctx.' + arg.name, 'g'),
|
|
29
|
+
re: '_ctx.' + ctx + '.' + arg.name
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// Replace all occurrences of all macros in this file with
|
|
34
|
+
// proper namespaced definitions and calls
|
|
35
|
+
utils.each(args, function (arg) {
|
|
36
|
+
var c = arg.compiled;
|
|
37
|
+
utils.each(replacements, function (re) {
|
|
38
|
+
c = c.replace(re.ex, re.re);
|
|
39
|
+
});
|
|
40
|
+
out += c;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
return out;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.parse = function (str, line, parser, types, stack, opts, swig) {
|
|
47
|
+
var compiler = require('../parser').compile,
|
|
48
|
+
parseOpts = { resolveFrom: opts.filename },
|
|
49
|
+
compileOpts = utils.extend({}, opts, parseOpts),
|
|
50
|
+
tokens,
|
|
51
|
+
ctx;
|
|
52
|
+
|
|
53
|
+
parser.on(types.STRING, function (token) {
|
|
54
|
+
var self = this;
|
|
55
|
+
if (!tokens) {
|
|
56
|
+
tokens = swig.parseFile(token.match.replace(/^("|')|("|')$/g, ''), parseOpts).tokens;
|
|
57
|
+
utils.each(tokens, function (token) {
|
|
58
|
+
var out = '',
|
|
59
|
+
macroName;
|
|
60
|
+
if (!token || token.name !== 'macro' || !token.compile) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
macroName = token.args[0];
|
|
64
|
+
out += token.compile(compiler, token.args, token.content, [], compileOpts) + '\n';
|
|
65
|
+
self.out.push({compiled: out, name: macroName});
|
|
66
|
+
});
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
throw new Error('Unexpected string ' + token.match + ' on line ' + line + '.');
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
parser.on(types.VAR, function (token) {
|
|
74
|
+
var self = this;
|
|
75
|
+
if (!tokens || ctx) {
|
|
76
|
+
throw new Error('Unexpected variable "' + token.match + '" on line ' + line + '.');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (token.match === 'as') {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
ctx = token.match;
|
|
84
|
+
self.out.push(ctx);
|
|
85
|
+
return false;
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
return true;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
exports.block = true;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
var ignore = 'ignore',
|
|
2
|
+
missing = 'missing',
|
|
3
|
+
only = 'only';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Includes a template partial in place. The template is rendered within the current locals variable context.
|
|
7
|
+
*
|
|
8
|
+
* @alias include
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* // food = 'burritos';
|
|
12
|
+
* // drink = 'lemonade';
|
|
13
|
+
* {% include "./partial.html" %}
|
|
14
|
+
* // => I like burritos and lemonade.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* // my_obj = { food: 'tacos', drink: 'horchata' };
|
|
18
|
+
* {% include "./partial.html" with my_obj only %}
|
|
19
|
+
* // => I like tacos and horchata.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* {% include "/this/file/does/not/exist" ignore missing %}
|
|
23
|
+
* // => (Nothing! empty string)
|
|
24
|
+
*
|
|
25
|
+
* @param {string|var} file The path, relative to the template root, to render into the current context.
|
|
26
|
+
* @param {literal} [with] Literally, "with".
|
|
27
|
+
* @param {object} [context] Local variable key-value object context to provide to the included file.
|
|
28
|
+
* @param {literal} [only] Restricts to <strong>only</strong> passing the <code>with context</code> as local variables–the included template will not be aware of any other local variables in the parent template. For best performance, usage of this option is recommended if possible.
|
|
29
|
+
* @param {literal} [ignore missing] Will output empty string if not found instead of throwing an error.
|
|
30
|
+
*/
|
|
31
|
+
exports.compile = function (compiler, args) {
|
|
32
|
+
var file = args.shift(),
|
|
33
|
+
onlyIdx = args.indexOf(only),
|
|
34
|
+
onlyCtx = onlyIdx !== -1 ? args.splice(onlyIdx, 1) : false,
|
|
35
|
+
parentFile = (args.pop() || '').replace(/\\/g, '\\\\'),
|
|
36
|
+
ignore = args[args.length - 1] === missing ? (args.pop()) : false,
|
|
37
|
+
w = args.join('');
|
|
38
|
+
|
|
39
|
+
return (ignore ? ' try {\n' : '') +
|
|
40
|
+
'_output += _swig.compileFile(' + file + ', {' +
|
|
41
|
+
'resolveFrom: "' + parentFile + '"' +
|
|
42
|
+
'})(' +
|
|
43
|
+
((onlyCtx && w) ? w : (!w ? '_ctx' : '_utils.extend({}, _ctx, ' + w + ')')) +
|
|
44
|
+
');\n' +
|
|
45
|
+
(ignore ? '} catch (e) {}\n' : '');
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
exports.parse = function (str, line, parser, types, stack, opts) {
|
|
49
|
+
var file, w;
|
|
50
|
+
parser.on(types.STRING, function (token) {
|
|
51
|
+
if (!file) {
|
|
52
|
+
file = token.match;
|
|
53
|
+
this.out.push(file);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return true;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
parser.on(types.VAR, function (token) {
|
|
61
|
+
if (!file) {
|
|
62
|
+
file = token.match;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (!w && token.match === 'with') {
|
|
67
|
+
w = true;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (w && token.match === only && this.prevToken.match !== 'with') {
|
|
72
|
+
this.out.push(token.match);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (token.match === ignore) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (token.match === missing) {
|
|
81
|
+
if (this.prevToken.match !== ignore) {
|
|
82
|
+
throw new Error('Unexpected token "' + missing + '" on line ' + line + '.');
|
|
83
|
+
}
|
|
84
|
+
this.out.push(token.match);
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (this.prevToken.match === ignore) {
|
|
89
|
+
throw new Error('Expected "' + missing + '" on line ' + line + ' but found "' + token.match + '".');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return true;
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
parser.on('end', function () {
|
|
96
|
+
this.out.push(opts.filename || null);
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
return true;
|
|
100
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
exports.autoescape = require('./autoescape');
|
|
2
|
+
exports.block = require('./block');
|
|
3
|
+
exports["else"] = require('./else');
|
|
4
|
+
exports.elseif = require('./elseif');
|
|
5
|
+
exports.elif = exports.elseif;
|
|
6
|
+
exports["extends"] = require('./extends');
|
|
7
|
+
exports.filter = require('./filter');
|
|
8
|
+
exports["for"] = require('./for');
|
|
9
|
+
exports["if"] = require('./if');
|
|
10
|
+
exports["import"] = require('./import');
|
|
11
|
+
exports.include = require('./include');
|
|
12
|
+
exports.macro = require('./macro');
|
|
13
|
+
exports.parent = require('./parent');
|
|
14
|
+
exports.raw = require('./raw');
|
|
15
|
+
exports.set = require('./set');
|
|
16
|
+
exports.spaceless = require('./spaceless');
|