
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).
gulp-lzstring
Advanced tools
Compresses files using lz-string.
Install this plugin using npm:
npm install --save-dev gulp-lz-string
In order to compress or decompress a file, use the following syntax in your Gulpfile:
var lzString = require('gulp-lz-string');
gulp.task('lz', function(){
gulp.src([
'data/readme.md'
])
.pipe(lzString({
mode : 'compress'
}))
.pipe(gulp.dest('lz/'));
});
This plugin takes two optional parameters:
mode {string}
You can compress
or decompress
files.
base64 {boolean}
If you choose to encode the compressed files using base64 instead of working with buffers, you can enable this encoding here.
0.0.1 - 03/11/2015
Initial release.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
FAQs
LZW-based compression for Gulp
The npm package gulp-lzstring receives a total of 0 weekly downloads. As such, gulp-lzstring popularity was classified as not popular.
We found that gulp-lzstring 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.