Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] should throw error when invalid range with loose is true #387

Open
bluelovers opened this issue Jun 25, 2021 · 0 comments
Open

[BUG] should throw error when invalid range with loose is true #387

bluelovers opened this issue Jun 25, 2021 · 0 comments
Labels
Bug thing that needs fixing

Comments

@bluelovers
Copy link
Contributor

What / Why

let input = '* (4.1.x  4.1.2)'

let s = new Range(input, {
	loose: true
});

console.dir(s)
console.dir(s.set)
console.dir(s.format())

console.dir(validRange(input, {
	loose: true
}))

How

Current Behavior

  • n/a

Expected Behavior

  • throw error because not support ( xxxx )

Who

  • n/a

References

  • n/a
@lukekarrys lukekarrys added the Bug thing that needs fixing label Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing
Projects
None yet
Development

No branches or pull requests

2 participants