compress-brotli
Advanced tools
Comparing version 1.3.7 to 1.3.8
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9577
83