@ultimat3/testing 31.30.0 → 31.32.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/testing",
3
- "version": "31.30.0",
3
+ "version": "31.32.0",
4
4
  "description": "Test harness: cloned template DBs per worker, frozen clock, sealed network, 6 test types",
5
5
  "keywords": [
6
6
  "ultimate",
@@ -47,27 +47,27 @@
47
47
  "test": "bun test"
48
48
  },
49
49
  "dependencies": {
50
- "@ultimat3/action": "31.30.0",
51
- "@ultimat3/ai": "31.30.0",
52
- "@ultimat3/auth": "31.30.0",
53
- "@ultimat3/cache": "31.30.0",
54
- "@ultimat3/core": "31.30.0",
55
- "@ultimat3/db": "31.30.0",
56
- "@ultimat3/entity": "31.30.0",
57
- "@ultimat3/http": "31.30.0",
58
- "@ultimat3/i18n": "31.30.0",
59
- "@ultimat3/jobs": "31.30.0",
60
- "@ultimat3/mail": "31.30.0",
61
- "@ultimat3/notify": "31.30.0",
62
- "@ultimat3/policy": "31.30.0",
63
- "@ultimat3/pwa": "31.30.0",
64
- "@ultimat3/query": "31.30.0",
65
- "@ultimat3/realtime": "31.30.0",
66
- "@ultimat3/render": "31.30.0",
67
- "@ultimat3/schema": "31.30.0",
68
- "@ultimat3/scraping": "31.30.0",
69
- "@ultimat3/seo": "31.30.0",
70
- "@ultimat3/time": "31.30.0"
50
+ "@ultimat3/action": "31.32.0",
51
+ "@ultimat3/ai": "31.32.0",
52
+ "@ultimat3/auth": "31.32.0",
53
+ "@ultimat3/cache": "31.32.0",
54
+ "@ultimat3/core": "31.32.0",
55
+ "@ultimat3/db": "31.32.0",
56
+ "@ultimat3/entity": "31.32.0",
57
+ "@ultimat3/http": "31.32.0",
58
+ "@ultimat3/i18n": "31.32.0",
59
+ "@ultimat3/jobs": "31.32.0",
60
+ "@ultimat3/mail": "31.32.0",
61
+ "@ultimat3/notify": "31.32.0",
62
+ "@ultimat3/policy": "31.32.0",
63
+ "@ultimat3/pwa": "31.32.0",
64
+ "@ultimat3/query": "31.32.0",
65
+ "@ultimat3/realtime": "31.32.0",
66
+ "@ultimat3/render": "31.32.0",
67
+ "@ultimat3/schema": "31.32.0",
68
+ "@ultimat3/scraping": "31.32.0",
69
+ "@ultimat3/seo": "31.32.0",
70
+ "@ultimat3/time": "31.32.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "solid-js": "^1.9.18"
@@ -81,12 +81,15 @@ export const DRIVER_FIXTURE_NAMES = ['budget', 'deploy', 'page', 'signIn'] as co
81
81
  export type DriverFixtureName = (typeof DRIVER_FIXTURE_NAMES)[number];
82
82
 
83
83
  /** What each one is waiting on. `Record` over the name union, so the two lists cannot drift. */
84
- export const DRIVER_FIXTURE_NEEDS: Readonly<Record<DriverFixtureName, string>> = {
85
- budget: 'the byte counts a browser run measures off the built output',
86
- deploy: 'a second build to switch the running app to',
87
- page: 'a browser driving the built app',
88
- signIn: 'a browser session against the app’s own sign-in route',
89
- };
84
+ export const DRIVER_FIXTURE_NEEDS: Readonly<Record<DriverFixtureName, string>> = Object.assign(
85
+ Object.create(null),
86
+ {
87
+ budget: 'the byte counts a browser run measures off the built output',
88
+ deploy: 'a second build to switch the running app to',
89
+ page: 'a browser driving the built app',
90
+ signIn: 'a browser session against the app’s own sign-in route',
91
+ } satisfies Readonly<Record<DriverFixtureName, string>>,
92
+ );
90
93
 
91
94
  /**
92
95
  * Declared rather than left out, because the name is the contract. An app that registered its own
@@ -127,7 +127,7 @@ const MAX_ROUNDS = 100;
127
127
  const LIVE_STATES: ReadonlySet<string> = new Set(['ready', 'delayed', 'running', 'suspended']);
128
128
 
129
129
  const tallyOf = (executions: readonly JobExecution[]): Record<string, StepTally> => {
130
- const steps: Record<string, StepTally> = {};
130
+ const steps: Record<string, StepTally> = Object.create(null);
131
131
  for (const execution of executions) {
132
132
  const replayed = new Set(execution.replayed);
133
133
  for (const step of execution.steps) {
package/src/fixtures.ts CHANGED
@@ -94,7 +94,11 @@ export function fixtureSnapshot(): FixtureMap {
94
94
  return Object.fromEntries(registry);
95
95
  }
96
96
 
97
- const CLOSERS: Readonly<Record<string, string>> = { '{': '}', '[': ']', '(': ')' };
97
+ const CLOSERS: Readonly<Record<string, string>> = Object.assign(Object.create(null), {
98
+ '{': '}',
99
+ '[': ']',
100
+ '(': ')',
101
+ } satisfies Readonly<Record<string, string>>);
98
102
  const QUOTES = new Set(['"', "'", '`']);
99
103
 
100
104
  /**