Socket
Socket
Sign inDemoInstall

compress-brotli

Package Overview
Dependencies
1
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.2.0](https://github.com/Kikobeats/compress-brotli/compare/v1.1.0...v1.2.0) (2019-11-04)
### Features
* use json-buffer ([242c865](https://github.com/Kikobeats/compress-brotli/commit/242c865b206706f689fa4dd95b374f1dba49ae6f))
## [1.1.0](https://github.com/Kikobeats/compress-brotli/compare/v1.0.8...v1.1.0) (2019-11-01)

@@ -7,0 +14,0 @@

2

index.js
'use strict'
const { promisify } = require('util')
const JSONB = require('json-buffer')
const zlib = require('zlib')
const JSONB = require('buffer-json')

@@ -7,0 +7,0 @@ const hasNativeAPI = Boolean(zlib.brotliCompress)

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/Kikobeats/compress-brotli",
"version": "1.1.0",
"version": "1.2.0",
"main": "index.js",

@@ -34,3 +34,3 @@ "author": {

"dependencies": {
"buffer-json": "~2.0.0"
"json-buffer": "~3.0.1"
},

@@ -37,0 +37,0 @@ "devDependencies": {

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