Commit 9f26c9e
committed
feat!: drop Node.js < 22 support
BREAKING CHANGE: Minimum supported Node.js version is now 22.0.0.
- Remove patchForNode16() polyfills from src/utils.ts and src/index.ts
- Remove old Node.js CI workflow and test patches
- Remove polyfill devDependencies (@ungap/structured-clone, string.prototype.towellformed)
- Simplify version-conditional test code (keySize, skipIf, assertions)
- Update CI matrix to test Node.js 22, 24, 25 only
Closes #7181 parent 46c6ac9 commit 9f26c9e
20 files changed
Lines changed: 20 additions & 951 deletions
File tree
- .github/workflows
- src
- test
- fixtures
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | | - | |
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
101 | 98 | | |
102 | 99 | | |
103 | 100 | | |
| |||
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | | - | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
| |||
0 commit comments