-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
After installing the package, opening Node (v14.15.0), and trying to require the package there is an error about missing regeneratorRuntime. If I pull the .ts code and transpile it as part of my own project it works great. So I guess this has to do with the .js build / babel settings. I assume the package is intended to work in Node also?
Welcome to Node.js v14.15.0.
Type ".help" for more information.
> r = require('regex-to-strings')
Uncaught ReferenceError: regeneratorRuntime is not defined
at toIterable (/...redacted.../node_modules/regex-to-strings/lib/Expansion.js:13:3)
at new Expansion (/...redacted.../node_modules/regex-to-strings/lib/Expansion.js:52:22)
at Object.<anonymous> (/...redacted.../node_modules/regex-to-strings/lib/Expansion.js:58:37)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working