diff --git a/site/package.json b/site/package.json index 76a76c7b..521148b7 100644 --- a/site/package.json +++ b/site/package.json @@ -10,7 +10,7 @@ "node": ">=20.11.1", "yarn": ">=1.22" }, - "packageManager": "yarn@1.22.22", + "packageManager": "yarn@1.22.22", "scripts": { "start": "npm-run-all dev", "dev": "npm-run-all -l clean build:css -p dev:css dev:11ty", diff --git a/site/src/data/github.js b/site/src/data/github.js index e1d37012..6098bddc 100644 --- a/site/src/data/github.js +++ b/site/src/data/github.js @@ -6,7 +6,7 @@ module.exports = async function getLatestReleaseVersion() { return currentData } try { - const fetch = await import('node-fetch') + const fetch = (await import('node-fetch')).default; const res = await fetch( 'https://api.github.com/repos/umputun/remark42/releases' )