We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7fd01 commit 1f63f7eCopy full SHA for 1f63f7e
lib/utils.js
@@ -22,7 +22,7 @@ exports.removeBackslashes = str => {
22
23
exports.supportsLookbehinds = () => {
24
let segs = process.version.slice(1).split('.');
25
- if (segs.length === 3 && +segs[0] >= 8 && +segs[1] >= 10) {
+ if (segs.length === 3 && +segs[0] >= 9 || (+segs[0] === 8 && +segs[1] >= 10)) {
26
return true;
27
}
28
return false;
0 commit comments