robinloeffel / esbuild-plugin-eslint

Lint your esbuild bundles with eslint. 🧐
https://npmjs.com/esbuild-plugin-eslint
MIT License
7 stars 7 forks source link

allow newer versions of esbuild #10

Closed TravisBernard closed 10 months ago

TravisBernard commented 10 months ago

I'm trying to use this package with esbuild@0.19.5 but the peer dependency can't be resolved because in npm semver the caret resolves to the first non-zero place. So ^0.17.14 is equivalent to >=0.17.14 <0.18.0

This change swaps the caret for a >= comparison so that 0.18, 0.19 and other future versions will match.

robinloeffel commented 10 months ago

huh, the more you know! thanks!