@eik/service 5.1.52 → 5.1.54
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 +14 -0
- package/lib/main.js +2 -2
- package/package.json +14 -16
- package/types/main.d.ts +10 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [5.1.54](https://github.com/eik-lib/service/compare/v5.1.53...v5.1.54) (2026-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Dump all dependencies ([#763](https://github.com/eik-lib/service/issues/763)) ([164ccb4](https://github.com/eik-lib/service/commit/164ccb4127df6a1957da556de0e528d86c1966c3))
|
|
7
|
+
|
|
8
|
+
## [5.1.53](https://github.com/eik-lib/service/compare/v5.1.52...v5.1.53) (2026-05-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* 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))
|
|
14
|
+
|
|
1
15
|
## [5.1.52](https://github.com/eik-lib/service/compare/v5.1.51...v5.1.52) (2026-05-27)
|
|
2
16
|
|
|
3
17
|
|
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.54",
|
|
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"
|
|
@@ -44,11 +43,11 @@
|
|
|
44
43
|
},
|
|
45
44
|
"homepage": "https://github.com/eik-lib/service#readme",
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"@eik/core": "2.1.
|
|
48
|
-
"@eik/sink": "1.2.
|
|
49
|
-
"@eik/sink-file-system": "2.0.
|
|
50
|
-
"@eik/sink-memory": "2.0.
|
|
51
|
-
"@fastify/compress": "
|
|
46
|
+
"@eik/core": "2.1.60",
|
|
47
|
+
"@eik/sink": "1.2.7",
|
|
48
|
+
"@eik/sink-file-system": "2.0.38",
|
|
49
|
+
"@eik/sink-memory": "2.0.35",
|
|
50
|
+
"@fastify/compress": "9.0.0",
|
|
52
51
|
"@fastify/cors": "11.2.0",
|
|
53
52
|
"@fastify/jwt": "10.1.0",
|
|
54
53
|
"convict": "6.2.5",
|
|
@@ -58,18 +57,17 @@
|
|
|
58
57
|
"pino": "10.3.1"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
61
|
-
"@eik/eslint-config": "2.0.
|
|
60
|
+
"@eik/eslint-config": "2.0.7",
|
|
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
|
-
"
|
|
67
|
-
"eslint": "10.4.0",
|
|
66
|
+
"eslint": "10.4.1",
|
|
68
67
|
"npm-run-all2": "9.0.1",
|
|
69
68
|
"pino-pretty": "13.1.3",
|
|
70
|
-
"prettier": "3.8.
|
|
71
|
-
"semantic-release": "25.0.
|
|
72
|
-
"tap": "21.7.4",
|
|
69
|
+
"prettier": "3.8.4",
|
|
70
|
+
"semantic-release": "25.0.5",
|
|
73
71
|
"typescript": "6.0.3"
|
|
74
72
|
}
|
|
75
73
|
}
|
package/types/main.d.ts
CHANGED
|
@@ -110,9 +110,10 @@ declare const EikService: {
|
|
|
110
110
|
filename: any;
|
|
111
111
|
incoming: any;
|
|
112
112
|
}): Promise<any>;
|
|
113
|
-
_persistFile({ incoming, entry }: {
|
|
113
|
+
_persistFile({ incoming, entry, signal }: {
|
|
114
114
|
incoming: any;
|
|
115
115
|
entry: any;
|
|
116
|
+
signal: AbortSignal;
|
|
116
117
|
}): Promise<any>;
|
|
117
118
|
get [Symbol.toStringTag](): string;
|
|
118
119
|
};
|
|
@@ -260,9 +261,10 @@ declare const EikService: {
|
|
|
260
261
|
filename: any;
|
|
261
262
|
incoming: any;
|
|
262
263
|
}): Promise<any>;
|
|
263
|
-
_persistFile({ incoming, entry }: {
|
|
264
|
+
_persistFile({ incoming, entry, signal }: {
|
|
264
265
|
incoming: any;
|
|
265
266
|
entry: any;
|
|
267
|
+
signal: AbortSignal;
|
|
266
268
|
}): Promise<any>;
|
|
267
269
|
get [Symbol.toStringTag](): string;
|
|
268
270
|
};
|
|
@@ -329,9 +331,10 @@ declare const EikService: {
|
|
|
329
331
|
filename: any;
|
|
330
332
|
incoming: any;
|
|
331
333
|
}): Promise<any>;
|
|
332
|
-
_persistFile({ incoming, entry }: {
|
|
334
|
+
_persistFile({ incoming, entry, signal }: {
|
|
333
335
|
incoming: any;
|
|
334
336
|
entry: any;
|
|
337
|
+
signal: AbortSignal;
|
|
335
338
|
}): Promise<any>;
|
|
336
339
|
get [Symbol.toStringTag](): string;
|
|
337
340
|
};
|
|
@@ -468,9 +471,10 @@ declare const EikService: {
|
|
|
468
471
|
filename: any;
|
|
469
472
|
incoming: any;
|
|
470
473
|
}): Promise<any>;
|
|
471
|
-
_persistFile({ incoming, entry }: {
|
|
474
|
+
_persistFile({ incoming, entry, signal }: {
|
|
472
475
|
incoming: any;
|
|
473
476
|
entry: any;
|
|
477
|
+
signal: AbortSignal;
|
|
474
478
|
}): Promise<any>;
|
|
475
479
|
get [Symbol.toStringTag](): string;
|
|
476
480
|
};
|
|
@@ -559,9 +563,10 @@ declare const EikService: {
|
|
|
559
563
|
filename: any;
|
|
560
564
|
incoming: any;
|
|
561
565
|
}): Promise<any>;
|
|
562
|
-
_persistFile({ incoming, entry }: {
|
|
566
|
+
_persistFile({ incoming, entry, signal }: {
|
|
563
567
|
incoming: any;
|
|
564
568
|
entry: any;
|
|
569
|
+
signal: AbortSignal;
|
|
565
570
|
}): Promise<any>;
|
|
566
571
|
get [Symbol.toStringTag](): string;
|
|
567
572
|
};
|