Socket
Socket
Sign inDemoInstall

minizlib

Package Overview
Dependencies
Maintainers
9
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minizlib - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

12

constants.js

@@ -1,4 +0,8 @@

// pull the version number that node is using
const { ZLIB_VERNUM } = require('zlib').constants ||
// Update with any zlib constants that are added or changed in the future.
// Node v6 didn't export this, so we just hard code the version and rely
// on all the other hard-coded values from zlib v4736. When node v6
// support drops, we can just export the realZlibConstants object.
const realZlibConstants = require('zlib').constants ||
/* istanbul ignore next */ { ZLIB_VERNUM: 4736 }
module.exports = Object.freeze(Object.assign(Object.create(null), {

@@ -29,3 +33,2 @@ Z_NO_FLUSH: 0,

Z_DEFAULT_STRATEGY: 0,
ZLIB_VERNUM,
DEFLATE: 1,

@@ -78,3 +81,2 @@ INFLATE: 2,

BROTLI_PARAM_NDIRECT: 8,
MAX_VALID_BROTLI_PARAM: 8,
BROTLI_DECODER_RESULT_ERROR: 0,

@@ -115,2 +117,2 @@ BROTLI_DECODER_RESULT_SUCCESS: 1,

BROTLI_DECODER_ERROR_UNREACHABLE: -31,
}))
}, realZlibConstants))
{
"name": "minizlib",
"version": "1.3.2",
"version": "1.3.3",
"description": "A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.",

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

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