Open BurtHarris opened 3 years ago
It looks like this is a duplicate of zaach/jison-lex#27 under Node versions greater than 10.
I was able to fix it by changing regexp in jison-lex/regexp-lexer.js (line 57) to:
rules[i][1] = String(rules[i][1]).replace(/^(?:\s|\n)*function\s*\(\s*\)(?:\s|\n)*\{((.|\n)*)\}(?:\s|\n|;)*$/, '$1');
Running
npm install
andnpm test
seems to produce two error messages (in addition to conflict messages).Environment
node v14.17.0 npm 7.13.0