Update dependency eslint to v9 (#4996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: cairo <cairoeth@protonmail.com>
This commit is contained in:
@ -106,7 +106,7 @@ async function readChangesetState(cwd = process.cwd()) {
|
||||
};
|
||||
}
|
||||
|
||||
async function isPublishedOnNpm(package, version) {
|
||||
const res = await fetch(`https://registry.npmjs.com/${package}/${version}`);
|
||||
async function isPublishedOnNpm(packageName, version) {
|
||||
const res = await fetch(`https://registry.npmjs.com/${packageName}/${version}`);
|
||||
return res.ok;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user