@contractspec/lib.testing 3.7.15 → 3.7.16

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.js CHANGED
@@ -72,8 +72,8 @@ describe('${options.suiteName}', () => {${caseBlocks}
72
72
  `.trim();
73
73
  }
74
74
  // src/generator/golden-test-generator.ts
75
- import { randomUUID } from "crypto";
76
75
  import { performance } from "perf_hooks";
76
+ import { randomUUID } from "crypto";
77
77
  class GoldenTestGenerator {
78
78
  serializeMetadata;
79
79
  constructor(serializeMetadata = (snapshot) => ({
@@ -71,8 +71,8 @@ describe('${options.suiteName}', () => {${caseBlocks}
71
71
  `.trim();
72
72
  }
73
73
  // src/generator/golden-test-generator.ts
74
- import { randomUUID } from "node:crypto";
75
74
  import { performance } from "node:perf_hooks";
75
+ import { randomUUID } from "crypto";
76
76
  class GoldenTestGenerator {
77
77
  serializeMetadata;
78
78
  constructor(serializeMetadata = (snapshot) => ({
@@ -145,7 +145,7 @@ async function runGoldenTests(cases, runner) {
145
145
  return results;
146
146
  }
147
147
  // src/recorder/traffic-recorder.ts
148
- import { randomUUID as randomUUID2 } from "node:crypto";
148
+ import { randomUUID as randomUUID2 } from "crypto";
149
149
 
150
150
  class InMemoryTrafficStore {
151
151
  items = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.testing",
3
- "version": "3.7.15",
3
+ "version": "3.7.16",
4
4
  "description": "Contract-aware testing utilities and runners",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -17,7 +17,7 @@
17
17
  "scripts": {
18
18
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
19
19
  "publish:pkg:canary": "bun publish:pkg --tag canary",
20
- "build": "bun run prebuild && bun run build:bundle && bun run build:types",
20
+ "build": "bun run build:bundle && bun run build:types",
21
21
  "build:bundle": "contractspec-bun-build transpile",
22
22
  "build:types": "contractspec-bun-build types",
23
23
  "dev": "contractspec-bun-build dev",
@@ -30,13 +30,13 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@contractspec/lib.schema": "3.7.12",
34
- "@contractspec/lib.contracts-spec": "5.0.3"
33
+ "@contractspec/lib.schema": "3.7.13",
34
+ "@contractspec/lib.contracts-spec": "5.0.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@contractspec/tool.typescript": "3.7.11",
37
+ "@contractspec/tool.typescript": "3.7.12",
38
38
  "typescript": "^5.9.3",
39
- "@contractspec/tool.bun": "3.7.11"
39
+ "@contractspec/tool.bun": "3.7.12"
40
40
  },
41
41
  "exports": {
42
42
  ".": {