Skip to main content

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

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 ...
 Riting Liu's user avatar
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 ...
Qiulang's user avatar
  • 11.6k
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 ...
Nijat Majidli's user avatar
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 ...
Nitin Avula's user avatar
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.
pranav m's user avatar
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 ...
Danny S.'s user avatar
  • 101
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 ...
Snehasis Mohapatra's user avatar
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
garnergu's user avatar
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 ...
Nathaniel Tucker's user avatar
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-...
KaganBerk's user avatar
  • 110
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 ...
ash54321's user avatar
  • 133
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 ...
bbbbbbbboat's user avatar
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 ...
UKRman's user avatar
  • 487
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 ...
Shashidhar's user avatar
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. ...
Luca Pisoni's user avatar

15 30 50 per page
1
2 3 4 5
8