GitHub
03/17/2025, 12:37 PMis-bun-module as optional peer dependency
Technically this is a BREAKING CHANGE, but considering we just raise out v4 recently and this only affects bun users, bun --bun eslint even works without this dependency, so I'd consider this as a minor change.
So for bun users, there are three options:
1. install is-bun-module dependency manually and use bun: true option
2. run eslint with bun --bun eslint w/o bun: true option
3. enable run#bun in `bunfig.toml` w/o bun: true option
### `v4.1.1`
Compare Source
##### Patch Changes
• #389 `1b97d8a` Thanks @JounQin! - fix: should prefer module.isBuiltin when process.versions.bun available
### `v4.1.0`
Compare Source
##### Minor Changes
• #387 `ef5cd10` Thanks @JounQin! - feat: add a new bun?: boolean option for bun users - close #386
process.versions.bun is unavailable even with bun eslint due to its own design,
but checking bun modules for non-bun users is incorrect behavior and just wasting time,
so a new option is added for such case, you can still run with `bun --bun esli…
pact-foundation/pact-jsGitHub
03/18/2025, 12:13 PM