nodejs / nodejs.org

The Node.js® Website
https://nodejs.org
MIT License
6.02k stars 6.17k forks source link

fix: use import attribute in release-post script #6707

Closed targos closed 2 months ago

targos commented 2 months ago

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

vercel[bot] commented 2 months ago

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
github-actions[bot] commented 2 months ago
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] commented 2 months ago

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: