jimpex 7.0.1 → 8.0.0
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 +87 -0
- package/LICENSE +1 -1
- package/README.md +446 -434
- package/dist/app/index.d.ts +13 -0
- package/dist/app/index.js +19 -0
- package/dist/app/index.js.map +1 -0
- package/dist/app/jimpex.d.ts +13 -0
- package/dist/app/jimpex.js +440 -0
- package/dist/app/jimpex.js.map +1 -0
- package/dist/controllers/common/config.d.ts +78 -0
- package/dist/controllers/common/config.js +89 -0
- package/dist/controllers/common/config.js.map +1 -0
- package/dist/controllers/common/health.d.ts +82 -0
- package/dist/controllers/common/health.js +97 -0
- package/dist/controllers/common/health.js.map +1 -0
- package/dist/controllers/common/index.d.ts +21 -0
- package/dist/controllers/common/index.js +21 -0
- package/dist/controllers/common/index.js.map +1 -0
- package/dist/controllers/common/statics.d.ts +215 -0
- package/dist/controllers/common/statics.js +202 -0
- package/dist/controllers/common/statics.js.map +1 -0
- package/dist/controllers/index.d.ts +24 -0
- package/dist/controllers/index.js +20 -0
- package/dist/controllers/index.js.map +1 -0
- package/dist/controllers/utils/gateway.d.ts +724 -0
- package/dist/controllers/utils/gateway.js +425 -0
- package/dist/controllers/utils/gateway.js.map +1 -0
- package/dist/controllers/utils/index.d.ts +16 -0
- package/dist/controllers/utils/index.js +19 -0
- package/dist/controllers/utils/index.js.map +1 -0
- package/dist/esm/app/index.js +2 -0
- package/dist/esm/app/index.js.map +1 -0
- package/dist/esm/app/jimpex.js +415 -0
- package/dist/esm/app/jimpex.js.map +1 -0
- package/dist/esm/chunk-T2T6Q22Z.js +11 -0
- package/dist/esm/chunk-T2T6Q22Z.js.map +1 -0
- package/dist/esm/controllers/common/config.js +62 -0
- package/dist/esm/controllers/common/config.js.map +1 -0
- package/dist/esm/controllers/common/health.js +70 -0
- package/dist/esm/controllers/common/health.js.map +1 -0
- package/dist/esm/controllers/common/index.js +4 -0
- package/dist/esm/controllers/common/index.js.map +1 -0
- package/dist/esm/controllers/common/statics.js +173 -0
- package/dist/esm/controllers/common/statics.js.map +1 -0
- package/dist/esm/controllers/index.js +3 -0
- package/dist/esm/controllers/index.js.map +1 -0
- package/dist/esm/controllers/utils/gateway.js +404 -0
- package/dist/esm/controllers/utils/gateway.js.map +1 -0
- package/dist/esm/controllers/utils/index.js +2 -0
- package/dist/esm/controllers/utils/index.js.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/middlewares/common/errorHandler.js +92 -0
- package/dist/esm/middlewares/common/errorHandler.js.map +1 -0
- package/dist/esm/middlewares/common/forceHTTPS.js +41 -0
- package/dist/esm/middlewares/common/forceHTTPS.js.map +1 -0
- package/dist/esm/middlewares/common/hsts.js +53 -0
- package/dist/esm/middlewares/common/hsts.js.map +1 -0
- package/dist/esm/middlewares/common/index.js +4 -0
- package/dist/esm/middlewares/common/index.js.map +1 -0
- package/dist/esm/middlewares/html/fastHTML.js +104 -0
- package/dist/esm/middlewares/html/fastHTML.js.map +1 -0
- package/dist/esm/middlewares/html/index.js +3 -0
- package/dist/esm/middlewares/html/index.js.map +1 -0
- package/dist/esm/middlewares/html/showHTML.js +68 -0
- package/dist/esm/middlewares/html/showHTML.js.map +1 -0
- package/dist/esm/middlewares/index.js +4 -0
- package/dist/esm/middlewares/index.js.map +1 -0
- package/dist/esm/middlewares/utils/index.js +2 -0
- package/dist/esm/middlewares/utils/index.js.map +1 -0
- package/dist/esm/middlewares/utils/versionValidator.js +101 -0
- package/dist/esm/middlewares/utils/versionValidator.js.map +1 -0
- package/dist/esm/services/common/appError.js +52 -0
- package/dist/esm/services/common/appError.js.map +1 -0
- package/dist/esm/services/common/httpError.js +19 -0
- package/dist/esm/services/common/httpError.js.map +1 -0
- package/dist/esm/services/common/index.js +17 -0
- package/dist/esm/services/common/index.js.map +1 -0
- package/dist/esm/services/common/sendFile.js +27 -0
- package/dist/esm/services/common/sendFile.js.map +1 -0
- package/dist/esm/services/frontend/frontendFs.js +38 -0
- package/dist/esm/services/frontend/frontendFs.js.map +1 -0
- package/dist/esm/services/frontend/index.js +11 -0
- package/dist/esm/services/frontend/index.js.map +1 -0
- package/dist/esm/services/html/htmlGenerator.js +144 -0
- package/dist/esm/services/html/htmlGenerator.js.map +1 -0
- package/dist/esm/services/html/index.js +11 -0
- package/dist/esm/services/html/index.js.map +1 -0
- package/dist/esm/services/http/apiClient.js +71 -0
- package/dist/esm/services/http/apiClient.js.map +1 -0
- package/dist/esm/services/http/http.js +125 -0
- package/dist/esm/services/http/http.js.map +1 -0
- package/dist/esm/services/http/index.js +17 -0
- package/dist/esm/services/http/index.js.map +1 -0
- package/dist/esm/services/http/responsesBuilder.js +105 -0
- package/dist/esm/services/http/responsesBuilder.js.map +1 -0
- package/dist/esm/services/index.js +6 -0
- package/dist/esm/services/index.js.map +1 -0
- package/dist/esm/services/utils/ensureBearerToken.js +78 -0
- package/dist/esm/services/utils/ensureBearerToken.js.map +1 -0
- package/dist/esm/services/utils/index.js +11 -0
- package/dist/esm/services/utils/index.js.map +1 -0
- package/dist/esm/types/events.js +1 -0
- package/dist/esm/types/events.js.map +1 -0
- package/dist/esm/types/express.js +1 -0
- package/dist/esm/types/express.js.map +1 -0
- package/dist/esm/types/http.js +1 -0
- package/dist/esm/types/http.js.map +1 -0
- package/dist/esm/types/index.js +7 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/options.js +1 -0
- package/dist/esm/types/options.js.map +1 -0
- package/dist/esm/types/utils.js +1 -0
- package/dist/esm/types/utils.js.map +1 -0
- package/dist/esm/types/wootils.js +1 -0
- package/dist/esm/types/wootils.js.map +1 -0
- package/dist/esm/utils/fns/index.js +5 -0
- package/dist/esm/utils/fns/index.js.map +1 -0
- package/dist/esm/utils/fns/others.js +6 -0
- package/dist/esm/utils/fns/others.js.map +1 -0
- package/dist/esm/utils/fns/routes.js +25 -0
- package/dist/esm/utils/fns/routes.js.map +1 -0
- package/dist/esm/utils/fns/statuses.js +6 -0
- package/dist/esm/utils/fns/statuses.js.map +1 -0
- package/dist/esm/utils/fns/text.js +6 -0
- package/dist/esm/utils/fns/text.js.map +1 -0
- package/dist/esm/utils/index.js +3 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/wrappers.js +41 -0
- package/dist/esm/utils/wrappers.js.map +1 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/jimpex-7eaee271.d.ts +1278 -0
- package/dist/middlewares/common/errorHandler.d.ts +131 -0
- package/dist/middlewares/common/errorHandler.js +119 -0
- package/dist/middlewares/common/errorHandler.js.map +1 -0
- package/dist/middlewares/common/forceHTTPS.d.ts +68 -0
- package/dist/middlewares/common/forceHTTPS.js +68 -0
- package/dist/middlewares/common/forceHTTPS.js.map +1 -0
- package/dist/middlewares/common/hsts.d.ts +109 -0
- package/dist/middlewares/common/hsts.js +80 -0
- package/dist/middlewares/common/hsts.js.map +1 -0
- package/dist/middlewares/common/index.d.ts +21 -0
- package/dist/middlewares/common/index.js +21 -0
- package/dist/middlewares/common/index.js.map +1 -0
- package/dist/middlewares/html/fastHTML.d.ts +180 -0
- package/dist/middlewares/html/fastHTML.js +131 -0
- package/dist/middlewares/html/fastHTML.js.map +1 -0
- package/dist/middlewares/html/index.d.ts +21 -0
- package/dist/middlewares/html/index.js +20 -0
- package/dist/middlewares/html/index.js.map +1 -0
- package/dist/middlewares/html/showHTML.d.ts +127 -0
- package/dist/middlewares/html/showHTML.js +95 -0
- package/dist/middlewares/html/showHTML.js.map +1 -0
- package/dist/middlewares/index.d.ts +30 -0
- package/dist/middlewares/index.js +21 -0
- package/dist/middlewares/index.js.map +1 -0
- package/dist/middlewares/utils/index.d.ts +19 -0
- package/dist/middlewares/utils/index.js +19 -0
- package/dist/middlewares/utils/index.js.map +1 -0
- package/dist/middlewares/utils/versionValidator.d.ts +214 -0
- package/dist/middlewares/utils/versionValidator.js +128 -0
- package/dist/middlewares/utils/versionValidator.js.map +1 -0
- package/dist/services/common/appError.d.ts +138 -0
- package/dist/services/common/appError.js +80 -0
- package/dist/services/common/appError.js.map +1 -0
- package/dist/services/common/httpError.d.ts +79 -0
- package/dist/services/common/httpError.js +44 -0
- package/dist/services/common/httpError.js.map +1 -0
- package/dist/services/common/index.d.ts +47 -0
- package/dist/services/common/index.js +41 -0
- package/dist/services/common/index.js.map +1 -0
- package/dist/services/common/sendFile.d.ts +102 -0
- package/dist/services/common/sendFile.js +51 -0
- package/dist/services/common/sendFile.js.map +1 -0
- package/dist/services/frontend/frontendFs.d.ts +96 -0
- package/dist/services/frontend/frontendFs.js +71 -0
- package/dist/services/frontend/frontendFs.js.map +1 -0
- package/dist/services/frontend/index.d.ts +40 -0
- package/dist/services/frontend/index.js +35 -0
- package/dist/services/frontend/index.js.map +1 -0
- package/dist/services/html/htmlGenerator.d.ts +237 -0
- package/dist/services/html/htmlGenerator.js +171 -0
- package/dist/services/html/htmlGenerator.js.map +1 -0
- package/dist/services/html/index.d.ts +43 -0
- package/dist/services/html/index.js +35 -0
- package/dist/services/html/index.js.map +1 -0
- package/dist/services/http/apiClient.d.ts +169 -0
- package/dist/services/http/apiClient.js +96 -0
- package/dist/services/http/apiClient.js.map +1 -0
- package/dist/services/http/http.d.ts +175 -0
- package/dist/services/http/http.js +158 -0
- package/dist/services/http/http.js.map +1 -0
- package/dist/services/http/index.d.ts +50 -0
- package/dist/services/http/index.js +41 -0
- package/dist/services/http/index.js.map +1 -0
- package/dist/services/http/responsesBuilder.d.ts +178 -0
- package/dist/services/http/responsesBuilder.js +132 -0
- package/dist/services/http/responsesBuilder.js.map +1 -0
- package/dist/services/index.d.ts +33 -0
- package/dist/services/index.js +23 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/utils/ensureBearerToken.d.ts +157 -0
- package/dist/services/utils/ensureBearerToken.js +105 -0
- package/dist/services/utils/ensureBearerToken.js.map +1 -0
- package/dist/services/utils/index.d.ts +43 -0
- package/dist/services/utils/index.js +35 -0
- package/dist/services/utils/index.js.map +1 -0
- package/dist/types/events.d.ts +13 -0
- package/dist/types/events.js +17 -0
- package/dist/types/events.js.map +1 -0
- package/dist/types/express.d.ts +10 -0
- package/dist/types/express.js +17 -0
- package/dist/types/express.js.map +1 -0
- package/dist/types/http.d.ts +79 -0
- package/dist/types/http.js +17 -0
- package/dist/types/http.js.map +1 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.js +24 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/options.d.ts +13 -0
- package/dist/types/options.js +17 -0
- package/dist/types/options.js.map +1 -0
- package/dist/types/utils.d.ts +48 -0
- package/dist/types/utils.js +17 -0
- package/dist/types/utils.js.map +1 -0
- package/dist/types/wootils.d.ts +4 -0
- package/dist/types/wootils.js +17 -0
- package/dist/types/wootils.js.map +1 -0
- package/dist/utils/fns/index.d.ts +5 -0
- package/dist/utils/fns/index.js +22 -0
- package/dist/utils/fns/index.js.map +1 -0
- package/dist/utils/fns/others.d.ts +17 -0
- package/dist/utils/fns/others.js +29 -0
- package/dist/utils/fns/others.js.map +1 -0
- package/dist/utils/fns/routes.d.ts +39 -0
- package/dist/utils/fns/routes.js +51 -0
- package/dist/utils/fns/routes.js.map +1 -0
- package/dist/utils/fns/statuses.d.ts +45 -0
- package/dist/utils/fns/statuses.js +35 -0
- package/dist/utils/fns/statuses.js.map +1 -0
- package/dist/utils/fns/text.d.ts +9 -0
- package/dist/utils/fns/text.js +29 -0
- package/dist/utils/fns/text.js.map +1 -0
- package/dist/utils/index.d.ts +18 -0
- package/dist/utils/index.js +20 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/wrappers.d.ts +13 -0
- package/dist/utils/wrappers.js +68 -0
- package/dist/utils/wrappers.js.map +1 -0
- package/examples/basic/404.html +12 -0
- package/examples/basic/README.md +30 -0
- package/examples/basic/app.ts +18 -0
- package/examples/basic/controller.ts +45 -0
- package/examples/basic/index.ts +19 -0
- package/examples/basic/middleware.ts +13 -0
- package/examples/basic/service.ts +11 -0
- package/package.json +59 -38
- package/src/app/index.ts +1 -0
- package/src/app/jimpex.ts +743 -0
- package/src/controllers/common/config.ts +115 -0
- package/src/controllers/common/health.ts +128 -0
- package/src/controllers/common/index.ts +3 -0
- package/src/controllers/common/statics.ts +380 -0
- package/src/controllers/index.ts +2 -0
- package/src/controllers/utils/gateway.ts +1186 -0
- package/src/controllers/utils/index.ts +1 -0
- package/src/index.ts +6 -0
- package/src/middlewares/common/errorHandler.ts +203 -0
- package/src/middlewares/common/forceHTTPS.ts +83 -0
- package/src/middlewares/common/hsts.ts +135 -0
- package/src/middlewares/common/index.ts +3 -0
- package/src/middlewares/html/fastHTML.ts +255 -0
- package/src/middlewares/html/index.ts +2 -0
- package/src/middlewares/html/showHTML.ts +165 -0
- package/src/middlewares/index.ts +3 -0
- package/src/middlewares/utils/index.ts +1 -0
- package/src/middlewares/utils/versionValidator.ts +289 -0
- package/src/services/common/appError.ts +158 -0
- package/src/services/common/httpError.ts +74 -0
- package/src/services/common/index.ts +29 -0
- package/src/services/common/sendFile.ts +106 -0
- package/src/services/frontend/frontendFs.ts +101 -0
- package/src/services/frontend/index.ts +21 -0
- package/src/services/html/htmlGenerator.ts +356 -0
- package/src/services/html/index.ts +21 -0
- package/src/services/http/apiClient.ts +221 -0
- package/src/services/http/http.ts +286 -0
- package/src/services/http/index.ts +29 -0
- package/src/services/http/responsesBuilder.ts +265 -0
- package/src/services/index.ts +5 -0
- package/src/services/utils/ensureBearerToken.ts +202 -0
- package/src/services/utils/index.ts +21 -0
- package/src/types/events.ts +303 -0
- package/src/types/express.ts +21 -0
- package/src/types/http.ts +77 -0
- package/src/types/index.ts +6 -0
- package/src/types/options.ts +248 -0
- package/src/types/utils.ts +52 -0
- package/src/types/wootils.ts +4 -0
- package/src/utils/fns/index.ts +4 -0
- package/src/utils/fns/others.ts +15 -0
- package/src/utils/fns/routes.ts +64 -0
- package/src/utils/fns/statuses.ts +44 -0
- package/src/utils/fns/text.ts +8 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/wrappers.ts +537 -0
- package/tsconfig.json +5 -8
- package/tsup.config.ts +10 -0
- package/src/app/index.js +0 -692
- package/src/constants/eventNames.js +0 -48
- package/src/constants/index.js +0 -7
- package/src/controllers/common/configuration.js +0 -116
- package/src/controllers/common/health.js +0 -79
- package/src/controllers/common/index.js +0 -7
- package/src/controllers/common/statics.js +0 -336
- package/src/controllers/index.js +0 -9
- package/src/controllers/utils/gateway.js +0 -1039
- package/src/controllers/utils/index.js +0 -3
- package/src/index.js +0 -30
- package/src/middlewares/common/errorHandler.js +0 -185
- package/src/middlewares/common/forceHTTPS.js +0 -80
- package/src/middlewares/common/hsts.js +0 -122
- package/src/middlewares/common/index.js +0 -7
- package/src/middlewares/html/fastHTML.js +0 -298
- package/src/middlewares/html/index.js +0 -5
- package/src/middlewares/html/showHTML.js +0 -167
- package/src/middlewares/index.js +0 -11
- package/src/middlewares/utils/index.js +0 -3
- package/src/middlewares/utils/versionValidator.js +0 -261
- package/src/services/common/appError.js +0 -136
- package/src/services/common/httpError.js +0 -60
- package/src/services/common/index.js +0 -25
- package/src/services/common/sendFile.js +0 -68
- package/src/services/frontend/frontendFs.js +0 -85
- package/src/services/frontend/index.js +0 -17
- package/src/services/html/htmlGenerator.js +0 -391
- package/src/services/html/index.js +0 -17
- package/src/services/http/apiClient.js +0 -148
- package/src/services/http/http.js +0 -256
- package/src/services/http/index.js +0 -25
- package/src/services/http/responsesBuilder.js +0 -193
- package/src/services/index.js +0 -15
- package/src/services/utils/ensureBearerToken.js +0 -147
- package/src/services/utils/index.js +0 -19
- package/src/types.js +0 -377
- package/src/utils/functions.js +0 -78
- package/src/utils/wrappers.js +0 -131
- package/types/app/index.d.ts +0 -417
- package/types/constants/eventNames.d.ts +0 -93
- package/types/constants/index.d.ts +0 -2
- package/types/controllers/common/configuration.d.ts +0 -71
- package/types/controllers/common/health.d.ts +0 -55
- package/types/controllers/common/index.d.ts +0 -4
- package/types/controllers/common/statics.d.ts +0 -271
- package/types/controllers/index.d.ts +0 -3
- package/types/controllers/utils/gateway.d.ts +0 -947
- package/types/controllers/utils/index.d.ts +0 -2
- package/types/index.d.ts +0 -15
- package/types/middlewares/common/errorHandler.d.ts +0 -143
- package/types/middlewares/common/forceHTTPS.d.ts +0 -64
- package/types/middlewares/common/hsts.d.ts +0 -111
- package/types/middlewares/common/index.d.ts +0 -4
- package/types/middlewares/html/fastHTML.d.ts +0 -238
- package/types/middlewares/html/index.d.ts +0 -3
- package/types/middlewares/html/showHTML.d.ts +0 -128
- package/types/middlewares/index.d.ts +0 -4
- package/types/middlewares/utils/index.d.ts +0 -2
- package/types/middlewares/utils/versionValidator.d.ts +0 -247
- package/types/services/common/appError.d.ts +0 -89
- package/types/services/common/httpError.d.ts +0 -37
- package/types/services/common/index.d.ts +0 -18
- package/types/services/common/sendFile.d.ts +0 -56
- package/types/services/frontend/frontendFs.d.ts +0 -72
- package/types/services/frontend/index.d.ts +0 -3
- package/types/services/html/htmlGenerator.d.ts +0 -298
- package/types/services/html/index.d.ts +0 -3
- package/types/services/http/apiClient.d.ts +0 -141
- package/types/services/http/http.d.ts +0 -159
- package/types/services/http/index.d.ts +0 -18
- package/types/services/http/responsesBuilder.d.ts +0 -140
- package/types/services/index.d.ts +0 -6
- package/types/services/utils/ensureBearerToken.d.ts +0 -137
- package/types/services/utils/index.d.ts +0 -16
- package/types/types.d.ts +0 -280
- package/types/utils/functions.d.ts +0 -55
- package/types/utils/wrappers.d.ts +0 -127
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,90 @@
|
|
|
1
|
+
# [8.0.0](https://github.com/homer0/jimpex/compare/7.0.2...8.0.0) (2022-12-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add default obj to gateway ctrl options ([b0b08c9](https://github.com/homer0/jimpex/commit/b0b08c9e543c33f4a79140bd23304f23b2ab95d8))
|
|
7
|
+
* add missing call ([80ab14c](https://github.com/homer0/jimpex/commit/80ab14ca2416418705401f87ea8fa950e8f68734))
|
|
8
|
+
* add missing export ([b931583](https://github.com/homer0/jimpex/commit/b931583ad1394e016a7b78142a246cca698e0b45))
|
|
9
|
+
* add missing index ([f894408](https://github.com/homer0/jimpex/commit/f894408835426f2495af055d9c58b8c7cf054d47))
|
|
10
|
+
* add missing index files ([824ed67](https://github.com/homer0/jimpex/commit/824ed6770391ff210fd26b9ca1ce5302a588bb2f))
|
|
11
|
+
* add missing methods for the events type ([6f1802f](https://github.com/homer0/jimpex/commit/6f1802fb64dda572b4878b7541f6f35326de2072))
|
|
12
|
+
* add missing option ([790db2d](https://github.com/homer0/jimpex/commit/790db2db068e210470b29b99714880c363b94394))
|
|
13
|
+
* add options specific to the app path ([d910797](https://github.com/homer0/jimpex/commit/d9107975e04dd1d4280cc969e5ec0a546904e31c))
|
|
14
|
+
* avoid export groups ([7210845](https://github.com/homer0/jimpex/commit/721084568df35689afd56fc833bcf8776aed6c2b))
|
|
15
|
+
* bind fetch method ([da720ad](https://github.com/homer0/jimpex/commit/da720ad98ef8eb095aad0ae857d4986cb0d7d4b1))
|
|
16
|
+
* build all the files ([cf3166e](https://github.com/homer0/jimpex/commit/cf3166ec564d63225ce04c46de1b8877145cbdc0))
|
|
17
|
+
* change configuration to config everywhere ([e6da1ad](https://github.com/homer0/jimpex/commit/e6da1ad4af3aa53c526829d046c7b8b6ce7f47b9))
|
|
18
|
+
* change export name for Config and Logger types ([f3527f8](https://github.com/homer0/jimpex/commit/f3527f8cb8550ddeb8053251ea7388352daa0de6))
|
|
19
|
+
* check keys length ([37bdb81](https://github.com/homer0/jimpex/commit/37bdb81bc731bd948934ba579b7db8fc26078fdb))
|
|
20
|
+
* correct type name ([b1cb188](https://github.com/homer0/jimpex/commit/b1cb1886fd0c72124dcefc77cafa1baa3d11dbd0))
|
|
21
|
+
* depreacte Node 12 ([48f671e](https://github.com/homer0/jimpex/commit/48f671e4231019645e5eae5e2c670bbb354fc479))
|
|
22
|
+
* drop Node 14 support ([44d4e41](https://github.com/homer0/jimpex/commit/44d4e41d8420b84716d035f8e3d95f63a2e18b8e))
|
|
23
|
+
* evaluate options on register ([49fd361](https://github.com/homer0/jimpex/commit/49fd361241d18234918e201a5d625b7030e15334))
|
|
24
|
+
* export everything from services ([68fe93a](https://github.com/homer0/jimpex/commit/68fe93a92a680708915dcbe90daf80377654af11))
|
|
25
|
+
* export types for protected methods ([cd8651f](https://github.com/homer0/jimpex/commit/cd8651ff1ea7b470e5cce95c7156d043e0df4f8b))
|
|
26
|
+
* export types needed for overwrite ([32aa425](https://github.com/homer0/jimpex/commit/32aa42513529d11d6486fd7c966bd9cd900aa3df))
|
|
27
|
+
* get rid of the partial types ([45aca58](https://github.com/homer0/jimpex/commit/45aca585d1e59a9bb378d0a98c0c742aa260a837))
|
|
28
|
+
* make hasFolder false by default ([3e87cf2](https://github.com/homer0/jimpex/commit/3e87cf2129495afb3b525a31fb422939e2d0c428))
|
|
29
|
+
* make some types optional ([80766c4](https://github.com/homer0/jimpex/commit/80766c4b92ec676a1a16ab1ffa28018b9b6512f3))
|
|
30
|
+
* make the default config file optional ([d24b8ed](https://github.com/homer0/jimpex/commit/d24b8ed9ef6a4acfd344558f46c139b13f3a35e8))
|
|
31
|
+
* merge default config from options ([5f8447a](https://github.com/homer0/jimpex/commit/5f8447a9625d76355f67167e2e2986ee524d38a1))
|
|
32
|
+
* only import types ([0382966](https://github.com/homer0/jimpex/commit/03829668d72afd7a9b1f267a2614132272a20580))
|
|
33
|
+
* prefix all protected things with _ ([d7fbbc6](https://github.com/homer0/jimpex/commit/d7fbbc6e061ed01243ae6b6828cc116a026ab397))
|
|
34
|
+
* properly implement 'on' and 'once' ([f41e8cc](https://github.com/homer0/jimpex/commit/f41e8cc97e4a98b294c085a7af6f9edb8a57e75e))
|
|
35
|
+
* properly resolve parent path ([984f7c7](https://github.com/homer0/jimpex/commit/984f7c7ecc51930450be78f07501fa7c7e7583e5))
|
|
36
|
+
* register defautl services ([c06ccf3](https://github.com/homer0/jimpex/commit/c06ccf3850aff9eb99c0678b0f44182c12955215))
|
|
37
|
+
* remove fix for Node 14 ([72b1600](https://github.com/homer0/jimpex/commit/72b1600b771d134e3dd3da601bfa78df490938ae))
|
|
38
|
+
* remove promise with .then ([6b1406e](https://github.com/homer0/jimpex/commit/6b1406e0dea7adc0c2824d49e39a75f20bc42f9d))
|
|
39
|
+
* remove proxy option ([d93923c](https://github.com/homer0/jimpex/commit/d93923c2421f7fa92cb9b759dcd649339c25acd3))
|
|
40
|
+
* rename providers with the 'Provider' sufix ([c80d219](https://github.com/homer0/jimpex/commit/c80d21977f184373915d813c8a6c31cdbe45b67f))
|
|
41
|
+
* rename type ([d0cc7de](https://github.com/homer0/jimpex/commit/d0cc7def81be9f139ee95ad804f30ea06d4c00e8))
|
|
42
|
+
* replace appConfiguration with appConfig ([b71f4a9](https://github.com/homer0/jimpex/commit/b71f4a97cad75eee8f8c4c8cf949c7aa8cabba6f))
|
|
43
|
+
* restore reducer events ([d61ea55](https://github.com/homer0/jimpex/commit/d61ea55dbc534fb0891daf41d0bf983ea36a2f61))
|
|
44
|
+
* restore SendFile ([300c3cd](https://github.com/homer0/jimpex/commit/300c3cd4c251887a16eaad1db8ad9d3047f1d950))
|
|
45
|
+
* send instance on events ([2d405ee](https://github.com/homer0/jimpex/commit/2d405ee21c3455b4c1d326ce0c7fabf5cbea5b0a))
|
|
46
|
+
* set the app path to be the parent of the instance ([60d48b0](https://github.com/homer0/jimpex/commit/60d48b08b25dbc6fef0b7aedd57ae14f9d7d6e88))
|
|
47
|
+
* support middlewares on routes ([affbb14](https://github.com/homer0/jimpex/commit/affbb14511b052cbc1da83ffe5384b8332c7eaee))
|
|
48
|
+
* throw error if config is called before start ([4773e14](https://github.com/homer0/jimpex/commit/4773e14147e20f6ab0dc7c8025ae1ce277c528ba))
|
|
49
|
+
* throw error if the app path can't be found ([9ccc876](https://github.com/homer0/jimpex/commit/9ccc8764be9778698c9ef0e41bc08c7535781a2d))
|
|
50
|
+
* update all dependencies ([9a207a5](https://github.com/homer0/jimpex/commit/9a207a58b08072ccc72a342c93a3913c25a22e76))
|
|
51
|
+
* update import for fs ([98d88d4](https://github.com/homer0/jimpex/commit/98d88d46c30bf22c4df7012521a47bebe277da92))
|
|
52
|
+
* use 'inject' to send dependecies ([797dcb5](https://github.com/homer0/jimpex/commit/797dcb59bd5f8486c01a2aa310d5f5e7d7d7c763))
|
|
53
|
+
* use consistent return ([b5b0a9b](https://github.com/homer0/jimpex/commit/b5b0a9b6ee51420f246dbdf4e3cbefe5cfb7bd5b))
|
|
54
|
+
* use interfaces for the events ([ad324fd](https://github.com/homer0/jimpex/commit/ad324fdc13e44b93c4d1ea75f160e085db308dbf))
|
|
55
|
+
* use statuses code dict to avoid a throw ([7fa7d07](https://github.com/homer0/jimpex/commit/7fa7d0763c4c3d84894015552108fe47287ed8b8))
|
|
56
|
+
* use the deferred to avoid parallel calls ([1f37cc9](https://github.com/homer0/jimpex/commit/1f37cc99970f210597571a737ce751cb9d75ef4c))
|
|
57
|
+
* validate status on response ([3f9339a](https://github.com/homer0/jimpex/commit/3f9339a2f778908f65b69099e9597850f25bec8f))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Features
|
|
61
|
+
|
|
62
|
+
* add class base code ([35ba4c2](https://github.com/homer0/jimpex/commit/35ba4c2a14b0bc917afc040d0cc6220159f3483f))
|
|
63
|
+
* add getRouter method ([53f1147](https://github.com/homer0/jimpex/commit/53f1147df497456e6b5cfdadc3d4448556c6af72))
|
|
64
|
+
* add jimple resources ([eaa4584](https://github.com/homer0/jimpex/commit/eaa45847a7a22d1e47e31d056eb575e3d6433346))
|
|
65
|
+
* add method to list for events ([9e2a762](https://github.com/homer0/jimpex/commit/9e2a7626660f727311a8683a147cdee29395291c))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### BREAKING CHANGES
|
|
69
|
+
|
|
70
|
+
* Node 14 is not longer supported. Node 16 is the minimum required version now.
|
|
71
|
+
* All dep injections are now done with an 'inject' object.
|
|
72
|
+
* The signature of `sendFile` is now a single options object.
|
|
73
|
+
* The providers now have the 'Provider' suffix.
|
|
74
|
+
For example: `appError` is now `appErrorProvider`.
|
|
75
|
+
* Read the release migration guide, the signature of the events
|
|
76
|
+
has changed.
|
|
77
|
+
* Read the release migration guide, a lot of things related
|
|
78
|
+
to initialization were changed.
|
|
79
|
+
* This library is no longer compatible with Node 12
|
|
80
|
+
|
|
81
|
+
## [7.0.2](https://github.com/homer0/jimpex/compare/7.0.1...7.0.2) (2021-10-17)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Bug Fixes
|
|
85
|
+
|
|
86
|
+
* update dependencies ([e74dc77](https://github.com/homer0/jimpex/commit/e74dc7743f9dccd233a89d550b15efd690b1f0cf))
|
|
87
|
+
|
|
1
88
|
## [7.0.1](https://github.com/homer0/jimpex/compare/7.0.0...7.0.1) (2021-09-06)
|
|
2
89
|
|
|
3
90
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2022 Leonardo Apiwan (@homer0)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|