SonarJS does not correctly resolve Bun’s default catalog when it is defined at the root of package.json.
Originally reported here:
Oxc traced the warning to SonarJS:
Example:
{
"dependencies": {
"effect": "catalog:"
},
"catalog": {
"effect": "4.0.0-rc.112"
}
}
Bun resolves this correctly, but SonarJS outputs:
Dependency "effect" could not be resolved for catalog "default"
Expected: bare catalog: should resolve against Bun’s top-level "catalog" field without emitting the warning.