@hot-updater/test-utils 1.0.5 → 1.0.6

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { ArtifactInfo, Bundle } from "@hot-updater/protocol";
1
+ import { ArtifactFiles, ArtifactInfo, Bundle } from "@hot-updater/protocol";
2
2
  import { AnyHotUpdaterPlugin, BundlePatchRow, BundleRow, ChannelRow, ClientAuth, DatabaseAdapter, DeployReleasePolicy, EngineDatabase, HotUpdaterCoreApi, HotUpdaterDatabase, KeyValueStore, ModuleSchema, PhysicalTable, PluginApis, ReadMeasurement, ReleaseRow, StorageAdapter, StorageOperation } from "@hot-updater/plugin-core";
3
3
  import { BundleEventRow, InsightsModel } from "@hot-updater/plugin-insights/server";
4
4
  //#region src/httpTestClient.d.ts
@@ -529,9 +529,11 @@ declare const RELEASE_CATALOG_MANIFEST_URIS: {
529
529
  };
530
530
  declare const RELEASE_CATALOG_DOWNLOAD_HASH: string;
531
531
  declare const releaseCatalogArtifact: (bundle: BundleRow) => ArtifactInfo;
532
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
533
+ declare const releaseCatalogArtifactFiles: (bundle: BundleRow) => ArtifactFiles;
532
534
  /** Install these storage objects in the test server, independently of its DB. */
533
535
  declare const RELEASE_CATALOG_STORAGE_FIXTURES: Readonly<Record<string, string>>;
534
536
  /** Storage boundary shared by provider and separately spawned server tests. */
535
537
  declare const createReleaseCatalogTestStorage: () => StorageAdapter;
536
538
  //#endregion
537
- export { AdminApiTestClient, AggregateBatchingSuiteOptions, ContentionOptions, ContentionReport, DatabaseAdapterConformanceContext, DatabaseAdapterConformanceOptions, DatabasePluginTestSuite, type DatabaseTestLifecycle, DatabaseTestSuiteOptions, HttpTestClient, HttpTestHandlers, HttpTestRequest, HttpTestRequestInit, HttpTestServer, MeasuredDatabase, MeasuredDatabaseOptions, MeasuredDatabaseStorage, MemoryKeyValueStoreOptions, PluginTestHarnessOptions, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, ReadBudgetAdapterContext, ReadBudgetSuiteOptions, RowsExamined, SqlExecutorLike, SqlQuery, SqlStatementLike, StorageAdapterTestSuiteOptions, conformanceCounters, conformanceExpiring, conformanceItems, createAdminApiTestClient, createBundleEventRowFixture, createBundleFixture, createBundlePatchRowFixture, createBundleRowFixture, createChannelRowFixture, createHandlerHttpTestClient, createHttpTestClient, createMeasuredDatabase, createMemoryKeyValueStore, createPluginTestHarness, createReleaseCatalogTestStorage, createReleaseRowFixture, expectInsightsIndex, insightsTestSuite, jsonRequest, mysqlRowsExamined, postgresRowsExamined, releaseCatalogArtifact, releaseCatalogDownloadUrl, runContentionHarness, setupAggregateBatchingTestSuite, setupBundleMethodsTestSuite, setupCoreAdminTestSuite, setupDatabaseAdapterConformanceSuite, setupDatabaseTestSuite, setupInsightsHttpTestSuite, setupInsightsModelTestSuite, setupReadBudgetTestSuite, setupReleaseCatalogTestSuite, setupSemverSatisfiesTestSuite, setupStorageAdapterTestSuite, startHttpTestServer, storeBundles, toDeployBundle, withAdapterLatency };
539
+ export { AdminApiTestClient, AggregateBatchingSuiteOptions, ContentionOptions, ContentionReport, DatabaseAdapterConformanceContext, DatabaseAdapterConformanceOptions, DatabasePluginTestSuite, type DatabaseTestLifecycle, DatabaseTestSuiteOptions, HttpTestClient, HttpTestHandlers, HttpTestRequest, HttpTestRequestInit, HttpTestServer, MeasuredDatabase, MeasuredDatabaseOptions, MeasuredDatabaseStorage, MemoryKeyValueStoreOptions, PluginTestHarnessOptions, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, ReadBudgetAdapterContext, ReadBudgetSuiteOptions, RowsExamined, SqlExecutorLike, SqlQuery, SqlStatementLike, StorageAdapterTestSuiteOptions, conformanceCounters, conformanceExpiring, conformanceItems, createAdminApiTestClient, createBundleEventRowFixture, createBundleFixture, createBundlePatchRowFixture, createBundleRowFixture, createChannelRowFixture, createHandlerHttpTestClient, createHttpTestClient, createMeasuredDatabase, createMemoryKeyValueStore, createPluginTestHarness, createReleaseCatalogTestStorage, createReleaseRowFixture, expectInsightsIndex, insightsTestSuite, jsonRequest, mysqlRowsExamined, postgresRowsExamined, releaseCatalogArtifact, releaseCatalogArtifactFiles, releaseCatalogDownloadUrl, runContentionHarness, setupAggregateBatchingTestSuite, setupBundleMethodsTestSuite, setupCoreAdminTestSuite, setupDatabaseAdapterConformanceSuite, setupDatabaseTestSuite, setupInsightsHttpTestSuite, setupInsightsModelTestSuite, setupReadBudgetTestSuite, setupReleaseCatalogTestSuite, setupSemverSatisfiesTestSuite, setupStorageAdapterTestSuite, startHttpTestServer, storeBundles, toDeployBundle, withAdapterLatency };
package/dist/index.mjs CHANGED
@@ -647,6 +647,8 @@ const releaseCatalogArtifact = (bundle) => ({
647
647
  }
648
648
  } }
