global-jsdom icon indicating copy to clipboard operation
global-jsdom copied to clipboard

semver for jsdom in peerDependencies

Open alumni opened this issue 3 years ago • 0 comments

Currently any jsdom version is accepted because the semver contains the "or" operator (>=10.0.0 || <20 matches everything including 9, 20, 21). To achieve the same result, * could be used instead.

If you want to match everything between 10 and 20 (open interval), the semver should be: >=10 <=20.

alumni avatar Jul 04 '22 12:07 alumni