fix(deps): add overrides for flatted and undici vulnerabilities (#477)

<!-- Please read
https://github.com/ajbura/cinny/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

- flatted >=3.4.2: fixes
https://github.com/advisories/GHSA-rf6f-7fwh-wjgh (prototype pollution
via parse())
- undici >=7.24.0: fixes 6 CVEs like
https://github.com/advisories/GHSA-v9p9-hfj2-hcw8 including DoS via
WebSocket frame overflow,
  decompression bombs, request smuggling, and CRLF injection

Both affect dev dependencies only (vitest, jsdom, wrangler).

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
This commit is contained in:
7w1 authored and GitHub committed 2026-03-23 02:29:23 +00:00
commit 6fb4f28309
2 files changed
+10 -17

No files matched your search

+8 -17
View File
@@ -11,6 +11,8 @@ overrides:
minimatch: '>=10.2.3'
rollup: '>=4.59.0'
serialize-javascript: '>=7.0.3'
flatted: '>=3.4.2'
undici: '>=7.24.0'
importers:
@@ -3881,11 +3883,8 @@ packages:
resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
engines: {node: '>=16'}
[email protected].0:
resolution: {integrity: sha512-kC6Bb+ooptOIvWj5B63EQWkF0FEnNjV2ZNkLMLZRDDduIiWeFF4iKnslwhiWxjAdbg4NzTNo6h0qLuvFrcx+Sw==}
[email protected]:
resolution: {integrity: sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==}
[email protected].2:
resolution: {integrity: sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==}
[email protected]:
resolution: {integrity: sha512-PN4Ya9xf9nyj/Nd9VxBNMuD7IrlRbmaG6POAQ8VLqgtc6IY/Ln1tYakow+UIq4fihYYYFM70/2oyidE6bbiPgw==}
@@ -5350,10 +5349,6 @@ packages:
[email protected]:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
[email protected]:
resolution: {integrity: sha512-y+8YjDFzWdQlSE9N5nzKMT3g4a5UBX1HKowfdXh0uvAnTaqqwqB92Jt4UXBAeKekDs5IaDKyJFR4X1gYVCgXcw==}
engines: {node: '>=20.18.1'}
[email protected]:
resolution: {integrity: sha512-eJdUmK/Wrx2d+mnWWmwwLRyA7OQCkLap60sk3dOK4ViZR7DKwwptwuIvFBg2HaiP9ESaEdhtpSymQPvytpmkCA==}
engines: {node: '>=20.18.1'}
@@ -8854,7 +8849,7 @@ snapshots:
dependencies:
'@vitest/utils': 4.1.0
fflate: 0.8.2
flatted: 3.4.0
flatted: 3.4.2
pathe: 2.0.3
sirv: 3.0.2
tinyglobby: 0.2.15
@@ -9833,12 +9828,10 @@ snapshots:
[email protected]:
dependencies:
flatted: 3.4.1
flatted: 3.4.2
keyv: 4.5.4
[email protected].0: {}
[email protected]: {}
[email protected].2: {}
[email protected]([email protected])([email protected]([email protected]))([email protected]):
dependencies:
@@ -10521,7 +10514,7 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
sharp: 0.34.5
undici: 7.18.2
undici: 7.24.3
workerd: 1.20260310.1
ws: 8.18.0
youch: 4.1.0-beta.10
@@ -11471,8 +11464,6 @@ snapshots:
[email protected]: {}
[email protected]: {}
[email protected]: {}
[email protected]:
+2
View File
@@ -17,6 +17,8 @@ overrides:
minimatch: '>=10.2.3'
rollup: '>=4.59.0'
serialize-javascript: '>=7.0.3'
flatted: '>=3.4.2'
undici: '>=7.24.0'
peerDependencyRules:
allowedVersions: