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

detect-locale

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-locale - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

3

index.js

@@ -21,3 +21,4 @@ exports.getBrowserLocale = function() {

: navigator.language || navigator.userLanguage;
return locale;
return locale || "en";
}
{
"name": "detect-locale",
"version": "1.0.0",
"version": "2.0.0",
"description": "The essential job of this package is to detect the language of the browser.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,1 +33,5 @@ ## detect-locale

- Safari
#ChangeLog
- version 2
- - In Headless browser(cypress) now we are sending fallback language as english.
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