@overkill-dev/run 0.0.54 → 0.0.56

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.
Files changed (231) hide show
  1. package/clock/overkill-clock.d.ts +30 -0
  2. package/clock/overkill-clock.d.ts.map +1 -0
  3. package/clock/overkill-clock.js +53 -0
  4. package/clock/overkill-clock.js.map +1 -0
  5. package/engine/async-leak-diagnostics.d.ts.map +1 -1
  6. package/engine/async-leak-diagnostics.js +10 -0
  7. package/engine/async-leak-diagnostics.js.map +1 -1
  8. package/engine/case-execution.d.ts +3 -3
  9. package/engine/case-execution.d.ts.map +1 -1
  10. package/engine/case-execution.js +22 -10
  11. package/engine/case-execution.js.map +1 -1
  12. package/engine/engine.d.ts +2 -2
  13. package/engine/engine.d.ts.map +1 -1
  14. package/engine/execution-async-leak-policy.d.ts.map +1 -1
  15. package/engine/execution-async-leak-policy.js +3 -2
  16. package/engine/execution-async-leak-policy.js.map +1 -1
  17. package/engine/execution-global-error-observer.d.ts +20 -0
  18. package/engine/execution-global-error-observer.d.ts.map +1 -0
  19. package/engine/execution-global-error-observer.js +342 -0
  20. package/engine/execution-global-error-observer.js.map +1 -0
  21. package/engine/execution-result.js +5 -1
  22. package/engine/execution-result.js.map +1 -1
  23. package/engine/execution-supervision.d.ts +7 -5
  24. package/engine/execution-supervision.d.ts.map +1 -1
  25. package/engine/execution-supervision.js +47 -29
  26. package/engine/execution-supervision.js.map +1 -1
  27. package/engine/execution-test-plan-cases.js +72 -14
  28. package/engine/execution-test-plan-cases.js.map +1 -1
  29. package/engine/execution.d.ts +2 -2
  30. package/engine/execution.d.ts.map +1 -1
  31. package/engine/execution.js +38 -20
  32. package/engine/execution.js.map +1 -1
  33. package/engine/reporter-dispatcher.d.ts +2 -2
  34. package/engine/reporter-dispatcher.d.ts.map +1 -1
  35. package/engine/reporter-dispatcher.js +1 -0
  36. package/engine/reporter-dispatcher.js.map +1 -1
  37. package/engine/reporter.d.ts +1 -1
  38. package/engine/reporter.d.ts.map +1 -1
  39. package/engine/resource-usage-growth.js +4 -4
  40. package/engine/resource-usage-growth.js.map +1 -1
  41. package/engine/run-result.d.ts +88 -7
  42. package/engine/run-result.d.ts.map +1 -1
  43. package/engine/run-result.js +114 -0
  44. package/engine/run-result.js.map +1 -1
  45. package/engine/run-timings.d.ts +68 -0
  46. package/engine/run-timings.d.ts.map +1 -0
  47. package/engine/run-timings.js +116 -0
  48. package/engine/run-timings.js.map +1 -0
  49. package/engine/test-data.d.ts +4 -0
  50. package/engine/test-data.d.ts.map +1 -1
  51. package/engine/test-data.js +14 -1
  52. package/engine/test-data.js.map +1 -1
  53. package/package.json +4 -2
  54. package/packages/engine/engine.entry-point.d.ts +5 -3
  55. package/packages/engine/engine.entry-point.d.ts.map +1 -1
  56. package/packages/engine/engine.entry-point.js +3 -3
  57. package/packages/engine/engine.entry-point.js.map +1 -1
  58. package/packages/reporter-line/reporter-line.entry-point.js +19 -1
  59. package/packages/reporter-line/reporter-line.entry-point.js.map +1 -1
  60. package/packages/run/command-line.entry-point.d.ts +1 -1
  61. package/packages/run/command-line.entry-point.d.ts.map +1 -1
  62. package/packages/run/config.entry-point.d.ts +1 -1
  63. package/packages/run/config.entry-point.d.ts.map +1 -1
  64. package/packages/run/run.entry-point.d.ts +2 -2
  65. package/packages/run/run.entry-point.d.ts.map +1 -1
  66. package/packages/run/run.entry-point.js +2 -2
  67. package/packages/run/run.entry-point.js.map +1 -1
  68. package/readme.md +14 -0
  69. package/reporters/failure-summary.js +16 -0
  70. package/reporters/failure-summary.js.map +1 -0
  71. package/reporters/human-reporter-rendering.js +214 -0
  72. package/reporters/human-reporter-rendering.js.map +1 -0
  73. package/reporters/line-failure-rendering.js +3 -0
  74. package/reporters/line-failure-rendering.js.map +1 -1
  75. package/reporters/line-reporter.js +95 -96
  76. package/reporters/line-reporter.js.map +1 -1
  77. package/reporters/run-timing-summary.js +11 -0
  78. package/reporters/run-timing-summary.js.map +1 -0
  79. package/reporters/terminal.js +5 -1
  80. package/reporters/terminal.js.map +1 -1
  81. package/resources/resource-definition-shape.d.ts +5 -1
  82. package/resources/resource-definition-shape.d.ts.map +1 -1
  83. package/run/capability-policy.js +34 -28
  84. package/run/capability-policy.js.map +1 -1
  85. package/run/child-process-protocol.js +3 -5
  86. package/run/child-process-protocol.js.map +1 -1
  87. package/run/collected-run-plan.js +5 -1
  88. package/run/collected-run-plan.js.map +1 -1
  89. package/run/command-line-runner.d.ts.map +1 -1
  90. package/run/command-line-runner.js +1 -0
  91. package/run/command-line-runner.js.map +1 -1
  92. package/run/default-run-engine.js +2 -2
  93. package/run/default-run-engine.js.map +1 -1
  94. package/run/duration-history.d.ts +1 -0
  95. package/run/duration-history.d.ts.map +1 -1
  96. package/run/duration-history.js +33 -12
  97. package/run/duration-history.js.map +1 -1
  98. package/run/permission-denial-runtime-policy.js +118 -0
  99. package/run/permission-denial-runtime-policy.js.map +1 -0
  100. package/run/placement-trace.d.ts +27 -1
  101. package/run/placement-trace.d.ts.map +1 -1
  102. package/run/placement-trace.js.map +1 -1
  103. package/run/resource-usage.d.ts +3 -3
  104. package/run/resource-usage.d.ts.map +1 -1
  105. package/run/resource-usage.js +5 -5
  106. package/run/resource-usage.js.map +1 -1
  107. package/run/run-collected-planning.js +1 -1
  108. package/run/run-collected-planning.js.map +1 -1
  109. package/run/run-collection-error-result.js +9 -3
  110. package/run/run-collection-error-result.js.map +1 -1
  111. package/run/run-config-defaults.js +47 -0
  112. package/run/run-config-defaults.js.map +1 -0
  113. package/run/run-config-schema.d.ts +37 -0
  114. package/run/run-config-schema.d.ts.map +1 -1
  115. package/run/run-config-schema.js +26 -0
  116. package/run/run-config-schema.js.map +1 -1
  117. package/run/run-config.d.ts +3 -1
  118. package/run/run-config.d.ts.map +1 -1
  119. package/run/run-config.js +21 -42
  120. package/run/run-config.js.map +1 -1
  121. package/run/run-empty-shard.js +11 -9
  122. package/run/run-empty-shard.js.map +1 -1
  123. package/run/run-errors.d.ts +1 -1
  124. package/run/run-errors.d.ts.map +1 -1
  125. package/run/run-errors.js +13 -0
  126. package/run/run-errors.js.map +1 -1
  127. package/run/run-facts.js +13 -0
  128. package/run/run-facts.js.map +1 -1
  129. package/run/run-if-main-facts.js +7 -1
  130. package/run/run-if-main-facts.js.map +1 -1
  131. package/run/run-if-main.d.ts +3 -3
  132. package/run/run-if-main.d.ts.map +1 -1
  133. package/run/run-if-main.js +6 -3
  134. package/run/run-if-main.js.map +1 -1
  135. package/run/run-local-execution.js +1 -1
  136. package/run/run-local-execution.js.map +1 -1
  137. package/run/run-local-resolution.js +4 -3
  138. package/run/run-local-resolution.js.map +1 -1
  139. package/run/run-local-test-plan.js +20 -1
  140. package/run/run-local-test-plan.js.map +1 -1
  141. package/run/run-orchestrator-dependencies.d.ts +9 -3
  142. package/run/run-orchestrator-dependencies.d.ts.map +1 -1
  143. package/run/run-orchestrator-dependencies.js +14 -0
  144. package/run/run-orchestrator-dependencies.js.map +1 -0
  145. package/run/run-orchestrator.js +2 -2
  146. package/run/run-orchestrator.js.map +1 -1
  147. package/run/run-support.js +14 -4
  148. package/run/run-support.js.map +1 -1
  149. package/run/run-timing-collection.js +26 -0
  150. package/run/run-timing-collection.js.map +1 -0
  151. package/run/run-types.d.ts +22 -2
  152. package/run/run-types.d.ts.map +1 -1
  153. package/run/run-types.js +1 -0
  154. package/run/run-types.js.map +1 -1
  155. package/run/run-validation.js +10 -0
  156. package/run/run-validation.js.map +1 -1
  157. package/run/supervised-child-process.d.ts +2 -3
  158. package/run/supervised-child-process.d.ts.map +1 -1
  159. package/run/supervised-child-process.js +1 -1
  160. package/run/supervised-child-process.js.map +1 -1
  161. package/run/supervised-child-test-plan.js +47 -0
  162. package/run/supervised-child-test-plan.js.map +1 -1
  163. package/run/supervised-child.entry-point.js +2 -2
  164. package/run/supervised-child.entry-point.js.map +1 -1
  165. package/run/supervised-child.js +15 -17
  166. package/run/supervised-child.js.map +1 -1
  167. package/run/supervised-run-resource-policy.js +6 -0
  168. package/run/supervised-run-resource-policy.js.map +1 -1
  169. package/run/supervised-run-runtime.js +45 -29
  170. package/run/supervised-run-runtime.js.map +1 -1
  171. package/run/supervised-run-state.d.ts +9 -5
  172. package/run/supervised-run-state.d.ts.map +1 -1
  173. package/run/supervised-run-state.js +67 -14
  174. package/run/supervised-run-state.js.map +1 -1
  175. package/run/supervised-run.js +18 -8
  176. package/run/supervised-run.js.map +1 -1
  177. package/run/work-unit-resource-constraints.js +20 -0
  178. package/run/work-unit-resource-constraints.js.map +1 -1
  179. package/run/worker-pool-collection.js +3 -2
  180. package/run/worker-pool-collection.js.map +1 -1
  181. package/run/worker-pool-compatible-batching.js +115 -0
  182. package/run/worker-pool-compatible-batching.js.map +1 -0
  183. package/run/worker-pool-dispatch-state.js +59 -0
  184. package/run/worker-pool-dispatch-state.js.map +1 -1
  185. package/run/worker-pool-dynamic-plan.js +62 -0
  186. package/run/worker-pool-dynamic-plan.js.map +1 -0
  187. package/run/worker-pool-execution.js +168 -90
  188. package/run/worker-pool-execution.js.map +1 -1
  189. package/run/worker-pool-hedge-dispatch.js +83 -0
  190. package/run/worker-pool-hedge-dispatch.js.map +1 -0
  191. package/run/worker-pool-hedged-arbitration.js +186 -0
  192. package/run/worker-pool-hedged-arbitration.js.map +1 -0
  193. package/run/worker-pool-host-process.js +12 -0
  194. package/run/worker-pool-host-process.js.map +1 -1
  195. package/run/worker-pool-host-protocol.js +26 -14
  196. package/run/worker-pool-host-protocol.js.map +1 -1
  197. package/run/worker-pool-host.entry-point.js +35 -8
  198. package/run/worker-pool-host.entry-point.js.map +1 -1
  199. package/run/worker-pool-lanes.js +6 -6
  200. package/run/worker-pool-lanes.js.map +1 -1
  201. package/run/worker-pool-lease-selection.js +85 -0
  202. package/run/worker-pool-lease-selection.js.map +1 -0
  203. package/run/worker-pool-output.js +1 -1
  204. package/run/worker-pool-output.js.map +1 -1
  205. package/run/worker-pool-resource-tracking.js +2 -2
  206. package/run/worker-pool-resource-tracking.js.map +1 -1
  207. package/run/worker-pool-results.js +32 -17
  208. package/run/worker-pool-results.js.map +1 -1
  209. package/run/worker-pool-routing.js +154 -0
  210. package/run/worker-pool-routing.js.map +1 -0
  211. package/run/worker-pool-run.js +5 -4
  212. package/run/worker-pool-run.js.map +1 -1
  213. package/run/worker-pool-runtime.js +2 -149
  214. package/run/worker-pool-runtime.js.map +1 -1
  215. package/run/worker-pool-static-dispatcher.js +74 -0
  216. package/run/worker-pool-static-dispatcher.js.map +1 -0
  217. package/run/worker-pool-task-events.js +165 -0
  218. package/run/worker-pool-task-events.js.map +1 -0
  219. package/run/worker-pool-warm-lane-affinity.d.ts +13 -0
  220. package/run/worker-pool-warm-lane-affinity.d.ts.map +1 -0
  221. package/run/worker-pool-warm-lane-affinity.js +147 -0
  222. package/run/worker-pool-warm-lane-affinity.js.map +1 -0
  223. package/run/worker-pool-work-dispatcher.js +148 -230
  224. package/run/worker-pool-work-dispatcher.js.map +1 -1
  225. package/run/worker-pool-work-load.js +45 -0
  226. package/run/worker-pool-work-load.js.map +1 -0
  227. package/run/worker-pool-worker-plan.js +37 -8
  228. package/run/worker-pool-worker-plan.js.map +1 -1
  229. package/run/worker-pool-worker.js +61 -36
  230. package/run/worker-pool-worker.js.map +1 -1
  231. package/sbom.cdx.json +4 -21
