@pipeline-builder/api-server 3.4.70 → 3.4.72
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/README.md +66 -22
- package/lib/api/app-factory.d.ts +2 -2
- package/lib/api/app-factory.js +45 -84
- package/lib/api/check-quota.d.ts +1 -1
- package/lib/api/check-quota.js +8 -11
- package/lib/api/context-middleware.d.ts +2 -2
- package/lib/api/context-middleware.js +4 -7
- package/lib/api/etag-middleware.d.ts +1 -1
- package/lib/api/etag-middleware.js +4 -7
- package/lib/api/get-context.d.ts +1 -1
- package/lib/api/get-context.js +2 -5
- package/lib/api/health-checks.js +5 -9
- package/lib/api/idempotency-middleware.d.ts +1 -1
- package/lib/api/idempotency-middleware.js +11 -16
- package/lib/api/index.d.ts +16 -16
- package/lib/api/index.js +17 -33
- package/lib/api/metrics.d.ts +1 -1
- package/lib/api/metrics.js +17 -24
- package/lib/api/middleware-factory.d.ts +1 -1
- package/lib/api/middleware-factory.js +11 -15
- package/lib/api/middleware.js +2 -6
- package/lib/api/mongo-connect.js +4 -7
- package/lib/api/quota-helpers.d.ts +1 -1
- package/lib/api/quota-helpers.js +4 -7
- package/lib/api/request-types.d.ts +3 -3
- package/lib/api/request-types.js +8 -10
- package/lib/api/require-org-id.d.ts +1 -1
- package/lib/api/require-org-id.js +6 -9
- package/lib/api/route-wrapper.d.ts +1 -1
- package/lib/api/route-wrapper.js +12 -15
- package/lib/api/server.d.ts +2 -2
- package/lib/api/server.js +15 -17
- package/lib/api/tracing.js +18 -23
- package/lib/http/index.d.ts +1 -1
- package/lib/http/index.js +2 -18
- package/lib/http/sse-connection-manager.d.ts +1 -1
- package/lib/http/sse-connection-manager.js +8 -12
- package/lib/index.d.ts +2 -2
- package/lib/index.js +3 -19
- package/lib/otel-bootstrap.js +32 -19
- package/package.json +28 -20
package/package.json
CHANGED
|
@@ -6,44 +6,45 @@
|
|
|
6
6
|
"url": "git+https://github.com/mwashburn160/pipeline-builder.git"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
+
"@jest/globals": "30.2.0",
|
|
9
10
|
"@stylistic/eslint-plugin": "^2",
|
|
10
|
-
"@types/compression": "1.
|
|
11
|
+
"@types/compression": "1.8.1",
|
|
11
12
|
"@types/cors": "2.8.19",
|
|
12
13
|
"@types/express": "5.0.6",
|
|
13
14
|
"@types/express-serve-static-core": "5.1.1",
|
|
14
|
-
"@types/jest": "30.0.0",
|
|
15
15
|
"@types/jsonwebtoken": "9.0.10",
|
|
16
|
-
"@types/node": "25.
|
|
16
|
+
"@types/node": "25.9.2",
|
|
17
17
|
"@types/swagger-ui-express": "4.1.8",
|
|
18
18
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
19
19
|
"@typescript-eslint/parser": "^8",
|
|
20
20
|
"eslint": "^9",
|
|
21
21
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
22
22
|
"eslint-plugin-import": "^2.32.0",
|
|
23
|
-
"jest": "30.
|
|
23
|
+
"jest": "30.4.2",
|
|
24
24
|
"jest-junit": "^17",
|
|
25
25
|
"ts-jest": "^29",
|
|
26
|
-
"typescript": "
|
|
26
|
+
"typescript": "6.0.3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opentelemetry/api": "1.9.
|
|
30
|
-
"@opentelemetry/auto-instrumentations-node": "0.
|
|
31
|
-
"@opentelemetry/exporter-trace-otlp-http": "0.
|
|
32
|
-
"@opentelemetry/
|
|
33
|
-
"@opentelemetry/
|
|
34
|
-
"
|
|
29
|
+
"@opentelemetry/api": "1.9.1",
|
|
30
|
+
"@opentelemetry/auto-instrumentations-node": "0.76.0",
|
|
31
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.218.0",
|
|
32
|
+
"@opentelemetry/instrumentation": "0.218.0",
|
|
33
|
+
"@opentelemetry/resources": "2.7.1",
|
|
34
|
+
"@opentelemetry/sdk-node": "0.218.0",
|
|
35
|
+
"compression": "1.8.1",
|
|
35
36
|
"cors": "2.8.6",
|
|
36
37
|
"express": "5.2.1",
|
|
37
|
-
"express-rate-limit": "8.2
|
|
38
|
-
"helmet": "8.
|
|
39
|
-
"ioredis": "5.
|
|
38
|
+
"express-rate-limit": "8.5.2",
|
|
39
|
+
"helmet": "8.2.0",
|
|
40
|
+
"ioredis": "5.11.1",
|
|
40
41
|
"jsonwebtoken": "9.0.3",
|
|
41
42
|
"prom-client": "15.1.3",
|
|
42
|
-
"rate-limit-redis": "
|
|
43
|
+
"rate-limit-redis": "5.0.0",
|
|
43
44
|
"swagger-ui-express": "5.0.1",
|
|
44
|
-
"uuid": "
|
|
45
|
-
"@pipeline-builder/
|
|
46
|
-
"@pipeline-builder/
|
|
45
|
+
"uuid": "14.0.0",
|
|
46
|
+
"@pipeline-builder/api-core": "3.4.64",
|
|
47
|
+
"@pipeline-builder/pipeline-core": "3.4.70"
|
|
47
48
|
},
|
|
48
49
|
"keywords": [
|
|
49
50
|
"aws",
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
"access": "public",
|
|
88
89
|
"registry": "https://registry.npmjs.org/"
|
|
89
90
|
},
|
|
90
|
-
"version": "3.4.
|
|
91
|
+
"version": "3.4.72",
|
|
91
92
|
"bugs": {
|
|
92
93
|
"url": "https://github.com/mwashburn160/pipeline-builder/issues"
|
|
93
94
|
},
|
|
@@ -129,6 +130,7 @@
|
|
|
129
130
|
"^.+\\.[t]sx?$": [
|
|
130
131
|
"ts-jest",
|
|
131
132
|
{
|
|
133
|
+
"useESM": true,
|
|
132
134
|
"tsconfig": "tsconfig.dev.json",
|
|
133
135
|
"diagnostics": {
|
|
134
136
|
"ignoreCodes": [
|
|
@@ -138,12 +140,18 @@
|
|
|
138
140
|
}
|
|
139
141
|
]
|
|
140
142
|
},
|
|
143
|
+
"extensionsToTreatAsEsm": [
|
|
144
|
+
".ts",
|
|
145
|
+
".tsx"
|
|
146
|
+
],
|
|
141
147
|
"moduleNameMapper": {
|
|
142
|
-
"^uuid$": "<rootDir>/../../jest-uuid-stub.js"
|
|
148
|
+
"^uuid$": "<rootDir>/../../jest-uuid-stub.js",
|
|
149
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
143
150
|
},
|
|
144
151
|
"maxWorkers": 1
|
|
145
152
|
},
|
|
146
153
|
"types": "lib/index.d.ts",
|
|
154
|
+
"type": "module",
|
|
147
155
|
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"pnpm dlx projen\".",
|
|
148
156
|
"scripts": {
|
|
149
157
|
"build": "pnpm dlx projen build",
|