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.
Files changed (510) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +18 -8
  3. package/ROADMAP.md +10 -9
  4. package/framework/v0.3.3/VERSION +1 -0
  5. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/README.md +7 -8
  6. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +1 -1
  7. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
  8. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
  9. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +2 -0
  10. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +103 -0
  11. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/js/gina.js +293 -201
  12. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +21636 -0
  13. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  14. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  15. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +286 -0
  16. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  17. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  18. package/framework/{v0.3.2 → v0.3.3}/core/config.js +6 -1
  19. package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/index.js +52 -0
  20. package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/index.js +45 -0
  21. package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/index.js +46 -0
  22. package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.js +1 -1
  23. package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/multipart.js +2 -1
  24. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/LICENSE +19 -0
  25. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/lib/sbmh.js +267 -0
  26. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/package.json +34 -0
  27. package/framework/{v0.3.2 → v0.3.3}/core/gna.js +30 -30
  28. package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/src/main.js +3 -3
  29. package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/main.js +34 -29
  30. package/framework/{v0.3.2 → v0.3.3}/core/server.isaac.js +77 -13
  31. package/framework/{v0.3.2 → v0.3.3}/core/server.js +66 -18
  32. package/framework/{v0.3.2 → v0.3.3}/helpers/json/src/main.js +14 -1
  33. package/framework/{v0.3.2 → v0.3.3}/lib/cache/src/main.js +2 -2
  34. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/aliases.json +3 -0
  35. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/arguments.json +2 -1
  36. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.txt +21 -1
  37. package/framework/v0.3.3/lib/cmd/bundle/oas.js +6 -0
  38. package/framework/v0.3.3/lib/cmd/bundle/openapi.js +519 -0
  39. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/start.js +4 -1
  40. package/framework/v0.3.3/lib/cmd/framework/get.js +98 -0
  41. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.txt +8 -3
  42. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.txt +7 -2
  43. package/framework/v0.3.3/lib/cmd/port/set.js +348 -0
  44. package/framework/{v0.3.2 → v0.3.3}/lib/collection/src/main.js +4 -4
  45. package/framework/{v0.3.2 → v0.3.3}/lib/index.js +1 -0
  46. package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/listener.js +2 -2
  47. package/framework/v0.3.3/lib/uuid/package.json +7 -0
  48. package/framework/v0.3.3/lib/uuid/src/main.js +99 -0
  49. package/framework/v0.3.3/package.json +8 -0
  50. package/gna.js +86 -0
  51. package/llms.txt +94 -4
  52. package/package.json +107 -101
  53. package/types/globals.d.ts +205 -0
  54. package/types/gna.d.ts +67 -0
  55. package/types/index.d.ts +566 -0
  56. package/framework/v0.3.2/VERSION +0 -1
  57. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
  58. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
  59. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -532
  60. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  61. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  62. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -8
  63. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  64. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  65. package/framework/v0.3.2/core/deps/swig-1.4.2/CONTRIBUTING.md +0 -107
  66. package/framework/v0.3.2/core/deps/swig-1.4.2/HISTORY.md +0 -498
  67. package/framework/v0.3.2/core/deps/swig-1.4.2/LICENSE +0 -7
  68. package/framework/v0.3.2/core/deps/swig-1.4.2/Makefile +0 -192
  69. package/framework/v0.3.2/core/deps/swig-1.4.2/README.md +0 -88
  70. package/framework/v0.3.2/core/deps/swig-1.4.2/bin/swig.js +0 -161
  71. package/framework/v0.3.2/core/deps/swig-1.4.2/browser/comments.js +0 -2
  72. package/framework/v0.3.2/core/deps/swig-1.4.2/browser/index.js +0 -9
  73. package/framework/v0.3.2/core/deps/swig-1.4.2/dist/swig.min.js +0 -7
  74. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/api.html +0 -136
  75. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/browser.html +0 -36
  76. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/cli.html +0 -64
  77. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/extending.html +0 -183
  78. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/filters.html +0 -97
  79. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/TYPES.html +0 -0
  80. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/macros.html +0 -9
  81. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/index.html +0 -212
  82. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/layout.html +0 -43
  83. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/loaders.html +0 -106
  84. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/previous.html +0 -25
  85. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/tags.html +0 -72
  86. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs.json +0 -3
  87. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.html +0 -98
  88. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.json +0 -3
  89. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/lib/rainbow.min.js +0 -11
  90. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/master.js +0 -106
  91. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/html5.html +0 -25
  92. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/master.html +0 -59
  93. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/button.less +0 -22
  94. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/fork.less +0 -23
  95. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/header.less +0 -61
  96. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/layout.less +0 -96
  97. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/mixins.less +0 -268
  98. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/rainbow.less +0 -58
  99. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/reset.less +0 -250
  100. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/sidenav.less +0 -16
  101. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/swig.less +0 -124
  102. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/variables.less +0 -42
  103. package/framework/v0.3.2/core/deps/swig-1.4.2/index.js +0 -1
  104. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/dateformatter.js +0 -198
  105. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/filters.js +0 -630
  106. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/lexer.js +0 -306
  107. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/filesystem.js +0 -59
  108. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/index.js +0 -53
  109. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/memory.js +0 -63
  110. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/parser.js +0 -744
  111. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/swig.js +0 -740
  112. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/autoescape.js +0 -37
  113. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/block.js +0 -25
  114. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/else.js +0 -25
  115. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/elseif.js +0 -28
  116. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/extends.js +0 -19
  117. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/filter.js +0 -68
  118. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/for.js +0 -130
  119. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/if.js +0 -86
  120. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/import.js +0 -91
  121. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/include.js +0 -100
  122. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/index.js +0 -16
  123. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/macro.js +0 -79
  124. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/parent.js +0 -51
  125. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/raw.js +0 -23
  126. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/set.js +0 -109
  127. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/spaceless.js +0 -42
  128. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/utils.js +0 -184
  129. package/framework/v0.3.2/core/deps/swig-1.4.2/package.json +0 -41
  130. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/config-lint.js +0 -41
  131. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/post-merge +0 -3
  132. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/pre-commit +0 -59
  133. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/basic.test.js +0 -296
  134. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.filters.js +0 -3
  135. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.js +0 -5
  136. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.json +0 -7
  137. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.tags.js +0 -15
  138. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.test.js +0 -159
  139. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_filter.bin.html +0 -1
  140. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tag.bin.html +0 -1
  141. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tagControls.bin.html +0 -1
  142. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_varControls.bin.html +0 -1
  143. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/options.js +0 -3
  144. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.expectation.html +0 -6
  145. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.test.html +0 -3
  146. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.expectation.html +0 -6
  147. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.test.html +0 -5
  148. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_base.html +0 -6
  149. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.base.html +0 -1
  150. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.middle.html +0 -2
  151. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_bare.html +0 -2
  152. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_base.html +0 -3
  153. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_include.html +0 -3
  154. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_real_base.html +0 -1
  155. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.expectation.html +0 -6
  156. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.test.html +0 -4
  157. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.expectation.html +0 -1
  158. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.test.html +0 -3
  159. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.expectation.html +0 -1
  160. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.test.html +0 -2
  161. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.expectation.html +0 -24
  162. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.test.html +0 -10
  163. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.expectation.html +0 -24
  164. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.test.html +0 -13
  165. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_bar.html +0 -1
  166. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.expectation.html +0 -4
  167. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.test.html +0 -1
  168. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/includes.html +0 -1
  169. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.expectation.html +0 -8
  170. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.html +0 -23
  171. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.test.html +0 -11
  172. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.expectation.html +0 -3
  173. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.test.html +0 -3
  174. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks_parent.html +0 -3
  175. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.expectation.html +0 -8
  176. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.test.html +0 -1
  177. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.expectation.html +0 -8
  178. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.test.html +0 -9
  179. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.expectation.html +0 -3
  180. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.test.html +0 -8
  181. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular.test.html +0 -1
  182. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular_parent.html +0 -1
  183. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/extends-non-existent.test.html +0 -1
  184. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename-partial.html +0 -1
  185. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename.test.html +0 -1
  186. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/comments.test.js +0 -12
  187. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/filters.test.js +0 -316
  188. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/loaders.test.js +0 -119
  189. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/regressions.test.js +0 -41
  190. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/autoescape.test.js +0 -45
  191. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/else.test.js +0 -61
  192. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/extend.test.js +0 -11
  193. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/filter.test.js +0 -29
  194. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/for.test.js +0 -63
  195. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/if.test.js +0 -75
  196. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/import.test.js +0 -15
  197. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/include.test.js +0 -26
  198. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/macro.test.js +0 -38
  199. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/parent.test.js +0 -14
  200. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/raw.test.js +0 -33
  201. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/set.test.js +0 -56
  202. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/spaceless.test.js +0 -26
  203. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags.test.js +0 -56
  204. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/templates.test.js +0 -62
  205. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/variables.test.js +0 -183
  206. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/whitespace.test.js +0 -43
  207. package/framework/v0.3.2/lib/cmd/framework/get.js +0 -0
  208. package/framework/v0.3.2/lib/cmd/port/set.js +0 -0
  209. package/framework/v0.3.2/package.json +0 -5
  210. /package/framework/{v0.3.2 → v0.3.3}/AUTHORS +0 -0
  211. /package/framework/{v0.3.2 → v0.3.3}/LICENSE +0 -0
  212. /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/nolayout.html +0 -0
  213. /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/static.html +0 -0
  214. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-192x192.png +0 -0
  215. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-512x512.png +0 -0
  216. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/apple-touch-icon.png +0 -0
  217. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-16x16.png +0 -0
  218. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-32x32.png +0 -0
  219. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon.ico +0 -0
  220. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  221. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  222. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  223. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  224. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  225. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  226. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  227. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  228. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  229. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  230. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  231. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  232. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/index.js +0 -0
  233. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/lib/connector.js +0 -0
  234. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/index.js +0 -0
  235. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.js +0 -0
  236. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v2.js +0 -0
  237. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  238. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  239. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/n1ql.js +0 -0
  240. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.js +0 -0
  241. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
  242. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  243. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  244. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/lib/connector.js +0 -0
  245. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/lib/connector.js +0 -0
  246. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/index.js +0 -0
  247. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/lib/session-store.js +0 -0
  248. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sql-parser.js +0 -0
  249. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/connector.js +0 -0
  250. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/session-store.js +0 -0
  251. /package/framework/{v0.3.2 → v0.3.3}/core/content.encoding +0 -0
  252. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.framework.js +0 -0
  253. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-json.js +0 -0
  254. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-stream.js +0 -0
  255. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-swig.js +0 -0
  256. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-v1.js +0 -0
  257. /package/framework/{v0.3.2 → v0.3.3}/core/controller/index.js +0 -0
  258. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/LICENSE +0 -0
  259. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/README.md +0 -0
  260. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/index.js +0 -0
  261. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
  262. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
  263. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/package.json +0 -0
  264. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/LICENSE +0 -0
  265. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/index.js +0 -0
  266. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/package.json +0 -0
  267. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/readme.markdown +0 -0
  268. /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
  269. /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig.js +0 -0
  270. /package/framework/{v0.3.2 → v0.3.3}/core/dev/index.js +0 -0
  271. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/class.js +0 -0
  272. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/factory.js +0 -0
  273. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/tools.js +0 -0
  274. /package/framework/{v0.3.2 → v0.3.3}/core/locales/README.md +0 -0
  275. /package/framework/{v0.3.2 → v0.3.3}/core/locales/currency.json +0 -0
  276. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/en.json +0 -0
  277. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/fr.json +0 -0
  278. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/en.json +0 -0
  279. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/fr.json +0 -0
  280. /package/framework/{v0.3.2 → v0.3.3}/core/locales/index.js +0 -0
  281. /package/framework/{v0.3.2 → v0.3.3}/core/mime.types +0 -0
  282. /package/framework/{v0.3.2 → v0.3.3}/core/model/entity.js +0 -0
  283. /package/framework/{v0.3.2 → v0.3.3}/core/model/index.js +0 -0
  284. /package/framework/{v0.3.2 → v0.3.3}/core/model/template/entityFactory.js +0 -0
  285. /package/framework/{v0.3.2 → v0.3.3}/core/model/template/index.js +0 -0
  286. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/README.md +0 -0
  287. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/index.js +0 -0
  288. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/README.md +0 -0
  289. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/build.json +0 -0
  290. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/package.json +0 -0
  291. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/README.md +0 -0
  292. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/build.json +0 -0
  293. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/package.json +0 -0
  294. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/src/main.js +0 -0
  295. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/README.md +0 -0
  296. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/build.json +0 -0
  297. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/package.json +0 -0
  298. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/README.md +0 -0
  299. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/build.json +0 -0
  300. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/package.json +0 -0
  301. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/form-validator.js +0 -0
  302. /package/framework/{v0.3.2 → v0.3.3}/core/router.js +0 -0
  303. /package/framework/{v0.3.2 → v0.3.3}/core/server.express.js +0 -0
  304. /package/framework/{v0.3.2 → v0.3.3}/core/status.codes +0 -0
  305. /package/framework/{v0.3.2 → v0.3.3}/core/template/_gitignore +0 -0
  306. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/app.json +0 -0
  307. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  308. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/routing.json +0 -0
  309. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.json +0 -0
  310. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  311. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/templates.json +0 -0
  312. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  313. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  314. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  315. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  316. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/index.js +0 -0
  317. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  318. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  319. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  320. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  321. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  322. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  323. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/readme.md +0 -0
  324. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  325. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  326. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  327. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  328. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  329. /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.bat.tpl +0 -0
  330. /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.tpl +0 -0
  331. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/env.json +0 -0
  332. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/manifest.json +0 -0
  333. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/package.json +0 -0
  334. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/settings.json +0 -0
  335. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/statics.json +0 -0
  336. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/templates.json +0 -0
  337. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/401.json +0 -0
  338. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/403.json +0 -0
  339. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/404.json +0 -0
  340. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/html/50x.html +0 -0
  341. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/500.json +0 -0
  342. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/503.json +0 -0
  343. /package/framework/{v0.3.2 → v0.3.3}/core/template/extensions/logger/config.json +0 -0
  344. /package/framework/{v0.3.2 → v0.3.3}/helpers/console.js +0 -0
  345. /package/framework/{v0.3.2 → v0.3.3}/helpers/context.js +0 -0
  346. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/LICENSE +0 -0
  347. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/README.md +0 -0
  348. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/package.json +0 -0
  349. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/src/main.js +0 -0
  350. /package/framework/{v0.3.2 → v0.3.3}/helpers/dateFormat.js +0 -0
  351. /package/framework/{v0.3.2 → v0.3.3}/helpers/index.js +0 -0
  352. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/LICENSE +0 -0
  353. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/README.md +0 -0
  354. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/package.json +0 -0
  355. /package/framework/{v0.3.2 → v0.3.3}/helpers/path.js +0 -0
  356. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/README.md +0 -0
  357. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/package.json +0 -0
  358. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/api-error.js +0 -0
  359. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/main.js +0 -0
  360. /package/framework/{v0.3.2 → v0.3.3}/helpers/prototypes.js +0 -0
  361. /package/framework/{v0.3.2 → v0.3.3}/helpers/task.js +0 -0
  362. /package/framework/{v0.3.2 → v0.3.3}/helpers/text.js +0 -0
  363. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/README.md +0 -0
  364. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/build.json +0 -0
  365. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/package.json +0 -0
  366. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/dep/jszip.min.js +0 -0
  367. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/main.js +0 -0
  368. /package/framework/{v0.3.2 → v0.3.3}/lib/async/package.json +0 -0
  369. /package/framework/{v0.3.2 → v0.3.3}/lib/async/src/main.js +0 -0
  370. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/README.md +0 -0
  371. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/build.json +0 -0
  372. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/package.json +0 -0
  373. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/add.js +0 -0
  374. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/build.js +0 -0
  375. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/copy.js +0 -0
  376. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/cp.js +0 -0
  377. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.js +0 -0
  378. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/list.js +0 -0
  379. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/remove.js +0 -0
  380. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rename.js +0 -0
  381. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/restart.js +0 -0
  382. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rm.js +0 -0
  383. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/status.js +0 -0
  384. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/stop.js +0 -0
  385. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/cache/stats.js +0 -0
  386. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/add.js +0 -0
  387. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/get.js +0 -0
  388. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.js +0 -0
  389. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.txt +0 -0
  390. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/link-dev.js +0 -0
  391. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/list.js +0 -0
  392. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/remove.js +0 -0
  393. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/rm.js +0 -0
  394. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/set.js +0 -0
  395. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/unset.js +0 -0
  396. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/use.js +0 -0
  397. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/arguments.json +0 -0
  398. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/build.js +0 -0
  399. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/dot.js +0 -0
  400. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.js +0 -0
  401. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/init.js +0 -0
  402. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link-node-modules.js +0 -0
  403. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link.js +0 -0
  404. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/msg.json +0 -0
  405. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/open.js +0 -0
  406. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/restart.js +0 -0
  407. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/set.js +0 -0
  408. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/start.js +0 -0
  409. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/status.js +0 -0
  410. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/stop.js +0 -0
  411. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/tail.js +0 -0
  412. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/update.js +0 -0
  413. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/version.js +0 -0
  414. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-dev.1.md +0 -0
  415. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-framework.1.md +0 -0
  416. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina.1.md +0 -0
  417. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/helper.js +0 -0
  418. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/index.js +0 -0
  419. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.js +0 -0
  420. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.txt +0 -0
  421. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/open.js +0 -0
  422. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.js +0 -0
  423. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.txt +0 -0
  424. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/msg.json +0 -0
  425. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.js +0 -0
  426. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/inc/scan.js +0 -0
  427. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/list.js +0 -0
  428. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/reset.js +0 -0
  429. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/add.js +0 -0
  430. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/arguments.json +0 -0
  431. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/build.js +0 -0
  432. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.js +0 -0
  433. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.txt +0 -0
  434. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/import.js +0 -0
  435. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/list.js +0 -0
  436. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/move.js +0 -0
  437. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/remove.js +0 -0
  438. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rename.js +0 -0
  439. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/restart.js +0 -0
  440. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rm.js +0 -0
  441. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/start.js +0 -0
  442. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/status.js +0 -0
  443. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/stop.js +0 -0
  444. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.js +0 -0
  445. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.txt +0 -0
  446. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/list.js +0 -0
  447. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/set.js +0 -0
  448. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/add.js +0 -0
  449. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.js +0 -0
  450. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.txt +0 -0
  451. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-local.js +0 -0
  452. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-production.js +0 -0
  453. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/list.js +0 -0
  454. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/remove.js +0 -0
  455. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/rm.js +0 -0
  456. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/use.js +0 -0
  457. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/view/add.js +0 -0
  458. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/README.md +0 -0
  459. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/build.json +0 -0
  460. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/package.json +0 -0
  461. /package/framework/{v0.3.2 → v0.3.3}/lib/config.js +0 -0
  462. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/README.md +0 -0
  463. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/package.json +0 -0
  464. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/src/main.js +0 -0
  465. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/LICENSE +0 -0
  466. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/README.md +0 -0
  467. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
  468. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat +0 -0
  469. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.br +0 -0
  470. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.gz +0 -0
  471. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/package.json +0 -0
  472. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/src/main.js +0 -0
  473. /package/framework/{v0.3.2 → v0.3.3}/lib/generator/index.js +0 -0
  474. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/LICENSE +0 -0
  475. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/README.md +0 -0
  476. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/package.json +0 -0
  477. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/src/main.js +0 -0
  478. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/README.md +0 -0
  479. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/package.json +0 -0
  480. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/default/index.js +0 -0
  481. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/index.js +0 -0
  482. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
  483. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
  484. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/index.js +0 -0
  485. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/speaker.js +0 -0
  486. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/helper.js +0 -0
  487. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/main.js +0 -0
  488. /package/framework/{v0.3.2 → v0.3.3}/lib/math/index.js +0 -0
  489. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/README.md +0 -0
  490. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/package.json +0 -0
  491. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/src/main.js +0 -0
  492. /package/framework/{v0.3.2 → v0.3.3}/lib/model.js +0 -0
  493. /package/framework/{v0.3.2 → v0.3.3}/lib/proc.js +0 -0
  494. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/README.md +0 -0
  495. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/build.json +0 -0
  496. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/package.json +0 -0
  497. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/main.js +0 -0
  498. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/radix.js +0 -0
  499. /package/framework/{v0.3.2 → v0.3.3}/lib/session-store.js +0 -0
  500. /package/framework/{v0.3.2 → v0.3.3}/lib/shell.js +0 -0
  501. /package/framework/{v0.3.2 → v0.3.3}/lib/state.js +0 -0
  502. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/README.md +0 -0
  503. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/package.json +0 -0
  504. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/src/main.js +0 -0
  505. /package/framework/{v0.3.2 → v0.3.3}/lib/url/README.md +0 -0
  506. /package/framework/{v0.3.2 → v0.3.3}/lib/url/index.js +0 -0
  507. /package/framework/{v0.3.2 → v0.3.3}/lib/url/routing.json +0 -0
  508. /package/framework/{v0.3.2 → v0.3.3}/lib/validator.js +0 -0
  509. /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/package.json +0 -0
  510. /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/src/main.js +0 -0