649
649
  });
650
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
651
+ const releaseCatalogArtifactFiles = (bundle) => ({ files: { "index.ios.bundle": releaseCatalogArtifact(bundle).assets["index.ios.bundle"].file } });
650
652
  /** Install these storage objects in the test server, independently of its DB. */
651
653
  const RELEASE_CATALOG_STORAGE_FIXTURES = Object.fromEntries(Object.entries(RELEASE_CATALOG_MANIFEST_URIS).map(([size, uri]) => [uri, JSON.stringify({
652
654
  bundleId: targetId,
@@ -1019,6 +1021,20 @@ const setupReleaseCatalogTestSuite = (options) => {
1019
1021
  expect(response.headers.get("cache-control")).toBe("private, no-store");
1020
1022
  expect(await response.json()).toEqual(releaseCatalogArtifact(bundle));
1021
1023
  expect((await request(`/artifacts/v1/${release.id}/from/${NIL_UUID$1}`)).status).toBe(404);
1024
+ const v2 = await request(`/artifacts/v2/${bundle.id}/from/${NIL_UUID$1}`);
1025
+ expect(v2.status).toBe(200);
1026
+ const { assets: _assets, ...v1Rest } = releaseCatalogArtifact(bundle);
1027
+ expect(await v2.json()).toEqual({
1028
+ ...v1Rest,
1029
+ artifactProtocolVersion: 2
1030
+ });
1031
+ const files = await request(`/artifacts/v2/${bundle.id}/files`, {
1032
+ body: JSON.stringify({ paths: ["index.ios.bundle"] }),
1033
+ headers: { "content-type": "application/json" },
1034
+ method: "POST"
1035
+ });
1036
+ expect(files.status).toBe(200);
1037
+ expect(await files.json()).toEqual(releaseCatalogArtifactFiles(bundle));
1022
1038
  });
1023
1039
  it("isolates channels, platforms, and update strategies", async () => {
1024
1040
  const stable = await publish("111");
@@ -3090,6 +3106,29 @@ const READ_BUDGETS = [
3090
3106
  manifestFileHash: createBundleFixture("106").manifestFileHash
3091
3107
  })
3092
3108
  }),
3109
+ budget({
3110
+ api: "artifact resolution v2: the same reads as v1, and no URL per file",
3111
+ read: ({ core }) => core.getArtifactInfo(createBundleFixture("106").id, createBundleFixture("105").id, 2),
3112
+ adapter: reads(1, 2, 1, 1),
3113
+ engine: {
3114
+ calls: 2,
3115
+ rows: 3
3116
+ },
3117
+ check: (artifact) => expect(artifact).toEqual(expect.objectContaining({
3118
+ artifactProtocolVersion: 2,
3119
+ manifestFileHash: createBundleFixture("106").manifestFileHash
3120
+ }))
3121
+ }),
3122
+ budget({
3123
+ api: "artifact files: 1 bundle point read",
3124
+ read: ({ core }) => core.getArtifactFiles(createBundleFixture("106").id, ["index.ios.bundle"]),
3125
+ adapter: reads(1, 1, 0, 0),
3126
+ engine: {
3127
+ calls: 1,
3128
+ rows: 1
3129
+ },
3130
+ check: (files) => expect(Object.keys(files?.files ?? {})).toEqual(["index.ios.bundle"])
3131
+ }),
3093
3132
  budget({
3094
3133
  api: "bundle list page: limit rows and one byBundle query per returned bundle with patches",
3095
3134
  read: ({ core }) => core.listBundles({
@@ -5403,4 +5442,4 @@ async function startHttpTestServer(handlers) {
5403
5442
  };
5404
5443
  }
5405
5444
  //#endregion
5406
- export { RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, conformanceCounters, conformanceExpiring, conformanceItems, createAdminApiTestClient, createBundleEventRowFixture, createBundleFixture, createBundlePatchRowFixture, createBundleRowFixture, createChannelRowFixture, createHandlerHttpTestClient, createHttpTestClient, createMeasuredDatabase, createMemoryKeyValueStore, createPluginTestHarness, createReleaseCatalogTestStorage, createReleaseRowFixture, expectInsightsIndex, insightsTestSuite, jsonRequest, mysqlRowsExamined, postgresRowsExamined, releaseCatalogArtifact, releaseCatalogDownloadUrl, runContentionHarness, setupAggregateBatchingTestSuite, setupBundleMethodsTestSuite, setupCoreAdminTestSuite, setupDatabaseAdapterConformanceSuite, setupDatabaseTestSuite, setupInsightsHttpTestSuite, setupInsightsModelTestSuite, setupReadBudgetTestSuite, setupReleaseCatalogTestSuite, setupSemverSatisfiesTestSuite, setupStorageAdapterTestSuite, startHttpTestServer, storeBundles, toDeployBundle, withAdapterLatency };
5445
+ export { RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, conformanceCounters, conformanceExpiring, conformanceItems, createAdminApiTestClient, createBundleEventRowFixture, createBundleFixture, createBundlePatchRowFixture, createBundleRowFixture, createChannelRowFixture, createHandlerHttpTestClient, createHttpTestClient, createMeasuredDatabase, createMemoryKeyValueStore, createPluginTestHarness, createReleaseCatalogTestStorage, createReleaseRowFixture, expectInsightsIndex, insightsTestSuite, jsonRequest, mysqlRowsExamined, postgresRowsExamined, releaseCatalogArtifact, releaseCatalogArtifactFiles, releaseCatalogDownloadUrl, runContentionHarness, setupAggregateBatchingTestSuite, setupBundleMethodsTestSuite, setupCoreAdminTestSuite, setupDatabaseAdapterConformanceSuite, setupDatabaseTestSuite, setupInsightsHttpTestSuite, setupInsightsModelTestSuite, setupReadBudgetTestSuite, setupReleaseCatalogTestSuite, setupSemverSatisfiesTestSuite, setupStorageAdapterTestSuite, startHttpTestServer, storeBundles, toDeployBundle, withAdapterLatency };
package/dist/node.cjs CHANGED
@@ -20328,6 +20328,8 @@ const releaseCatalogArtifact = (bundle) => ({
20328
20328
  }
20329
20329
  } }
20330
20330
  });
20331
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
20332
+ const releaseCatalogArtifactFiles = (bundle) => ({ files: { "index.ios.bundle": releaseCatalogArtifact(bundle).assets["index.ios.bundle"].file } });
20331
20333
  /** Install these storage objects in the test server, independently of its DB. */
20332
20334
  const RELEASE_CATALOG_STORAGE_FIXTURES = Object.fromEntries(Object.entries(RELEASE_CATALOG_MANIFEST_URIS).map(([size, uri]) => [uri, JSON.stringify({
20333
20335
  bundleId: targetId,
@@ -20640,6 +20642,7 @@ exports.pgExecutor = pgExecutor;
20640
20642
  exports.pgliteBatchExecutor = pgliteBatchExecutor;
20641
20643
  exports.pgliteExecutor = pgliteExecutor;
20642
20644
  exports.releaseCatalogArtifact = releaseCatalogArtifact;
20645
+ exports.releaseCatalogArtifactFiles = releaseCatalogArtifactFiles;
20643
20646
  exports.releaseCatalogDownloadUrl = releaseCatalogDownloadUrl;
20644
20647
  exports.runCheckedCommand = runCheckedCommand;
20645
20648
  exports.spawnRuntime = spawnRuntime;
package/dist/node.d.cts CHANGED
@@ -2,7 +2,7 @@ import { DatabaseSync } from "node:sqlite";
2
2
  import { ChildProcessByStdio } from "node:child_process";
3
3
  import { Readable } from "node:stream";
4
4
  import { BundleRow, SqlExecutor, StorageAdapter } from "@hot-updater/plugin-core";
5
- import { ArtifactInfo } from "@hot-updater/protocol";
5
+ import { ArtifactFiles, ArtifactInfo } from "@hot-updater/protocol";
6
6
  import { execa } from "execa";
7
7
  import { PGlite } from "@electric-sql/pglite";
8
8
  import { Pool } from "mysql2/promise";
@@ -98,6 +98,8 @@ declare const RELEASE_CATALOG_MANIFEST_URIS: {
98
98
  };
99
99
  declare const RELEASE_CATALOG_DOWNLOAD_HASH: string;
100
100
  declare const releaseCatalogArtifact: (bundle: BundleRow) => ArtifactInfo;
101
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
102
+ declare const releaseCatalogArtifactFiles: (bundle: BundleRow) => ArtifactFiles;
101
103
  /** Install these storage objects in the test server, independently of its DB. */
102
104
  declare const RELEASE_CATALOG_STORAGE_FIXTURES: Readonly<Record<string, string>>;
103
105
  /** Storage boundary shared by provider and separately spawned server tests. */
@@ -149,4 +151,4 @@ declare const pgExecutor: (pool: Pool$1) => SqlExecutor;
149
151
  declare const pgBatchExecutor: (pool: Pool$1) => SqlExecutor;
150
152
  declare const mysqlExecutor: (pool: Pool) => SqlExecutor;
151
153
  //#endregion
152
- export { D1TestResult, MockedReactNativeProjectRoot, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, RuntimeChild, RuntimeLogs, SpawnRuntimeOptions, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
154
+ export { D1TestResult, MockedReactNativeProjectRoot, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, RuntimeChild, RuntimeLogs, SpawnRuntimeOptions, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogArtifactFiles, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
package/dist/node.d.mts CHANGED
@@ -3,7 +3,7 @@ import { execa } from "execa";
3
3
  import { DatabaseSync } from "node:sqlite";
4
4
  import { Readable } from "node:stream";
5
5
  import { BundleRow, SqlExecutor, StorageAdapter } from "@hot-updater/plugin-core";
6
- import { ArtifactInfo } from "@hot-updater/protocol";
6
+ import { ArtifactFiles, ArtifactInfo } from "@hot-updater/protocol";
7
7
  import { PGlite } from "@electric-sql/pglite";
8
8
  import { Pool } from "mysql2/promise";
9
9
  import { Pool as Pool$1 } from "pg";
@@ -98,6 +98,8 @@ declare const RELEASE_CATALOG_MANIFEST_URIS: {
98
98
  };
99
99
  declare const RELEASE_CATALOG_DOWNLOAD_HASH: string;
100
100
  declare const releaseCatalogArtifact: (bundle: BundleRow) => ArtifactInfo;
101
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
102
+ declare const releaseCatalogArtifactFiles: (bundle: BundleRow) => ArtifactFiles;
101
103
  /** Install these storage objects in the test server, independently of its DB. */
102
104
  declare const RELEASE_CATALOG_STORAGE_FIXTURES: Readonly<Record<string, string>>;
103
105
  /** Storage boundary shared by provider and separately spawned server tests. */
@@ -149,4 +151,4 @@ declare const pgExecutor: (pool: Pool$1) => SqlExecutor;
149
151
  declare const pgBatchExecutor: (pool: Pool$1) => SqlExecutor;
150
152
  declare const mysqlExecutor: (pool: Pool) => SqlExecutor;
151
153
  //#endregion
152
- export { D1TestResult, MockedReactNativeProjectRoot, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, RuntimeChild, RuntimeLogs, SpawnRuntimeOptions, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
154
+ export { D1TestResult, MockedReactNativeProjectRoot, RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, RuntimeChild, RuntimeLogs, SpawnRuntimeOptions, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogArtifactFiles, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
package/dist/node.mjs CHANGED
@@ -20304,6 +20304,8 @@ const releaseCatalogArtifact = (bundle) => ({
20304
20304
  }
20305
20305
  } }
20306
20306
  });
20307
+ /** The files response for the Hermes bundle of {@link releaseCatalogArtifact}. */
20308
+ const releaseCatalogArtifactFiles = (bundle) => ({ files: { "index.ios.bundle": releaseCatalogArtifact(bundle).assets["index.ios.bundle"].file } });
20307
20309
  /** Install these storage objects in the test server, independently of its DB. */
20308
20310
  const RELEASE_CATALOG_STORAGE_FIXTURES = Object.fromEntries(Object.entries(RELEASE_CATALOG_MANIFEST_URIS).map(([size, uri]) => [uri, JSON.stringify({
20309
20311
  bundleId: targetId,
@@ -20591,4 +20593,4 @@ const mysqlExecutor = (pool) => {
20591
20593
  };
20592
20594
  };
20593
20595
  //#endregion
20594
- export { RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
20596
+ export { RELEASE_CATALOG_DOWNLOAD_HASH, RELEASE_CATALOG_MANIFEST_URIS, RELEASE_CATALOG_STORAGE_FIXTURES, TEST_ADMIN_AUTH_TOKEN, assertCommandAvailable, assertDockerComposeAvailable, assertDockerDaemonAvailable, assertEnvFlagEnabled, cleanupServer, createD1TestDatabase, createReleaseCatalogTestStorage, createTestDbPath, findOpenPort, formatRuntimeLogs, hasCommand, hasDockerCompose, hasDockerDaemon, killPort, mockReactNativeProjectRoot, mysqlExecutor, pgBatchExecutor, pgExecutor, pgliteBatchExecutor, pgliteExecutor, releaseCatalogArtifact, releaseCatalogArtifactFiles, releaseCatalogDownloadUrl, runCheckedCommand, spawnRuntime, spawnServerProcess, sqliteBatchExecutor, sqliteExecutor, startHttpTestServer, stopRuntime, waitForHttpOk, waitForServer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/test-utils",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "description": "Test utilities for Hot Updater packages",
6
6
  "sideEffects": false,
@@ -50,10 +50,10 @@
50
50
  "mysql2": "*",
51
51
  "pg": "*",
52
52
  "vitest": "^4.0.0",
53
- "@hot-updater/plugin-insights": "^1.0.5",
54
- "@hot-updater/server": "^1.0.5",
55
- "@hot-updater/protocol": "^1.0.5",
56
- "@hot-updater/plugin-core": "^1.0.5"
53
+ "@hot-updater/plugin-insights": "^1.0.6",
54
+ "@hot-updater/protocol": "^1.0.6",
55
+ "@hot-updater/plugin-core": "^1.0.6",
56
+ "@hot-updater/server": "^1.0.6"
57
57
  },
58
58
  "peerDependenciesMeta": {
59
59
  "@electric-sql/pglite": {
@@ -83,10 +83,10 @@
83
83
  "typescript": "npm:@typescript/typescript6@6.0.2",
84
84
  "vitest": "4.1.4",
85
85
  "workspace-tools": "^0.41.7",
86
- "@hot-updater/plugin-insights": "1.0.5",
87
- "@hot-updater/protocol": "1.0.5",
88
- "@hot-updater/server": "1.0.5",
89
- "@hot-updater/plugin-core": "1.0.5"
86
+ "@hot-updater/plugin-core": "1.0.6",
87
+ "@hot-updater/protocol": "1.0.6",
88
+ "@hot-updater/plugin-insights": "1.0.6",
89
+ "@hot-updater/server": "1.0.6"
90
90
  },
91
91
  "inlinedDependencies": {
92
92
  "@nodelib/fs.scandir": "2.1.5",