@@ -1,12 +1,12 @@
1
- import { createWallClock } from '@enormora/wall-clock';
1
+ import { createOverkillClock } from "../clock/overkill-clock.js";
2
2
  import { createExecute } from "../engine/execution.js";
3
3
  import { createReporterDispatcher } from "../engine/reporter-dispatcher.js";
4
4
  import { createPlainOutputRenderer } from "../packages/engine/engine.entry-point.js";
5
- import { createResourceLifecycleRuntimePolicy } from "./resource-lifecycle.js";
5
+ import { createRunPermissionRuntimePolicy, createRunResourceRuntimePolicy } from "./run-support.js";
6
6
  import { resolvedTestPlanDefinitionLocations } from "./collected-run-plan.js";
7
7
  import { createNodeResourceUsageTracker } from "./resource-usage.js";
8
8
  import { captureOutput, createWorkerPoolReporter, silentOutputSinks, suppressOutput } from "./worker-pool-output.js";
9
- import { collectTestPlan, createEmptyAssignmentResult, selectedAssignedWork, sendCollectedPlan } from "./worker-pool-worker-plan.js";
9
+ import { collectTestPlan, createEmptyAssignmentResult, runObservedWorkerCollection, selectedAssignedWork, sendCollectedPlan } from "./worker-pool-worker-plan.js";
10
10
  function executionMode(command) {
11
11
  return command.scheduling === 'concurrent' ? 'concurrent-in-process' : 'serial-in-process';
12
12
  }
