@contractspec/lib.contracts-transformers 1.59.0 → 1.61.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.
Files changed (1) hide show
  1. package/package.json +45 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.contracts-transformers",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Contract format transformations: import/export between ContractSpec and external formats (OpenAPI, AsyncAPI, etc.)",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -27,17 +27,17 @@
27
27
  "typecheck": "tsc --noEmit"
28
28
  },
29
29
  "dependencies": {
30
- "@contractspec/lib.contracts": "1.59.0",
31
- "@contractspec/lib.schema": "1.59.0",
30
+ "@contractspec/lib.contracts": "1.61.0",
31
+ "@contractspec/lib.schema": "1.61.0",
32
32
  "compare-versions": "^6.1.1",
33
33
  "openapi-types": "^12.1.3",
34
34
  "yaml": "^2.7.1",
35
35
  "zod": "^4.3.5"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.typescript": "1.59.0",
38
+ "@contractspec/tool.typescript": "1.61.0",
39
39
  "typescript": "^5.9.3",
40
- "@contractspec/tool.bun": "1.58.0"
40
+ "@contractspec/tool.bun": "1.60.0"
41
41
  },
42
42
  "types": "./dist/index.d.ts",
43
43
  "files": [
@@ -45,11 +45,41 @@
45
45
  "README.md"
46
46
  ],
47
47
  "exports": {
48
- ".": "./src/index.ts",
49
- "./common": "./src/common/index.ts",
50
- "./common/index": "./src/common/index.ts",
51
- "./openapi": "./src/openapi/index.ts",
52
- "./openapi/index": "./src/openapi/index.ts"
48
+ ".": {
49
+ "types": "./dist/index.d.ts",
50
+ "bun": "./dist/index.js",
51
+ "node": "./dist/node/index.js",
52
+ "browser": "./dist/browser/index.js",
53
+ "default": "./dist/index.js"
54
+ },
55
+ "./common": {
56
+ "types": "./dist/common/index.d.ts",
57
+ "bun": "./dist/common/index.js",
58
+ "node": "./dist/node/common/index.js",
59
+ "browser": "./dist/browser/common/index.js",
60
+ "default": "./dist/common/index.js"
61
+ },
62
+ "./common/index": {
63
+ "types": "./dist/common/index.d.ts",
64
+ "bun": "./dist/common/index.js",
65
+ "node": "./dist/node/common/index.js",
66
+ "browser": "./dist/browser/common/index.js",
67
+ "default": "./dist/common/index.js"
68
+ },
69
+ "./openapi": {
70
+ "types": "./dist/openapi/index.d.ts",
71
+ "bun": "./dist/openapi/index.js",
72
+ "node": "./dist/node/openapi/index.js",
73
+ "browser": "./dist/browser/openapi/index.js",
74
+ "default": "./dist/openapi/index.js"
75
+ },
76
+ "./openapi/index": {
77
+ "types": "./dist/openapi/index.d.ts",
78
+ "bun": "./dist/openapi/index.js",
79
+ "node": "./dist/node/openapi/index.js",
80
+ "browser": "./dist/browser/openapi/index.js",
81
+ "default": "./dist/openapi/index.js"
82
+ }
53
83
  },
54
84
  "publishConfig": {
55
85
  "access": "public",
@@ -57,35 +87,35 @@
57
87
  ".": {
58
88
  "types": "./dist/index.d.ts",
59
89
  "bun": "./dist/index.js",
60
- "node": "./dist/node/index.mjs",
90
+ "node": "./dist/node/index.js",
61
91
  "browser": "./dist/browser/index.js",
62
92
  "default": "./dist/index.js"
63
93
  },
64
94
  "./common": {
65
95
  "types": "./dist/common/index.d.ts",
66
96
  "bun": "./dist/common/index.js",
67
- "node": "./dist/node/common/index.mjs",
97
+ "node": "./dist/node/common/index.js",
68
98
  "browser": "./dist/browser/common/index.js",
69
99
  "default": "./dist/common/index.js"
70
100
  },
71
101
  "./common/index": {
72
102
  "types": "./dist/common/index.d.ts",
73
103
  "bun": "./dist/common/index.js",
74
- "node": "./dist/node/common/index.mjs",
104
+ "node": "./dist/node/common/index.js",
75
105
  "browser": "./dist/browser/common/index.js",
76
106
  "default": "./dist/common/index.js"
77
107
  },
78
108
  "./openapi": {
79
109
  "types": "./dist/openapi/index.d.ts",
80
110
  "bun": "./dist/openapi/index.js",
81
- "node": "./dist/node/openapi/index.mjs",
111
+ "node": "./dist/node/openapi/index.js",
82
112
  "browser": "./dist/browser/openapi/index.js",
83
113
  "default": "./dist/openapi/index.js"
84
114
  },
85
115
  "./openapi/index": {
86
116
  "types": "./dist/openapi/index.d.ts",
87
117
  "bun": "./dist/openapi/index.js",
88
- "node": "./dist/node/openapi/index.mjs",
118
+ "node": "./dist/node/openapi/index.js",
89
119
  "browser": "./dist/browser/openapi/index.js",
90
120
  "default": "./dist/openapi/index.js"
91
121
  }