@sebspark/test-iap 1.0.27 → 1.0.28

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,11 @@
1
1
  # @sebspark/test-iap
2
2
 
3
+ ## 1.0.28
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f44fbd: Updated dependencies
8
+
3
9
  ## 1.0.27
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -19,12 +19,14 @@ export declare class TestIapContainer {
19
19
  private mode?;
20
20
  private downstream?;
21
21
  private network?;
22
+ private labels;
22
23
  withBaseImage(image: string): this;
23
24
  withPort(port: number): this;
24
25
  withTarget(url: string): this;
25
26
  withMode(mode: Mode): this;
26
27
  withDownstream(url: string): this;
27
28
  withNetwork(network: StartedNetwork): this;
29
+ withLabels(labels: Record<string, string>): this;
28
30
  start(): Promise<StartedTestIapContainer>;
29
31
  }
30
32
  export declare class StartedTestIapContainer extends AbstractStartedContainer {
@@ -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;EAED,cAAc;EAId,SAAS;EAKT,WAAW;EAUX,SAAS,MAAM;EAKf,eAAe;EAUf,YAAY,SAAS;EAKf,SAAS,QAAQ;;qBAmEnB,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;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"}
package/dist/index.mjs CHANGED
@@ -46,6 +46,7 @@ var TestIapContainer = class {
46
46
  mode;
47
47
  downstream;
48
48
  network;
49
+ labels = {};
49
50
  withBaseImage(image) {
50
51
  this.baseImage = image;
51
52
  return this;
@@ -79,6 +80,10 @@ var TestIapContainer = class {
79
80
  this.network = network;
80
81
  return this;
81
82
  }
83
+ withLabels(labels) {
84
+ this.labels = labels;
85
+ return this;
86
+ }
82
87
  async start() {
83
88
  assert(this.target, "withTarget(...) is required");
84
89
  const resolvedMode = this.mode ?? (this.downstream ? "downstream" : "local");
@@ -107,7 +112,7 @@ var TestIapContainer = class {
107
112
  PORT: String(this.port)
108
113
  };
109
114
  if (resolvedMode === "downstream" && this.downstream) env.DOWNSTREAM = this.downstream;
110
- const gc = new GenericContainer(this.baseImage).withWorkingDir("/app").withBindMounts(binds).withExposedPorts(this.port).withEnvironment(env).withCommand(["node", entry]);
115
+ const gc = new GenericContainer(this.baseImage).withWorkingDir("/app").withBindMounts(binds).withExposedPorts(this.port).withEnvironment(env).withLabels(this.labels).withCommand(["node", entry]);
111
116
  if (this.network) gc.withNetwork(this.network);
112
117
  return new StartedTestIapContainer(await gc.start(), this.port);
113
118
  }
@@ -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\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 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 .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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yB;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 = '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,OAAO,gBAAgB,SAAS;CAClC,QAAQ;EACN;CACF;AACF;;;AC7BA,IAAa,mBAAb,MAA8B;CAC5B,YAAoB;CACpB,OAAe;CACf;CACA;CACA;CACA;CACA,SAAyC,CAAC;CAE1C,cAAqB,OAAe;EAClC,KAAK,YAAY;EACjB,OAAO;CACT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AExC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/test-iap",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -28,13 +28,13 @@
28
28
  "testcontainers": "12.1.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@biomejs/biome": "2.5.12",
31
+ "@biomejs/biome": "2.5.14",
32
32
  "@sebspark/tsconfig": "*",
33
33
  "@types/ws": "8.18.1",
34
34
  "nock": "14.0.17",
35
35
  "typescript": "7.0.2",
36
- "vite": "8.2.2",
37
- "vitest": "5.0.0",
36
+ "vite": "8.3.0",
37
+ "vitest": "5.0.1",
38
38
  "ws": "8.21.3"
39
39
  },
40
40
  "resolutions": {