-
Notifications
You must be signed in to change notification settings - Fork 8
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
corejs needs updating #11
Comments
Opened a PR to fix this issue: #12 |
Thanks, but I'm not sure this is worth doing. Despite the dramatic warning message, I doubt the very minimal usage of an old version of core-js is causing any problems. And this whole package is kind of deprecated since modern environments already include And I am kind of rubbed the wrong way by people who pollute our consoles with tons of useless information. Like oh, an old version of an npm package might not be as good as a new version? I never would have guessed! Maybe all us package maintainers should add a message like that for every old version of every package :) |
You are mistaken. A little subset, one of many cases, of this issue is described here. I have always been amazed by people who simply do not believe in what the developers of the tools they use tell them - sure, they know all better -) However, yes, this package is deprecated at least because |
Thanks, I will keep that in mind when applying a fix if anyone ever has a problem with this package besides npm console spam. And it's good that other people have made structuredClone polyfills - the more the merrier. If any had existed back in 2015, realistic-structured-clone would not exist. |
It bacame the standard only in 2021 when it was exposed as |
So, you wanna going to continue to deoptimize the code and ignore notification? -) The most of users just will not understand why their apps works slower. |
My bad, I should have said "implementation" not "polyfill". I'm not aware there is an actual performance problem. If there is a problem and someone shows me an example, I'll fix it. |
The example and the reason of this problem is describe in the article that was posted above. Some other V8 whims / deoptimizations mentioned here, some other you could find in other commits / issues. Those features detection is used not only in polyfills of those features - they are used in most of |
@dumbmatter I agree that polluting the console is the wrong way to go. That said, is there any harm in merging in my MR? I've already done the legwork, and it would be a shame to let it go to waste. |
v2.0.4 upgrades core-js - thanks @duanehutchins v3.0.0 removes core-js |
hi there!
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
I'm getting it as part of install of another package for which your code is a requirement.
Thanks,
Ben
The text was updated successfully, but these errors were encountered: