@tsed/platform-serverless-http 8.6.1 → 8.7.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/platform-serverless-http",
3
3
  "description": "Module to support Serverless HTTP function with Ts.ED",
4
4
  "type": "module",
5
- "version": "8.6.1",
5
+ "version": "8.7.1",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -19,7 +19,7 @@
19
19
  "build": "yarn barrels && yarn build:ts",
20
20
  "barrels": "barrels",
21
21
  "test": "vitest run",
22
- "build:ts": "tsc --build tsconfig.json",
22
+ "build:ts": "tsc --build tsconfig.esm.json",
23
23
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
24
24
  },
25
25
  "keywords": [
@@ -58,26 +58,26 @@
58
58
  "tslib": "2.7.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@tsed/barrels": "8.6.1",
62
- "@tsed/di": "8.6.1",
63
- "@tsed/hooks": "8.6.1",
64
- "@tsed/platform-http": "8.6.1",
65
- "@tsed/platform-serverless-testing": "8.6.1",
66
- "@tsed/typescript": "8.6.1",
61
+ "@tsed/barrels": "8.7.1",
62
+ "@tsed/di": "8.7.1",
63
+ "@tsed/hooks": "8.7.1",
64
+ "@tsed/platform-http": "8.7.1",
65
+ "@tsed/platform-serverless-testing": "8.7.1",
66
+ "@tsed/typescript": "8.7.1",
67
67
  "@types/aws-lambda": "^8.10.145",
68
68
  "eslint": "9.12.0",
69
69
  "serverless-http": "^3.2.0",
70
70
  "typescript": "5.4.5",
71
- "vitest": "2.1.2"
71
+ "vitest": "3.0.9"
72
72
  },
73
73
  "peerDependencies": {
74
- "@tsed/core": ">=8.6.1",
75
- "@tsed/di": ">=8.6.1",
76
- "@tsed/json-mapper": ">=8.6.1",
74
+ "@tsed/core": ">=8.7.1",
75
+ "@tsed/di": ">=8.7.1",
76
+ "@tsed/json-mapper": ">=8.7.1",
77
77
  "@tsed/logger": ">=7.0.1",
78
- "@tsed/openspec": ">=8.6.1",
79
- "@tsed/platform-http": ">=8.6.1",
80
- "@tsed/schema": ">=8.6.1",
78
+ "@tsed/openspec": ">=8.7.1",
79
+ "@tsed/platform-http": ">=8.7.1",
80
+ "@tsed/schema": ">=8.7.1",
81
81
  "serverless-http": ">=2.0.0"
82
82
  },
83
83
  "peerDependenciesMeta": {
@@ -25,7 +25,7 @@ describe("PlatformServerlessHttp", () => {
25
25
  (serverless as any).mockReturnValue(handler);
26
26
 
27
27
  const instance = PlatformServerlessHttp.bootstrap(Server, {
28
- adapter: PlatformExpress
28
+ adapter: PlatformExpress as any
29
29
  });
30
30
 
31
31
  const h: any = instance.handler();
package/vitest.config.mts CHANGED
@@ -10,10 +10,10 @@ export default defineConfig(
10
10
  coverage: {
11
11
  ...presets.test.coverage,
12
12
  thresholds: {
13
- statements: 100,
14
- branches: 100,
15
- functions: 100,
16
- lines: 100
13
+ statements: 0,
14
+ branches: 0,
15
+ functions: 0,
16
+ lines: 0
17
17
  }
18
18
  }
19
19
  }