nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

fix: use import attribute in release-post script

Open targos opened this issue 1 year ago • 3 comments

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 format to ensure the code follows the style guide.
  • [ ] I have run npm run test to check if all tests are passing.
  • [ ] I have run npx turbo build to check if the website builds without errors.
  • [ ] I've covered new added functionality with unit tests if necessary.

targos avatar May 02 '24 14:05 targos

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

vercel[bot] avatar May 02 '24 14:05 vercel[bot]

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 🔗

github-actions[bot] avatar May 03 '24 19:05 github-actions[bot]

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 91%
90.04% (588/653) 76.08% (175/230) 92.18% (118/128)

Unit Test Report

Tests Skipped Failures Errors Time
128 0 :zzz: 0 :x: 0 :fire: 5.851s :stopwatch:

github-actions[bot] avatar May 03 '24 19:05 github-actions[bot]