Socket
Socket
Sign inDemoInstall

@types/mime

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mime - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

mime/Mime.d.ts
import { TypeMap } from "./index";
export default class Mime {
constructor(mimes: TypeMap);
constructor(mimes: TypeMap);
getType(path: string): string | null;
getType(path: string): string | null;
getExtension(mime: string): string | null;
define(mimes: TypeMap, force?: boolean): void;
}
{
"name": "@types/mime",
"version": "2.0.1",
"version": "2.0.2",
"description": "TypeScript definitions for mime",

@@ -19,11 +19,12 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/mime"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "44440ff7edf5dabbbd9ed5edb3482c642f8167d582192aa9d93b68daaab883cf",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "f9d0462f012053c4c38947d2d0c779fbeec4b457ef17192e5020cf095df9489d",
"typeScriptVersion": "3.0"
}

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

# Summary
This package contains type definitions for mime ( https://github.com/broofa/node-mime ).
This package contains type definitions for mime (https://github.com/broofa/node-mime).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime.
Additional Details
* Last updated: Tue, 05 Feb 2019 22:09:07 GMT
### Additional Details
* Last updated: Fri, 15 May 2020 10:02:03 GMT
* Dependencies: none
* Global values: mime
* Global values: `mime`
# Credits
These definitions were written by Jeff Goddard <https://github.com/jedigo>, Daniel Hritzkiv <https://github.com/dhritzkiv>.
These definitions were written by [Jeff Goddard](https://github.com/jedigo), and [Daniel Hritzkiv](https://github.com/dhritzkiv).

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