Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-vinyl-zip

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-vinyl-zip - npm Package Compare versions

Comparing version 2.2.0 to 2.4.0

4

lib/src/index.js

@@ -14,3 +14,5 @@ 'use strict';

return [constants.S_IRWXU, constants.S_IRWXG, constants.S_IRWXO]
// The following constants are not available on all platforms:
// 448 = constants.S_IRWXU, 56 = constants.S_IRWXG, 7 = constants.S_IRWXO
return [448, 56, 7]
.map(function (mask) { return attr & mask; })

@@ -17,0 +19,0 @@ .reduce(function (a, b) { return a + b; }, attr & constants.S_IFMT);

{
"name": "gulp-vinyl-zip",
"version": "2.2.0",
"version": "2.4.0",
"description": "Streaming vinyl adapter for zip archives",

@@ -40,3 +40,3 @@ "main": "index.js",

"devDependencies": {
"mocha": "^5.2.0",
"mocha": "^7.1.2",
"standard": "^12.0.1",

@@ -43,0 +43,0 @@ "temp": "^0.8.1"

@@ -19,2 +19,9 @@ 'use strict';

.pipe(through.obj(function (chunk, enc, cb) {
const filepath = chunk.path;
const filemode = chunk.stat.mode;
if (filepath === 'vinyl-zip.fs') {
assert.strictEqual(33188, filemode);
} else if (chunk.path === 'src/index.js') {
assert.strictEqual(33204, filemode);
}
count++;

@@ -21,0 +28,0 @@ cb();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc