@sebspark/socket.io-gcp-pubsub-emitter 1.0.29 → 1.0.30

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 ADDED
@@ -0,0 +1,279 @@
1
+ # @sebspark/socket.io-gcp-pubsub-emitter
2
+
3
+ ## 1.0.30
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
+ ## 1.0.29
13
+
14
+ ### Patch Changes
15
+
16
+ - eefb531: Updated dependencies
17
+
18
+ ## 1.0.28
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
+ ## 1.0.27
46
+
47
+ ### Patch Changes
48
+
49
+ - 3111112: Openapi client args are now PartiallySerialized
50
+
51
+ Also: dependency updates
52
+
53
+ ## 1.0.26
54
+
55
+ ### Patch Changes
56
+
57
+ - e0eda57: Updated dependencies
58
+
59
+ ## 1.0.25
60
+
61
+ ### Patch Changes
62
+
63
+ - 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.
64
+
65
+ Also update supporting dependencies across the affected packages.
66
+
67
+ ## 1.0.24
68
+
69
+ ### Patch Changes
70
+
71
+ - a6c27f3: Updated dependencies
72
+
73
+ ## 1.0.23
74
+
75
+ ### Patch Changes
76
+
77
+ - 97fe7da: Updated dependencies
78
+
79
+ ## 1.0.22
80
+
81
+ ### Patch Changes
82
+
83
+ - 264e665: Upgrade `redis` to v6 in `@sebspark/promise-cache` and bump minor dependencies across the workspace.
84
+
85
+ **Breaking change (`@sebspark/promise-cache`):**
86
+ `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.
87
+
88
+ **Dependency updates across packages:**
89
+ - `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)
90
+ - `redis`: `5.12.1` → `6.0.0` (otel, promise-cache)
91
+ - `tsdown`: `0.22.0` → `0.22.1` (tsconfig)
92
+ - `turbo` / `@turbo/gen`: `2.9.15` → `2.9.16`
93
+ - `webpack-cli`: `7.0.2` → `7.0.3` (avsc-isometric)
94
+
95
+ **Test fix (`@sebspark/promise-cache`):**
96
+ Pinned Redis container image tag to `redis:8.8-alpine` (was `redis:8-alpine`) to prevent floating-tag drift in e2e tests.
97
+
98
+ ## 1.0.21
99
+
100
+ ### Patch Changes
101
+
102
+ - 242eb33: This release primarily updates dependencies across the listed packages, including:
103
+ - Testcontainers v12 upgrades in packages that run integration/e2e tests.
104
+ - Vitest/Biome/Turbo and related tooling updates.
105
+ - Runtime dependency updates such as `date-fns`, `@inquirer/*`, `socket.io-adapter`, and `ws`.
106
+
107
+ It also includes two targeted fixes:
108
+ - `@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.
109
+ - `@sebspark/health-check`: updated the e2e readiness payload assertions and type-only import usage to match current runtime output and TypeScript expectations.
110
+
111
+ ## 1.0.20
112
+
113
+ ### Patch Changes
114
+
115
+ - 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`.
116
+
117
+ ## 1.0.19
118
+
119
+ ### Patch Changes
120
+
121
+ - 41bb8f2: ### `@sebspark/openapi-core`
122
+
123
+ `fromAxiosError` no longer references the `AxiosError` type in its signature. It now accepts `unknown` and uses a local duck-typed interface to extract the relevant fields. This removes the `axios` import from the published `dist/index.d.mts`, preventing downstream bundlers (rolldown/tsdown) from treating `AxiosError` as a missing value export.
124
+
125
+ ### `@sebspark/tsconfig`
126
+
127
+ Added `verbatimModuleSyntax: true` to `base.json`. All packages in the monorepo now emit `import type` modifiers correctly and TypeScript enforces type-only imports at typecheck time.
128
+
129
+ ### `@sebspark/openapi-client`
130
+
131
+ Updated `fromAxiosError` call site to pass `error` directly as `unknown` instead of casting to `AxiosError`.
132
+
133
+ ### Other packages
134
+
135
+ Dependency updates.
136
+
137
+ ## 1.0.18
138
+
139
+ ### Patch Changes
140
+
141
+ - a62ddaa: Updated vulnerable dependencies
142
+
143
+ ## 1.0.17
144
+
145
+ ### Patch Changes
146
+
147
+ - 7d8cc98: Dependabot dependency updates
148
+
149
+ ## 1.0.16
150
+
151
+ ### Patch Changes
152
+
153
+ - 4e12590: Updated dependencies
154
+
155
+ ## 1.0.15
156
+
157
+ ### Patch Changes
158
+
159
+ - 6d72f97: Updated dependencies
160
+
161
+ ## 1.0.14
162
+
163
+ ### Patch Changes
164
+
165
+ - 736a0b3: No bundling of packages in packages
166
+
167
+ ## 1.0.13
168
+
169
+ ### Patch Changes
170
+
171
+ - 112a381: Updated dependencies
172
+
173
+ ## 1.0.12
174
+
175
+ ### Patch Changes
176
+
177
+ - 35ec1a0: Updated dependencies
178
+
179
+ ## 1.0.11
180
+
181
+ ### Patch Changes
182
+
183
+ - c8dcadb: Updated dependencies
184
+
185
+ ## 1.0.10
186
+
187
+ ### Patch Changes
188
+
189
+ - 11a11ce: Updated dependencies
190
+
191
+ ## 1.0.8
192
+
193
+ ### Patch Changes
194
+
195
+ - 48ab717: Updated dependencies
196
+
197
+ ## 1.0.7
198
+
199
+ ### Patch Changes
200
+
201
+ - 87c769d: Updated dependencies
202
+
203
+ ## 1.0.6
204
+
205
+ ### Patch Changes
206
+
207
+ - e0cb5ee: Updated build from tsup to tsdown
208
+
209
+ ## 1.0.5
210
+
211
+ ### Patch Changes
212
+
213
+ - 8626deb: Updated vulnerable, transitive jws dependency
214
+
215
+ ## 1.0.4
216
+
217
+ ### Patch Changes
218
+
219
+ - 7df8217: Updated dependencies
220
+
221
+ ## 1.0.3
222
+
223
+ ### Patch Changes
224
+
225
+ - 4b210c2: Standardized on a common build script
226
+
227
+ ## 1.0.2
228
+
229
+ ### Patch Changes
230
+
231
+ - 7e5c2e9: Switched to new tsconfig with moduleResolution=bundler
232
+
233
+ ## 1.0.1
234
+
235
+ ### Patch Changes
236
+
237
+ - d801e1e: Updated dependencies and fixed some exports
238
+
239
+ ## 1.0.0
240
+
241
+ ### Major Changes
242
+
243
+ - 0864ec2: ESM only. Minimum node version 22
244
+
245
+ ## 0.1.5
246
+
247
+ ### Patch Changes
248
+
249
+ - 3a40e49: Cleaned up dependencies
250
+
251
+ ## 0.1.4
252
+
253
+ ### Patch Changes
254
+
255
+ - 604c94a: Updated dependencies
256
+
257
+ ## 0.1.3
258
+
259
+ ### Patch Changes
260
+
261
+ - 29b9b20: Updated dependencies
262
+
263
+ ## 0.1.2
264
+
265
+ ### Patch Changes
266
+
267
+ - 5c6e183: Updated dependencies
268
+
269
+ ## 0.1.1
270
+
271
+ ### Patch Changes
272
+
273
+ - d8dcd5d: Updates google-cloud/pubsub to match all between all the packages
274
+
275
+ ## 0.1.0
276
+
277
+ ### Minor Changes
278
+
279
+ - 05d2535: First version of socket.io PubSub emitter
package/dist/index.d.mts CHANGED
@@ -97,7 +97,7 @@ declare class BroadcastOperator<EmitEvents extends EventsMap> implements TypedEv
97
97
  }
