feat!: remove process global to work outside of node by styfle · Pull Request #129 · micromatch/picomatch (original) (raw)
In order to support more JS runtimes besides Node.js, this PR drops the check for process global.
The process global was only used to improve the error message for Node.js less than 10 (released April 2018).
This could be considered a breaking change since the error message will change, however this package already specifies package.json engines.node with >=10, so perhaps no one can even run it on older versions of Node.js without an install error.
Line 20 in5214db4
| "node": ">=10" |
|---|
- Related to Browser compatibility #123