Commit 48a24e8
fix: resolve build warnings and vulnerable transitive package versions (#33)
* fix: resolve build warnings and vulnerable transitive package versions
- Suppress FS0044 self-calls in deprecated schema-processor types and
drop redundant upcasts (FS0066) in JsonSchema.fs
- Pin System.Text.Json and Newtonsoft.Json above versions flagged by
NU1903 (GHSA-8g4q-xg66-9fp4, GHSA-5crp-9r3c-p9vr)
- Bump Expecto to 9.0.4 to clear the NU1605 downgrade warning against
Verify.Expecto's floor
- Bump Microsoft.NET.Test.Sdk 16.8.0 -> 17.14.1 across test projects,
removing its vulnerable transitive Newtonsoft.Json 9.0.1
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix: scope FS0044 suppression to actual self-call sites
Marking each interface-impl member [<Obsolete>] doesn't suppress the
warning for calling another Obsolete member in F# (unlike C#'s
CS0618 behavior) - verified it still fired at all 5 sites. Use
line-scoped #nowarn/#warnon "44" pragmas instead, bounded to each
call, so unrelated future obsolete-API misuse in this file still
warns.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 6e0d8e8 commit 48a24e8
7 files changed
Lines changed: 52 additions & 8 deletions
File tree
- src
- FSharp.Data.JsonSchema.Core
- FSharp.Data.JsonSchema.NJsonSchema
- test
- FSharp.Data.JsonSchema.Core.Tests
- FSharp.Data.JsonSchema.OpenApi.Tests
- FSharp.Data.JsonSchema.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
20 | 32 | | |
21 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
203 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
204 | 212 | | |
| 213 | + | |
205 | 214 | | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| 220 | + | |
| 221 | + | |
211 | 222 | | |
| 223 | + | |
212 | 224 | | |
213 | 225 | | |
214 | 226 | | |
| |||
230 | 242 | | |
231 | 243 | | |
232 | 244 | | |
| 245 | + | |
| 246 | + | |
233 | 247 | | |
| 248 | + | |
234 | 249 | | |
235 | 250 | | |
236 | 251 | | |
| |||
332 | 347 | | |
333 | 348 | | |
334 | 349 | | |
335 | | - | |
336 | | - | |
| 350 | + | |
| 351 | + | |
337 | 352 | | |
338 | 353 | | |
339 | 354 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments