@types/mime-db
Advanced tools
Comparing version 1.27.1 to 1.43.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4261
39