Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
sync for dependency tasks of gulp.task method
this is not gulp plugin
$ npm install --save-dev gulp-sync
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.sync(['a', 'b', 'c']));
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.sync([
// sync
'a',
[
// async
'b-1',
'b-2'
],
[
// async
'c-1',
[
// sync
'c-2-1',
'c-2-2'
]
]
]));
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.async(['a', 'b', 'c']));
//same gulp.task('default', ['a', 'b', 'c']);
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.async([
// async
'a',
[
// sync
'b-1',
'b-2'
],
[
// sync
'c-1',
[
// async
'c-2-1',
'c-2-2'
]
]
]));
if you need run multiple, method will required 2nd parameter. that must be unique.
2nd parameter is no longer required.
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('debug', gulpsync.async(['a', ['b', 'c']]));
gulp.task('release', gulpsync.sync([['c', 'd'], 'e']));
gulp.task('test', gulpsync.sync(['debug', 'f', 'g']));
gulp.task('default', ['debug']);
Type: Array
of String
task name list. required.
Type: String
Default: sync group
+ count
prefix of generated task name
for instance you can use this parameter for checking the validation
Type: Array
of String
task name list. required.
Type: String
Default: sync group
+ count
prefix of generated task name
for instance you can use this parameter for checking the validation
FAQs
sync for dependency tasks of gulp.task method
The npm package gulp-sync receives a total of 2,029 weekly downloads. As such, gulp-sync popularity was classified as popular.
We found that gulp-sync 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.