@types/pako
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -46,3 +46,3 @@ // Type definitions for pako 1.0 | ||
raw?: boolean | undefined; | ||
to?: 'string' | undefined; | ||
to?: "string" | undefined; | ||
chunkSize?: number | undefined; | ||
@@ -60,3 +60,3 @@ gzip?: boolean | undefined; | ||
raw?: boolean | undefined; | ||
to?: 'string' | undefined; | ||
to?: "string" | undefined; | ||
} | ||
@@ -68,3 +68,3 @@ | ||
raw?: boolean | undefined; | ||
to?: 'string' | undefined; | ||
to?: "string" | undefined; | ||
chunkSize?: number | undefined; | ||
@@ -76,3 +76,3 @@ } | ||
raw?: boolean | undefined; | ||
to?: 'string' | undefined; | ||
to?: "string" | undefined; | ||
} | ||
@@ -95,3 +95,3 @@ | ||
*/ | ||
function deflate(data: Data, options: DeflateFunctionOptions & { to: 'string' }): string; | ||
function deflate(data: Data, options: DeflateFunctionOptions & { to: "string" }): string; | ||
function deflate(data: Data, options?: DeflateFunctionOptions): Uint8Array; | ||
@@ -102,3 +102,3 @@ | ||
*/ | ||
function deflateRaw(data: Data, options: DeflateFunctionOptions & { to: 'string' }): string; | ||
function deflateRaw(data: Data, options: DeflateFunctionOptions & { to: "string" }): string; | ||
function deflateRaw(data: Data, options?: DeflateFunctionOptions): Uint8Array; | ||
@@ -109,3 +109,3 @@ | ||
*/ | ||
function gzip(data: Data, options: DeflateFunctionOptions & { to: 'string' }): string; | ||
function gzip(data: Data, options: DeflateFunctionOptions & { to: "string" }): string; | ||
function gzip(data: Data, options?: DeflateFunctionOptions): Uint8Array; | ||
@@ -117,3 +117,3 @@ | ||
*/ | ||
function inflate(data: Data, options: InflateFunctionOptions & { to: 'string' }): string; | ||
function inflate(data: Data, options: InflateFunctionOptions & { to: "string" }): string; | ||
function inflate(data: Data, options?: InflateFunctionOptions): Uint8Array; | ||
@@ -124,3 +124,3 @@ | ||
*/ | ||
function inflateRaw(data: Data, options: InflateFunctionOptions & { to: 'string' }): string; | ||
function inflateRaw(data: Data, options: InflateFunctionOptions & { to: "string" }): string; | ||
function inflateRaw(data: Data, options?: InflateFunctionOptions): Uint8Array; | ||
@@ -131,3 +131,3 @@ | ||
*/ | ||
function ungzip(data: Data, options: InflateFunctionOptions & { to: 'string' }): string; | ||
function ungzip(data: Data, options: InflateFunctionOptions & { to: "string" }): string; | ||
function ungzip(data: Data, options?: InflateFunctionOptions): Uint8Array; | ||
@@ -134,0 +134,0 @@ |
{ | ||
"name": "@types/pako", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "TypeScript definitions for pako", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pako", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e0b94316d4608b95796b5be577b13e37fffdd3c85bac545290ab895e2d07d7d4", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "d5f99dbed4385608a3424873588ba509ed6f477544faa07af208e33864d9fb53", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 12 May 2022 19:01:46 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:27 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `pako` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0