isaacs / node-lru-cache

A fast cache that automatically deletes the least recently used items
http://isaacs.github.io/node-lru-cache/
ISC License
5.38k stars 353 forks source link

./min exports files are missing since v10.0.2 #334

Closed bluwy closed 7 months ago

bluwy commented 7 months ago

Since v10.0.2, the ./min exports files are missing. v10.0.1 has the files. GitHub diff between v10.0.1 and v10.0.2.

Personally I'm not using this library nor the specific export, but I found this from https://publint.dev/lru-cache@10.0.2 as lru-cache is a popular npm package.

I think the issue is because fixup.sh is not called before publish. Or package.json tshy.exports doesn't match exports?

isaacs commented 7 months ago

Oh, whoops, I thought fixup.sh was just doing the hybrid stuff, forgot about the minification. Will fix.

bluwy commented 7 months ago

Hey, it seems like it's still not quite fixed yet on v10.2.1 (latest). The .min.js files aren't published: https://www.npmjs.com/package/lru-cache?activeTab=code

https://publint.dev/lru-cache@10.2.1

image