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.
elwins-test-web-components
Advanced tools
Some test Web Components build with Stencil.
Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
To start building the components using Stencil, clone this repo to a new directory:
git clone https://github.com/elwinvaneede/elwins-test-web-components.git elwins-test-web-components
cd elwins-test-web-components
and run:
npm install
npm start
To build the components for production, run:
npm run build
To run the unit tests for the components, run:
npm test
<script src='https://unpkg.com/elwins-test-web-components@0.0.4/dist/elwins-test-web-components.js'></script>
in the head of your index.htmlnpm install elwins-test-web-components --save
<script src='node_modules/elwins-test-web-components/dist/elwins-test-web-components.js'></script>
in the head of your index.htmlFAQs
Some test Web Components build with Stencil
The npm package elwins-test-web-components receives a total of 1 weekly downloads. As such, elwins-test-web-components popularity was classified as not popular.
We found that elwins-test-web-components 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.