Commit 0145a82
authored
fix: move minimum-release-age to pnpm-workspace.yaml, fix Socket package downgrades (#136)
* fix: move minimum-release-age to pnpm-workspace.yaml, fix Socket package downgrades
- Move pnpm's minimum-release-age from .npmrc to pnpm-workspace.yaml
to avoid npm v11+ warning about unknown config key
- Keep min-release-age=7 in .npmrc for npm
- Fix update script: bypass age gate for @socketsecurity/* and
@socketregistry/* via env override (prevents downgrades)
* fix(test): replace flaky clock-skew cache tests with real TTL expiration test
The two clock-skew tests didn't actually test clock skew — they just did
set/get/clear without creating far-future entries. They were slow
(filesystem IO) and caused CI worker timeouts. Replaced with a single
memoized TTL expiration test that verifies entries expire after TTL.1 parent 539f3ff commit 0145a82
4 files changed
Lines changed: 18 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
503 | 475 | | |
504 | 476 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
| 477 | + | |
| 478 | + | |
511 | 479 | | |
512 | | - | |
513 | | - | |
| 480 | + | |
| 481 | + | |
514 | 482 | | |
515 | | - | |
| 483 | + | |
516 | 484 | | |
517 | 485 | | |
518 | 486 | | |
| |||
0 commit comments