
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@vrbo/nimbuild-corejs
Advanced tools
Performant generation of coreJS polyfill bundles optimized for target browsers at runtime
Performant generation of coreJS polyfill bundles optimized for target browsers at runtime
A service like this one integrated with a good polyfills source like core-js, which only loads the needed polyfills by statically analyzing the source like Babel's useBuiltIns: usage option does could cause a revolution in the way we think about polyfills.
This module is the core of what is needed to fulfill the next generation approach to loading polyfills.
npm install --save @vrbo/nimbuild-corejs
Import module and prime cache
const {primeCache} = require('@vrbo/nimbuild-corejs');
primeCache(); // async, takes up to 20 seconds
When processing an HTTP request, generate coreJS polyfill string with this usage:
const {getPolyfillString} = require('@vrbo/nimbuild-corejs');
const coreJSData = await getPolyfillString({
include: ['es.*'],
exclude: [],
logger: {log: console.log},
minify: true,
uaString: http.headers['user-agent']
});
return coreJSData.script; // polyfill string
npm start
This projects supports auto-formatting of source code! Simply find your favorite IDE from the list in the following list: https://prettier.io/docs/en/editors.html
For VSCode support, perform the following steps:
ext install esbenp.prettier-vscode
FAQs
Performant generation of coreJS polyfill bundles optimized for target browsers at runtime
We found that @vrbo/nimbuild-corejs 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.