@contractspec/lib.feature-flags 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 +109 -31
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.feature-flags",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Feature flags and experiments module for ContractSpec applications",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -26,29 +26,107 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@contractspec/lib.schema": "1.59.0",
30
- "@contractspec/lib.contracts": "1.59.0",
29
+ "@contractspec/lib.schema": "1.61.0",
30
+ "@contractspec/lib.contracts": "1.61.0",
31
31
  "zod": "^4.3.5"
32
32
  },
33
33
  "devDependencies": {
34
- "@contractspec/tool.typescript": "1.59.0",
34
+ "@contractspec/tool.typescript": "1.61.0",
35
35
  "typescript": "^5.9.3",
36
- "@contractspec/tool.bun": "1.58.0"
36
+ "@contractspec/tool.bun": "1.60.0"
37
37
  },
38
38
  "exports": {
39
- ".": "./src/index.ts",
40
- "./contracts": "./src/contracts/index.ts",
41
- "./contracts/index": "./src/contracts/index.ts",
42
- "./docs": "./src/docs/index.ts",
43
- "./docs/feature-flags.docblock": "./src/docs/feature-flags.docblock.ts",
44
- "./docs/index": "./src/docs/index.ts",
45
- "./entities": "./src/entities/index.ts",
46
- "./entities/index": "./src/entities/index.ts",
47
- "./evaluation": "./src/evaluation/index.ts",
48
- "./evaluation/index": "./src/evaluation/index.ts",
49
- "./events": "./src/events.ts",
50
- "./feature-flags.capability": "./src/feature-flags.capability.ts",
51
- "./feature-flags.feature": "./src/feature-flags.feature.ts"
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "bun": "./dist/index.js",
42
+ "node": "./dist/node/index.js",
43
+ "browser": "./dist/browser/index.js",
44
+ "default": "./dist/index.js"
45
+ },
46
+ "./contracts": {
47
+ "types": "./dist/contracts/index.d.ts",
48
+ "bun": "./dist/contracts/index.js",
49
+ "node": "./dist/node/contracts/index.js",
50
+ "browser": "./dist/browser/contracts/index.js",
51
+ "default": "./dist/contracts/index.js"
52
+ },
53
+ "./contracts/index": {
54
+ "types": "./dist/contracts/index.d.ts",
55
+ "bun": "./dist/contracts/index.js",
56
+ "node": "./dist/node/contracts/index.js",
57
+ "browser": "./dist/browser/contracts/index.js",
58
+ "default": "./dist/contracts/index.js"
59
+ },
60
+ "./docs": {
61
+ "types": "./dist/docs/index.d.ts",
62
+ "bun": "./dist/docs/index.js",
63
+ "node": "./dist/node/docs/index.js",
64
+ "browser": "./dist/browser/docs/index.js",
65
+ "default": "./dist/docs/index.js"
66
+ },
67
+ "./docs/feature-flags.docblock": {
68
+ "types": "./dist/docs/feature-flags.docblock.d.ts",
69
+ "bun": "./dist/docs/feature-flags.docblock.js",
70
+ "node": "./dist/node/docs/feature-flags.docblock.js",
71
+ "browser": "./dist/browser/docs/feature-flags.docblock.js",
72
+ "default": "./dist/docs/feature-flags.docblock.js"
73
+ },
74
+ "./docs/index": {
75
+ "types": "./dist/docs/index.d.ts",
76
+ "bun": "./dist/docs/index.js",
77
+ "node": "./dist/node/docs/index.js",
78
+ "browser": "./dist/browser/docs/index.js",
79
+ "default": "./dist/docs/index.js"
80
+ },
81
+ "./entities": {
82
+ "types": "./dist/entities/index.d.ts",
83
+ "bun": "./dist/entities/index.js",
84
+ "node": "./dist/node/entities/index.js",
85
+ "browser": "./dist/browser/entities/index.js",
86
+ "default": "./dist/entities/index.js"
87
+ },
88
+ "./entities/index": {
89
+ "types": "./dist/entities/index.d.ts",
90
+ "bun": "./dist/entities/index.js",
91
+ "node": "./dist/node/entities/index.js",
92
+ "browser": "./dist/browser/entities/index.js",
93
+ "default": "./dist/entities/index.js"
94
+ },
95
+ "./evaluation": {
96
+ "types": "./dist/evaluation/index.d.ts",
97
+ "bun": "./dist/evaluation/index.js",
98
+ "node": "./dist/node/evaluation/index.js",
99
+ "browser": "./dist/browser/evaluation/index.js",
100
+ "default": "./dist/evaluation/index.js"
101
+ },
102
+ "./evaluation/index": {
103
+ "types": "./dist/evaluation/index.d.ts",
104
+ "bun": "./dist/evaluation/index.js",
105
+ "node": "./dist/node/evaluation/index.js",
106
+ "browser": "./dist/browser/evaluation/index.js",
107
+ "default": "./dist/evaluation/index.js"
108
+ },
109
+ "./events": {
110
+ "types": "./dist/events.d.ts",
111
+ "bun": "./dist/events.js",
112
+ "node": "./dist/node/events.js",
113
+ "browser": "./dist/browser/events.js",
114
+ "default": "./dist/events.js"
115
+ },
116
+ "./feature-flags.capability": {
117
+ "types": "./dist/feature-flags.capability.d.ts",
118
+ "bun": "./dist/feature-flags.capability.js",
119
+ "node": "./dist/node/feature-flags.capability.js",
120
+ "browser": "./dist/browser/feature-flags.capability.js",
121
+ "default": "./dist/feature-flags.capability.js"
122
+ },
123
+ "./feature-flags.feature": {
124
+ "types": "./dist/feature-flags.feature.d.ts",
125
+ "bun": "./dist/feature-flags.feature.js",
126
+ "node": "./dist/node/feature-flags.feature.js",
127
+ "browser": "./dist/browser/feature-flags.feature.js",
128
+ "default": "./dist/feature-flags.feature.js"
129
+ }
52
130
  },
