Repository navigation
Commit f68b18b
* Start fix for #370
Assisted-by: Claude Code:claude-opus-5-5
* Read yarnrc compressionLevel past YAML comments
A .yarnrc.yml line like `compressionLevel: 0 # keep yarn default` is
the yarn default (cacheKey 10c0), but socket-patch read the comment as
part of the value and refused the project in both vendored and hosted
mode. The reader now parses the value as a YAML scalar: a quoted value
ends at its closing quote and a plain value ends before a
whitespace-separated `#`. Anything not positively `0` still refuses.
Fixes #370
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d63ae5f commit f68b18b
3 files changed
Lines changed: 89 additions & 6 deletions
File tree
- crates
- socket-patch-cli/tests
- socket-patch-core/src
- patch/redirect
- vendor
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
269 | 282 | | |
270 | 283 | | |
271 | 284 | | |
| |||
277 | 290 | | |
278 | 291 | | |
279 | 292 | | |
280 | | - | |
| 293 | + | |
281 | 294 | | |
282 | 295 | | |
283 | | - | |
| 296 | + | |
| 297 | + | |
284 | 298 | | |
285 | 299 | | |
286 | 300 | | |
| |||
304 | 318 | | |
305 | 319 | | |
306 | 320 | | |
307 | | - | |
| 321 | + | |
308 | 322 | | |
309 | 323 | | |
310 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14450 | 14450 | | |
14451 | 14451 | | |
14452 | 14452 | | |
| 14453 | + | |
| 14454 | + | |
| 14455 | + | |
| 14456 | + | |
| 14457 | + | |
| 14458 | + | |
| 14459 | + | |
| 14460 | + | |
| 14461 | + | |
14453 | 14462 | | |
14454 | 14463 | | |
14455 | 14464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
1351 | 1356 | | |
1352 | 1357 | | |
1353 | 1358 | | |
1354 | | - | |
1355 | | - | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
1356 | 1370 | | |
1357 | 1371 | | |
1358 | 1372 | | |
| |||
1858 | 1872 | | |
1859 | 1873 | | |
1860 | 1874 | | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
1861 | 1890 | | |
1862 | 1891 | | |
1863 | 1892 | | |
| |||
3963 | 3992 | | |
3964 | 3993 | | |
3965 | 3994 | | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
| 4007 | + | |
| 4008 | + | |
| 4009 | + | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
3966 | 4026 | | |
3967 | 4027 | | |
3968 | 4028 | | |
| |||
0 commit comments