Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/pako

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

@types/pako - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

20

pako v1.0/index.d.ts

@@ -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`

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