Replies: 2 comments
-
Hmm this is odd, Line 66 in 56939f7 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think (per https://www.npmjs.com/package/@types/babel__core) that @types/babel__core needs to be upgraded. This link shows it as 7.20.5 which is an old version. The newest one is 7.26.10. Our Devs did a hard override to fix the problem, but that is not the correct fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Github dependabot is showing a defect for @babel/helpers. ts-jest uses @babel/core, and in our code base, @babel/helpers is a transitive dependency from ts-jest, which we have upgraded to the latest version.
Any help appreciated, this is blocking us from fixing the Github reported issue.
Here is the exact wording:
When using Babel to compile regular expression named capturing groups, Babel will generate a polyfill for the .replace method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to .replace).
This problem has been fixed in @babel/helpers and @babel/runtime 7.26.10 and 8.0.0-alpha.17, please upgrade. It's likely that you do not directly depend on @babel/helpers, and instead you depend on @babel/core (which itself depends on @babel/helpers). Upgrading to @babel/core 7.26.10 is not required, but it guarantees that you are on a new enough @babel/helpers version.
Beta Was this translation helpful? Give feedback.
All reactions