case-anything: Node 12/14 - ReplaceAll error

@mesqueeb

I noticed that during automated testing using Github actions, after implementation of the case-anything package, that Node 12/14 throws this error:

(node:2012) UnhandledPromiseRejectionWarning: TypeError: foundPrefix.replaceAll is not a function
        at /home/runner/work/openapi-format/openapi-format/node_modules/case-anything/dist/index.umd.js:54:41
        at Array.map (<anonymous>)
        at splitAndPrefix (/home/runner/work/openapi-format/openapi-format/node_modules/case-anything/dist/index.umd.js:41:36)
        at snakeCase (/home/runner/work/openapi-format/openapi-format/node_modules/case-anything/dist/index.umd.js:158:14)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

@thim81 zoizo!!! Ik zag dat jij aan een populaire library ook werkt: Portman? Hebbem in de readme gezet 😉

https://github.com/mesqueeb/case-anything#readme

tot noggis he! nog veel success met je libraries 😄

Will release tomorrow