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.5.0 to 1.5.1

9

accept-language-parser/index.d.ts
// Type definitions for accept-language-parser 1.5
// Project: https://github.com/opentable/accept-language-parser
// Definitions by: Niklas Wulf <https://github.com/kampfgnom>
// Wooram Jun <https://github.com/chatoo2412>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
// https://github.com/opentable/accept-language-parser/blob/v1.4.1/index.js
// https://github.com/opentable/accept-language-parser/blob/v1.5.0/index.js
export function parse(acceptLanguage: string): Language[];
export function pick(
supportedLanguages: string[],
export function pick<T extends string>(
supportedLanguages: T[],
acceptLanguage: string | Language[],
options?: PickOptions
): string | null;
): T | null;

@@ -16,0 +17,0 @@ export interface Language {

{
"name": "@types/accept-language-parser",
"version": "1.5.0",
"version": "1.5.1",
"description": "TypeScript definitions for accept-language-parser",

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

"githubUsername": "kampfgnom"
},
{
"name": "Wooram Jun",
"url": "https://github.com/chatoo2412",
"githubUsername": "chatoo2412"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "628b691d7ac80b0ece02ee20a88b4409b0d76b4689b25f174b5cccea5817bc14",
"typesPublisherContentHash": "bece7d72b0d1cf9e44383e38092a5b880a2b54f2ca96779a4a7f79148febbb5d",
"typeScriptVersion": "2.1"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/accept-language-parser
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/accept-language-parser
Additional Details
* Last updated: Wed, 25 Apr 2018 18:59:22 GMT
* Last updated: Thu, 24 Jan 2019 16:50:03 GMT
* Dependencies: none

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

# Credits
These definitions were written by Niklas Wulf <https://github.com/kampfgnom>.
These definitions were written by Niklas Wulf <https://github.com/kampfgnom>, Wooram Jun <https://github.com/chatoo2412>.
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