@sebspark/opentelemetry-instrumentation-opensearch 0.3.13 → 0.3.14
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 +173 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +16 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# @sebspark/opentelemetry-instrumentation-opensearch
|
|
2
|
+
|
|
3
|
+
## 0.3.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 66ac832: * Upgraded to TypeScript 7
|
|
8
|
+
- Replaced tsup with tsdown for package builds
|
|
9
|
+
- Fixed cli-tester stdout parsing, resolving flaky e2e tests across the repo
|
|
10
|
+
- Patched vulnerable transitive dependencies (uuid, socket.io-parser, and others)
|
|
11
|
+
|
|
12
|
+
## 0.3.13
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- eefb531: Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 0.3.12
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 5e9fc45: Bump dependencies. Security fixes:
|
|
23
|
+
|
|
24
|
+
- **form-data** 2.5.6 / 4.0.6 — CRLF injection via unescaped multipart field names and filenames (High)
|
|
25
|
+
- **vite** 8.1.2 — `server.fs.deny` bypass on Windows alternate paths; NTLMv2 hash disclosure via launch-editor (High/Moderate)
|
|
26
|
+
- **ws** 8.21.0 — Memory exhaustion DoS from tiny fragments; uninitialized memory disclosure (High/Moderate)
|
|
27
|
+
- **undici** 8.5.0 — Multiple DoS and information disclosure CVEs (High/Moderate/Low)
|
|
28
|
+
- **tar** 7.5.19 — PAX size override causes tar parser differential / file smuggling (Moderate)
|
|
29
|
+
- **qs** 6.15.3 — DoS via `qs.stringify` crash on null/undefined entries (Moderate)
|
|
30
|
+
- **@opentelemetry/core** 2.8.0 — Unbounded memory allocation in W3C Baggage propagation (Moderate)
|
|
31
|
+
- **@babel/core** 7.29.7 — Arbitrary file read via sourceMappingURL comment (Low)
|
|
32
|
+
- **protobufjs** 8.6.5
|
|
33
|
+
|
|
34
|
+
Other dependency updates:
|
|
35
|
+
|
|
36
|
+
- `@google-cloud/spanner` 8.8.0
|
|
37
|
+
- `@testcontainers/*` 12.0.4
|
|
38
|
+
- `google-auth-library` 10.9.0
|
|
39
|
+
- `mockserver-client` 7.3.0
|
|
40
|
+
- `nock` 14.0.16
|
|
41
|
+
- `prettier` 3.9.4
|
|
42
|
+
- `redis` 6.1.0
|
|
43
|
+
- `webpack` 5.108.3 / `webpack-cli` 7.1.0
|
|
44
|
+
|
|
45
|
+
## 0.3.11
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- e0eda57: Updated dependencies
|
|
50
|
+
|
|
51
|
+
## 0.3.10
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- 26d55f0: Fix `@sebspark/memredis` so Redis clients are assignable to `IPersistor` by widening the pub/sub subscription return types to accept both MemRedis and node-redis implementations.
|
|
56
|
+
|
|
57
|
+
Also update supporting dependencies across the affected packages.
|
|
58
|
+
|
|
59
|
+
## 0.3.9
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- a6c27f3: Updated dependencies
|
|
64
|
+
|
|
65
|
+
## 0.3.8
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 264e665: Upgrade `redis` to v6 in `@sebspark/promise-cache` and bump minor dependencies across the workspace.
|
|
70
|
+
|
|
71
|
+
**Breaking change (`@sebspark/promise-cache`):**
|
|
72
|
+
`redis` upgraded from `5.12.1` → `6.0.0`. Redis v6 contains breaking changes in its API — see the [redis v6 migration guide](https://github.com/redis/node-redis/blob/master/docs/v4-to-v6.md) if your code uses the client directly.
|
|
73
|
+
|
|
74
|
+
**Dependency updates across packages:**
|
|
75
|
+
- `testcontainers` / `@testcontainers/*`: `12.0.0` → `12.0.1` (health-check, opensearch, opentelemetry-instrumentation-opensearch, otel, promise-cache, socket.io-gcp-pubsub-emitter, spanner-migrate, test-iap)
|
|
76
|
+
- `redis`: `5.12.1` → `6.0.0` (otel, promise-cache)
|
|
77
|
+
- `tsdown`: `0.22.0` → `0.22.1` (tsconfig)
|
|
78
|
+
- `turbo` / `@turbo/gen`: `2.9.15` → `2.9.16`
|
|
79
|
+
- `webpack-cli`: `7.0.2` → `7.0.3` (avsc-isometric)
|
|
80
|
+
|
|
81
|
+
**Test fix (`@sebspark/promise-cache`):**
|
|
82
|
+
Pinned Redis container image tag to `redis:8.8-alpine` (was `redis:8-alpine`) to prevent floating-tag drift in e2e tests.
|
|
83
|
+
|
|
84
|
+
## 0.3.7
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- 242eb33: This release primarily updates dependencies across the listed packages, including:
|
|
89
|
+
- Testcontainers v12 upgrades in packages that run integration/e2e tests.
|
|
90
|
+
- Vitest/Biome/Turbo and related tooling updates.
|
|
91
|
+
- Runtime dependency updates such as `date-fns`, `@inquirer/*`, `socket.io-adapter`, and `ws`.
|
|
92
|
+
|
|
93
|
+
It also includes two targeted fixes:
|
|
94
|
+
- `@sebspark/opensearch`: fixed TypeScript compatibility so strict `SearchRequest<T>` / `SearchRequestBody<T>` can be assigned to OpenSearch API request types, and added a compile-time compatibility test.
|
|
95
|
+
- `@sebspark/health-check`: updated the e2e readiness payload assertions and type-only import usage to match current runtime output and TypeScript expectations.
|
|
96
|
+
|
|
97
|
+
## 0.3.6
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- c5e9c99: Resolve protobufjs CVE by pinning to `8.3.0` across all affected packages via root resolutions. Upgraded OpenTelemetry packages to `0.218.0` (which also eliminates the previous hardpin on `protobufjs@8.0.1`), `axios` to `1.16.1`, `ws` to `8.20.1`, `qs` to `6.15.2`, and `@opentelemetry/semantic-conventions` to `1.41.1`.
|
|
102
|
+
|
|
103
|
+
## 0.3.5
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- cf4ca8e: Export `Filter`, `MethodCall`, `MethodCallBuilder`, and `ResponseCb` from `@sebspark/emulator` so that packages wrapping `createEmulator<T>()` can name the return types in their generated declaration files (fixes TS4023).
|
|
108
|
+
|
|
109
|
+
Dependency updates:
|
|
110
|
+
- `@opentelemetry/*` instrumentation packages: `0.216.0` → `0.217.0`; `instrumentation-undici`: `0.26.0` → `0.27.0`; resource detectors, individual instrumentations bumped to latest patch/minor releases
|
|
111
|
+
- `@google-cloud/spanner`: `8.7.0` → `8.7.1`
|
|
112
|
+
- `fast-xml-parser`: `5.7.2` → `5.7.3`
|
|
113
|
+
- Dev: `turbo` `2.9.8` → `2.9.9`, `knip` `6.11.0` → `6.12.0`, `syncpack` `14.3.1` → `15.0.0`
|
|
114
|
+
|
|
115
|
+
## 0.3.4
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- 7d8cc98: Dependabot dependency updates
|
|
120
|
+
|
|
121
|
+
## 0.3.3
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- 8a120f6: Updated dependencies for all and docs for emulator
|
|
126
|
+
|
|
127
|
+
## 0.3.2
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- e9a7a28: Updated dependencies
|
|
132
|
+
|
|
133
|
+
## 0.3.1
|
|
134
|
+
|
|
135
|
+
### Patch Changes
|
|
136
|
+
|
|
137
|
+
- 4e12590: Updated dependencies
|
|
138
|
+
|
|
139
|
+
## 0.3.0
|
|
140
|
+
|
|
141
|
+
### Minor Changes
|
|
142
|
+
|
|
143
|
+
- f202dc3: Improved Opensearch tracing
|
|
144
|
+
|
|
145
|
+
## 0.2.2
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- 91aed80: Updated dependencies
|
|
150
|
+
|
|
151
|
+
## 0.2.1
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- cd9e760: Duration added to openapie-express routes
|
|
156
|
+
|
|
157
|
+
## 0.2.0
|
|
158
|
+
|
|
159
|
+
### Minor Changes
|
|
160
|
+
|
|
161
|
+
- b92b79a: Added a bunch of metrics
|
|
162
|
+
|
|
163
|
+
## 0.1.1
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- 67d6129: Updated dependencies
|
|
168
|
+
|
|
169
|
+
## 0.1.0
|
|
170
|
+
|
|
171
|
+
### Minor Changes
|
|
172
|
+
|
|
173
|
+
- 77a7a66: First release
|
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ interface OpenSearchInstrumentationConfig extends InstrumentationConfig {
|
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/index.d.ts
|
|
14
|
-
declare class OpenSearchInstrumentation extends InstrumentationBase {
|
|
14
|
+
export declare class OpenSearchInstrumentation extends InstrumentationBase {
|
|
15
15
|
private readonly osConfig;
|
|
16
16
|
private _original;
|
|
17
17
|
constructor(config?: OpenSearchInstrumentationConfig);
|
|
@@ -20,5 +20,5 @@ declare class OpenSearchInstrumentation extends InstrumentationBase {
|
|
|
20
20
|
disable(): void;
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
|
-
export {
|
|
23
|
+
export type { OpenSearchInstrumentationConfig };
|
|
24
24
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"mappings":";;;;UAOiB,wCAAwC;EACvD,kCAAkC,QAAQ;EAC1C,eAAe,MAAM,MAAM,QAAQ;EACnC,gBAAgB,MAAM,MAAM,UAAU;EACtC;EACA;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"mappings":";;;;UAOiB,wCAAwC;EACvD,kCAAkC,QAAQ;EAC1C,eAAe,MAAM,MAAM,QAAQ;EACnC,gBAAgB,MAAM,MAAM,UAAU;EACtC;EACA;;;;qBCGW,kCAAkC;mBAC5B;UACT;EAER,YAAY,SAAQ;YAQV;EAED;EAWA"}
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { suppressTracing } from "@opentelemetry/core";
|
|
|
6
6
|
import { ATTR_DB_COLLECTION_NAME, ATTR_DB_OPERATION_NAME, ATTR_DB_QUERY_TEXT, ATTR_DB_SYSTEM_NAME, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_SERVER_ADDRESS, ATTR_SERVER_PORT } from "@opentelemetry/semantic-conventions";
|
|
7
7
|
//#region package.json
|
|
8
8
|
var name = "@sebspark/opentelemetry-instrumentation-opensearch";
|
|
9
|
-
var version = "0.3.
|
|
9
|
+
var version = "0.3.14";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/parse-path.ts
|
|
12
12
|
const METHOD_OPERATIONS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebspark/opentelemetry-instrumentation-opensearch",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -20,31 +20,36 @@
|
|
|
20
20
|
"lint": "biome check .",
|
|
21
21
|
"test": "vitest run --passWithNoTests --coverage",
|
|
22
22
|
"test:e2e": "vitest --config vitest.config.e2e.ts --run",
|
|
23
|
-
"typecheck": "vitest --typecheck.only --passWithNoTests"
|
|
23
|
+
"typecheck": "vitest --typecheck.only --passWithNoTests --run"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@opensearch-project/opensearch": ">=2",
|
|
27
27
|
"@opentelemetry/api": ">=1.9.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@opentelemetry/core": "2.
|
|
31
|
-
"@opentelemetry/instrumentation": "0.
|
|
30
|
+
"@opentelemetry/core": "2.11.0",
|
|
31
|
+
"@opentelemetry/instrumentation": "0.222.0",
|
|
32
32
|
"@opentelemetry/semantic-conventions": "1.43.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
+
"@biomejs/biome": "2.5.12",
|
|
35
36
|
"@opensearch-project/opensearch": "3.6.0",
|
|
36
37
|
"@opentelemetry/api": "1.9.1",
|
|
37
|
-
"@opentelemetry/instrumentation-http": "0.
|
|
38
|
-
"@opentelemetry/instrumentation-undici": "0.
|
|
39
|
-
"@opentelemetry/sdk-trace-base": "2.
|
|
40
|
-
"@opentelemetry/sdk-trace-node": "2.
|
|
41
|
-
"@
|
|
38
|
+
"@opentelemetry/instrumentation-http": "0.222.0",
|
|
39
|
+
"@opentelemetry/instrumentation-undici": "0.32.0",
|
|
40
|
+
"@opentelemetry/sdk-trace-base": "2.11.0",
|
|
41
|
+
"@opentelemetry/sdk-trace-node": "2.11.0",
|
|
42
|
+
"@sebspark/tsconfig": "*",
|
|
43
|
+
"@testcontainers/opensearch": "12.1.0",
|
|
44
|
+
"typescript": "7.0.2",
|
|
45
|
+
"vite": "8.2.2",
|
|
46
|
+
"vitest": "5.0.0"
|
|
42
47
|
},
|
|
43
48
|
"resolutions": {
|
|
44
|
-
"protobufjs": "8.
|
|
49
|
+
"protobufjs": "8.8.0"
|
|
45
50
|
},
|
|
46
51
|
"repository": {
|
|
47
52
|
"type": "git",
|
|
48
53
|
"url": "https://github.com/seb-oss/Spark-packages.git"
|
|
49
54
|
}
|
|
50
|
-
}
|
|
55
|
+
}
|