@crvouga/mockingbird-service-redis 2.18.1 → 2.19.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/dist/cli.js CHANGED
@@ -3,10 +3,10 @@ import "./chunk-22CTWFCU.js";
3
3
  import {
4
4
  serve,
5
5
  serveTarget
6
- } from "./chunk-RX6VEQSN.js";
6
+ } from "./chunk-3DWJY5YL.js";
7
7
  import {
8
8
  createRedis
9
- } from "./chunk-63SLX3Q5.js";
9
+ } from "./chunk-HQYU5DZF.js";
10
10
  import "./chunk-UUFJK44W.js";
11
11
  import "./chunk-WXBI6ZKL.js";
12
12
 
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  createRedis,
9
9
  manualClock,
10
10
  wallClock
11
- } from "./chunk-63SLX3Q5.js";
11
+ } from "./chunk-HQYU5DZF.js";
12
12
  import {
13
13
  encodeReply
14
14
  } from "./chunk-WXBI6ZKL.js";
package/dist/server.d.ts CHANGED
@@ -310,6 +310,7 @@ type FleetChild = {
310
310
  collection?: string;
311
311
  }): Promise<unknown>;
312
312
  configure?(namespace: string, controls: Record<string, unknown>): Promise<unknown>;
313
+ upstream?(namespace: string, settings?: Record<string, unknown>): Promise<Response>;
313
314
  unmatched?(namespace: string, limit: number): {
314
315
  entries: unknown[];
315
316
  truncated: boolean;
@@ -324,6 +325,10 @@ type FleetChild = {
324
325
 
325
326
  /** A service entry in `mockingbird.json`. */
326
327
  type ConfigService = {
328
+ upstream?: {
329
+ baseUrl: string;
330
+ mode?: "emulated" | "forward";
331
+ };
327
332
  /** Stable config key is the instance identity; target defaults to that key. */
328
333
  target?: string;
329
334
  publicOrigin?: string;
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  serve,
4
4
  serveTarget
5
- } from "./chunk-RX6VEQSN.js";
6
- import "./chunk-63SLX3Q5.js";
5
+ } from "./chunk-3DWJY5YL.js";
6
+ import "./chunk-HQYU5DZF.js";
7
7
  import {
8
8
  createRespServer
9
9
  } from "./chunk-UUFJK44W.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-redis",
3
- "version": "2.18.1",
3
+ "version": "2.19.1",
4
4
  "description": "In-process Redis RESP server for tests: strings, hashes, lists, sets, sorted sets, streams, transactions, pub/sub, and a Lua subset, with an injected clock. Not an HTTP emulator.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git+https://github.com/crvouga/mockingbird.git",
39
+ "url": "git+https://github.com/crvouga-organization/mockingbird.git",
40
40
  "directory": "packages/service/redis"
41
41
  },
42
- "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/redis#readme",
42
+ "homepage": "https://github.com/crvouga-organization/mockingbird/tree/main/packages/service/redis#readme",
43
43
  "keywords": [
44
44
  "mockingbird",
45
45
  "redis",
@@ -78,7 +78,7 @@
78
78
  "README.md public test controls",
79
79
  "SUPPORT.md compatibility and divergence evidence"
80
80
  ],
81
- "reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
81
+ "reporting": "https://github.com/crvouga-organization/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
82
82
  }
83
83
  },
84
84
  "scripts": {
@@ -92,7 +92,7 @@
92
92
  "parity:bullmq": "bun scripts/bullmq-parity.ts"
93
93
  },
94
94
  "dependencies": {
95
- "@crvouga/mockingbird-runtime": "0.2.1"
95
+ "@crvouga/mockingbird-runtime": "0.3.1"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@crvouga/mockingbird-adapter-node": "0.0.0-development",
@@ -101,6 +101,7 @@
101
101
  "bullmq": "5.76.2",
102
102
  "esbuild": "^0.28.2",
103
103
  "ioredis": "5.11.1",
104
- "ioredis-5-9": "npm:ioredis@5.9.2"
104
+ "ioredis-5-9": "npm:ioredis@5.9.2",
105
+ "@crvouga/mockingbird-core": "0.0.0-development"
105
106
  }
106
107
  }