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

resolve-accept-language

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-accept-language - npm Package Versions

13
18

3.0.0

Diff

Changelog

Source

3.0.0 (2024-03-05)

Features

  • major update for improved extensibility and simplicity (38011b3)

BREAKING CHANGES

  • This commit introduces several breaking changes to improve the library's extensibility and simplicity:
  • resolveAcceptLanguage is now a named import for better dual (CommonJS/ESM) compatibility.
  • resolveAcceptLanguage now accepts an options argument.
  • The ResolveAcceptLanguage class has been replaced with resolveAcceptLanguage used with the { returnMatchType: true } option.
  • Introduced a new match type, languageSpecificLocale, for more intelligent matches. See the README for more details.
  • Renamed match types for consistency: localeBased to locale, languageBased to language, and relatedLocaleBased to relatedLocale.
nbouvrette
published 2.2.0 •

Changelog

Source

2.2.0 (2024-03-03)

Bug Fixes

  • correct ESM paths for dual CJS/ESM compatibility (9702fd3)
nbouvrette
published 2.1.23 •

Changelog

Source

2.1.23 (2024-02-26)

Bug Fixes

  • eslint: resolve import issue for JS files (c6153ff)
nbouvrette
published 2.1.22 •

Changelog

Source

2.1.23 (2024-02-26)

Bug Fixes

  • eslint: resolve import issue for JS files (c6153ff)
nbouvrette
published 2.1.21 •

nbouvrette
published 2.1.20 •

nbouvrette
published 2.1.19 •

Changelog

Source

2.1.19 to 2.1.22 (2022-02-25)

Bug Fixes

  • resolve dual CJS/ESM package compatibility that broke at version 2.1.18 (5d857f8)
nbouvrette
published 2.1.18 •

Changelog

Source

2.1.18 (2024-02-25)

nbouvrette
published 2.1.17 •

Changelog

Source

2.1.17 (2024-02-11)

nbouvrette
published 2.1.16 •

Changelog

Source

2.1.16 (2024-01-28)

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