Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
require-polyfills
Advanced tools
Collection of polyfils that load automatically using require-bundle-js by detecting what is missing in the browser.
Collection of polyfils that load automatically using require-bundle-js by detecting what is missing in the browser.
Require Polyfills also need Require Bundle JS which needs to be loaded first. Download the scripts from dist folder and include them in your HTML preferably inside the document <head>
element.
<script type="text/javascript" src="path/to/dist/require-bundle.min.js"></script>
<script type="text/javascript" src="path/to/dist/require-polyfills.min.js"></script>
The required polyfills for the current browser will be loaded automatically as Require Polyfills test if the browser supports the feature for each polyfill.
Require Polyfills is also available on NPM:
$ npm install require-polyfills
bind
classList
closest
CustomEvents
matches
matchMedia
ObjectEntries
Promise
requestAnimationFrame
This isn't a large project by any means, but you are definitely welcome to contribute.
Clone the repo and run npm install:
$ cd path/to/require-polyfills
$ npm install
Run the build command:
$ gulp build
Build on file save:
$ gulp
$ gulp watch
Licensed under MIT.
FAQs
Collection of polyfils that load automatically using require-bundle-js by detecting what is missing in the browser.
We found that require-polyfills demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.