ddycai / chord-transposer

Node library for transposing musical chords within text.
https://ddycai.github.io/chord-transposer/
MIT License
58 stars 23 forks source link

Please add support to xregexp 4.4.0 #14

Closed sachithd closed 3 years ago

sachithd commented 4 years ago

The library fails after updating the xregexp version to 4.4.0. (Works fine on 4.2.4). Thanks

davidfabreguette commented 3 years ago

Yep ! Getting this error with "4.4.0" :

"export 'exec' (imported as 'XRegExp') was not found in 'xregexp'

For those struggling with yarn like me, I had to force resolution for "chord-transposer" package like that in my package.json file :

"resolutions": {
    "chord-transposer/xregexp": "4.3.0"
  },
ddycai commented 3 years ago

I updated the dependency to 4.4.0 and the tests passed. I'm not sure why it was broken for you after updating. Let me know if it works now.