@sebspark/test-iap 1.0.29 → 1.0.31

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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @sebspark/test-iap
2
2
 
3
+ ## 1.0.31
4
+
5
+ ### Patch Changes
6
+
7
+ - 7db408f: feat(opensearch): type `aggs`/`aggregations` in `SearchRequestBody<T>` against the index mapping. Restores `field` and `script` on `max`, `min`, `sum`, `avg`, `value_count`, `cardinality` and `terms`, which `@opensearch-project/opensearch` 3.9.0 dropped (opensearch-project/opensearch-js#1154). `field` on these and on `date_histogram`, `date_range` and `range` autocompletes paths from the mapping and accepts any other field name. `filter` takes an index-aware query, `top_hits` gets index-aware `sort`/`_source`, and sub-aggregations are typed recursively. Other aggregations keep their upstream types. `AggregationContainer<T>` is exported for typing individual aggregations.
8
+
9
+ feat(opensearch): the typing never blocks a request OpenSearch accepts. Fields that are not in the mapping (e.g. added by dynamic mapping) are accepted in `query`, `sort`, `_source`, `collapse`, `highlight`, aggregation `field`/`filter` and `top_hits` `sort`/`_source`; mapped fields still autocomplete. `DocumentFor<T>` accepts fields that are not in the mapping as `unknown`, so `index`, `bulk` and the bulk helpers take documents with extra fields. A generic `SearchRequest<T>` can be passed to the upstream `Client`.
10
+
11
+ fix(opensearch): sort accepts the direction shorthand (`{ age: 'desc' }`), `knn_vector` fields map to `number[]` in `DocumentFor`, `knn.filter` is a single query instead of an array, and `script_score.query` is required. OpenSearch rejects both an array `knn.filter` and a `script_score` without `query`, so only requests that already failed at runtime stop compiling. To migrate, combine several knn filters in one `bool` query (`filter: { bool: { filter: [...] } }`), and add `query: { match_all: {} }` to a `script_score` that had none.
12
+
13
+ chore(deps): update dependencies
14
+ - `@google-cloud/pubsub` 6.3.1 → 6.3.2
15
+ - `@inquirer/figures` 2.0.9 → 2.0.10
16
+ - `@inquirer/prompts` 8.7.4 → 8.7.5
17
+ - `@opentelemetry/semantic-conventions` 1.43.0 → 1.44.0
18
+ - `redis` 6.3.0 → 6.3.1
19
+ - `tsdown` 0.23.1 → 0.23.4
20
+
21
+ fix: dependency issues found by knip
22
+ - `@sebspark/promise-cache`: drop the unused `@sebspark/otel`
23
+ - `@sebspark/socket.io-gcp-pubsub-emitter`: drop the unused `uuid`
24
+ - `@sebspark/memredis`: derive `GetExOptions` from `redis` instead of importing the unlisted `@redis/client` internals
25
+
26
+ fix(test-iap): the default base image of `TestIapContainer` is now `node:26.13.0-alpine`, pinned by digest, instead of the floating `node:22-alpine`. Use `withBaseImage()` to choose another image.
27
+
28
+ ## 1.0.30
29
+
30
+ ### Patch Changes
31
+
32
+ - b3778cd: chore(deps): bump jose from 6.2.13 to 6.2.14
33
+
3
34
  ## 1.0.29
4
35
 
5
36
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/server.ts","../src/test-iap-container.ts"],"mappings":";;KAOY;UACK;EACf;EACA,OAAO;EACP;;qBCGW,oBAAiB,QAAY,gBAAW,KAAA,cAAA,KAAA,wBAAA,KAAA;qBCDxC;UACH;UACA;UACA;UACA;UACA;UACA;UACA;EAED,cAAc;EAId,SAAS;EAKT,WAAW;EAUX,SAAS,MAAM;EAKf,eAAe;EAUf,YAAY,SAAS;EAKrB,WAAW,QAAQ;EAKb,SAAS,QAAQ;;qBAoEnB,gCAAgC;mBAGxB;EAFnB,YACE,SAAS,sBACQ;EAIZ"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/server.ts","../src/test-iap-container.ts"],"mappings":";;KAOY;UACK;EACf;EACA,OAAO;EACP;;qBCGW,oBAAiB,QAAY,gBAAW,KAAA,cAAA,KAAA,wBAAA,KAAA;qBCDxC;UACH;UAEA;UACA;UACA;UACA;UACA;UACA;EAED,cAAc;EAId,SAAS;EAKT,WAAW;EAUX,SAAS,MAAM;EAKf,eAAe;EAUf,YAAY,SAAS;EAKrB,WAAW,QAAQ;EAKb,SAAS,QAAQ;;qBAoEnB,gCAAgC;mBAGxB;EAFnB,YACE,SAAS,sBACQ;EAIZ"}
package/dist/index.mjs CHANGED
@@ -38,7 +38,7 @@ const tryResolveNearSelf = (specifier) => {
38
38
  };
