v4.2.0
Features
- add
restrictions
option- allow to specify strings or regexps that must be matched for a valid result
- when not matched, alternatives are tried (like alternative mainField, mainFile, parent node_modules, etc.)
- when passing a string result must be equal or inside of this folder