in scripts/utils/convert-jsr-readme.cjs [78:91]
node(node) {
switch (node.type) {
case 'ImportDeclaration':
case 'ExportNamedDeclaration':
case 'ExportAllDeclaration':
case 'ImportExpression':
if (node.source) {
const { range, value } = node.source;
if (value.startsWith(config.npm)) {
replace(range, JSON.stringify(value.replace(config.npm, config.jsr)));
}
}
}
},