@@ -1,64 +0,0 @@
1
- {% extends "./layout.html" %}
2
-
3
- {% block title %}{% parent %} » CLI{% endblock %}
4
-
5
- {% block content %}
6
- <h1>Command-Line Interface</h1>
7
-
8
- <section id="install" class="doc">
9
- <h2>Installation</h2>
10
-
11
- <p>Via NPM:</p>
12
- <pre><code data-language="sh">$ npm install swig --global</code></pre>
13
- </section>
14
-
15
- <section id="usage" class="doc">
16
- <h2>Usage</h2>
17
-
18
- <pre><code data-language="sh">$ swig compile [file...] [options]
19
- $ swig render [file...] [options]
20
- $ swig run [file...] [options]</code></pre>
21
-
22
- <h3>Options</h3>
23
- <pre>
24
- -v, --version Show the Swig version number.
25
- -o, --output Output location. [default: "stdout"]
26
- -h, --help Show this help screen.
27
- -j, --json Variable context as a JSON file.
28
- -c, --context Variable context as a CommonJS-style file. Used only if option `j` is not provided.
29
- -m, --minify Minify compiled functions with uglify-js
30
- --filters Custom filters as a CommonJS-style file
31
- --tags Custom tags as a CommonJS-style file
32
- --options Customize Swig's Options from a CommonJS-style file
33
- --wrap-start Template wrapper beginning for "compile". [default: "var tpl = "]
34
- --wrap-end Template wrapper end for "compile". [default: ";"]
35
- --method-name Method name to set template to and run from. [default: "tpl"]</pre>
36
- </section>
37
-
38
- <section id="examples" class="doc">
39
- <h2>Examples</h2>
40
-
41
- <p>Render a single file:</p>
42
- <pre><code data-language="sh">$ swig render ./index.html</code></pre>
43
-
44
- <p>Compile and cache a template into a renderable function and minify the output with uglify-js:</p>
45
- <pre><code data-language="sh">$ swig compile ./index.html -m > ./cache/index.js</code></pre>
46
-
47
- <p>Run and build the previously cached template:</p>
48
- <pre><code data-language="sh">$ swig run ./cache/index.js</code></pre>
49
-
50
- <p>Import a JSON file as the variable context for rendering a template:</p>
51
- <pre><code data-language="sh">$ swig render ./index.html -j ./index.json</code></pre>
52
-
53
- <p>Make your template an AMD module:</p>
54
- <pre><code data-language="sh">$ swig compile ./index.html --wrap-start="define(function () { return " --wrap-end="; });"</code></pre>
55
- </section>
56
- {% endblock %}
57
-
58
- {% block clisubnav %}
59
- <ol>
60
- <li><a href="#install">Installation</a></li>
61
- <li><a href="#usage">Usage</a></li>
62
- <li><a href="#examples">Examples</a></li>
63
- </ol>
64
- {% endblock %}
@@ -1,183 +0,0 @@
1
- {% extends "./layout.html" %}
2
- {% import "./includes/macros.html" as docmacro %}
3
-
4
- {% block title %}{% parent %} &raquo; Extending Swig{% endblock %}
5
-
6
- {% block content %}
7
-
8
- <h1 id="extending">Extending Swig</h1>
9
-
10
- <section id="filters">
11
- <h2>Custom Filters</h2>
12
-
13
- {% for t in ext %}
14
- {% if t.kind === 'typedef' and t.undocumented !== true and t.name === 'Filter' %}
15
- <section class="doc">
16
- {{ docmacro.description(t) }}
17
-
18
- <h4>Arguments</h4>
19
- <table>
20
- <thead>
21
- <tr>
22
- <th>Name</th>
23
- <th>Type</th>
24
- <th>Optional</th>
25
- <th>Default</th>
26
- <th>Description</th>
27
- </tr>
28
- </thead>
29
- <tbody>
30
- {% for p in t.params %}
31
- <tr>
32
- <td><var data-language="js">{{ p.name }}</var></td>
33
- <td><code data-language="js">{{ p.type.names.join(', ') }}</code></td>
34
- <td>{% if p.optional === true %}✔{% endif %}</td>
35
- <td><samp data-language="js">{{ p.defaultvalue }}</samp></td>
36
- <td>{{ docmacro.description(p) }}</td>
37
- </tr>
38
- {% endfor %}
39
- </tbody>
40
- </table>
41
-
42
- {% for ex in t.examples %}
43
- <pre><code data-language="js">{{ ex }}</code></pre>
44
- {% endfor %}
45
- </section>
46
- {% endif %}{% endfor %}
47
- </section>
48
-
49
- <hr>
50
-
51
- <section id="tags">
52
- <h2>Custom Tags</h2>
53
-
54
- <p>Swig can be extended to handle custom tags that will perform operations on full blocks of your templates. Use <a href="{{ baseurl }}/docs/api/#setTag"><code data-language="js">swig.setTag(name, parse, compile, ends, blockLevel)</code></a> to add your custom tag.</p>
55
-
56
- <p>All of Swig's tags are written using the same api (with a few exceptions for core modules, like <var>extends</var> and <var>block</var>). View a tag's source to see more examples to write your own custom tags.</p>
57
-
58
- {% set isMethod = ['parse', 'compile'] %}
59
- {% for t in ext %}{% if t.undocumented !== true and t.kind === 'typedef' and isMethod.indexOf(t.name) !== -1 %}
60
- <section id="{{ t.name }}" class="doc">
61
- <h3>{{ t.name }}({% for p in t.params %}{{ p.name }}{% if not loop.last %}, {% endif %}{% endfor %})</h3>
62
-
63
- <p>{{ docmacro.description(t) }}</p>
64
-
65
- <h4>Arguments</h4>
66
- <table>
67
- <thead>
68
- <tr>
69
- <th>Name</th>
70
- <th>Type</th>
71
- <th>Optional</th>
72
- <th>Default</th>
73
- <th>Description</th>
74
- </tr>
75
- </thead>
76
- <tbody>
77
- {% for p in t.params %}
78
- <tr>
79
- <td><var data-language="js">{{ p.name }}</var></td>
80
- <td><code data-language="js">{{ p.type.names.join(', ') }}</code></td>
81
- <td>{% if p.optional === true %}✔{% endif %}</td>
82
- <td><samp data-language="js">{{ p.defaultvalue }}</samp></td>
83
- <td>{{ docmacro.description(p) }}</td>
84
- </tr>
85
- {% endfor %}
86
- </tbody>
87
- </table>
88
-
89
- {% for ex in t.examples %}
90
- <pre><code data-language="js">{{ ex }}</code></pre>
91
- {% endfor %}
92
-
93
- </section>
94
- {% endif %}{% endfor %}
95
-
96
- <section id="ends" class="doc">
97
- <h3>ends</h3>
98
-
99
- <p>Controls whether or not a tag must have an <code data-language="swig">{% raw %}{% end[tagName] %}{% endraw %}</code> declared after usage in templates.</p>
100
-
101
- <pre><code data-language="js">exports.ends = true;
102
- // => A template that fails to close this tag will throw an Error.</code></pre>
103
-
104
- <pre><code data-language="js">exports.ends = false;
105
- // => A template attempts close this tag will throw an Error.</code></pre>
106
- </section>
107
-
108
- <section id="blockLevel" class="doc">
109
- <h3>blockLevel</h3>
110
-
111
- <p>Allow the tag to be written outside of <code data-language="swig">{% raw %}{% block &lt;name&gt; %}{% endblock %}{% endraw %}</code> tags when extending a parent template.</p>
112
-
113
- <pre><code data-language="js">exports.blockLevel = true;</code></pre>
114
- <pre><code data-language="swig">{% raw %}{% extends "foo" %}
115
- {% mytag foo bar baz %}
116
- // Normally this will be ignored, but since we allowed it to be block-level,
117
- // it will be included in the fully-parsed template.
118
-
119
- {% block content %}
120
- ...
121
- {% endblock %}{% endraw %}</code></pre>
122
- </section>
123
-
124
- {% for prop in ext %}
125
- {% if prop.isEnum %}
126
- <section id="{{ prop.name }}" class="doc">
127
- <h3>{{ prop.name }}</h3>
128
- {{ docmacro.source(prop, 1) }}
129
- {{ docmacro.description(prop) }}
130
- <table>
131
- <thead>
132
- <tr>
133
- <th>Value</th>
134
- <th>Name</th>
135
- <th>Description</th>
136
- </tr>
137
- </thead>
138
- <tbody>
139
- <tr>
140
- <td><samp data-language="js">'*'</samp></td>
141
- <td></td>
142
- <td>For every token, run the given callback.</td>
143
- </tr>
144
- <tr>
145
- <td><samp data-language="js">'start'</samp></td>
146
- <td></td>
147
- <td>Run before any token is parsed.</td>
148
- </tr>
149
- <tr>
150
- <td><samp data-language="js">'end'</samp></td>
151
- <td></td>
152
- <td>Run after all other tokens have been parsed.</td>
153
- </tr>
154
- {% for p in prop.properties %}
155
- <tr>
156
- <td><samp data-language="js">{{ p.defaultvalue }}</samp></td>
157
- <td><var data-language="js">types.{{ p.name }}</var></td>
158
- <td>{{ docmacro.description(p) }}</td>
159
- </tr>
160
- {% endfor %}
161
- </tbody>
162
- </table>
163
- </section>
164
- {% endif %}
165
- {% endfor %}
166
- </section>
167
- {% endblock %}
168
-
169
- {% block extendingsubnav %}
170
- <ol>
171
- <li><a href="#filters">Custom Filters</a></li>
172
- <li>
173
- <a href="#tags">Custom Tags</a>
174
- <ol>
175
- <li><a href="#parse">parse</a></li>
176
- <li><a href="#compile">compile</a></li>
177
- <li><a href="#ends">ends</a></li>
178
- <li><a href="#blockLevel">blockLevel</a></li>
179
- <li><a href="#TYPES">Token Types</a></li>
180
- </ol>
181
- </li>
182
- </ol>
183
- {% endblock %}
@@ -1,97 +0,0 @@
1
- {% extends "./layout.html" %}
2
- {% import "./includes/macros.html" as docmacro %}
3
-
4
- {% block title %}{% parent %} &raquo; Filters{% endblock %}
5
-
6
- {% block content %}
7
- <h1 id="built-in">Filters</h1>
8
-
9
- <p>The rendering of variables can be modified by filters. Filters are special functions that are applied after any object token in a variable block using the pipe character, for example: <code data-language>{% raw %}{{ names|join(', ') }}{% endraw %}</code>.</p>
10
-
11
- <p>Filters can also be chained together, one after another. In this case, we have a list of names in HTML tags that we want to remove, output together, and make title-cased:</p>
12
-
13
- <pre><code data-language="swig">// names = ['<p>paul</p>', '<p>jim</p>'];
14
- {% raw %}{{ names|striptags|join(', ')|title }}{% endraw %}
15
- // => Paul, Jim</code></pre>
16
-
17
- <p>Swig comes pre-loaded with a set of useful filters:</p>
18
-
19
- <hr>
20
-
21
- {% for fn in filters %}
22
- {% if fn.access !== "private" and fn.kind === 'function' and fn.undocumented !== true %}
23
- <section id="{{ fn.name|replace('"', '', 'g') }}" class="doc">
24
- <h2>
25
- {{ fn.name|replace('"', '', 'g') -}}
26
- {%- for p in fn.params -%}
27
- {%- if loop.index === 2 %}({% endif -%}
28
- {%- if loop.index > 1 -%}
29
- {{- p.name -}}
30
- {%- if not loop.last %}, {% else -%}){% endif -%}
31
- {%- endif -%}
32
- {%- endfor -%}
33
- </h2>
34
-
35
- {{ docmacro.source(fn, 1) }}
36
-
37
- {{ docmacro.description(fn) }}
38
-
39
- {% if fn.params.length > 1 %}
40
- <h3>Parameters</h3>
41
- <table>
42
- <thead>
43
- <tr>
44
- <th>Name</th>
45
- <th>Type</th>
46
- <th>Optional</th>
47
- <th>Default</th>
48
- <th>Description</th>
49
- </tr>
50
- </thead>
51
- <tbody>
52
- {% for param in fn.params %}
53
- {% if param.name !== 'input' %}
54
- <tr>
55
- <td><var data-language="js">{{ param.name }}</var></td>
56
- <td><code data-language="js">{{ param.type.names|join(" or ") }}</code></td>
57
- <td>{% if param.optional === true %}✔{% endif %}</td>
58
- <td><code data-language="js">{{ param.defaultvalue }}</code></td>
59
- <td>{{ param.description|raw }}</td>
60
- </tr>
61
- {% endif %}
62
- {% endfor %}
63
- </tbody>
64
- </table>
65
- {% endif %}
66
-
67
- {% if fn.returns %}
68
- <h3>Returns</h3>
69
- {% for ret in fn.returns %}
70
- <p><samp data-language="js">{{ ret.type.names.join(', ') }}</samp>: {{ ret.description|raw }}</p>
71
- {% endfor %}
72
- {% endif %}
73
-
74
- {% if fn.examples.length %}
75
- <h3>Examples</h3>
76
- {% for example in fn.examples %}
77
- <pre><code data-language="swig">{{ example }}</code></pre>
78
- {% endfor %}
79
- {% endif %}
80
-
81
- </section>
82
- {% endif %}
83
- {% endfor %}
84
-
85
- {% endblock %}
86
-
87
- {% block filtersubnav %}
88
- <ol>
89
- {% for fn in filters %}
90
- {% if fn.access !== "private" and fn.kind === 'function' %}
91
- <li>
92
- <a href="#{{ fn.name|replace('"', '', 'g') }}">{{ fn.name|replace('"', '', 'g') }}</a>
93
- </li>
94
- {% endif %}
95
- {% endfor %}
96
- </ol>
97
- {% endblock %}
@@ -1,9 +0,0 @@
1
- {% macro description(el) %}
2
- {% if el.description %}
3
- <p>{{ el.description|replace('\n', '</p><p>', 'g')|safe }}</p>
4
- {% endif %}
5
- {% endmacro %}
6
-
7
- {% macro source(fn, line) %}
8
- <p class="source">Source: <a href="https://github.com/paularmstrong/swig/blob/{{ version }}/{{ fn.meta.path }}/{{ fn.meta.filename }}{% if line %}#L{{ fn.meta.lineno }}{% endif %}">{{ fn.meta.path }}/{{ fn.meta.filename }}{% if line %}#L{{ fn.meta.lineno }}{% endif %}</a></p>
9
- {% endmacro %}
@@ -1,212 +0,0 @@
1
- {% extends "./layout.html" %}
2
-
3
- {% block content %}
4
- <h1>Getting Started</h1>
5
-
6
- <section id="install" class="doc">
7
- <h2>Installation</h2>
8
-
9
- <p>Via NPM:</p>
10
-
11
- <pre><code data-language="sh">$ npm install swig --save</code></pre>
12
- </section>
13
-
14
- <section id="usage" class="doc">
15
- <h2>Basic Usage</h2>
16
-
17
- <p>Swig has multiple ways to compile and render templates. Check the <a href="{{ baseurl }}/docs/api/">API documentation</a> for more detailed information and usage.</p>
18
-
19
- <pre><code data-language="js">{% raw %}var swig = require('swig');
20
-
21
- // Compile a file and store it, rendering it later
22
- var tpl = swig.compileFile('/path/to/template.html');
23
- console.log(tpl({ article: { title: 'Swig is fun!' }}));
24
-
25
- // Immediately render a Swig template from a string
26
- console.log(swig.render('{% if foo %}Hooray!{% endif %}', { locals: { foo: true }}));
27
- {% endraw %}</code></pre>
28
- </section>
29
-
30
- <section id="variables" class="doc">
31
- <h2>Variables</h2>
32
-
33
- <p>Variables that are passed to templates can be output using double-curly-brackets: <code data-language="swig">{{ foo }}</code>. All variable output is automatically <strong>autoescaped</strong>, with the exception of <a href="#variable-functions">function output</a>.</p>
34
-
35
- <h3>Notation</h3>
36
- <p>Accessing properties of objects can be done using either dot-notation or bracket-notation. The following examples are equivalent:</p>
37
-
38
- <pre><code data-language="swig">{% raw %}{{ foo.bar }}
39
- // is equivalent to
40
- {{ foo['bar'] }}{% endraw %}</code></pre>
41
-
42
- <p>However, notation style follows the same rules as JavaScript. If a key includes non-alpha-numeric characters, it must be accessed using bracket-notation, not dot-notation.</p>
43
-
44
- <h4>Bad!</h4>
45
- <pre><code data-language="swig">{% raw %}{{ foo.chicken-tacos }}{% endraw %}</code></pre>
46
- <p>The above would be the same as attempting to subract <var>tacos</var> from <var>foo.chicken</var>:
47
- <code data-language="swig">{% raw %}{{ foo.chicken - tacos }}{% endraw %}</code></p>
48
-
49
- <h4>Good!</h4>
50
- <pre><code data-language="swig">{% raw %}{{ foo['chicken-tacos'] }}{% endraw %}</code></pre>
51
-
52
- <h3>Undefined vs Falsy Values</h3>
53
- <p>If a variable is not defined, don't worry, your template won't explode. Instead, an empty-string will be output in its place. However, falsy values like <code data-language="js">null, false, 0</code> will be rendered as they are.</p>
54
-
55
- <h3>Filters</h3>
56
- <p>Variables can be modified using using special, chainable control structures called <a href="{{ baseurl }}/docs/filters/">Filters</a>:</p>
57
-
58
- <pre><code data-language="swig">{% raw %}{{ name|title }} was born on {{ birthday|date('F jS, Y') }}{% endraw %}</code>
59
- // => <samp>Jane was born on July 6th, 1985</samp></pre>
60
-
61
- <h3 id="variable-functions">Functions</h3>
62
- <p>Variables can also be JavaScript functions. It is important to note that, regardless of your <a href="{{ baseurl }}/docs/api/#SwigOpts">autoescape setting</a>, functions will <em>not</em> be auto-escaped.</p>
63
-
64
- <pre><code data-language="js">{% raw %}var locals = { mystuff: function mystuff() { return '<p>Things!</p>'; } };
65
- swig.render('{{ mystuff() }}', { locals: locals });
66
- // => &lt;p&gt;Things!&lt;/p&gt;{% endraw %}</code></pre>
67
-
68
- <p>If you want to enforce escaping output on functions, just pipe them to the <a href="{{ baseurl }}/docs/filters/#escape">escape filter</a>.</p>
69
-
70
- <pre><code data-language="swig">{% raw %}{{ mystuff()|escape }}{% endraw %}
71
- // => &amp;lt;p&amp;gt;Things&amp;lt;/p&amp;gt;</code></pre>
72
- </section>
73
-
74
- <section id="tags" class="doc">
75
- <h2>Logic Tags</h2>
76
-
77
- <p>Swig includes some basic operational blocks, called <a href="#tags">Tags</a>, for helping you control output on a larger scale than variables. Tags are written using curly-percent syntax: .</p>
78
-
79
- <pre><code data-language="swig">{% raw %}{% if foo %}bar{% endif %}
80
-
81
- // Create a list of people, only if there are items in the people array
82
- {% for person in people %}
83
- {% if loop.first %}<ol>{% endif %}
84
- <li>{{ person.name }}</li>
85
- {% if loop.last %}</ol>{% endif %}
86
- {% endfor %}
87
- {% endraw %}</code></pre>
88
-
89
- <p><code>end</code> tags may also have any set of extra context within them, and will just be ignore. This is useful for scoping and understanding which block you are closing and where.</p>
90
-
91
- <pre><code data-language="swig">{% raw %}{% block tacos %}
92
- //...
93
- {% endblock tacos %}
94
- {% block burritos %}
95
- {% if foo %}
96
- // ...
97
- {% endif the above will render if foo == true %}
98
- {% endblock burritos %}{% endraw %}</code></pre>
99
-
100
- <p>View the <a href="{{ baseurl }}/docs/tags/">Tags documentation</a> for a full list of tags and usage instructions.</p>
101
- </section>
102
-
103
- <section id="comments" class="doc">
104
- <h2>Comments</h2>
105
-
106
- <p>Comment tags are simply ignored by the parser. They will removed before your templates are rendered so that no one can see them unless they have access to your source code. Comments are written using the curly-hash syntax:</p>
107
-
108
- <pre><code data-language="swig">{% raw %}{#
109
- This is a comment.
110
- It will be fully stripped and ignored during parsing.
111
- #}{% endraw %}</code></pre>
112
- </section>
113
-
114
- <section id="whitespace" class="doc">
115
- <h2>Whitespace Control</h2>
116
-
117
- <p>Any whitespace in your templates is left in your final output templates. However, you can control the whitespace around logic tags by using whitespace controls.</p>
118
-
119
- <p>To remove whitespace, simply put a dash (<code data-language="swig">-</code>) at the beginning or end of your tag to remove the preceding or following whitespace, respectively.</p>
120
-
121
- <pre><code data-language="swig">{% raw %}// seq = [1, 2, 3, 4, 5]
122
- {% for item in seq -%}
123
- {{ item }}
124
- {%- endfor %}{% endraw %}</code>
125
- // => <samp>12345</samp></pre>
126
-
127
- <p><em>Note: there must <strong>not</strong> be any space between the tag open/close mark and the dash.</em></p>
128
-
129
- </section>
130
-
131
- <section id="inheritance" class="doc">
132
- <h2>Template Inheritance</h2>
133
-
134
- <p>Swig uses <code data-language="swig">extends</code> &amp; <code data-language="swig">block</code> for template inheritance.</p>
135
-
136
- <h3>layout.html</h3>
137
- <pre><code data-language="swig">{% raw %}&lt;!doctype html&gt;
138
- &lt;html&gt;
139
- &lt;head&gt;
140
- &lt;meta charset="utf-8"&gt;
141
- &lt;title&gt;{% block title %}My Site{% endblock %}&lt;/title&gt;
142
-
143
- {% block head %}
144
- &lt;link rel="stylesheet" href="main.css"&gt;
145
- {% endblock %}
146
- &lt;/head&gt;
147
- &lt;body&gt;
148
- {% block content %}{% endblock %}
149
- &lt;/body&gt;
150
- &lt;/html&gt;{% endraw %}</code></pre>
151
-
152
- <h3>index.html</h3>
153
- <pre><code data-language="swig">{% raw %}{% extends 'layout.html' %}
154
-
155
- {% block title %}My Page{% endblock %}
156
-
157
- {% block head %}
158
- {% parent %}
159
- &lt;link rel="stylesheet" href="custom.css"&gt;
160
- {% endblock %}
161
-
162
- {% block content %}
163
- &lt;p&gt;This is just an awesome page.&lt;/p&gt;
164
- {% endblock %}{% endraw %}</code></pre>
165
- </section>
166
-
167
- <section id="express" class="doc">
168
- <h2>Using Swig with Express.js</h2>
169
-
170
- <p>Swig is easily compatible with <a href="http://expressjs.com">Express</a>, the simple web application framework for node. The following is a basic example of integrating Swig with Express:</p>
171
-
172
- <pre><code data-language="js">var app = require('express')(),
173
- swig = require('swig'),
174
- people;
175
-
176
- // This is where all the magic happens!
177
- app.engine('html', swig.renderFile);
178
-
179
- app.set('view engine', 'html');
180
- app.set('views', __dirname + '/views');
181
-
182
- // Swig will cache templates for you, but you can disable
183
- // that and use Express's caching instead, if you like:
184
- app.set('view cache', false);
185
- // To disable Swig's cache, do the following:
186
- swig.setDefaults({ cache: false });
187
- // NOTE: You should always cache templates in a production environment.
188
- // Don't leave both of these to `false` in production!
189
-
190
- app.get('/', function (req, res) {
191
- res.render('index', { /* template locals context */ });
192
- });
193
-
194
- app.listen(1337);
195
- console.log('Application Started on http://localhost:1337/');
196
- </code></pre>
197
-
198
- </section>
199
-
200
- {% endblock %}
201
-
202
- {% block indexsubnav %}
203
- <ol>
204
- <li><a href="#install">Installation</a></li>
205
- <li><a href="#variables">Variables</a></li>
206
- <li><a href="#tags">Logic Tags</a></li>
207
- <li><a href="#comments">Comments</a></li>
208
- <li><a href="#whitespace">Whitespace Control</a></li>
209
- <li><a href="#inheritance">Template Interhitance</a></li>
210
- <li><a href="#express">Express.js</a></li>
211
- </ol>
212
- {% endblock %}
@@ -1,43 +0,0 @@
1
- {% extends "../layouts/master.html" %}
2
-
3
- {% block title %}{% parent %} » Documentation{% endblock %}
4
-
5
- {% block section_nav %}
6
- <nav>
7
- <ol class="sidenav">
8
- <li>
9
- <a href="{{ baseurl }}/docs/">Getting Started</a>
10
- {% block indexsubnav %}{% endblock %}
11
- </li>
12
- <li>
13
- <a href="{{ baseurl }}/docs/api/">Swig API</a>
14
- {% block apisubnav %}{% endblock %}
15
- </li>
16
- <li>
17
- <a href="{{ baseurl }}/docs/filters/">Filters</a>
18
- {% block filtersubnav %}{% endblock %}
19
- </li>
20
- <li>
21
- <a href="{{ baseurl }}/docs/tags/">Tags</a>
22
- {% block tagsubnav %}{% endblock %}
23
- </li>
24
- <li>
25
- <a href="{{ baseurl }}/docs/loaders/">Template Loaders</a>
26
- {% block loaderssubnav %}{% endblock %}
27
- </li>
28
- <li>
29
- <a href="{{ baseurl }}/docs/cli/">Command-Line</a>
30
- {% block clisubnav %}{% endblock %}
31
- </li>
32
- <li>
33
- <a href="{{ baseurl }}/docs/browser/">Browser Usage</a>
34
- {% block browsersubnav %}{% endblock %}
35
- </li>
36
- <li>
37
- <a href="{{ baseurl }}/docs/extending/">Extending Swig</a>
38
- {% block extendingsubnav %}{% endblock %}
39
- </li>
40
- <li><a href="{{ baseurl }}/docs/previous/">Older Versions</a></li>
41
- </ol>
42
- </nav>
43
- {% endblock %}