jsr-io / jsr

The open-source package registry for modern JavaScript and TypeScript
https://jsr.io
MIT License
2.3k stars 104 forks source link

False positive "slow types" #698

Open uaeio opened 3 weeks ago

uaeio commented 3 weeks ago

Package: https://jsr.io/@whiteand/cbor/score

I see low score, because of the 'Slow type'

But, I don't have slow types. My package has "isolatedDeclarations": true. And the jsr publish is successful.

lionel-rowe commented 3 weeks ago

I'm having the same issue with https://jsr.io/@li/regexp-escape-polyfill/score (also I think you mean "false positive" 😉). I only export one function, which is explicitly marked with parameter and return types.

Is there any way of digging into "slow types" and other aspects of the score? deno publish --dry-run only shows green.