98
98
  //#endregion
99
99
  //#region src/emitter.d.ts
100
- declare class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
100
+ export declare class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
101
101
  readonly topic: Topic;
102
102
  readonly nsp: string;
103
103
  private readonly opts;
@@ -160,5 +160,4 @@ declare class Emitter<EmitEvents extends EventsMap = DefaultEventsMap> {
160
160
  compress(compress: boolean): BroadcastOperator<EmitEvents>;
161
161
  }
162
162
  //#endregion
163
- export { Emitter };
164
163
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/typed-events.ts","../src/types.ts","../src/operator.ts","../src/emitter.ts"],"mappings":";;;;;;UAIiB;GAEd;;;;;;UAOc;GACd,oBAAoB;;;;;KAMX,WAAW,YAAY,mBAAmB;;KAG1C,YACV,YAAY,WACZ,WAAW,WAAW,QACpB,WAAW,IAAI;;;;;UAMF,sBAAsB,mBAAmB;EACxD,KAAK,WAAW,WAAW,aACzB,IAAI,OACD,MAAM,YAAY,YAAY;;;;KClBzB;UAEK;EACf;;UAGe;EACf;EACA;;;;cCNW,kBAAkB,mBAAmB,sBACrC,sBAAsB;mBAGd;mBACA;mBACA;mBACA;mBACA;EAJA,YAAA,OAAO,OACP,kBAAkB,kBAClB,QAAO,aACP,cAAa,aACb,QAAO;;;;;;;EASnB,KAAK,WAAW,WAAW,aAChC,IAAI,OACD,MAAM,YAAY,YAAY;;;;;;;;EAiD5B,GAAG,0BAA0B,kBAAkB;;;;;;;;EAyB/C,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,OAAO,0BAA0B,kBAAkB;;;;;;;;EAyBnD,SAAS,oBAAoB,kBAAkB;;;;;;;;;MAmB3C,YAAY,kBAAkB;;;;cC7J9B,QAAQ,mBAAmB,YAAY;WAKvC,OAAO;WAEP;mBANM;mBACA;EAGN,YAAA,OAAO,OAChB,OAAO,gBACE;;;;;;;EAcJ,KAAK,WAAW,WAAW,aAChC,IAAI,OACD,MAAM,YAAY,YAAY;;;;;;;EAc5B,GAAG,cAAc,QAAQ;;;;;;;;EAWzB,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,OAAO,0BAA0B,kBAAkB;;;;;;;;;MAY/C,YAAY,kBAAkB;;;;;;;;EAWlC,SAAS,oBAAoB,kBAAkB"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/typed-events.ts","../src/types.ts","../src/operator.ts","../src/emitter.ts"],"mappings":";;;;;;UAIiB;GAEd;;;;;;UAOc;GACd,oBAAoB;;;;;KAMX,WAAW,YAAY,mBAAmB;;KAG1C,YACV,YAAY,WACZ,WAAW,WAAW,QACpB,WAAW,IAAI;;;;;UAMF,sBAAsB,mBAAmB;EACxD,KAAK,WAAW,WAAW,aACzB,IAAI,OACD,MAAM,YAAY,YAAY;;;;KClBzB;UAEK;EACf;;UAGe;EACf;EACA;;;;cCNW,kBAAkB,mBAAmB,sBACrC,sBAAsB;mBAGd;mBACA;mBACA;mBACA;mBACA;EALnB,YACmB,OAAO,OACP,kBAAkB,kBAClB,QAAO,aACP,cAAa,aACb,QAAO;;;;;;;EASnB,KAAK,WAAW,WAAW,aAChC,IAAI,OACD,MAAM,YAAY,YAAY;;;;;;;;EAiD5B,GAAG,0BAA0B,kBAAkB;;;;;;;;EAyB/C,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,OAAO,0BAA0B,kBAAkB;;;;;;;;EAyBnD,SAAS,oBAAoB,kBAAkB;;;;;;;;;MAmB3C,YAAY,kBAAkB;;;;qBC7J9B,QAAQ,mBAAmB,YAAY;WAKvC,OAAO;WAEP;mBANM;mBACA;EAEjB,YACW,OAAO,OAChB,OAAO,gBACE;;;;;;;EAcJ,KAAK,WAAW,WAAW,aAChC,IAAI,OACD,MAAM,YAAY,YAAY;;;;;;;EAc5B,GAAG,cAAc,QAAQ;;;;;;;;EAWzB,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,GAAG,0BAA0B,kBAAkB;;;;;;;;EAW/C,OAAO,0BAA0B,kBAAkB;;;;;;;;;MAY/C,YAAY,kBAAkB;;;;;;;;EAWlC,SAAS,oBAAoB,kBAAkB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/socket.io-gcp-pubsub-emitter",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -20,27 +20,32 @@
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
  "devDependencies": {
26
+ "@biomejs/biome": "2.5.12",
27
+ "@sebspark/tsconfig": "*",
26
28
  "@socket.io/gcp-pubsub-adapter": "0.1.0",
27
29
  "@testcontainers/gcloud": "12.1.0",
28
30
  "find-free-ports": "3.1.1",
29
31
  "socket.io": "4.8.3",
30
- "socket.io-client": "4.8.3"
32
+ "socket.io-client": "4.8.3",
33
+ "typescript": "7.0.2",
34
+ "vite": "8.2.2",
35
+ "vitest": "5.0.0"
31
36
  },
32
37
  "dependencies": {
33
- "@google-cloud/pubsub": "6.0.0",
38
+ "@google-cloud/pubsub": "6.0.1",
34
39
  "@msgpack/msgpack": "3.1.3",
35
40
  "socket.io-adapter": "2.5.8",
36
- "uuid": "14.0.1"
41
+ "uuid": "14.0.2"
37
42
  },
38
43
  "resolutions": {
39
- "protobufjs": "8.6.5",
44
+ "protobufjs": "8.8.0",
40
45
  "socket.io-parser": "4.2.7"
41
46
  },
42
47
  "repository": {
43
48
  "type": "git",
44
49
  "url": "https://github.com/seb-oss/Spark-packages.git"
45
50
  }
46
- }
51
+ }