New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@browsery/type-is

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browsery/type-is - npm Package Compare versions

Comparing version

to
1.6.18-r4

2

package.json
{
"name": "@browsery/type-is",
"version": "1.6.18-r3",
"version": "1.6.18-r4",
"description": "Browser compatible type-is module",

@@ -5,0 +5,0 @@ "author": "Panates",

/// <reference types="node" />
import { IncomingMessage } from "http";
import { IncomingMessage } from 'http';
export = typeIs;
declare function typeIs(request: IncomingMessage, types: string[]): string | false | null;
declare function typeIs(request: IncomingMessage, ...types: string[]): string | false | null;
declare function typeIs(
request: IncomingMessage,
types: string[],
): string | false | null;
declare function typeIs(
request: IncomingMessage,
...types: string[]
): string | false | null;

@@ -9,0 +15,0 @@ declare namespace typeIs {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet