
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@computerrock/react-app-polyfill
Advanced tools
This package provides polyfills for commonly used language features. It is based on Create React App
package.
Install package by running:
npm install @computerrock/react-app-polyfill
You can polyfill stable language features not available in your target browsers:
// must be the first line in src/index.js
import 'react-app-polyfill/stable';
// ...
These modules ensure the following language features are present:
Promise
(for async
/ await
support)window.fetch
(a Promise-based way to make web requests in the browser)Object.assign
(a helper required for Object Spread, i.e. { ...a, ...b }
)Symbol
(a built-in object used by for...of
syntax and friends)Array.from
(a built-in static method used by array spread, i.e. [...arr]
)You can import the entry point for the minimal version you intend to support to ensure that the minimum language features are present that are required:
// This must be the first line in src/index.js
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';
// ...
or:
// This must be the first line in src/index.js
import 'react-app-polyfill/ie9';
import 'react-app-polyfill/stable';
// ...
FAQs
Polyfills for commonly used language features
We found that @computerrock/react-app-polyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.