
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
react-lazysizes
Advanced tools
LazySizes component for ReactJS base on lazysizes
npm install --save react-lazysizes
bower install --save react-lazysizes
var LazySizes = require('react-lazysizes');
<LazySizes width='1920' height='1024' dataSrc='http://lorempixel.com/1920/1024/sports/1'/>
<script src="path/to/react-lazysizes/dist/react-lazysizes.js"></script>
//...
var LazySizes = window.ReactLazysizes;
//...
Example here
Name | Type | Default |
---|---|---|
src | string | 'data:image/gif;base64,R0lGODdhEAAJAIAAAMLCwsLCwiwAAAAAEAAJAAACCoSPqcvtD6OclBUAOw==' |
dataSrc | string | |
dataSizes | string | 'auto' |
dataSrcSet | [string, object, array] | |
className | string | '' |
iframe | bool | false |
More info see lazysizes api.
View demo or example folder.
FAQs
LazySizes component base on lazysizes plugin.
The npm package react-lazysizes receives a total of 11 weekly downloads. As such, react-lazysizes popularity was classified as not popular.
We found that react-lazysizes 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.