Questions tagged [core-js]
For questions about the core-js library for JavaScript. Core-js provides backwards-compatible polyfills for methods, functions, and other objects introduced in the ECMAScript standard. GitHub repository: https://github.com/zloirock/core-js
core-js
116
questions
0
votes
0
answers
18
views
From which version on of Android Webview the core-js is not needed?
Our project is about 10 years old and heavily relied on various polyfill like core-js.
To reduce the bundle size and improve performance, we are going to say good by to legacy browsers and abandon ...
0
votes
2
answers
290
views
What is the problem with array.push implementation in chrome based browsers?
I had thought array.push was a very basic function so I was surprised to see Babel polyfill array.push for Chromium browsers. I checked the MDN document for array.push and saw that it says:
I checked ...
1
vote
0
answers
25
views
Cannot find module '../internals/array-method-uses-to-length'
I am working on Symfony5 project.
There is a following error message:
Uncaught Error: Cannot find module '../internals/array-method-uses-to-length'
In fact, the array-method-uses-to-length module is ...
0
votes
1
answer
2k
views
I need to polyfill nullish-coalescing-operator and optional-chaining
I have an angular application which I recently upgraded to angular 15. I have a requirement to support it in Chrome 69 browser. When I run in Chrome 69, I get 2 errors which are related to the ...
1
vote
1
answer
2k
views
Why we import import "core-js/stable" library?
I'm in a process of optimising one react project. I can see "core-js/stable" is used. Is this package still required for latest browser ? since most browser support ES6 features.
1
vote
1
answer
733
views
How do you add array method polyfill type information to Array prototype?
I'm using a core-js polyfill for the new group Array method that is proposed to be added to ECMAScript.
I'm importing the polyfill globally using:
import 'core-js/actual/array/group'
I use the method ...
0
votes
1
answer
6k
views
Getting Multiple Error on Edge Webview in Windows with Version 18.x with pollyfill Core-js
Edge version : Mozilla/5.0 (Windows NT 10.0; WOW64; MSAppHost/3.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763
System:
Node : v14.19.1
npm : 6.14.16
npm i ...
0
votes
1
answer
131
views
This dependency was not found: * core-js/es6/array in ./node_modules/cache-l
This dependency was not found: * core-js/es6/array in ./node_modules/cache-l
This dependency was not found: * core-js/es6/array in ./node_modules/cache-l
0
votes
1
answer
664
views
Is there a way to make babel transform Object.hasOwn?
preset-env only includes global altering polyfills core-js, which is not great as a library author.
https://github.com/zloirock/core-js#babelruntime talks about a babel transform for imports but none ...
0
votes
1
answer
31
views
core-js error when trying download firebase package
I get this error when trying to download firebase but another package I don't see. What can I do?
Also when I tried npm install [email protected] I achieved the same error
I removed folders inside npm-...
0
votes
1
answer
1k
views
Deprecated core-js error while installing packages
I am getting this error while trying to install cloudinary and multer-storage-cloudinary:
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage ...
6
votes
1
answer
2k
views
why does Babel in create-react-app not polyfill Array.prototype.at properly?
I came across an issue and found out its because Babel does not polyfill .at as default
According to spec , Array.prototype.at is merely stage 4, and I already set browserslist to > 0.2%, which ...
1
vote
0
answers
557
views
Aren't too many methods importing babel using core-js?
I decided to use babel-loader for my js files, but when analyzing the source JS I noticed that it weighs too much, so I want to understand whether there are too many implode babel or core-js modules ...
0
votes
1
answer
240
views
Azure app service deployment fails at core-js postinstall
I am deploying a teams app using custom deployment template and a git repo url. The deployment was successfull previously and from last week deployment is failing at core-js postinstall. Below is the ...
0
votes
0
answers
413
views
core-js wordpress integration
I was used to integrating core-js via html, which does not seem to work in new versions.
In particular I am trying to implement the core library in a wordpress installation, without great results.
...