Socket
Socket
Sign inDemoInstall

@types/type-is

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

@types/type-is - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

2

type-is/index.d.ts

@@ -16,5 +16,7 @@ // Type definitions for type-is 1.6

declare namespace typeIs {
function normalize(type: string): string | false;
function hasBody(request: IncomingMessage): boolean;
function is(mediaType: string, types: string[]): string | false;
function is(mediaType: string, ...types: string[]): string | false;
function mimeMatch(expected: false | string, actual: string): boolean;
}

4

type-is/package.json
{
"name": "@types/type-is",
"version": "1.6.1",
"version": "1.6.2",
"description": "TypeScript definitions for type-is",

@@ -22,4 +22,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "e8153b69706f33521e16c36e73c8154f4a8516d3a518a356da6b6a19f81419ef",
"typesPublisherContentHash": "d2a9ee61562fcc41b471fc7d7f8552130b94265042c52f75bd137324d600d9b8",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Thu, 09 Nov 2017 15:19:58 GMT
* Last updated: Sun, 03 Dec 2017 16:31:01 GMT
* Dependencies: http, node

@@ -14,0 +14,0 @@ * Global values: none

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