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

get-user-locale

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-user-locale - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

8

index.d.ts
declare module 'get-user-locale' {
export function getUserLocale(): string;
export function getUserLocales(): string[];
export type UserLocaleOptions = {
fallbackLocale?: string,
useFallbackLocale?: boolean,
}
export function getUserLocale(options?: UserLocaleOptions): string;
export function getUserLocales(options?: UserLocaleOptions): string[];
export default getUserLocale;
}
{
"name": "get-user-locale",
"version": "1.5.0",
"version": "1.5.1",
"description": "Returns a list of strings representing the user's preferred languages.",

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

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