nodejs.org
nodejs.org copied to clipboard
fix: use import attribute in release-post script
Description
Node.js 22.0.0 removed support for import assertions. The new syntax works in recent versions of Node.js 20 and 18.
Validation
Preparing the release post for v22.1.0 with it.
Related Issues
Check List
- [ ] I have read the Contributing Guidelines and made commit messages that follow the guideline.
- [ ] I have run
npm run formatto ensure the code follows the style guide. - [ ] I have run
npm run testto check if all tests are passing. - [ ] I have run
npx turbo buildto check if the website builds without errors. - [ ] I've covered new added functionality with unit tests if necessary.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nodejs-org | ✅ Ready (Inspect) | Visit Preview | May 2, 2024 2:17pm |
Lighthouse Results
| URL | Performance | Accessibility | Best Practices | SEO | Report |
|---|---|---|---|---|---|
| /en | 🟠 82 | 🟢 100 | 🟢 96 | 🟢 91 | 🔗 |
| /en/about | 🟢 99 | 🟢 100 | 🟢 100 | 🟢 91 | 🔗 |
| /en/about/previous-releases | 🟢 98 | 🟢 98 | 🟢 100 | 🟢 92 | 🔗 |
| /en/download | 🟢 99 | 🟢 100 | 🟢 100 | 🟢 91 | 🔗 |
| /en/blog | 🟢 100 | 🟢 100 | 🟢 96 | 🟢 92 | 🔗 |