@trojs/openapi-server 3.1.2 → 3.1.4

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.
Files changed (1) hide show
  1. package/package.json +77 -76
package/package.json CHANGED
@@ -1,77 +1,78 @@
1
1
  {
2
- "name": "@trojs/openapi-server",
3
- "description": "OpenAPI Server",
4
- "version": "3.1.2",
5
- "author": {
6
- "name": "Pieter Wigboldus",
7
- "url": "https://trojs.org/"
8
- },
9
- "license": "MIT",
10
- "scripts": {
11
- "lint": "eslint",
12
- "lint:report": "eslint src/*.js -f json -o report.json",
13
- "lint:fix": "eslint --fix",
14
- "test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=./coverage/lcov.info",
15
- "cpd": "node_modules/jscpd/bin/jscpd src",
16
- "vulnerabilities": "npm audit --omit=dev"
17
- },
18
- "type": "module",
19
- "files": [
20
- "src/api.js",
21
- "src/openapi.js",
22
- "src/router.js",
23
- "src/server.js",
24
- "src/error-status.js",
25
- "src/types.js",
26
- "src/params.js",
27
- "src/express-callback.js",
28
- "src/operation-ids.js",
29
- "src/handlers/not-found.js",
30
- "src/handlers/request-validation.js",
31
- "src/handlers/response-validation.js",
32
- "src/handlers/unauthorized.js"
33
- ],
34
- "main": "src/server.js",
35
- "devDependencies": {
36
- "@trojs/lint": "^0.2.9",
37
- "@types/node": "^22.0.0",
38
- "@types/express-serve-static-core": "^5.0.0",
39
- "eslint": "^9.15.0",
40
- "globals": "^16.0.0",
41
- "jscpd": "^4.0.5",
42
- "prettier": "^3.3.3",
43
- "supertest": "^7.0.0"
44
- },
45
- "repository": {
46
- "type": "git",
47
- "url": "https://github.com/trojs/openapi-server"
48
- },
49
- "engines": {
50
- "node": ">= 20 < 21 || >= 22 < 23"
51
- },
52
- "keywords": [
53
- "openapi",
54
- "server",
55
- "express"
56
- ],
57
- "dependencies": {
58
- "@sentry/node": "^9.0.0",
59
- "ajv-formats": "^3.0.0",
60
- "body-parser": "^2.0.0",
61
- "compression": "^1.7.4",
62
- "cors": "^2.8.5",
63
- "express": "^5.0.0",
64
- "helmet": "^8.0.0",
65
- "openapi-backend": "^5.9.2",
66
- "swagger-ui-express": "^5.0.0"
67
- },
68
- "funding": {
69
- "type": "github",
70
- "url": "https://github.com/sponsors/w3nl"
71
- },
72
- "overrides": {
73
- "semver@<=7.5.3": "^7.5.3",
74
- "send@<=0.19.0": "^0.19.0",
75
- "cookie@<=0.7.0": "0.7.0"
76
- }
77
- }
2
+ "name": "@trojs/openapi-server",
3
+ "description": "OpenAPI Server",
4
+ "version": "3.1.4",
5
+ "author": {
6
+ "name": "Pieter Wigboldus",
7
+ "url": "https://trojs.org/"
8
+ },
9
+ "license": "MIT",
10
+ "scripts": {
11
+ "lint": "eslint",
12
+ "lint:report": "eslint src/*.js -f json -o report.json",
13
+ "lint:fix": "eslint --fix",
14
+ "test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=./coverage/lcov.info",
15
+ "cpd": "node_modules/jscpd/bin/jscpd src",
16
+ "vulnerabilities": "npm audit --omit=dev"
17
+ },
18
+ "type": "module",
19
+ "files": [
20
+ "src/api.js",
21
+ "src/openapi.js",
22
+ "src/router.js",
23
+ "src/server.js",
24
+ "src/error-status.js",
25
+ "src/types.js",
26
+ "src/params.js",
27
+ "src/express-callback.js",
28
+ "src/operation-ids.js",
29
+ "src/handlers/not-found.js",
30
+ "src/handlers/request-validation.js",
31
+ "src/handlers/response-validation.js",
32
+ "src/handlers/unauthorized.js"
33
+ ],
34
+ "main": "src/server.js",
35
+ "devDependencies": {
36
+ "@trojs/lint": "^0.3.0",
37
+ "@types/node": "^22.0.0",
38
+ "@types/express-serve-static-core": "^5.0.0",
39
+ "eslint": "^9.15.0",
40
+ "globals": "^16.0.0",
41
+ "jscpd": "^4.0.5",
42
+ "prettier": "^3.3.3",
43
+ "supertest": "^7.0.0"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/trojs/openapi-server"
48
+ },
49
+ "engines": {
50
+ "node": ">= 20 < 21 || >= 22 < 23"
51
+ },
52
+ "keywords": [
53
+ "openapi",
54
+ "server",
55
+ "express"
56
+ ],
57
+ "dependencies": {
58
+ "@sentry/node": "^9.0.0",
59
+ "ajv-formats": "^3.0.0",
60
+ "body-parser": "^2.0.0",
61
+ "compression": "^1.7.4",
62
+ "cors": "^2.8.5",
63
+ "express": "^5.0.0",
64
+ "helmet": "^8.0.0",
65
+ "openapi-backend": "^5.9.2",
66
+ "swagger-ui-express": "^5.0.0"
67
+ },
68
+ "funding": {
69
+ "type": "github",
70
+ "url": "https://github.com/sponsors/w3nl"
71
+ },
72
+ "overrides": {
73
+ "semver@<=7.5.3": "^7.5.3",
74
+ "send@<=0.19.0": "^0.19.0",
75
+ "cookie@<=0.7.0": "0.7.0",
76
+ "@apidevtools/json-schema-ref-parser@<=14.0.0": "14.0.0"
77
+ }
78
+ }