@eik/service 5.1.52 → 5.1.53
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 +7 -0
- package/lib/main.js +2 -2
- package/package.json +5 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.1.53](https://github.com/eik-lib/service/compare/v5.1.52...v5.1.53) (2026-05-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Replace Tap with node.js test runner ([#760](https://github.com/eik-lib/service/issues/760)) ([ca844b7](https://github.com/eik-lib/service/commit/ca844b71321a7e920d73be7f165f3d99d9857e88))
|
|
7
|
+
|
|
1
8
|
## [5.1.52](https://github.com/eik-lib/service/compare/v5.1.51...v5.1.52) (2026-05-27)
|
|
2
9
|
|
|
3
10
|
|
package/lib/main.js
CHANGED
|
@@ -215,9 +215,9 @@ const EikService = class EikService {
|
|
|
215
215
|
api() {
|
|
216
216
|
/** @param {import('fastify').FastifyInstance} app */
|
|
217
217
|
return async (app) => {
|
|
218
|
-
if (!app.initialConfig.ignoreTrailingSlash) {
|
|
218
|
+
if (!app.initialConfig.routerOptions?.ignoreTrailingSlash) {
|
|
219
219
|
this.logger.warn(
|
|
220
|
-
'Fastify is configured with "ignoreTrailingSlash" set to "false". Its adviced to set "ignoreTrailingSlash" to "true"',
|
|
220
|
+
'Fastify is configured with "routerOptions.ignoreTrailingSlash" set to "false". Its adviced to set "routerOptions.ignoreTrailingSlash" to "true"',
|
|
221
221
|
);
|
|
222
222
|
}
|
|
223
223
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eik/service",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.53",
|
|
4
4
|
"description": "Eik REST API as a standalone HTTP service",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/main.js",
|
|
@@ -18,10 +18,9 @@
|
|
|
18
18
|
"lint": "eslint .",
|
|
19
19
|
"lint:fix": "eslint --fix .",
|
|
20
20
|
"start": "node ./bin/eik-server.js | pino-pretty",
|
|
21
|
-
"test": "cross-env LOG_LEVEL=fatal
|
|
22
|
-
"test:ci": "cross-env LOG_LEVEL=trace
|
|
23
|
-
"test:snapshots": "cross-env LOG_LEVEL=fatal
|
|
24
|
-
"test:tap": "tap ./test/**/*.test.js --disable-coverage --allow-empty-coverage",
|
|
21
|
+
"test": "cross-env LOG_LEVEL=fatal node --test 'test/**/*.test.js'",
|
|
22
|
+
"test:ci": "cross-env LOG_LEVEL=trace node --test 'test/**/*.test.js'",
|
|
23
|
+
"test:snapshots": "cross-env LOG_LEVEL=fatal node --test --test-update-snapshots 'test/**/*.test.js'",
|
|
25
24
|
"types": "run-s types:module types:test",
|
|
26
25
|
"types:module": "tsc",
|
|
27
26
|
"types:test": "tsc --project tsconfig.test.json"
|
|
@@ -59,17 +58,16 @@
|
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
61
60
|
"@eik/eslint-config": "2.0.6",
|
|
61
|
+
"cross-env": "10.1.0",
|
|
62
62
|
"@eik/prettier-config": "1.0.2",
|
|
63
63
|
"@eik/semantic-release-config": "1.0.17",
|
|
64
64
|
"@eik/typescript-config": "1.0.2",
|
|
65
65
|
"@types/readable-stream": "4.0.23",
|
|
66
|
-
"cross-env": "10.1.0",
|
|
67
66
|
"eslint": "10.4.0",
|
|
68
67
|
"npm-run-all2": "9.0.1",
|
|
69
68
|
"pino-pretty": "13.1.3",
|
|
70
69
|
"prettier": "3.8.3",
|
|
71
70
|
"semantic-release": "25.0.3",
|
|
72
|
-
"tap": "21.7.4",
|
|
73
71
|
"typescript": "6.0.3"
|
|
74
72
|
}
|
|
75
73
|
}
|