Socket
Socket
Sign inDemoInstall

compress-brotli

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compress-brotli - npm Package Compare versions

Comparing version 1.3.7 to 1.3.8

2

package.json

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

"homepage": "https://nicedoc.io/Kikobeats/compress-brotli",
"version": "1.3.7",
"version": "1.3.8",
"main": "src/index.js",

@@ -8,0 +8,0 @@ "author": {

@@ -6,3 +6,4 @@ import { BrotliOptions, InputType, CompressCallback } from 'zlib'

type CompressResult = Parameters<CompressCallback>[1]
type CompressResult = Promise<Parameters<CompressCallback>[1]>
type DecompressResult = Promise<ReturnType<typeof JSONBparse>>

@@ -28,3 +29,3 @@ type Serialize<T> = (source: InputType) => T

compress: (data: InputType, optioins?: BrotliOptions) => CompressResult
decompress: (data: InputType, optioins?: BrotliOptions) => DeserializeResult
decompress: (data: InputType, optioins?: BrotliOptions) => DecompressResult
}

@@ -31,0 +32,0 @@

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