gina 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +18 -8
- package/ROADMAP.md +10 -9
- package/framework/v0.3.3/VERSION +1 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/README.md +7 -8
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +1 -1
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +2 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +103 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/js/gina.js +293 -201
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +21636 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +286 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/config.js +6 -1
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/index.js +52 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/index.js +45 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/index.js +46 -0
- package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.js +1 -1
- package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/multipart.js +2 -1
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/LICENSE +19 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/lib/sbmh.js +267 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/package.json +34 -0
- package/framework/{v0.3.2 → v0.3.3}/core/gna.js +30 -30
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/src/main.js +3 -3
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/main.js +34 -29
- package/framework/{v0.3.2 → v0.3.3}/core/server.isaac.js +77 -13
- package/framework/{v0.3.2 → v0.3.3}/core/server.js +66 -18
- package/framework/{v0.3.2 → v0.3.3}/helpers/json/src/main.js +14 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cache/src/main.js +2 -2
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/aliases.json +3 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/arguments.json +2 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.txt +21 -1
- package/framework/v0.3.3/lib/cmd/bundle/oas.js +6 -0
- package/framework/v0.3.3/lib/cmd/bundle/openapi.js +519 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/start.js +4 -1
- package/framework/v0.3.3/lib/cmd/framework/get.js +98 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.txt +8 -3
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.txt +7 -2
- package/framework/v0.3.3/lib/cmd/port/set.js +348 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/collection/src/main.js +4 -4
- package/framework/{v0.3.2 → v0.3.3}/lib/index.js +1 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/listener.js +2 -2
- package/framework/v0.3.3/lib/uuid/package.json +7 -0
- package/framework/v0.3.3/lib/uuid/src/main.js +99 -0
- package/framework/v0.3.3/package.json +8 -0
- package/gna.js +86 -0
- package/llms.txt +94 -4
- package/package.json +107 -101
- package/types/globals.d.ts +205 -0
- package/types/gna.d.ts +67 -0
- package/types/index.d.ts +566 -0
- package/framework/v0.3.2/VERSION +0 -1
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -532
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -8
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/CONTRIBUTING.md +0 -107
- package/framework/v0.3.2/core/deps/swig-1.4.2/HISTORY.md +0 -498
- package/framework/v0.3.2/core/deps/swig-1.4.2/LICENSE +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/Makefile +0 -192
- package/framework/v0.3.2/core/deps/swig-1.4.2/README.md +0 -88
- package/framework/v0.3.2/core/deps/swig-1.4.2/bin/swig.js +0 -161
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/comments.js +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/index.js +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/dist/swig.min.js +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/api.html +0 -136
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/browser.html +0 -36
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/cli.html +0 -64
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/extending.html +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/filters.html +0 -97
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/TYPES.html +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/macros.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/index.html +0 -212
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/layout.html +0 -43
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/loaders.html +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/previous.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/tags.html +0 -72
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.html +0 -98
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/lib/rainbow.min.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/master.js +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/html5.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/master.html +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/button.less +0 -22
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/fork.less +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/header.less +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/layout.less +0 -96
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/mixins.less +0 -268
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/rainbow.less +0 -58
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/reset.less +0 -250
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/sidenav.less +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/swig.less +0 -124
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/variables.less +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/index.js +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/dateformatter.js +0 -198
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/filters.js +0 -630
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/lexer.js +0 -306
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/filesystem.js +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/index.js +0 -53
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/memory.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/parser.js +0 -744
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/swig.js +0 -740
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/autoescape.js +0 -37
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/block.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/else.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/elseif.js +0 -28
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/extends.js +0 -19
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/filter.js +0 -68
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/for.js +0 -130
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/if.js +0 -86
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/import.js +0 -91
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/include.js +0 -100
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/index.js +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/macro.js +0 -79
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/parent.js +0 -51
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/raw.js +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/set.js +0 -109
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/spaceless.js +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/utils.js +0 -184
- package/framework/v0.3.2/core/deps/swig-1.4.2/package.json +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/config-lint.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/post-merge +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/pre-commit +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/basic.test.js +0 -296
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.filters.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.js +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.json +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.tags.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.test.js +0 -159
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_filter.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tag.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tagControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_varControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/options.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.test.html +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_base.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.middle.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_bare.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_base.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_include.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_real_base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.test.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.test.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.test.html +0 -10
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.test.html +0 -13
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_bar.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.expectation.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/includes.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.html +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.test.html +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks_parent.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.test.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.test.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular_parent.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/extends-non-existent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename-partial.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/comments.test.js +0 -12
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/filters.test.js +0 -316
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/loaders.test.js +0 -119
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/regressions.test.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/autoescape.test.js +0 -45
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/else.test.js +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/extend.test.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/filter.test.js +0 -29
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/for.test.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/if.test.js +0 -75
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/import.test.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/include.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/macro.test.js +0 -38
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/parent.test.js +0 -14
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/raw.test.js +0 -33
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/set.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/spaceless.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/templates.test.js +0 -62
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/variables.test.js +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/whitespace.test.js +0 -43
- package/framework/v0.3.2/lib/cmd/framework/get.js +0 -0
- package/framework/v0.3.2/lib/cmd/port/set.js +0 -0
- package/framework/v0.3.2/package.json +0 -5
- /package/framework/{v0.3.2 → v0.3.3}/AUTHORS +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/static.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/content.encoding +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/readme.markdown +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/currency.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/mime.types +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/entity.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/router.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/server.express.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/status.codes +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/_gitignore +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/env.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/console.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/context.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/path.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/prototypes.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/task.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/text.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/config.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/generator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/math/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/model.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/proc.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/shell.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/state.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/src/main.js +0 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/*
|
|
3
|
+
Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation
|
|
4
|
+
by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool
|
|
5
|
+
*/
|
|
6
|
+
function memcmp(buf1, pos1, buf2, pos2, num) {
|
|
7
|
+
for (let i = 0; i < num; ++i) {
|
|
8
|
+
if (buf1[pos1 + i] !== buf2[pos2 + i])
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class SBMH {
|
|
15
|
+
constructor(needle, cb) {
|
|
16
|
+
if (typeof cb !== 'function')
|
|
17
|
+
throw new Error('Missing match callback');
|
|
18
|
+
|
|
19
|
+
if (typeof needle === 'string')
|
|
20
|
+
needle = Buffer.from(needle);
|
|
21
|
+
else if (!Buffer.isBuffer(needle))
|
|
22
|
+
throw new Error(`Expected Buffer for needle, got ${typeof needle}`);
|
|
23
|
+
|
|
24
|
+
const needleLen = needle.length;
|
|
25
|
+
|
|
26
|
+
this.maxMatches = Infinity;
|
|
27
|
+
this.matches = 0;
|
|
28
|
+
|
|
29
|
+
this._cb = cb;
|
|
30
|
+
this._lookbehindSize = 0;
|
|
31
|
+
this._needle = needle;
|
|
32
|
+
this._bufPos = 0;
|
|
33
|
+
|
|
34
|
+
this._lookbehind = Buffer.allocUnsafe(needleLen);
|
|
35
|
+
|
|
36
|
+
// Initialize occurrence table.
|
|
37
|
+
this._occ = [
|
|
38
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
39
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
40
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
41
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
42
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
43
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
44
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
45
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
46
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
47
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
48
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
49
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
50
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
51
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
52
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
53
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
54
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
55
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
56
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
57
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
58
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
59
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
60
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
61
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
62
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
63
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
64
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
65
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
66
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
67
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
68
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
69
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
70
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
71
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
72
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
73
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
74
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
75
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
76
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
77
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
78
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
79
|
+
needleLen, needleLen, needleLen, needleLen, needleLen, needleLen,
|
|
80
|
+
needleLen, needleLen, needleLen, needleLen
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
// Populate occurrence table with analysis of the needle, ignoring the last
|
|
84
|
+
// letter.
|
|
85
|
+
if (needleLen > 1) {
|
|
86
|
+
for (let i = 0; i < needleLen - 1; ++i)
|
|
87
|
+
this._occ[needle[i]] = needleLen - 1 - i;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
reset() {
|
|
92
|
+
this.matches = 0;
|
|
93
|
+
this._lookbehindSize = 0;
|
|
94
|
+
this._bufPos = 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
push(chunk, pos) {
|
|
98
|
+
let result;
|
|
99
|
+
if (!Buffer.isBuffer(chunk))
|
|
100
|
+
chunk = Buffer.from(chunk, 'latin1');
|
|
101
|
+
const chunkLen = chunk.length;
|
|
102
|
+
this._bufPos = pos || 0;
|
|
103
|
+
while (result !== chunkLen && this.matches < this.maxMatches)
|
|
104
|
+
result = feed(this, chunk);
|
|
105
|
+
return result;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
destroy() {
|
|
109
|
+
const lbSize = this._lookbehindSize;
|
|
110
|
+
if (lbSize)
|
|
111
|
+
this._cb(false, this._lookbehind, 0, lbSize, false);
|
|
112
|
+
this.reset();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function feed(self, data) {
|
|
117
|
+
const len = data.length;
|
|
118
|
+
const needle = self._needle;
|
|
119
|
+
const needleLen = needle.length;
|
|
120
|
+
|
|
121
|
+
// Positive: points to a position in `data`
|
|
122
|
+
// pos == 3 points to data[3]
|
|
123
|
+
// Negative: points to a position in the lookbehind buffer
|
|
124
|
+
// pos == -2 points to lookbehind[lookbehindSize - 2]
|
|
125
|
+
let pos = -self._lookbehindSize;
|
|
126
|
+
const lastNeedleCharPos = needleLen - 1;
|
|
127
|
+
const lastNeedleChar = needle[lastNeedleCharPos];
|
|
128
|
+
const end = len - needleLen;
|
|
129
|
+
const occ = self._occ;
|
|
130
|
+
const lookbehind = self._lookbehind;
|
|
131
|
+
|
|
132
|
+
if (pos < 0) {
|
|
133
|
+
// Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool
|
|
134
|
+
// search with character lookup code that considers both the
|
|
135
|
+
// lookbehind buffer and the current round's haystack data.
|
|
136
|
+
//
|
|
137
|
+
// Loop until
|
|
138
|
+
// there is a match.
|
|
139
|
+
// or until
|
|
140
|
+
// we've moved past the position that requires the
|
|
141
|
+
// lookbehind buffer. In this case we switch to the
|
|
142
|
+
// optimized loop.
|
|
143
|
+
// or until
|
|
144
|
+
// the character to look at lies outside the haystack.
|
|
145
|
+
while (pos < 0 && pos <= end) {
|
|
146
|
+
const nextPos = pos + lastNeedleCharPos;
|
|
147
|
+
const ch = (nextPos < 0
|
|
148
|
+
? lookbehind[self._lookbehindSize + nextPos]
|
|
149
|
+
: data[nextPos]);
|
|
150
|
+
|
|
151
|
+
if (ch === lastNeedleChar
|
|
152
|
+
&& matchNeedle(self, data, pos, lastNeedleCharPos)) {
|
|
153
|
+
self._lookbehindSize = 0;
|
|
154
|
+
++self.matches;
|
|
155
|
+
if (pos > -self._lookbehindSize)
|
|
156
|
+
self._cb(true, lookbehind, 0, self._lookbehindSize + pos, false);
|
|
157
|
+
else
|
|
158
|
+
self._cb(true, undefined, 0, 0, true);
|
|
159
|
+
|
|
160
|
+
return (self._bufPos = pos + needleLen);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
pos += occ[ch];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// No match.
|
|
167
|
+
|
|
168
|
+
// There's too few data for Boyer-Moore-Horspool to run,
|
|
169
|
+
// so let's use a different algorithm to skip as much as
|
|
170
|
+
// we can.
|
|
171
|
+
// Forward pos until
|
|
172
|
+
// the trailing part of lookbehind + data
|
|
173
|
+
// looks like the beginning of the needle
|
|
174
|
+
// or until
|
|
175
|
+
// pos == 0
|
|
176
|
+
while (pos < 0 && !matchNeedle(self, data, pos, len - pos))
|
|
177
|
+
++pos;
|
|
178
|
+
|
|
179
|
+
if (pos < 0) {
|
|
180
|
+
// Cut off part of the lookbehind buffer that has
|
|
181
|
+
// been processed and append the entire haystack
|
|
182
|
+
// into it.
|
|
183
|
+
const bytesToCutOff = self._lookbehindSize + pos;
|
|
184
|
+
|
|
185
|
+
if (bytesToCutOff > 0) {
|
|
186
|
+
// The cut off data is guaranteed not to contain the needle.
|
|
187
|
+
self._cb(false, lookbehind, 0, bytesToCutOff, false);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
self._lookbehindSize -= bytesToCutOff;
|
|
191
|
+
lookbehind.copy(lookbehind, 0, bytesToCutOff, self._lookbehindSize);
|
|
192
|
+
lookbehind.set(data, self._lookbehindSize);
|
|
193
|
+
self._lookbehindSize += len;
|
|
194
|
+
|
|
195
|
+
self._bufPos = len;
|
|
196
|
+
return len;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Discard lookbehind buffer.
|
|
200
|
+
self._cb(false, lookbehind, 0, self._lookbehindSize, false);
|
|
201
|
+
self._lookbehindSize = 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
pos += self._bufPos;
|
|
205
|
+
|
|
206
|
+
const firstNeedleChar = needle[0];
|
|
207
|
+
|
|
208
|
+
// Lookbehind buffer is now empty. Perform Boyer-Moore-Horspool
|
|
209
|
+
// search with optimized character lookup code that only considers
|
|
210
|
+
// the current round's haystack data.
|
|
211
|
+
while (pos <= end) {
|
|
212
|
+
const ch = data[pos + lastNeedleCharPos];
|
|
213
|
+
|
|
214
|
+
if (ch === lastNeedleChar
|
|
215
|
+
&& data[pos] === firstNeedleChar
|
|
216
|
+
&& memcmp(needle, 0, data, pos, lastNeedleCharPos)) {
|
|
217
|
+
++self.matches;
|
|
218
|
+
if (pos > 0)
|
|
219
|
+
self._cb(true, data, self._bufPos, pos, true);
|
|
220
|
+
else
|
|
221
|
+
self._cb(true, undefined, 0, 0, true);
|
|
222
|
+
|
|
223
|
+
return (self._bufPos = pos + needleLen);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
pos += occ[ch];
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// There was no match. If there's trailing haystack data that we cannot
|
|
230
|
+
// match yet using the Boyer-Moore-Horspool algorithm (because the trailing
|
|
231
|
+
// data is less than the needle size) then match using a modified
|
|
232
|
+
// algorithm that starts matching from the beginning instead of the end.
|
|
233
|
+
// Whatever trailing data is left after running this algorithm is added to
|
|
234
|
+
// the lookbehind buffer.
|
|
235
|
+
while (pos < len) {
|
|
236
|
+
if (data[pos] !== firstNeedleChar
|
|
237
|
+
|| !memcmp(data, pos, needle, 0, len - pos)) {
|
|
238
|
+
++pos;
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
data.copy(lookbehind, 0, pos, len);
|
|
242
|
+
self._lookbehindSize = len - pos;
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Everything until `pos` is guaranteed not to contain needle data.
|
|
247
|
+
if (pos > 0)
|
|
248
|
+
self._cb(false, data, self._bufPos, pos < len ? pos : len, true);
|
|
249
|
+
|
|
250
|
+
self._bufPos = len;
|
|
251
|
+
return len;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
function matchNeedle(self, data, pos, len) {
|
|
255
|
+
const lb = self._lookbehind;
|
|
256
|
+
const lbSize = self._lookbehindSize;
|
|
257
|
+
const needle = self._needle;
|
|
258
|
+
|
|
259
|
+
for (let i = 0; i < len; ++i, ++pos) {
|
|
260
|
+
const ch = (pos < 0 ? lb[lbSize + pos] : data[pos]);
|
|
261
|
+
if (ch !== needle[i])
|
|
262
|
+
return false;
|
|
263
|
+
}
|
|
264
|
+
return true;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
module.exports = SBMH;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "streamsearch",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"author": "Brian White <mscdex@mscdex.net>",
|
|
5
|
+
"description": "Streaming Boyer-Moore-Horspool searching for node.js",
|
|
6
|
+
"main": "./lib/sbmh.js",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=10.0.0"
|
|
9
|
+
},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"@mscdex/eslint-config": "^1.1.0",
|
|
12
|
+
"eslint": "^7.32.0"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"test": "node test/test.js",
|
|
16
|
+
"lint": "eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib test",
|
|
17
|
+
"lint:fix": "npm run lint -- --fix"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"stream",
|
|
21
|
+
"horspool",
|
|
22
|
+
"boyer-moore-horspool",
|
|
23
|
+
"boyer-moore",
|
|
24
|
+
"search"
|
|
25
|
+
],
|
|
26
|
+
"licenses": [{
|
|
27
|
+
"type": "MIT",
|
|
28
|
+
"url": "http://github.com/mscdex/streamsearch/raw/master/LICENSE"
|
|
29
|
+
}],
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "http://github.com/mscdex/streamsearch.git"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -25,18 +25,6 @@
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var fs = require('fs');
|
|
28
|
-
var _isDebugLog = function() {
|
|
29
|
-
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
30
|
-
};
|
|
31
|
-
var _debugLog = function(msg) {
|
|
32
|
-
if (!_isDebugLog()) return;
|
|
33
|
-
var d = new Date()
|
|
34
|
-
, _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
|
|
35
|
-
, p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
36
|
-
fs.writeSync(2, '\u001b[90m[' + d.getFullYear() +' '+ _m[d.getMonth()] +' '+ p2(d.getDate())
|
|
37
|
-
+' '+ p2(d.getHours()) +':'+ p2(d.getMinutes()) +':'+ p2(d.getSeconds())
|
|
38
|
-
+ '] [debug ][gina:gna] ' + msg + '\u001b[39m\n');
|
|
39
|
-
};
|
|
40
28
|
const os = require('os');
|
|
41
29
|
process.env.UV_THREADPOOL_SIZE = (os.cpus().length);
|
|
42
30
|
// #P1 — V8 bytecode cache. Node.js >= 22.8 caches compiled modules to disk so
|
|
@@ -64,6 +52,22 @@ if (!process.env.NODE_COMPILE_CACHE) {
|
|
|
64
52
|
}());
|
|
65
53
|
|
|
66
54
|
const { promisify } = require('util');
|
|
55
|
+
|
|
56
|
+
// Lightweight debug logger — gated on LOG_LEVEL so zero cost in production.
|
|
57
|
+
// Format mirrors lib/logger template: [date] [debug ][gina:gna] message
|
|
58
|
+
var _isDebugLog = function() {
|
|
59
|
+
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
60
|
+
};
|
|
61
|
+
var _debugLog = function(msg) {
|
|
62
|
+
if (!_isDebugLog()) return;
|
|
63
|
+
var _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
|
64
|
+
var p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
65
|
+
var d = new Date();
|
|
66
|
+
var ts = d.getFullYear() + ' ' + _m[d.getMonth()] + ' ' + p2(d.getDate())
|
|
67
|
+
+ ' ' + p2(d.getHours()) + ':' + p2(d.getMinutes()) + ':' + p2(d.getSeconds());
|
|
68
|
+
process.stderr.write('\u001b[90m[' + ts + '] [debug ][gina:gna] ' + msg + '\u001b[39m\n');
|
|
69
|
+
};
|
|
70
|
+
|
|
67
71
|
var EventEmitter = require('events').EventEmitter;
|
|
68
72
|
var e = new EventEmitter();
|
|
69
73
|
// TODO - Get from config/security:defaultMaxListeners
|
|
@@ -78,12 +82,9 @@ var Config = require('./config');
|
|
|
78
82
|
var config = null;
|
|
79
83
|
// helpers were previously loaded
|
|
80
84
|
|
|
81
|
-
_debugLog('checkpoint A: loading lib');
|
|
82
85
|
var lib = require('./../lib');
|
|
83
|
-
_debugLog('checkpoint B: lib loaded, setting up logger');
|
|
84
86
|
|
|
85
87
|
var console = lib.logger;
|
|
86
|
-
_debugLog('checkpoint C: logger ready');
|
|
87
88
|
var Proc = lib.Proc;
|
|
88
89
|
var locales = require('./locales');
|
|
89
90
|
var plugins = require('./../core/plugins');
|
|
@@ -171,6 +172,20 @@ if (process.argv.length >= 3 /**&& /gina$/.test(process.argv[1])*/ ) {
|
|
|
171
172
|
|
|
172
173
|
require(ctxObj.paths.gina.root + '/utils/helper');
|
|
173
174
|
|
|
175
|
+
// Make require('lib/<name>') resolve to ${frameworkPath}/lib/<name>/
|
|
176
|
+
// so bundle entities and controllers can use the same bare-module
|
|
177
|
+
// convention that the frontend AMD build uses via RequireJS path aliases.
|
|
178
|
+
if ( ctxObj.paths.framework ) {
|
|
179
|
+
var _nodePath = process.env.NODE_PATH || '';
|
|
180
|
+
var _fwPath = ctxObj.paths.framework;
|
|
181
|
+
if ( _nodePath.indexOf(_fwPath) < 0 ) {
|
|
182
|
+
process.env.NODE_PATH = _nodePath
|
|
183
|
+
? (_nodePath + require('path').delimiter + _fwPath)
|
|
184
|
+
: _fwPath;
|
|
185
|
+
require('module').Module._initPaths();
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
174
189
|
setContext('paths', ctxObj.paths);//And so on if you need to.
|
|
175
190
|
|
|
176
191
|
setContext('processList', ctxObj.processList);
|
|
@@ -355,14 +370,11 @@ var bundlesPath = (isDev) ? projects[projectName]['path'] + '/src' : projects[pr
|
|
|
355
370
|
setPath('bundles', _(bundlesPath, true));
|
|
356
371
|
|
|
357
372
|
|
|
358
|
-
_debugLog('checkpoint D0: loading Router');
|
|
359
373
|
var Router = require('./router');
|
|
360
374
|
setContext('gina.Router', Router);
|
|
361
375
|
//TODO require('./server').http
|
|
362
376
|
//TODO - HTTP vs HTTPS
|
|
363
|
-
_debugLog('checkpoint D1: loading Server');
|
|
364
377
|
var Server = require('./server');
|
|
365
|
-
_debugLog('checkpoint D2: Server loaded');
|
|
366
378
|
|
|
367
379
|
|
|
368
380
|
var p = new _(process.argv[1]).toUnixStyle().split("/");
|
|
@@ -709,12 +721,10 @@ process.on('unhandledRejection', function(reason) {
|
|
|
709
721
|
});
|
|
710
722
|
process.on('exit', function(code) {
|
|
711
723
|
});
|
|
712
|
-
_debugLog('checkpoint D: calling isBundleMounted');
|
|
713
724
|
isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMounted(err) {
|
|
714
725
|
if (err) {
|
|
715
726
|
return abort(err);
|
|
716
727
|
}
|
|
717
|
-
_debugLog('checkpoint E: isBundleMounted OK, calling getProjectConfiguration');
|
|
718
728
|
// get configuration
|
|
719
729
|
gna.getProjectConfiguration( async function onGettingProjectConfig(err, project) {
|
|
720
730
|
|
|
@@ -740,13 +750,11 @@ isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMo
|
|
|
740
750
|
|
|
741
751
|
var configuration = config.getInstance();
|
|
742
752
|
|
|
743
|
-
_debugLog('checkpoint K1: calling loadAllModels bundles=' + JSON.stringify(conf.bundles));
|
|
744
753
|
modelUtil.loadAllModels(
|
|
745
754
|
conf.bundles,
|
|
746
755
|
configuration,
|
|
747
756
|
env,
|
|
748
757
|
function() {
|
|
749
|
-
_debugLog('checkpoint K2: loadAllModels done');
|
|
750
758
|
|
|
751
759
|
joinContext(conf.contexts);
|
|
752
760
|
gna.getConfig = function(name){
|
|
@@ -765,7 +773,6 @@ isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMo
|
|
|
765
773
|
}
|
|
766
774
|
return tmp
|
|
767
775
|
};
|
|
768
|
-
_debugLog('checkpoint K3: conf.settings=' + (typeof(conf.settings) !== 'undefined' ? 'defined' : 'UNDEFINED') + ' conf.security=' + (typeof(conf.security) !== 'undefined' ? 'defined' : 'UNDEFINED'));
|
|
769
776
|
try {
|
|
770
777
|
//configureMiddleware(instance, express); // no, no and no...
|
|
771
778
|
callback(e, instance, middleware)
|
|
@@ -1112,21 +1119,17 @@ isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMo
|
|
|
1112
1119
|
|
|
1113
1120
|
|
|
1114
1121
|
setContext('gina.config', config);
|
|
1115
|
-
_debugLog('checkpoint F: calling config.onReady');
|
|
1116
1122
|
config.onReady( function(err, obj){
|
|
1117
|
-
_debugLog('checkpoint G: config.onReady fired err=' + (err ? (err.message||err) : 'none'));
|
|
1118
1123
|
var isStandalone = obj.isStandalone;
|
|
1119
1124
|
|
|
1120
1125
|
if (err) console.error(err, err.stack);
|
|
1121
1126
|
|
|
1122
1127
|
var initialize = function(err, instance, middleware, conf) {
|
|
1123
|
-
_debugLog('checkpoint I: initialize called err=' + (err ? (err.message||err) : 'none'));
|
|
1124
1128
|
var errMsg = null;
|
|
1125
1129
|
if (!err) {
|
|
1126
1130
|
|
|
1127
1131
|
//On user conf complete.
|
|
1128
1132
|
e.on('complete', function(instance){
|
|
1129
|
-
_debugLog('checkpoint J: complete event fired');
|
|
1130
1133
|
|
|
1131
1134
|
server.on('started', async function (conf) {
|
|
1132
1135
|
|
|
@@ -1338,7 +1341,6 @@ isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMo
|
|
|
1338
1341
|
});
|
|
1339
1342
|
|
|
1340
1343
|
// -- BO
|
|
1341
|
-
_debugLog('checkpoint K: emitting init');
|
|
1342
1344
|
e.emit('init', instance, middleware, conf);
|
|
1343
1345
|
//In case there is no user init.
|
|
1344
1346
|
if (!gna.initialized) {
|
|
@@ -1394,9 +1396,7 @@ isBundleMounted(projects, bundlesPath, getContext('bundle'), function onBundleMo
|
|
|
1394
1396
|
conf : obj.conf
|
|
1395
1397
|
};
|
|
1396
1398
|
|
|
1397
|
-
_debugLog('checkpoint H: creating Server');
|
|
1398
1399
|
var server = new Server(opt);
|
|
1399
|
-
_debugLog('checkpoint H2: server.onConfigured call');
|
|
1400
1400
|
server.onConfigured(initialize);
|
|
1401
1401
|
})//EO config.
|
|
1402
1402
|
}
|
|
@@ -9,7 +9,7 @@ function StoragePlugin(options) {
|
|
|
9
9
|
|
|
10
10
|
var merge = merge || require('lib/merge');;
|
|
11
11
|
var Collection = Collection || require('lib/collection');
|
|
12
|
-
var uuid =
|
|
12
|
+
var uuid = uuid || require('lib/uuid');
|
|
13
13
|
var dateFormat = dateFormat || require('helpers/dateFormat');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -224,7 +224,7 @@ function StoragePlugin(options) {
|
|
|
224
224
|
function collectionInsert(content) {
|
|
225
225
|
|
|
226
226
|
// TODO - add uuid
|
|
227
|
-
content['_id'] =
|
|
227
|
+
content['_id'] = Date.now().toString(36) + '-' + uuid();
|
|
228
228
|
content['_createdAt'] = new Date().format("isoDateTime");
|
|
229
229
|
content['_updatedAt'] = new Date().format("isoDateTime");
|
|
230
230
|
|
|
@@ -418,7 +418,7 @@ if ( ( typeof(module) !== 'undefined' ) && module.exports ) {
|
|
|
418
418
|
// Publish as node.js module
|
|
419
419
|
var merge = require('lib/merge'); //require('../../../../../lib/merge');
|
|
420
420
|
var Collection = require('lib/collection'); //require('../../../../../lib/collection');
|
|
421
|
-
var uuid =
|
|
421
|
+
var uuid = require('lib/uuid');
|
|
422
422
|
|
|
423
423
|
module.exports = StoragePlugin
|
|
424
424
|
|