Socket
Socket
Sign inDemoInstall

compress-commons

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compress-commons - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

14

lib/archivers/zip/zip-archive-output-stream.js

@@ -264,8 +264,10 @@ /**

var extraBuf = new Buffer(28);
extraBuf.write(zipUtil.getShortBytes(constants.ZIP64_EXTRA_ID));
extraBuf.write(zipUtil.getShortBytes(24));
extraBuf.write(zipUtil.getEightBytes(ae.getSize()));
extraBuf.write(zipUtil.getEightBytes(ae.getCompressedSize()));
extraBuf.write(zipUtil.getEightBytes(offsets.file));
var extraBuf = Buffer.concat([
zipUtil.getShortBytes(constants.ZIP64_EXTRA_ID),
zipUtil.getShortBytes(24),
zipUtil.getEightBytes(ae.getSize()),
zipUtil.getEightBytes(ae.getCompressedSize()),
zipUtil.getEightBytes(offsets.file)
], 28);
ae.setExtra(extraBuf);

@@ -272,0 +274,0 @@ }

{
"name": "compress-commons",
"version": "0.2.1",
"version": "0.2.2",
"description": "a library that defines a common interface for working with archive formats within node",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ctalkington/node-compress-commons",

@@ -1,2 +0,2 @@

# Compress Commons v0.2.1 [![Build Status](https://travis-ci.org/ctalkington/node-compress-commons.svg?branch=master)](https://travis-ci.org/ctalkington/node-compress-commons)
# Compress Commons v0.2.2 [![Build Status](https://travis-ci.org/ctalkington/node-compress-commons.svg?branch=master)](https://travis-ci.org/ctalkington/node-compress-commons)

@@ -3,0 +3,0 @@ Compress Commons is a library that defines a common interface for working with archive formats within node.

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