-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of stack space error in IE 11 when loading shim.min.js from core-js 2.6.0 #463
Comments
I'll check it tomorrow |
@theodorejb could you add a reproducible example? |
The problem is that |
+1 Looking at the original uncompiled file https://github.com/zloirock/core-js/blob/v2.5.7/modules/es6.regexp.split.js which doesn't have the issue makes me suspect that when it's built the assignment to $split gets optimized out and thus we get this issue @zloirock a reproducible example is as simple as running |
You are right |
We are getting the same issue, downgrading to 2.5.7 fixed it for now. |
Same issue here |
The minifier correctly inlines an overwritten function, leading to a call stack overflow error. This commit refactors the code a bit to prevent the mifnier from inlining that variable.
The fix has been merged and it will be released in 2.6.1. |
I have an Angular app, and it works fine in all browsers when loading shim.min.js from core-js v2.5.7. However, after updating to core-js v2.6.0, I get an "Out of stack space" error in shim.min.js in IE 11.
I tried switching to the non-minified file and got the same error, on the following line:
core-js/client/shim.js
Line 6312 in f980318
The text was updated successfully, but these errors were encountered: