@tsed/platform-test-sdk 8.22.0 → 8.24.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/lib/esm/tests/testCache.js +0 -1
- package/package.json +14 -14
|
@@ -171,7 +171,6 @@ export function testCache(options) {
|
|
|
171
171
|
await request.get("/rest/caches/scenario-1").expect(200);
|
|
172
172
|
const response2 = await request.get("/rest/caches/scenario-1").set("cache-control", "no-cache").expect(200);
|
|
173
173
|
expect(response2.text).toContain("hello world");
|
|
174
|
-
expect(response2.headers["cache-control"]).toMatch(/max-age=300/);
|
|
175
174
|
expect(response2.headers["x-cached"]).toBeUndefined();
|
|
176
175
|
expect(response2.headers["etag"]).toEqual(response2.headers["etag"]);
|
|
177
176
|
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/platform-test-sdk",
|
|
3
3
|
"description": "Package to test platform adapter integration with Ts.ED",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.
|
|
5
|
+
"version": "8.24.0",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -28,25 +28,25 @@
|
|
|
28
28
|
"Adapter"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tsed/ajv": "8.
|
|
32
|
-
"@tsed/core": "8.
|
|
33
|
-
"@tsed/di": "8.
|
|
34
|
-
"@tsed/json-mapper": "8.
|
|
31
|
+
"@tsed/ajv": "8.24.0",
|
|
32
|
+
"@tsed/core": "8.24.0",
|
|
33
|
+
"@tsed/di": "8.24.0",
|
|
34
|
+
"@tsed/json-mapper": "8.24.0",
|
|
35
35
|
"@tsed/logger": "8.0.0",
|
|
36
|
-
"@tsed/platform-cache": "8.
|
|
37
|
-
"@tsed/platform-http": "8.
|
|
38
|
-
"@tsed/platform-params": "8.
|
|
39
|
-
"@tsed/platform-router": "8.
|
|
40
|
-
"@tsed/platform-views": "8.
|
|
41
|
-
"@tsed/schema": "8.
|
|
42
|
-
"@tsed/swagger": "8.
|
|
36
|
+
"@tsed/platform-cache": "8.24.0",
|
|
37
|
+
"@tsed/platform-http": "8.24.0",
|
|
38
|
+
"@tsed/platform-params": "8.24.0",
|
|
39
|
+
"@tsed/platform-router": "8.24.0",
|
|
40
|
+
"@tsed/platform-views": "8.24.0",
|
|
41
|
+
"@tsed/schema": "8.24.0",
|
|
42
|
+
"@tsed/swagger": "8.24.0",
|
|
43
43
|
"ajv": "^8.17.1",
|
|
44
44
|
"axios": "1.12.0",
|
|
45
45
|
"read-pkg-up": "7.0.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tsed/barrels": "8.
|
|
49
|
-
"@tsed/typescript": "8.
|
|
48
|
+
"@tsed/barrels": "8.24.0",
|
|
49
|
+
"@tsed/typescript": "8.24.0",
|
|
50
50
|
"eslint": "9.12.0",
|
|
51
51
|
"typescript": "5.9.3"
|
|
52
52
|
},
|