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

@types/accept-language-parser

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/accept-language-parser - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

12

accept-language-parser/index.d.ts

@@ -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;
}

4

accept-language-parser/package.json
{
"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

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