39
39
  // src/test-iap-container.ts
40
40
  var TestIapContainer = class {
41
- baseImage = "node:22-alpine";
41
+ baseImage = "node:26.13.0-alpine@sha256:c6ad9e9c1d80f6eb607c26b4b0a132ff7a2344fad1c78ea3baa2a7d4c8de6d94";
42
42
  port = 3e3;
43
43
  target;
44
44
  mode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/build-helpers.ts","../src/test-iap-container.ts"],"sourcesContent":["import { createRequire } from 'node:module'\nimport path from 'node:path'\nimport { fileURLToPath, pathToFileURL } from 'node:url'\n\n/**\n * Works in both CJS and ESM without tripping bundlers:\n * - CJS: derives from __filename\n * - ESM: evals import.meta.url so it's not statically analyzed\n */\nexport const getThisFileUrl = (): string => {\n if (typeof __filename !== 'undefined') {\n return pathToFileURL(__filename).href\n }\n // biome-ignore lint/security/noGlobalEval: needed for cjs/esm compatibility\n // biome-ignore lint/complexity/noCommaOperator: needed for cjs/esm compatibility\n return (0, eval)('import.meta.url') as string\n}\n\n/** Directory of the current compiled file (e.g., your package's dist dir) */\nexport const getThisDir = (): string =>\n path.dirname(fileURLToPath(getThisFileUrl()))\n\n/** A require() that works in both CJS and ESM builds */\nexport const getRequireCompat = (): ReturnType<typeof createRequire> =>\n typeof require === 'function' ? require : createRequire(getThisFileUrl())\n\n/**\n * Resolve a module specifier relative to this package’s installed location.\n * Example: resolveNearSelf('jose/package.json')\n */\nexport const resolveNearSelf = (specifier: string): string => {\n const req = getRequireCompat()\n return req.resolve(specifier, { paths: [getThisDir()] })\n}\n\n/** Safe resolve: returns undefined if not found */\nexport const tryResolveNearSelf = (specifier: string): string | undefined => {\n try {\n return resolveNearSelf(specifier)\n } catch {\n return undefined\n }\n}\n","import assert from 'node:assert'\nimport fs from 'node:fs'\n// src/test-iap-container.ts\nimport path from 'node:path'\nimport {\n AbstractStartedContainer,\n GenericContainer,\n type StartedNetwork,\n type StartedTestContainer,\n} from 'testcontainers'\nimport { getThisDir, tryResolveNearSelf } from './build-helpers'\nimport type { Mode } from './types'\n\nexport class TestIapContainer {\n private baseImage = 'node:22-alpine'\n private port = 3000\n private target?: string\n private mode?: Mode\n private downstream?: string\n private network?: StartedNetwork\n private labels: Record<string, string> = {}\n\n public withBaseImage(image: string) {\n this.baseImage = image\n return this\n }\n public withPort(port: number) {\n this.port = port\n return this\n }\n\n public withTarget(url: string) {\n const u = new URL(url)\n assert(\n ['http:', 'https:', 'ws:', 'wss:'].includes(u.protocol),\n 'target must be absolute http(s):// or ws(s)://'\n )\n this.target = u.toString()\n return this\n }\n\n public withMode(mode: Mode) {\n this.mode = mode\n return this\n }\n\n public withDownstream(url: string) {\n const u = new URL(url)\n assert(\n ['http:', 'https:'].includes(u.protocol),\n 'downstream must be absolute http(s)://'\n )\n this.downstream = u.toString()\n return this\n }\n\n public withNetwork(network: StartedNetwork) {\n this.network = network\n return this\n }\n\n public withLabels(labels: Record<string, string>) {\n this.labels = labels\n return this\n }\n\n public async start(): Promise<StartedTestIapContainer> {\n assert(this.target, 'withTarget(...) is required')\n\n const resolvedMode: Mode =\n this.mode ?? (this.downstream ? 'downstream' : 'local')\n if (resolvedMode === 'downstream') {\n assert(\n this.downstream,\n 'withDownstream(...) is required when mode=downstream'\n )\n }\n\n // directory of the installed package's compiled files (dist)\n const distDir = path.join(getThisDir(), '../dist')\n assert(fs.existsSync(distDir), `dist directory not found: ${distDir}`)\n\n // prefer start.mjs, then start.js\n const startMjs = path.join(distDir, 'start.mjs')\n const startJs = path.join(distDir, 'start.js')\n\n const hasStartMjs = fs.existsSync(startMjs)\n const hasStartJs = fs.existsSync(startJs)\n\n if (!hasStartMjs && !hasStartJs) {\n throw new Error(`Could not find ${startMjs} or ${startJs}`)\n }\n\n const entry = hasStartMjs ? '/app/dist/start.mjs' : '/app/dist/start.js'\n\n // mount dist + the installed 'jose' module so imports work inside the container\n const josePkgPath = tryResolveNearSelf('jose/package.json')\n if (!josePkgPath) {\n throw new Error(\n 'Could not resolve \"jose\" next to @sebspark/test-iap. ' +\n 'Ensure \"jose\" is installed as a dependency in the same project that installs @sebspark/test-iap.'\n )\n }\n const joseDir = path.dirname(josePkgPath)\n\n const binds = [\n { source: distDir, target: '/app/dist' },\n { source: joseDir, target: '/app/node_modules/jose' },\n ]\n\n const env: Record<string, string> = {\n TARGET: this.target as string,\n MODE: resolvedMode,\n PORT: String(this.port),\n }\n if (resolvedMode === 'downstream' && this.downstream) {\n env.DOWNSTREAM = this.downstream\n }\n\n const gc = new GenericContainer(this.baseImage)\n .withWorkingDir('/app')\n .withBindMounts(binds)\n .withExposedPorts(this.port)\n .withEnvironment(env)\n .withLabels(this.labels)\n .withCommand(['node', entry])\n\n if (this.network) gc.withNetwork(this.network)\n\n const started = await gc.start()\n return new StartedTestIapContainer(started, this.port)\n }\n}\n\nexport class StartedTestIapContainer extends AbstractStartedContainer {\n constructor(\n started: StartedTestContainer,\n private readonly internalPort: number\n ) {\n super(started)\n }\n public getEndpoint() {\n return `${this.getHost()}:${this.getMappedPort(this.internalPort)}`\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AASA,MAAa,uBAA+B;CAC1C,IAAI,OAAO,eAAe,aACxB,OAAO,cAAc,UAAU,CAAC,CAAC;CAInC,QAAQ,GAAG,KAAA,CAAM,iBAAiB;AACpC;;AAGA,MAAa,mBACX,KAAK,QAAQ,cAAc,eAAe,CAAC,CAAC;;AAG9C,MAAa,yBACX,OAAA,cAAmB,aAAA,YAAuB,cAAc,eAAe,CAAC;;;;;AAM1E,MAAa,mBAAmB,cAA8B;CAE5D,OADY,iBACH,CAAC,CAAC,QAAQ,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;AACzD;;AAGA,MAAa,sBAAsB,cAA0C;CAC3E,IAAI;EACF,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AAI,MAAM,kBAAkB,SAAS,MAAM,SAAS;EAG5D,MAAM,QAAQ,cAAc,wBAAwB;EAGpD,MAAM,cAAc,mBAAmB,mBAAmB;EAC1D,IAAI,CAAC,aACH,MAAM,IAAI,MACR,2JAEF;EAEF,MAAM,UAAU,KAAK,QAAQ,WAAW;EAExC,MAAM,QAAQ,CACZ;GAAE,QAAQ;GAAS,QAAQ;EAAY,GACvC;GAAE,QAAQ;GAAS,QAAQ;EAAyB,CACtD;EAEA,MAAM,MAA8B;GAClC,QAAQ,KAAK;GACb,MAAM;GACN,MAAM,OAAO,KAAK,IAAI;EACxB;EACA,IAAI,iBAAiB,gBAAgB,KAAK,YACxC,IAAI,aAAa,KAAK;EAGxB,MAAM,KAAK,IAAI,iBAAiB,KAAK,SAAS,CAAC,CAC5C,eAAe,MAAM,CAAC,CACtB,eAAe,KAAK,CAAC,CACrB,iBAAiB,KAAK,IAAI,CAAC,CAC3B,gBAAgB,GAAG,CAAC,CACpB,WAAW,KAAK,MAAM,CAAC,CACvB,YAAY,CAAC,QAAQ,KAAK,CAAC;EAE9B,IAAI,KAAK,SAAS,GAAG,YAAY,KAAK,OAAO;EAG7C,OAAO,IAAI,wBAAwB,MADb,GAAG,MAAM,GACa,KAAK,IAAI;CACvD;AACF;AAEA,IAAa,0BAAb,cAA6C,yBAAyB;CAGjD;CAFnB,YACE,SACA,cACA;EACA,MAAM,OAAO;EAFI,KAAA,eAAA;CAGnB;CACA,cAAqB;EACnB,OAAO,GAAG,KAAK,QAAQ,EAAE,GAAG,KAAK,cAAc,KAAK,YAAY;CAClE;AACF"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/build-helpers.ts","../src/test-iap-container.ts"],"sourcesContent":["import { createRequire } from 'node:module'\nimport path from 'node:path'\nimport { fileURLToPath, pathToFileURL } from 'node:url'\n\n/**\n * Works in both CJS and ESM without tripping bundlers:\n * - CJS: derives from __filename\n * - ESM: evals import.meta.url so it's not statically analyzed\n */\nexport const getThisFileUrl = (): string => {\n if (typeof __filename !== 'undefined') {\n return pathToFileURL(__filename).href\n }\n // biome-ignore lint/security/noGlobalEval: needed for cjs/esm compatibility\n // biome-ignore lint/complexity/noCommaOperator: needed for cjs/esm compatibility\n return (0, eval)('import.meta.url') as string\n}\n\n/** Directory of the current compiled file (e.g., your package's dist dir) */\nexport const getThisDir = (): string =>\n path.dirname(fileURLToPath(getThisFileUrl()))\n\n/** A require() that works in both CJS and ESM builds */\nexport const getRequireCompat = (): ReturnType<typeof createRequire> =>\n typeof require === 'function' ? require : createRequire(getThisFileUrl())\n\n/**\n * Resolve a module specifier relative to this package’s installed location.\n * Example: resolveNearSelf('jose/package.json')\n */\nexport const resolveNearSelf = (specifier: string): string => {\n const req = getRequireCompat()\n return req.resolve(specifier, { paths: [getThisDir()] })\n}\n\n/** Safe resolve: returns undefined if not found */\nexport const tryResolveNearSelf = (specifier: string): string | undefined => {\n try {\n return resolveNearSelf(specifier)\n } catch {\n return undefined\n }\n}\n","import assert from 'node:assert'\nimport fs from 'node:fs'\n// src/test-iap-container.ts\nimport path from 'node:path'\nimport {\n AbstractStartedContainer,\n GenericContainer,\n type StartedNetwork,\n type StartedTestContainer,\n} from 'testcontainers'\nimport { getThisDir, tryResolveNearSelf } from './build-helpers'\nimport type { Mode } from './types'\n\nexport class TestIapContainer {\n private baseImage =\n 'node:26.13.0-alpine@sha256:c6ad9e9c1d80f6eb607c26b4b0a132ff7a2344fad1c78ea3baa2a7d4c8de6d94'\n private port = 3000\n private target?: string\n private mode?: Mode\n private downstream?: string\n private network?: StartedNetwork\n private labels: Record<string, string> = {}\n\n public withBaseImage(image: string) {\n this.baseImage = image\n return this\n }\n public withPort(port: number) {\n this.port = port\n return this\n }\n\n public withTarget(url: string) {\n const u = new URL(url)\n assert(\n ['http:', 'https:', 'ws:', 'wss:'].includes(u.protocol),\n 'target must be absolute http(s):// or ws(s)://'\n )\n this.target = u.toString()\n return this\n }\n\n public withMode(mode: Mode) {\n this.mode = mode\n return this\n }\n\n public withDownstream(url: string) {\n const u = new URL(url)\n assert(\n ['http:', 'https:'].includes(u.protocol),\n 'downstream must be absolute http(s)://'\n )\n this.downstream = u.toString()\n return this\n }\n\n public withNetwork(network: StartedNetwork) {\n this.network = network\n return this\n }\n\n public withLabels(labels: Record<string, string>) {\n this.labels = labels\n return this\n }\n\n public async start(): Promise<StartedTestIapContainer> {\n assert(this.target, 'withTarget(...) is required')\n\n const resolvedMode: Mode =\n this.mode ?? (this.downstream ? 'downstream' : 'local')\n if (resolvedMode === 'downstream') {\n assert(\n this.downstream,\n 'withDownstream(...) is required when mode=downstream'\n )\n }\n\n // directory of the installed package's compiled files (dist)\n const distDir = path.join(getThisDir(), '../dist')\n assert(fs.existsSync(distDir), `dist directory not found: ${distDir}`)\n\n // prefer start.mjs, then start.js\n const startMjs = path.join(distDir, 'start.mjs')\n const startJs = path.join(distDir, 'start.js')\n\n const hasStartMjs = fs.existsSync(startMjs)\n const hasStartJs = fs.existsSync(startJs)\n\n if (!hasStartMjs && !hasStartJs) {\n throw new Error(`Could not find ${startMjs} or ${startJs}`)\n }\n\n const entry = hasStartMjs ? '/app/dist/start.mjs' : '/app/dist/start.js'\n\n // mount dist + the installed 'jose' module so imports work inside the container\n const josePkgPath = tryResolveNearSelf('jose/package.json')\n if (!josePkgPath) {\n throw new Error(\n 'Could not resolve \"jose\" next to @sebspark/test-iap. ' +\n 'Ensure \"jose\" is installed as a dependency in the same project that installs @sebspark/test-iap.'\n )\n }\n const joseDir = path.dirname(josePkgPath)\n\n const binds = [\n { source: distDir, target: '/app/dist' },\n { source: joseDir, target: '/app/node_modules/jose' },\n ]\n\n const env: Record<string, string> = {\n TARGET: this.target as string,\n MODE: resolvedMode,\n PORT: String(this.port),\n }\n if (resolvedMode === 'downstream' && this.downstream) {\n env.DOWNSTREAM = this.downstream\n }\n\n const gc = new GenericContainer(this.baseImage)\n .withWorkingDir('/app')\n .withBindMounts(binds)\n .withExposedPorts(this.port)\n .withEnvironment(env)\n .withLabels(this.labels)\n .withCommand(['node', entry])\n\n if (this.network) gc.withNetwork(this.network)\n\n const started = await gc.start()\n return new StartedTestIapContainer(started, this.port)\n }\n}\n\nexport class StartedTestIapContainer extends AbstractStartedContainer {\n constructor(\n started: StartedTestContainer,\n private readonly internalPort: number\n ) {\n super(started)\n }\n public getEndpoint() {\n return `${this.getHost()}:${this.getMappedPort(this.internalPort)}`\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AASA,MAAa,uBAA+B;CAC1C,IAAI,OAAO,eAAe,aACxB,OAAO,cAAc,UAAU,CAAC,CAAC;CAInC,QAAQ,GAAG,KAAA,CAAM,iBAAiB;AACpC;;AAGA,MAAa,mBACX,KAAK,QAAQ,cAAc,eAAe,CAAC,CAAC;;AAG9C,MAAa,yBACX,OAAA,cAAmB,aAAA,YAAuB,cAAc,eAAe,CAAC;;;;;AAM1E,MAAa,mBAAmB,cAA8B;CAE5D,OADY,iBACH,CAAC,CAAC,QAAQ,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;AACzD;;AAGA,MAAa,sBAAsB,cAA0C;CAC3E,IAAI;EACF,OAAO,gBAAgB,SAAS;CAClC,QAAQ;EACN;CACF;AACF;;AC7BA,IAAa,mBAAb,MAA8B;CAC5B,YACE;CACF,OAAe;CACf;CACA;CACA;CACA;CACA,SAAyC,CAAC;CAE1C,cAAqB,OAAe;EAClC,KAAK,YAAY;EACjB,OAAO;CACT;CACA,SAAgB,MAAc;EAC5B,KAAK,OAAO;EACZ,OAAO;CACT;CAEA,WAAkB,KAAa;EAC7B,MAAM,IAAI,IAAI,IAAI,GAAG;EACrB,OACE;GAAC;GAAS;GAAU;GAAO;EAAM,CAAC,CAAC,SAAS,EAAE,QAAQ,GACtD,gDACF;EACA,KAAK,SAAS,EAAE,SAAS;EACzB,OAAO;CACT;CAEA,SAAgB,MAAY;EAC1B,KAAK,OAAO;EACZ,OAAO;CACT;CAEA,eAAsB,KAAa;EACjC,MAAM,IAAI,IAAI,IA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C,CACrB,iBAAiB,KAAK,IAAI,CAAC,CAC3B,gBAAgB,GAAG,CAAC,CACpB,WAAW,KAAK,MAAM,CAAC,CACvB,YAAY,CAAC,QAAQ,KAAK,CAAC;EAE9B,IAAI,KAAK,SAAS,GAAG,YAAY,KAAK,OAAO;EAG7C,OAAO,IAAI,wBAAwB,MADb,GAAG,MAAM,GACa,KAAK,IAAI;CACvD;AACF;AAEA,IAAa,0BAAb,cAA6C,yBAAyB;CAGjD;CAFnB,YACE,SACA,cACA;EACA,MAAM,OAAO;EAFI,KAAA,eAAA;CAGnB;CACA,cAAqB;EACnB,OAAO,GAAG,KAAK,QAAQ,EAAE,GAAG,KAAK,cAAc,KAAK,YAAY;CAClE;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/test-iap",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -24,12 +24,12 @@
24
24
  "typecheck": "vitest --typecheck.only --passWithNoTests --run"
25
25
  },
26
26
  "dependencies": {
27
- "jose": "6.2.13",
27
+ "jose": "6.2.14",
28
28
  "testcontainers": "12.2.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@biomejs/biome": "2.6.3",
32
- "@sebspark/tsconfig": "3.0.26",
31
+ "@biomejs/biome": "2.6.4",
32
+ "@sebspark/tsconfig": "3.0.28",
33
33
  "@types/ws": "8.18.2",
34
34
  "nock": "15.0.5",
35
35
  "typescript": "7.0.2",