Skip to main content

Questions tagged [polyfills]

Downloadable code used to add new functionality to browsers.

0 votes
1 answer
69 views

React Native - Android Studio - @azure/service-bus - fastestsmallesttextencoderdecoder: TypeError: Cannot read property 'prototype' of undefined

I'm creating an android app and I have a first issue: https://github.com/Azure/azure-sdk-for-js/issues/30342 where they suggested me to install a polyfill described here: https://github.com/hapijs/joi/...
Giuseppe Lo Re's user avatar
1 vote
0 answers
352 views

How to completely remove polyfill.io from websiteś code

I noticed that when loading my website, it tries to fetch something from polyfill.io which severly slows down loading time and is potentially harmful. I can see two links in the source code of every ...
Sprytny's user avatar
  • 15
1 vote
1 answer
755 views

Polyfill Supply Chain Attack Malicious Code Execution (CVE-2024-38526)

How can I check if any of our applications or systems in my enterprise contains JavaScript code obtained from the polyfill[.]io domain ? Is there any file I can search for it using a PowerShell script ...
Hosam's user avatar
  • 11
-1 votes
0 answers
18 views

isValidUrl from datadog/browser-core

I'm looking for documentation specifically for isValidUrl from datadog/browser-core. I have searched their docs webpage but nothing - https://docs.datadoghq.com/search/?s=isValidUrl Tried to find the ...
Sambuxc's user avatar
  • 470
7 votes
3 answers
7k views

[Security Alert]: Polyfill.io Issue for Google Maps Platform users in Angular

My web app is in Angular and today I got a message from Google Cloud Platform, its mentioned a "Notification Title: [Security Alert]: Polyfill.io Issue for Google Maps Platform users". How ...
Jawad's user avatar
  • 81
15 votes
1 answer
6k views

(Handle Polyfill.io Security-Alert) How do you detect if a big npm Codebase uses Polyfill.io somewhere?

Polyfill.io is malicious: https://dev.to/snyk/polyfill-supply-chain-attack-embeds-malware-in-javascript-cdn-assets-55d6 I now need to find it my codebase: I used: grep -r "polyfill.io" to ...
telion's user avatar
  • 1,062
0 votes
0 answers
27 views

Switching from npm to Yarn Berry for a React App: Polyfill Issues

I'm new to React, npm, and Yarn. I'm trying to use Yarn Berry instead of npm for my React app. I've followed this step-by-step solution and ran yarn set version berry before running the yarn command. ...
S. Delsad's user avatar
0 votes
0 answers
10 views

Omit the Buffer shim for the browser version in Webpack

I'm trying to use the Level database abstraction and the IndexedDB-based Level-down for the browser variant of my app. It converts everything in a byte array, as stated in the documentation: Like ...
fedd's user avatar
  • 902
0 votes
0 answers
24 views

Issues Running Uniswap Interface Locally After Cloning

I recently cloned the Uniswap interface from GitHub and followed the steps to set it up locally. After running "yarn install and yarn web start", I'm encountering several errors and the ...
Khin Nyein Chan's user avatar
10 votes
1 answer
2k views

Angular 18 Polyfills warning

I just upgraded to Angular 18 and I get the following warning when I do ng serve: ▲ [WARNING] Polyfill for "@angular/localize/init" was added automatically. [plugin angular-polyfills] In ...
Mihai Socaciu's user avatar
0 votes
0 answers
8 views

React vite polyfills errors on using "@xchainjs/xchain-crypto" project

in this configuration of vite. i am still got error on pollyfills bellow i am provide the function and the error i am using and faching React vite polyfills errors on using "@xchainjs/xchain-...
Twahanur Rahman's user avatar
3 votes
0 answers
125 views

Angular 17 works with Webpack or Vite? (Polyfills)

When I create an Anglar17 application I see when I launch it that in the console it displays “Vite connected”. But at the same time the @angular-devkit/build-angular package seems to depend on webpack....
Mayzz's user avatar
  • 166
1 vote
2 answers
66 views

How to write array sort polyfill using merge sort approach

I was trying to write a Polyfill for array sorting in javascript. However it turns out that the comparator doesn't cause any effect on the Polyfill. Any ideas how to make it work? const arrA = [2, ...
Subhojit's user avatar
  • 1,511
0 votes
1 answer
81 views

How to load polyfils from the CDN dynamically instead of bundling them into my code base?

I need to load the polyfill for my app to work on older browsers. I don't want to bundle the polyfills into my app but instead download them from cdn inside of my entry file and await them to be ...
mbnxx's user avatar
  • 45
0 votes
0 answers
22 views

How to Polyfill node core modules in webpack 5 for react

enter image description hereThis is the error coming not able to Polyfill node core modules, I tried installing the necessary packages and also added the config-overrides.js file After that i recieve ...
Razeen Mohamed Rasheed's user avatar

15 30 50 per page
1
2 3 4 5
61