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

@types/mime-db

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mime-db - npm Package Compare versions

Comparing version 1.27.1 to 1.43.0

19

mime-db/index.d.ts

@@ -1,7 +0,7 @@

// Type definitions for mime-db 1.27
// Type definitions for mime-db 1.43
// Project: https://github.com/jshttp/mime-db
// Definitions by: AJP <https://github.com/AJamesPhillips>
// Linus Unnebäck <https://github.com/LinusU>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

@@ -13,4 +13,7 @@ declare namespace database {

interface MimeEntry {
/** Where the mime type is defined. If not set, it's probably a custom media type. */
readonly source?: string;
/**
* Where the mime type is defined.
* If not set, it's probably a custom media type.
*/
readonly source?: MimeSource;
/** Known extensions associated with this mime type. */

@@ -30,2 +33,10 @@ readonly extensions?: ReadonlyArray<string>;

}
/**
* Sources:
* http://www.iana.org/assignments/media-types/media-types.xhtml
* http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
* http://hg.nginx.org/nginx/raw-file/default/conf/mime.types
*/
type MimeSource = 'iana' | 'apache' | 'nginx';
}

@@ -32,0 +43,0 @@

{
"name": "@types/mime-db",
"version": "1.27.1",
"version": "1.43.0",
"description": "TypeScript definitions for mime-db",

@@ -16,2 +16,7 @@ "license": "MIT",

"githubUsername": "LinusU"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}

@@ -28,4 +33,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "56815f6963dd277ef6828ee10744c85884829effd1bd3ad2f06644c8e20183fb",
"typesPublisherContentHash": "a8bc45dca2b848135fd7b789a960a592abff3864700916e961a97762a5bb14ac",
"typeScriptVersion": "2.8"
}

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

### Additional Details
* Last updated: Mon, 30 Mar 2020 22:52:15 GMT
* Last updated: Fri, 24 Apr 2020 22:49:24 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [AJP](https://github.com/AJamesPhillips), and [Linus Unnebäck](https://github.com/LinusU).
These definitions were written by [AJP](https://github.com/AJamesPhillips), [Linus Unnebäck](https://github.com/LinusU), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

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