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,630 @@
|
|
|
1
|
+
var utils = require('./utils'),
|
|
2
|
+
dateFormatter = require('./dateformatter');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Helper method to recursively run a filter across an object/array and apply it to all of the object/array's values.
|
|
6
|
+
* @param {*} input
|
|
7
|
+
* @return {*}
|
|
8
|
+
* @private
|
|
9
|
+
*/
|
|
10
|
+
function iterateFilter(input) {
|
|
11
|
+
var self = this,
|
|
12
|
+
out = {};
|
|
13
|
+
|
|
14
|
+
if (utils.isArray(input)) {
|
|
15
|
+
return utils.map(input, function (value) {
|
|
16
|
+
return self.apply(null, arguments);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (typeof input === 'object') {
|
|
21
|
+
utils.each(input, function (value, key) {
|
|
22
|
+
out[key] = self.apply(null, arguments);
|
|
23
|
+
});
|
|
24
|
+
return out;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Backslash-escape characters that need to be escaped.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* {{ "\"quoted string\""|addslashes }}
|
|
35
|
+
* // => \"quoted string\"
|
|
36
|
+
*
|
|
37
|
+
* @param {*} input
|
|
38
|
+
* @return {*} Backslash-escaped string.
|
|
39
|
+
*/
|
|
40
|
+
exports.addslashes = function (input) {
|
|
41
|
+
var out = iterateFilter.apply(exports.addslashes, arguments);
|
|
42
|
+
if (out !== undefined) {
|
|
43
|
+
return out;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return input.replace(/\\/g, '\\\\').replace(/\'/g, "\\'").replace(/\"/g, '\\"');
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Upper-case the first letter of the input and lower-case the rest.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* {{ "i like Burritos"|capitalize }}
|
|
54
|
+
* // => I like burritos
|
|
55
|
+
*
|
|
56
|
+
* @param {*} input If given an array or object, each string member will be run through the filter individually.
|
|
57
|
+
* @return {*} Returns the same type as the input.
|
|
58
|
+
*/
|
|
59
|
+
exports.capitalize = function (input) {
|
|
60
|
+
var out = iterateFilter.apply(exports.capitalize, arguments);
|
|
61
|
+
if (out !== undefined) {
|
|
62
|
+
return out;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return input.toString().charAt(0).toUpperCase() + input.toString().substr(1).toLowerCase();
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Format a date or Date-compatible string.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* // now = new Date();
|
|
73
|
+
* {{ now|date('Y-m-d') }}
|
|
74
|
+
* // => 2013-08-14
|
|
75
|
+
* @example
|
|
76
|
+
* // now = new Date();
|
|
77
|
+
* {{ now|date('jS \o\f F') }}
|
|
78
|
+
* // => 4th of July
|
|
79
|
+
*
|
|
80
|
+
* @param {?(string|date)} input
|
|
81
|
+
* @param {string} format PHP-style date format compatible string. Escape characters with <code>\</code> for string literals.
|
|
82
|
+
* @param {number=} offset Timezone offset from GMT in minutes.
|
|
83
|
+
* @param {string=} abbr Timezone abbreviation. Used for output only.
|
|
84
|
+
* @return {string} Formatted date string.
|
|
85
|
+
*/
|
|
86
|
+
exports.date = function (input, format, offset, abbr) {
|
|
87
|
+
var l = format.length,
|
|
88
|
+
date = new dateFormatter.DateZ(input),
|
|
89
|
+
cur,
|
|
90
|
+
i = 0,
|
|
91
|
+
out = '';
|
|
92
|
+
|
|
93
|
+
if (offset) {
|
|
94
|
+
date.setTimezoneOffset(offset, abbr);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
for (i; i < l; i += 1) {
|
|
98
|
+
cur = format.charAt(i);
|
|
99
|
+
if (cur === '\\') {
|
|
100
|
+
i += 1;
|
|
101
|
+
out += (i < l) ? format.charAt(i) : cur;
|
|
102
|
+
} else if (dateFormatter.hasOwnProperty(cur)) {
|
|
103
|
+
out += dateFormatter[cur](date, offset, abbr);
|
|
104
|
+
} else {
|
|
105
|
+
out += cur;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return out;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* If the input is `undefined`, `null`, or `false`, a default return value can be specified.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* {{ null_value|default('Tacos') }}
|
|
116
|
+
* // => Tacos
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* {{ "Burritos"|default("Tacos") }}
|
|
120
|
+
* // => Burritos
|
|
121
|
+
*
|
|
122
|
+
* @param {*} input
|
|
123
|
+
* @param {*} def Value to return if `input` is `undefined`, `null`, or `false`.
|
|
124
|
+
* @return {*} `input` or `def` value.
|
|
125
|
+
*/
|
|
126
|
+
exports["default"] = function (input, def) {
|
|
127
|
+
return (typeof input !== 'undefined' && (input || typeof input === 'number')) ? input : def;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Force escape the output of the variable. Optionally use `e` as a shortcut filter name. This filter will be applied by default if autoescape is turned on.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* {{ "<blah>"|escape }}
|
|
135
|
+
* // => <blah>
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* {{ "<blah>"|e("js") }}
|
|
139
|
+
* // => \u003Cblah\u003E
|
|
140
|
+
*
|
|
141
|
+
* @param {*} input
|
|
142
|
+
* @param {string} [type='html'] If you pass the string js in as the type, output will be escaped so that it is safe for JavaScript execution.
|
|
143
|
+
* @return {string} Escaped string.
|
|
144
|
+
*/
|
|
145
|
+
exports.escape = function (input, type) {
|
|
146
|
+
var out = iterateFilter.apply(exports.escape, arguments),
|
|
147
|
+
inp = input,
|
|
148
|
+
i = 0,
|
|
149
|
+
code;
|
|
150
|
+
|
|
151
|
+
if (out !== undefined) {
|
|
152
|
+
return out;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (typeof input !== 'string') {
|
|
156
|
+
return input;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
out = '';
|
|
160
|
+
|
|
161
|
+
switch (type) {
|
|
162
|
+
case 'js':
|
|
163
|
+
inp = inp.replace(/\\/g, '\\u005C');
|
|
164
|
+
for (i; i < inp.length; i += 1) {
|
|
165
|
+
code = inp.charCodeAt(i);
|
|
166
|
+
if (code < 32) {
|
|
167
|
+
code = code.toString(16).toUpperCase();
|
|
168
|
+
code = (code.length < 2) ? '0' + code : code;
|
|
169
|
+
out += '\\u00' + code;
|
|
170
|
+
} else {
|
|
171
|
+
out += inp[i];
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
return out.replace(/&/g, '\\u0026')
|
|
175
|
+
.replace(/</g, '\\u003C')
|
|
176
|
+
.replace(/>/g, '\\u003E')
|
|
177
|
+
.replace(/\'/g, '\\u0027')
|
|
178
|
+
.replace(/"/g, '\\u0022')
|
|
179
|
+
.replace(/\=/g, '\\u003D')
|
|
180
|
+
.replace(/-/g, '\\u002D')
|
|
181
|
+
.replace(/;/g, '\\u003B');
|
|
182
|
+
|
|
183
|
+
default:
|
|
184
|
+
return inp.replace(/&(?!amp;|lt;|gt;|quot;|#39;)/g, '&')
|
|
185
|
+
.replace(/</g, '<')
|
|
186
|
+
.replace(/>/g, '>')
|
|
187
|
+
.replace(/"/g, '"')
|
|
188
|
+
.replace(/'/g, ''');
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
exports.e = exports.escape;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Get the first item in an array or character in a string. All other objects will attempt to return the first value available.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* // my_arr = ['a', 'b', 'c']
|
|
198
|
+
* {{ my_arr|first }}
|
|
199
|
+
* // => a
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* // my_val = 'Tacos'
|
|
203
|
+
* {{ my_val|first }}
|
|
204
|
+
* // T
|
|
205
|
+
*
|
|
206
|
+
* @param {*} input
|
|
207
|
+
* @return {*} The first item of the array or first character of the string input.
|
|
208
|
+
*/
|
|
209
|
+
exports.first = function (input) {
|
|
210
|
+
if (typeof input === 'object' && !utils.isArray(input)) {
|
|
211
|
+
var keys = utils.keys(input);
|
|
212
|
+
return input[keys[0]];
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (typeof input === 'string') {
|
|
216
|
+
return input.substr(0, 1);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
return input[0];
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Group an array of objects by a common key. If an array is not provided, the input value will be returned untouched.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* // people = [{ age: 23, name: 'Paul' }, { age: 26, name: 'Jane' }, { age: 23, name: 'Jim' }];
|
|
227
|
+
* {% for agegroup in people|groupBy('age') %}
|
|
228
|
+
* <h2>{{ loop.key }}</h2>
|
|
229
|
+
* <ul>
|
|
230
|
+
* {% for person in agegroup %}
|
|
231
|
+
* <li>{{ person.name }}</li>
|
|
232
|
+
* {% endfor %}
|
|
233
|
+
* </ul>
|
|
234
|
+
* {% endfor %}
|
|
235
|
+
*
|
|
236
|
+
* @param {*} input Input object.
|
|
237
|
+
* @param {string} key Key to group by.
|
|
238
|
+
* @return {object} Grouped arrays by given key.
|
|
239
|
+
*/
|
|
240
|
+
exports.groupBy = function (input, key) {
|
|
241
|
+
if (!utils.isArray(input)) {
|
|
242
|
+
return input;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
var out = {};
|
|
246
|
+
|
|
247
|
+
utils.each(input, function (value) {
|
|
248
|
+
if (!value.hasOwnProperty(key)) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
var keyname = value[key],
|
|
253
|
+
newVal = utils.extend({}, value);
|
|
254
|
+
delete value[key];
|
|
255
|
+
|
|
256
|
+
if (!out[keyname]) {
|
|
257
|
+
out[keyname] = [];
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
out[keyname].push(value);
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
return out;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Join the input with a string.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* // my_array = ['foo', 'bar', 'baz']
|
|
271
|
+
* {{ my_array|join(', ') }}
|
|
272
|
+
* // => foo, bar, baz
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* // my_key_object = { a: 'foo', b: 'bar', c: 'baz' }
|
|
276
|
+
* {{ my_key_object|join(' and ') }}
|
|
277
|
+
* // => foo and bar and baz
|
|
278
|
+
*
|
|
279
|
+
* @param {*} input
|
|
280
|
+
* @param {string} glue String value to join items together.
|
|
281
|
+
* @return {string}
|
|
282
|
+
*/
|
|
283
|
+
exports.join = function (input, glue) {
|
|
284
|
+
if (utils.isArray(input)) {
|
|
285
|
+
return input.join(glue);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
if (typeof input === 'object') {
|
|
289
|
+
var out = [];
|
|
290
|
+
utils.each(input, function (value) {
|
|
291
|
+
out.push(value);
|
|
292
|
+
});
|
|
293
|
+
return out.join(glue);
|
|
294
|
+
}
|
|
295
|
+
return input;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Return a string representation of an JavaScript object.
|
|
300
|
+
*
|
|
301
|
+
* Backwards compatible with swig@0.x.x using `json_encode`.
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* // val = { a: 'b' }
|
|
305
|
+
* {{ val|json }}
|
|
306
|
+
* // => {"a":"b"}
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* // val = { a: 'b' }
|
|
310
|
+
* {{ val|json(4) }}
|
|
311
|
+
* // => {
|
|
312
|
+
* // "a": "b"
|
|
313
|
+
* // }
|
|
314
|
+
*
|
|
315
|
+
* @param {*} input
|
|
316
|
+
* @param {number} [indent] Number of spaces to indent for pretty-formatting.
|
|
317
|
+
* @return {string} A valid JSON string.
|
|
318
|
+
*/
|
|
319
|
+
exports.json = function (input, indent) {
|
|
320
|
+
return JSON.stringify(input, null, indent || 0);
|
|
321
|
+
};
|
|
322
|
+
exports.json_encode = exports.json;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Get the last item in an array or character in a string. All other objects will attempt to return the last value available.
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* // my_arr = ['a', 'b', 'c']
|
|
329
|
+
* {{ my_arr|last }}
|
|
330
|
+
* // => c
|
|
331
|
+
*
|
|
332
|
+
* @example
|
|
333
|
+
* // my_val = 'Tacos'
|
|
334
|
+
* {{ my_val|last }}
|
|
335
|
+
* // s
|
|
336
|
+
*
|
|
337
|
+
* @param {*} input
|
|
338
|
+
* @return {*} The last item of the array or last character of the string.input.
|
|
339
|
+
*/
|
|
340
|
+
exports.last = function (input) {
|
|
341
|
+
if (typeof input === 'object' && !utils.isArray(input)) {
|
|
342
|
+
var keys = utils.keys(input);
|
|
343
|
+
return input[keys[keys.length - 1]];
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
if (typeof input === 'string') {
|
|
347
|
+
return input.charAt(input.length - 1);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
return input[input.length - 1];
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Return the input in all lowercase letters.
|
|
355
|
+
*
|
|
356
|
+
* @example
|
|
357
|
+
* {{ "FOOBAR"|lower }}
|
|
358
|
+
* // => foobar
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* // myObj = { a: 'FOO', b: 'BAR' }
|
|
362
|
+
* {{ myObj|lower|join('') }}
|
|
363
|
+
* // => foobar
|
|
364
|
+
*
|
|
365
|
+
* @param {*} input
|
|
366
|
+
* @return {*} Returns the same type as the input.
|
|
367
|
+
*/
|
|
368
|
+
exports.lower = function (input) {
|
|
369
|
+
var out = iterateFilter.apply(exports.lower, arguments);
|
|
370
|
+
if (out !== undefined) {
|
|
371
|
+
return out;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
return input.toString().toLowerCase();
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Deprecated in favor of <a href="#safe">safe</a>.
|
|
379
|
+
*/
|
|
380
|
+
exports.raw = function (input) {
|
|
381
|
+
return exports.safe(input);
|
|
382
|
+
};
|
|
383
|
+
exports.raw.safe = true;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Returns a new string with the matched search pattern replaced by the given replacement string. Uses JavaScript's built-in String.replace() method.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* // my_var = 'foobar';
|
|
390
|
+
* {{ my_var|replace('o', 'e', 'g') }}
|
|
391
|
+
* // => feebar
|
|
392
|
+
*
|
|
393
|
+
* @example
|
|
394
|
+
* // my_var = "farfegnugen";
|
|
395
|
+
* {{ my_var|replace('^f', 'p') }}
|
|
396
|
+
* // => parfegnugen
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* // my_var = 'a1b2c3';
|
|
400
|
+
* {{ my_var|replace('\w', '0', 'g') }}
|
|
401
|
+
* // => 010203
|
|
402
|
+
*
|
|
403
|
+
* @param {string} input
|
|
404
|
+
* @param {string} search String or pattern to replace from the input.
|
|
405
|
+
* @param {string} replacement String to replace matched pattern.
|
|
406
|
+
* @param {string} [flags] Regular Expression flags. 'g': global match, 'i': ignore case, 'm': match over multiple lines
|
|
407
|
+
* @return {string} Replaced string.
|
|
408
|
+
*/
|
|
409
|
+
exports.replace = function (input, search, replacement, flags) {
|
|
410
|
+
var r = new RegExp(search, flags);
|
|
411
|
+
return input.replace(r, replacement);
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Reverse sort the input. This is an alias for <code data-language="swig">{{ input|sort(true) }}</code>.
|
|
416
|
+
*
|
|
417
|
+
* @example
|
|
418
|
+
* // val = [1, 2, 3];
|
|
419
|
+
* {{ val|reverse }}
|
|
420
|
+
* // => 3,2,1
|
|
421
|
+
*
|
|
422
|
+
* @param {array} input
|
|
423
|
+
* @return {array} Reversed array. The original input object is returned if it was not an array.
|
|
424
|
+
*/
|
|
425
|
+
exports.reverse = function (input) {
|
|
426
|
+
return exports.sort(input, true);
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Forces the input to not be auto-escaped. Use this only on content that you know is safe to be rendered on your page.
|
|
431
|
+
*
|
|
432
|
+
* @example
|
|
433
|
+
* // my_var = "<p>Stuff</p>";
|
|
434
|
+
* {{ my_var|safe }}
|
|
435
|
+
* // => <p>Stuff</p>
|
|
436
|
+
*
|
|
437
|
+
* @param {*} input
|
|
438
|
+
* @return {*} The input exactly how it was given, regardless of autoescaping status.
|
|
439
|
+
*/
|
|
440
|
+
exports.safe = function (input) {
|
|
441
|
+
// This is a magic filter. Its logic is hard-coded into Swig's parser.
|
|
442
|
+
return input;
|
|
443
|
+
};
|
|
444
|
+
exports.safe.safe = true;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Sort the input in an ascending direction.
|
|
448
|
+
* If given an object, will return the keys as a sorted array.
|
|
449
|
+
* If given a string, each character will be sorted individually.
|
|
450
|
+
*
|
|
451
|
+
* @example
|
|
452
|
+
* // val = [2, 6, 4];
|
|
453
|
+
* {{ val|sort }}
|
|
454
|
+
* // => 2,4,6
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* // val = 'zaq';
|
|
458
|
+
* {{ val|sort }}
|
|
459
|
+
* // => aqz
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* // val = { bar: 1, foo: 2 }
|
|
463
|
+
* {{ val|sort(true) }}
|
|
464
|
+
* // => foo,bar
|
|
465
|
+
*
|
|
466
|
+
* @param {*} input
|
|
467
|
+
* @param {boolean} [reverse=false] Output is given reverse-sorted if true.
|
|
468
|
+
* @return {*} Sorted array;
|
|
469
|
+
*/
|
|
470
|
+
exports.sort = function (input, reverse) {
|
|
471
|
+
var out;
|
|
472
|
+
if (utils.isArray(input)) {
|
|
473
|
+
out = input.sort();
|
|
474
|
+
} else {
|
|
475
|
+
switch (typeof input) {
|
|
476
|
+
case 'object':
|
|
477
|
+
out = utils.keys(input).sort();
|
|
478
|
+
break;
|
|
479
|
+
case 'string':
|
|
480
|
+
out = input.split('');
|
|
481
|
+
if (reverse) {
|
|
482
|
+
return out.reverse().join('');
|
|
483
|
+
}
|
|
484
|
+
return out.sort().join('');
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
if (out && reverse) {
|
|
489
|
+
return out.reverse();
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
return out || input;
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Strip HTML tags.
|
|
497
|
+
*
|
|
498
|
+
* @example
|
|
499
|
+
* // stuff = '<p>foobar</p>';
|
|
500
|
+
* {{ stuff|striptags }}
|
|
501
|
+
* // => foobar
|
|
502
|
+
*
|
|
503
|
+
* @param {*} input
|
|
504
|
+
* @return {*} Returns the same object as the input, but with all string values stripped of tags.
|
|
505
|
+
*/
|
|
506
|
+
exports.striptags = function (input) {
|
|
507
|
+
var out = iterateFilter.apply(exports.striptags, arguments);
|
|
508
|
+
if (out !== undefined) {
|
|
509
|
+
return out;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
return input.toString().replace(/(<([^>]+)>)/ig, '');
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Capitalizes every word given and lower-cases all other letters.
|
|
517
|
+
*
|
|
518
|
+
* @example
|
|
519
|
+
* // my_str = 'this is soMe text';
|
|
520
|
+
* {{ my_str|title }}
|
|
521
|
+
* // => This Is Some Text
|
|
522
|
+
*
|
|
523
|
+
* @example
|
|
524
|
+
* // my_arr = ['hi', 'this', 'is', 'an', 'array'];
|
|
525
|
+
* {{ my_arr|title|join(' ') }}
|
|
526
|
+
* // => Hi This Is An Array
|
|
527
|
+
*
|
|
528
|
+
* @param {*} input
|
|
529
|
+
* @return {*} Returns the same object as the input, but with all words in strings title-cased.
|
|
530
|
+
*/
|
|
531
|
+
exports.title = function (input) {
|
|
532
|
+
var out = iterateFilter.apply(exports.title, arguments);
|
|
533
|
+
if (out !== undefined) {
|
|
534
|
+
return out;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
return input.toString().replace(/\w\S*/g, function (str) {
|
|
538
|
+
return str.charAt(0).toUpperCase() + str.substr(1).toLowerCase();
|
|
539
|
+
});
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Remove all duplicate items from an array.
|
|
544
|
+
*
|
|
545
|
+
* @example
|
|
546
|
+
* // my_arr = [1, 2, 3, 4, 4, 3, 2, 1];
|
|
547
|
+
* {{ my_arr|uniq|join(',') }}
|
|
548
|
+
* // => 1,2,3,4
|
|
549
|
+
*
|
|
550
|
+
* @param {array} input
|
|
551
|
+
* @return {array} Array with unique items. If input was not an array, the original item is returned untouched.
|
|
552
|
+
*/
|
|
553
|
+
exports.uniq = function (input) {
|
|
554
|
+
var result;
|
|
555
|
+
|
|
556
|
+
if (!input || !utils.isArray(input)) {
|
|
557
|
+
return '';
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
result = [];
|
|
561
|
+
utils.each(input, function (v) {
|
|
562
|
+
if (result.indexOf(v) === -1) {
|
|
563
|
+
result.push(v);
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
return result;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Convert the input to all uppercase letters. If an object or array is provided, all values will be uppercased.
|
|
571
|
+
*
|
|
572
|
+
* @example
|
|
573
|
+
* // my_str = 'tacos';
|
|
574
|
+
* {{ my_str|upper }}
|
|
575
|
+
* // => TACOS
|
|
576
|
+
*
|
|
577
|
+
* @example
|
|
578
|
+
* // my_arr = ['tacos', 'burritos'];
|
|
579
|
+
* {{ my_arr|upper|join(' & ') }}
|
|
580
|
+
* // => TACOS & BURRITOS
|
|
581
|
+
*
|
|
582
|
+
* @param {*} input
|
|
583
|
+
* @return {*} Returns the same type as the input, with all strings upper-cased.
|
|
584
|
+
*/
|
|
585
|
+
exports.upper = function (input) {
|
|
586
|
+
var out = iterateFilter.apply(exports.upper, arguments);
|
|
587
|
+
if (out !== undefined) {
|
|
588
|
+
return out;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
return input.toString().toUpperCase();
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* URL-encode a string. If an object or array is passed, all values will be URL-encoded.
|
|
596
|
+
*
|
|
597
|
+
* @example
|
|
598
|
+
* // my_str = 'param=1&anotherParam=2';
|
|
599
|
+
* {{ my_str|url_encode }}
|
|
600
|
+
* // => param%3D1%26anotherParam%3D2
|
|
601
|
+
*
|
|
602
|
+
* @param {*} input
|
|
603
|
+
* @return {*} URL-encoded string.
|
|
604
|
+
*/
|
|
605
|
+
exports.url_encode = function (input) {
|
|
606
|
+
var out = iterateFilter.apply(exports.url_encode, arguments);
|
|
607
|
+
if (out !== undefined) {
|
|
608
|
+
return out;
|
|
609
|
+
}
|
|
610
|
+
return encodeURIComponent(input);
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* URL-decode a string. If an object or array is passed, all values will be URL-decoded.
|
|
615
|
+
*
|
|
616
|
+
* @example
|
|
617
|
+
* // my_str = 'param%3D1%26anotherParam%3D2';
|
|
618
|
+
* {{ my_str|url_decode }}
|
|
619
|
+
* // => param=1&anotherParam=2
|
|
620
|
+
*
|
|
621
|
+
* @param {*} input
|
|
622
|
+
* @return {*} URL-decoded string.
|
|
623
|
+
*/
|
|
624
|
+
exports.url_decode = function (input) {
|
|
625
|
+
var out = iterateFilter.apply(exports.url_decode, arguments);
|
|
626
|
+
if (out !== undefined) {
|
|
627
|
+
return out;
|
|
628
|
+
}
|
|
629
|
+
return decodeURIComponent(input);
|
|
630
|
+
};
|