Socket
Socket
Sign inDemoInstall

brotli

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

4

compress.js

@@ -20,3 +20,3 @@ var brotli = require('./build/encode');

mode = opts.mode || 0;
mode = opts.lgwin || 22;
lgwin = opts.lgwin || 22;
}

@@ -30,3 +30,3 @@

var outBuf = brotli._malloc(buffer.length + 1024);
var encodedSize = brotli._encode(11, 0, mode, buffer.length, buf, buffer.length, outBuf);
var encodedSize = brotli._encode(quality, lgwin, mode, buffer.length, buf, buffer.length, outBuf);

@@ -33,0 +33,0 @@ var outBuffer = null;

{
"name": "brotli",
"version": "1.3.0",
"version": "1.3.1",
"description": "A port of the Brotli compression algorithm as used in WOFF2",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc