diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0d3c4a..6b25e432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ## Unreleased * Fixed the new `pagefind` npm wrapper to use the `pagefind_extended` release, as documented. +* Change `microjson` git dependency to a `pagefind_microjson` crate dependency (for now) — #421 . ## v1.0.0 (September 13, 2023) diff --git a/wrappers/node/lib/resolveBinary.js b/wrappers/node/lib/resolveBinary.js index 712e118f..4e10a808 100644 --- a/wrappers/node/lib/resolveBinary.js +++ b/wrappers/node/lib/resolveBinary.js @@ -21,7 +21,7 @@ export function resolveBinaryPath(execnames = []) { const executable = platform === 'windows' ? `${execname}.exe` : execname; try { - return require.resolve(`@${execname}/${platform}-${cpu}/bin/${executable}`); + return require.resolve(`@pagefind/${platform}-${cpu}/bin/${executable}`); } catch (e) { } }