New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brotli-compress

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brotli-compress - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/common.d.ts

4

dist/js.d.ts

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

export interface IBrotliDecompressOptions {
customDictionary?: Uint8Array;
}
import { IBrotliDecompressOptions } from './common';
/**

@@ -5,0 +3,0 @@ * @type {function(!Uint8Array, Options=):!Uint8Array}

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

export interface IBrotliCompressOptions {
quality?: number;
customDictionary?: Int8Array;
}
import { IBrotliCompressOptions } from './common';
export declare const compress: (input: Uint8Array, options?: IBrotliCompressOptions) => Promise<Uint8Array>;

@@ -6,0 +3,0 @@ export declare const decompress: (input: Uint8Array) => Promise<Uint8Array>;

{
"name": "brotli-compress",
"version": "1.3.0",
"version": "1.3.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "module": "index.mjs",

@@ -37,6 +37,6 @@ # brotli-compress

// it takes a Int8Array and returns a Int8Array
// it takes a Uint8Array and returns a Uint8Array
const compressed = await compress(oneBlockInput)
// it takes a Int8Array and returns a Int8Array
// it takes a Uint8Array and returns a Uint8Array
const decompressed = await decompress(compressed)

@@ -43,0 +43,0 @@ ```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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