53
131
  "files": [
54
132
  "dist",
@@ -60,91 +138,91 @@
60
138
  ".": {
61
139
  "types": "./dist/index.d.ts",
62
140
  "bun": "./dist/index.js",
63
- "node": "./dist/node/index.mjs",
141
+ "node": "./dist/node/index.js",
64
142
  "browser": "./dist/browser/index.js",
65
143
  "default": "./dist/index.js"
66
144
  },
67
145
  "./contracts": {
68
146
  "types": "./dist/contracts/index.d.ts",
69
147
  "bun": "./dist/contracts/index.js",
70
- "node": "./dist/node/contracts/index.mjs",
148
+ "node": "./dist/node/contracts/index.js",
71
149
  "browser": "./dist/browser/contracts/index.js",
72
150
  "default": "./dist/contracts/index.js"
73
151
  },
74
152
  "./contracts/index": {
75
153
  "types": "./dist/contracts/index.d.ts",
76
154
  "bun": "./dist/contracts/index.js",
77
- "node": "./dist/node/contracts/index.mjs",
155
+ "node": "./dist/node/contracts/index.js",
78
156
  "browser": "./dist/browser/contracts/index.js",
79
157
  "default": "./dist/contracts/index.js"
80
158
  },
81
159
  "./docs": {
82
160
  "types": "./dist/docs/index.d.ts",
83
161
  "bun": "./dist/docs/index.js",
84
- "node": "./dist/node/docs/index.mjs",
162
+ "node": "./dist/node/docs/index.js",
85
163
  "browser": "./dist/browser/docs/index.js",
86
164
  "default": "./dist/docs/index.js"
87
165
  },
88
166
  "./docs/feature-flags.docblock": {
89
167
  "types": "./dist/docs/feature-flags.docblock.d.ts",
90
168
  "bun": "./dist/docs/feature-flags.docblock.js",
91
- "node": "./dist/node/docs/feature-flags.docblock.mjs",
169
+ "node": "./dist/node/docs/feature-flags.docblock.js",
92
170
  "browser": "./dist/browser/docs/feature-flags.docblock.js",
93
171
  "default": "./dist/docs/feature-flags.docblock.js"
94
172
  },
95
173
  "./docs/index": {
96
174
  "types": "./dist/docs/index.d.ts",
97
175
  "bun": "./dist/docs/index.js",
98
- "node": "./dist/node/docs/index.mjs",
176
+ "node": "./dist/node/docs/index.js",
99
177
  "browser": "./dist/browser/docs/index.js",
100
178
  "default": "./dist/docs/index.js"
101
179
  },
102
180
  "./entities": {
103
181
  "types": "./dist/entities/index.d.ts",
104
182
  "bun": "./dist/entities/index.js",
105
- "node": "./dist/node/entities/index.mjs",
183
+ "node": "./dist/node/entities/index.js",
106
184
  "browser": "./dist/browser/entities/index.js",
107
185
  "default": "./dist/entities/index.js"
108
186
  },
109
187
  "./entities/index": {
110
188
  "types": "./dist/entities/index.d.ts",
111
189
  "bun": "./dist/entities/index.js",
112
- "node": "./dist/node/entities/index.mjs",
190
+ "node": "./dist/node/entities/index.js",
113
191
  "browser": "./dist/browser/entities/index.js",
114
192
  "default": "./dist/entities/index.js"
115
193
  },
116
194
  "./evaluation": {
117
195
  "types": "./dist/evaluation/index.d.ts",
118
196
  "bun": "./dist/evaluation/index.js",
119
- "node": "./dist/node/evaluation/index.mjs",
197
+ "node": "./dist/node/evaluation/index.js",
120
198
  "browser": "./dist/browser/evaluation/index.js",
121
199
  "default": "./dist/evaluation/index.js"
122
200
  },
123
201
  "./evaluation/index": {
124
202
  "types": "./dist/evaluation/index.d.ts",
125
203
  "bun": "./dist/evaluation/index.js",
126
- "node": "./dist/node/evaluation/index.mjs",
204
+ "node": "./dist/node/evaluation/index.js",
127
205
  "browser": "./dist/browser/evaluation/index.js",
128
206
  "default": "./dist/evaluation/index.js"
129
207
  },
130
208
  "./events": {
131
209
  "types": "./dist/events.d.ts",
132
210
  "bun": "./dist/events.js",
133
- "node": "./dist/node/events.mjs",
211
+ "node": "./dist/node/events.js",
134
212
  "browser": "./dist/browser/events.js",
135
213
  "default": "./dist/events.js"
136
214
  },
137
215
  "./feature-flags.capability": {
138
216
  "types": "./dist/feature-flags.capability.d.ts",
139
217
  "bun": "./dist/feature-flags.capability.js",
140
- "node": "./dist/node/feature-flags.capability.mjs",
218
+ "node": "./dist/node/feature-flags.capability.js",
141
219
  "browser": "./dist/browser/feature-flags.capability.js",
142
220
  "default": "./dist/feature-flags.capability.js"
143
221
  },
144
222
  "./feature-flags.feature": {
145
223
  "types": "./dist/feature-flags.feature.d.ts",
146
224
  "bun": "./dist/feature-flags.feature.js",
147
- "node": "./dist/node/feature-flags.feature.mjs",
225
+ "node": "./dist/node/feature-flags.feature.js",
148
226
  "browser": "./dist/browser/feature-flags.feature.js",
149
227
  "default": "./dist/feature-flags.feature.js"
150
228
  }