Skip to content

Commit 408cacb

Browse files
authored
fix: use import attribute in release-post script (nodejs#6707)
Node.js 22.0.0 removed support for import assertions
1 parent 0b31ad4 commit 408cacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release-post/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import handlebars from 'handlebars';
2828
import { format } from 'prettier';
2929

3030
import { downloadsTable } from './downloadsTable.mjs';
31-
import prettierConfig from '../../.prettierrc.json' assert { type: 'json' };
31+
import prettierConfig from '../../.prettierrc.json' with { type: 'json' };
3232
import { getRelativePath } from '../../next.helpers.mjs';
3333

3434
const URLS = {

0 commit comments

Comments
 (0)