New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

resolve-accept-language

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-accept-language - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

2

lib/cjs/index.d.ts

@@ -43,3 +43,3 @@ /** The type of matches. */

*/
export declare const resolveAcceptLanguage: <Locales extends string[], WithMatchType extends boolean | undefined = undefined>(acceptLanguageHeader: string, locales: Locales, defaultLocale: Locales[number], options?: Options<WithMatchType> | undefined) => Result<Locales, WithMatchType>;
export declare const resolveAcceptLanguage: <Locales extends string[], WithMatchType extends boolean | undefined = undefined>(acceptLanguageHeader: string, locales: Locales, defaultLocale: Locales[number], options?: Options<WithMatchType>) => Result<Locales, WithMatchType>;
export {};

@@ -43,3 +43,3 @@ /** The type of matches. */

*/
export declare const resolveAcceptLanguage: <Locales extends string[], WithMatchType extends boolean | undefined = undefined>(acceptLanguageHeader: string, locales: Locales, defaultLocale: Locales[number], options?: Options<WithMatchType> | undefined) => Result<Locales, WithMatchType>;
export declare const resolveAcceptLanguage: <Locales extends string[], WithMatchType extends boolean | undefined = undefined>(acceptLanguageHeader: string, locales: Locales, defaultLocale: Locales[number], options?: Options<WithMatchType>) => Result<Locales, WithMatchType>;
export {};
{
"name": "resolve-accept-language",
"version": "3.1.0",
"version": "3.1.1",
"description": "Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.",

@@ -56,7 +56,7 @@ "keywords": [

"@types/jest": "29.5.12",
"@types/node": "^20.11.24",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"depcheck": "^1.4.7",
"dotenv-cli": "7.3.0",
"dotenv-cli": "7.4.1",
"eslint": "8.57.0",

@@ -68,3 +68,3 @@ "eslint-config-prettier": "9.1.0",

"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jsdoc": "48.2.0",
"eslint-plugin-jsdoc": "48.2.1",
"eslint-plugin-json-files": "4.1.0",

@@ -82,5 +82,5 @@ "eslint-plugin-prefer-arrow-functions": "3.3.2",

"release-it": "17.1.1",
"terser": "^5.28.1",
"terser": "^5.29.1",
"ts-jest": "29.1.2",
"typescript": "5.3.3"
"typescript": "5.4.2"
},

@@ -87,0 +87,0 @@ "engines": {

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