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

@types/inflation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/inflation - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

inflation/index.d.ts

@@ -25,4 +25,4 @@ // Type definitions for inflation 2.0

*/
gzip?: 'deflate' | 'gzip' | 'identity';
gzip?: 'deflate' | 'gzip' | 'identity' | undefined;
}
}
{
"name": "@types/inflation",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for inflation",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inflation",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "6be54ee6dcdc4325a8e3863df19d769bf8c4728a2a127d38fd57993acfc42c48",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "110336bfb36be459f03bac79e924f25598ca3d3d0685b572490b259f509aef84",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,44 @@ # Installation

# Summary
This package contains type definitions for inflation ( https://github.com/stream-utils/inflation#readme ).
This package contains type definitions for inflation (https://github.com/stream-utils/inflation#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inflation
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inflation.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inflation/index.d.ts)
````ts
// Type definitions for inflation 2.0
// Project: https://github.com/stream-utils/inflation#readme
// Definitions by: Remco Haszing <https://github.com/remcohaszing>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Sat, 04 May 2019 17:36:14 GMT
* Dependencies: @types/node
/// <reference types="node" />
import { Readable } from 'stream';
import { ZlibOptions } from 'zlib';
export = inflate;
/**
* Automatically unzip an HTTP stream.
*
* @returns a stream that emits inflated data from the given stream.
*/
declare function inflate(req: Readable, options?: inflate.Options): Readable;
declare namespace inflate {
interface Options extends ZlibOptions {
/**
* The encoding of the stream. If not given, will look in `stream.headers['content-encoding']`.
*/
gzip?: 'deflate' | 'gzip' | 'identity' | undefined;
}
}
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:12 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Remco Haszing <https://github.com/remcohaszing>.
These definitions were written by [Remco Haszing](https://github.com/remcohaszing).

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