
Research
SAP CAP npm Packages Hit by Mini Shai-Hulud Supply Chain Attack
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.
Create tarball from files
npm install --save-dev gulp-tar
import gulp from 'gulp';
import tar from 'gulp-tar';
import gzip from 'gulp-gzip';
export default () => (
gulp.src('src/*')
.pipe(tar('archive.tar'))
.pipe(gzip())
.pipe(gulp.dest('dist'))
);
Type: string
The filename for the output tar archive.
Type: object
Default options passed to Archiver's constructor and merged into the data passed to its append method.
On Windows, directories created by the filesystem often lack execute permissions, which can cause "Permission denied" errors when extracting tarballs on Unix systems. This package automatically detects and fixes this issue on Windows by letting Archiver use proper defaults for directories without execute permissions.
If you need to explicitly control this behavior, you can use {mode: null} to always use Archiver's defaults, regardless of the source file permissions.
FAQs
Create tarball from files
The npm package gulp-tar receives a total of 8,253 weekly downloads. As such, gulp-tar popularity was classified as popular.
We found that gulp-tar demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.