@@ -19,7 +19,7 @@ function workerResourceBudgets(command) {
19
19
  };
20
20
  }
21
21
  function createResourceUsageTracker(command) {
22
- return createNodeResourceUsageTracker(createWallClock(), {
22
+ return createNodeResourceUsageTracker(createOverkillClock(), {
23
23
  samplingIntervalMilliseconds: command.resourceUsageSamplingIntervalMilliseconds
24
24
  });
25
25
  }
@@ -33,18 +33,15 @@ function readActiveResourceTypes() {
33
33
  async function collectAssignmentTestPlan(task) {
34
34
  const bootstrapOutput = suppressOutput();
35
35
  try {
36
- return await collectTestPlan(task.command);
36
+ return await runObservedWorkerCollection(async function collectObservedAssignmentPlan() {
37
+ return await collectTestPlan(task.command);
38
+ });
37
39
  }
38
40
  finally {
39
41
  bootstrapOutput.restore();
40
42
  }
41
43
  }
42
- async function runAssignment(task, wallClock) {
43
- const collectedPlan = await collectAssignmentTestPlan(task);
44
- if (task.assignedWork.length === 0) {
45
- return createEmptyAssignmentResult(collectedPlan.testPlan, wallClock, task.startedAtMilliseconds);
46
- }
47
- const outputCapture = captureOutput(task, wallClock);
44
+ async function runAssignment(task, wallClock, collectedPlan, assignedUnit) {
48
45
  const execute = createExecute({
49
46
  asyncLeakDiagnostics: 'enabled',
50
47
  readActiveResourceTypes,
@@ -54,42 +51,70 @@ async function runAssignment(task, wallClock) {
54
51
  }),
55
52
  wallClock
56
53
  });
54
+ task.port.postMessage({ kind: 'unit-started', traceUnit: assignedUnit.traceUnit }, []);
55
+ const startedAtMicroseconds = wallClock.currentMonotonicMicroseconds;
56
+ const testPlan = resolvedTestPlanDefinitionLocations(selectedAssignedWork(collectedPlan.testPlan, assignedUnit.work));
57
+ const result = await execute(testPlan, {
58
+ execution: { mode: executionMode(task.command) },
59
+ outputRenderer: createPlainOutputRenderer(),
60
+ reporters: [createWorkerPoolReporter(task)],
61
+ resourceBudgets: workerResourceBudgets(task.command),
62
+ resourceUsageTracker: createResourceUsageTracker(task.command),
63
+ runtimePolicy: createRunResourceRuntimePolicy(testPlan.cases, createRunPermissionRuntimePolicy()),
64
+ runFacts: {},
65
+ startedAt: startedAtIso(task.startedAtMilliseconds),
66
+ timeoutPolicy: {
67
+ hardTimeoutMilliseconds: task.command.hardTimeoutMilliseconds,
68
+ timeoutMilliseconds: task.command.timeoutMilliseconds
69
+ }
70
+ });
71
+ const completedAtMicroseconds = wallClock.currentMonotonicMicroseconds;
72
+ task.port.postMessage({
73
+ durationMicroseconds: Math.max(0, completedAtMicroseconds - startedAtMicroseconds),
74
+ kind: 'unit-completed',
75
+ traceUnit: assignedUnit.traceUnit
76
+ }, []);
77
+ return { result, traceUnit: assignedUnit.traceUnit };
78
+ }
79
+ async function runAssignedUnits(task, wallClock, collectedPlan) {
80
+ const results = [];
81
+ for (const assignedUnit of task.assignedUnits) {
82
+ results.push(await runAssignment(task, wallClock, collectedPlan, assignedUnit));
83
+ }
84
+ return results;
85
+ }
86
+ async function runAssignments(task, wallClock) {
87
+ const collectedPlan = await collectAssignmentTestPlan(task);
88
+ if (task.assignedUnits.length === 0) {
89
+ return createEmptyAssignmentResult();
90
+ }
91
+ const outputCapture = captureOutput(task, wallClock);
57
92
  try {
58
- const testPlan = resolvedTestPlanDefinitionLocations(selectedAssignedWork(collectedPlan.testPlan, task.assignedWork));
59
- const result = await execute(testPlan, {
60
- execution: { mode: executionMode(task.command) },
61
- outputRenderer: createPlainOutputRenderer(),
62
- reporters: [createWorkerPoolReporter(task)],
63
- resourceBudgets: workerResourceBudgets(task.command),
64
- resourceUsageTracker: createResourceUsageTracker(task.command),
65
- runtimePolicy: createResourceLifecycleRuntimePolicy(testPlan.cases),
66
- runFacts: {},
67
- startedAt: startedAtIso(task.startedAtMilliseconds),
68
- timeoutPolicy: {
69
- hardTimeoutMilliseconds: task.command.hardTimeoutMilliseconds,
70
- timeoutMilliseconds: task.command.timeoutMilliseconds
71
- }
93
+ return { results: await runAssignedUnits(task, wallClock, collectedPlan) };
94
+ }
95
+ finally {
96
+ outputCapture.restore();
97
+ }
98
+ }
99
+ async function runCollectionTask(task, wallClock) {
100
+ const outputCapture = captureOutput(task, wallClock);
101
+ try {
102
+ return await runObservedWorkerCollection(async function collectObservedWorkerPlan() {
103
+ return sendCollectedPlan(await collectTestPlan(task.command));
72
104
  });
73
- return { result };
74
105
  }
75
106
  finally {
76
107
  outputCapture.restore();
108
+ task.port.close();
77
109
  }
78
110
  }
79
111
  export async function runTask(task) {
80
- const wallClock = createWallClock();
112
+ const wallClock = createOverkillClock();
81
113
  if (task.kind === 'collect') {
82
- const outputCapture = captureOutput(task, wallClock);
83
- try {
84
- return sendCollectedPlan(await collectTestPlan(task.command));
85
- }
86
- finally {
87
- outputCapture.restore();
88
- task.port.close();
89
- }
114
+ return await runCollectionTask(task, wallClock);
90
115
  }
91
116
  try {
92
- return await runAssignment(task, wallClock);
117
+ return await runAssignments(task, wallClock);
93
118
  }
94
119
  finally {
95
120
  task.port.close();
@@ -1 +1 @@
1
- {"version":3,"file":"worker-pool-worker.js","sourceRoot":"","sources":["../../../../source/run/worker-pool-worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EACH,yBAAyB,EAE5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACH,oCAAoC,EACvC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,8BAA8B,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B,IAA4D,EAC5D,SAAwB;IAExB,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAErD,IAAI,CAAC;QACD,OAAO,MAAM,2BAA2B,CAAC,KAAK,UAAU,yBAAyB;YAC7E,OAAO,iBAAiB,CAAC,MAAM,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QAClE,CAAC,CAAC,CAAC;IACP,CAAC;YAAS,CAAC;QACP,aAAa,CAAC,OAAO,EAAE,CAAC;QACxB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,OAAO,CAAC,IAAoB;IAC9C,MAAM,SAAS,GAAG,mBAAmB,EAAE,CAAC;IAExC,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,iBAAiB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACpD,CAAC;IAED,IAAI,CAAC;QACD,OAAO,MAAM,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACjD,CAAC;YAAS,CAAC;QACP,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;AACL,CAAC"}
package/sbom.cdx.json CHANGED
@@ -16,25 +16,12 @@
16
16
  "component": {
17
17
  "type": "library",
18
18
  "name": "@overkill-dev/run",
19
- "version": "0.0.54",
20
- "bom-ref": "pkg:npm/@overkill-dev/run@0.0.54",
21
- "purl": "pkg:npm/@overkill-dev/run@0.0.54"
19
+ "version": "0.0.56",
20
+ "bom-ref": "pkg:npm/@overkill-dev/run@0.0.56",
21
+ "purl": "pkg:npm/@overkill-dev/run@0.0.56"
22
22
  }
23
23
  },
24
24
  "components": [
25
- {
26
- "type": "library",
27
- "name": "@enormora/wall-clock",
28
- "version": "0.0.3",
29
- "bom-ref": "pkg:npm/@enormora/wall-clock@0.0.3",
30
- "scope": "required",
31
- "licenses": [
32
- {
33
- "expression": "MIT"
34
- }
35
- ],
36
- "purl": "pkg:npm/@enormora/wall-clock@0.0.3"
37
- },
38
25
  {
39
26
  "type": "library",
40
27
  "name": "@schema-hub/zod-error-formatter",
@@ -181,12 +168,8 @@
181
168
  ],
182
169
  "dependencies": [
183
170
  {
184
- "ref": "pkg:npm/@enormora/wall-clock@0.0.3"
185
- },
186
- {
187
- "ref": "pkg:npm/@overkill-dev/run@0.0.54",
171
+ "ref": "pkg:npm/@overkill-dev/run@0.0.56",
188
172
  "dependsOn": [
189
- "pkg:npm/@enormora/wall-clock@0.0.3",
190
173
  "pkg:npm/@schema-hub/zod-error-formatter@0.0.16",
191
174
  "pkg:npm/ansi-escapes@7.3.0",
192
175
  "pkg:npm/diff@9.0.0",