
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
gulp-file-transform-cache
Advanced tools
Store intermediate gulp transformations in a cache for faster build pipeline.
Because disk space is cheap. Save the results of expensive file transformation steps in your build pipeline (e.g. babel compilation), so that repeated runs only incur the transformation cost when necessary (e.g. the source file was changed). This module creates an adapter layer wrapping the file-transform-cache module to create a gulp plugin.
Install with npm install gulp-file-transform-cache
Consider the following build pipeline
var gulp = require('gulp'),
babel = require('gulp-babel');
gulp.src(['js/**/*.jsx'])
.pipe(babel())
.pipe( gulp.dest('dest') );
Enhance this to create super fast builds that only run the transformation again if it's stale...
var gulp = require('gulp'),
babel = require('gulp-babel'),
gftc = require('gulp-file-transform-cache');
gulp.src(['js/**/*.jsx'])
.pipe(gftc({ path: '.babelCache',
transformStreams: [ babel() ]
}))
.pipe( gulp.dest('dest') );
pathThe path to the cache-file which will be read/written to maintain the transform cache
transformStreamsAn array of streams to provide any number of successive transformations. For Example
[ babel(), minify() ] would be equivalent to babel().pipe(minify()). If only one
transform is needed, the array can be omitted. (e.g. transformStreams: babel() )
FAQs
Store intermediate gulp transformations in a cache for faster build pipeline.
The npm package gulp-file-transform-cache receives a total of 72 weekly downloads. As such, gulp-file-transform-cache popularity was classified as not popular.
We found that gulp-file-transform-cache 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.