feat: Upgrade to Node 18 and remove cross-fetch
High Level Overview of Change
- Upgrade to node.js 18
- Remove cross-fetch and use native
Fixes #2676
Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Refactor (non-breaking change that only restructures code)
- [ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
- [ ] Documentation Updates
- [ ] Release
Did you update HISTORY.md?
- [X] Yes
- [ ] No, this change does not impact library users
Test Plan
Automated tests
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@noble/[email protected] | None | 0 |
1.39 MB | paulmillr |
| npm/@scure/[email protected] | None | 0 |
80.4 kB | paulmillr |
| npm/@types/[email protected] | None | 0 |
862 kB | types |
| npm/@types/[email protected] | None | 0 |
1.97 MB | types |
🚮 Removed packages: npm/@noble/[email protected], npm/@scure/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected]
This should be done in a major version bump.
FYI: Node 18 has LTS support only until April 2025. We will need to perform a similar obviation of Node 18 at that time
FYI: Node 18 has LTS support only until April 2025. We will need to perform a similar obviation of Node 18 at that time
In the past, for the most part we keep support for the version until we need to remove it or until it's super old.