
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@ilabdev/archive
Advanced tools
@ilabdev/archive
Gulp tasks for archiving files & directories for deployment
Install @ilabdev/archive
npm install @ilabdev/archive --save-dev
-- OR --
yarn add @ilabdev/archive --dev
Include @ilabdev/archive
in your gulpfile.js
NOTE: Make sure you pass gulp
through to the package as shown below. The package sets up gulp tasks and will need it passed through to work.
require( '@ilabdev/archive' )( gulp )
Add the content from config.sample.js
to your .gulpconfig.js
and adjust as appropriate
module.exports = {
// Other configs here...
archive: {
process: true,
logColor: 'blue',
areas: [
{
paths: {
src: [
'**/*',
'!**/*.zip*',
'!**/*.tar',
],
dest: './dist',
},
pipes: {
src: {
allowEmpty: true,
base: './',
},
dest: {},
archiver: {
filename: `PACKAGE-1.0.0.zip`,
format: 'zip',
options: {
gzip: false,
},
},
},
},
],
},
// Other configs here...
}
Run gulp archive
to run the task, or add the task as a script and run that with npm
or yarn
process
Type: boolean
Whether to archive files & directories or not
loggerColor
Type: string
The logger color to use for any output text. See https://github.com/stgdp/fancy-logger#available-modifiers for colors that can be used
areas
Type: object[]
The areas to be archived. Each area has it's own, isolated settings to allow for separate configs
areas[].paths
Type: object
Path references for the archiver
areas[].paths.src
Type: string[]|string
The paths to archive. Passed through to gulp.src
, items can be globs
areas[].paths.dest
Type: string
The destination path of the archive. Passed through to gulp.dest
, items can be globs
areas[].pipes
Type: object
Options to be passed through to the pipes
areas[].pipes.src
Type: object
Options to be passed through to the gulp.src
pipe. See https://gulpjs.com/docs/en/api/src/ for more information
areas[].pipes.dest
Type: object
Options to be passed through to the gulp.dest
pipe. See https://gulpjs.com/docs/en/api/dest/ for more information
areas[].pipes.archiver
Type: object
Options to be passed through to the @stgdp/gulp-archiver
pipe. See https://www.npmjs.com/package/@stgdp/gulp-archiver for more information
FAQs
Gulp tasks for archiving files & directories for deployment
The npm package @ilabdev/archive receives a total of 0 weekly downloads. As such, @ilabdev/archive popularity was classified as not popular.
We found that @ilabdev/archive 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.