@types/accept-language-parser
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for accept-language-parser 1.4 | ||
// Type definitions for accept-language-parser 1.5 | ||
// Project: https://github.com/opentable/accept-language-parser | ||
@@ -10,3 +10,7 @@ // Definitions by: Niklas Wulf <https://github.com/kampfgnom> | ||
export function parse(acceptLanguage: string): Language[]; | ||
export function pick(supportedLanguages: string[], acceptLanguage: string | Language[]): string | null; | ||
export function pick( | ||
supportedLanguages: string[], | ||
acceptLanguage: string | Language[], | ||
options?: PickOptions | ||
): string | null; | ||
@@ -19,1 +23,5 @@ export interface Language { | ||
} | ||
export interface PickOptions { | ||
loose?: boolean; | ||
} |
{ | ||
"name": "@types/accept-language-parser", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "TypeScript definitions for accept-language-parser", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "d5b66cb58a7eb9db6ea496124906df5d983979a6868433716dee428e1d644902", | ||
"typesPublisherContentHash": "628b691d7ac80b0ece02ee20a88b4409b0d76b4689b25f174b5cccea5817bc14", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 22 Sep 2017 13:56:12 GMT | ||
* Last updated: Wed, 25 Apr 2018 18:59:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
3140
21