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.
Your workflow will be easier
Use only what you need
Why?
Install gulp-query
and plugins
npm install gulp-query gulp-query-scss gulp-query-webpack gulp-query-compress
gulp-query-scss
— to compile SCSS
gulp-query-webpack
— for bundle with CSS, SCSS
Paste the code into your gulpfile.js
and configure it
let build = require('gulp-query')
, scss = require('gulp-query-scss')
, compress = require('gulp-query-compress')
, webpack = require('gulp-query-webpack');
build((query) => {
// query.plugins([scss, webpack, compress])
query.plugins(scss, webpack, compress)
.scss('src/scss/admin.scss','css/undercover.css')
.scss('src/scss/app.scss','css/','app')
.webpack('src/js/app.js','js/','app')
.compress('src/icons/*.png','images/')
;
});
And feel the freedom
gulp
gulp --production // For production (minification)
gulp watch // Watching change
gulp scss // Only for scss
gulp scss:app // Only for app.scss
gulp webpack:app watch // Watching change only for app.js nad app/**/*.js
gulp webpack --production // Production only for webpack
gulp webpack scss
gulp webpack:app compress
...
Your results in a clear table
Easy, right?
./src/scss/app.sass
to ./css/app.css
and ./src/scss/admin.sass
to ./css/undercover.css
./src/js/app.js
to ./js/app.js
./src/icons/*.png
to images/
And it's just several lines of code. In contrast to the original...
All plugins for gulp-query
FAQs
Your workflow will be easier
The npm package gulp-query receives a total of 2 weekly downloads. As such, gulp-query popularity was classified as not popular.
We found that gulp-query 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.