Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
storm-component-boilerplate
Advanced tools
This is a **boilerplate for developing UI components** by **StormId**, used in production in conjunction with our project scaffold.
This is a boilerplate for developing UI components by StormId, used in production in conjunction with our project scaffold.
It includes an opinionated JS component boilerplate, build system, test integration, example, README (see below), and deployment, using nodeJS, npm, gulp, jest, and babel
Before use make sure to grep for “storm-component-boilerplate” and replace every occurrence as well as updating your tests, readme and example.
One line summary
https://mjbp.github.io/storm-component-boilerplate
HTML
<div class="js-boilerplate"></div>
JS
npm i -S storm-component-boilerplate
either using es6 import
import Boilerplate from 'storm-component-boilerplate';
Boilerplate.init('.js-boilerplate');
asynchronous browser loading (use the .standalone version in the /dist folder) using the global name (Storm + capitalised package name)
import Load from 'storm-load';
Load('{{path}}/storm-component-boilerplate.standalone.js')
.then(() => {
StormComponentBoilerplate.init('.js-boilerplate');
});
{
callback: null
}
e.g.
Boilerplate.init('.js-selector', {
callback(){
console.log(this);
}
});
npm test
This is module has both es6 and es5 distributions. The es6 version should be used in a workflow that transpiles.
The es5 version depends upon Object.assign, element.classList, and Promises so all evergreen browsers are supported out of the box, ie9+ is supported with polyfills. ie8+ will work with even more polyfills for Array functions and eventListeners.
None
MIT
FAQs
This is a **boilerplate for developing UI components** by **StormId**, used in production in conjunction with our project scaffold.
The npm package storm-component-boilerplate receives a total of 4 weekly downloads. As such, storm-component-boilerplate popularity was classified as not popular.
We found that storm-component-boilerplate 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.