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

@jswork/i18n-language-detect

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jswork/i18n-language-detect - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

dist/index.d.ts

@@ -5,4 +5,4 @@ /*!

* homepage: https://js.work
* version: 1.0.4
* date: 2023-08-23 19:45:35
* version: 1.0.5
* date: 2023-08-23 19:55:24
* license: MIT

@@ -23,5 +23,5 @@ */

init(services: any, inOptions: I18nLanguageDetectOptions): void;
detect(): string;
detect(): any;
cacheUserLanguage(lng: string): void;
}
export default I18nLanguageDetect;

@@ -5,4 +5,4 @@ /*!

* homepage: https://js.work
* version: 1.0.4
* date: 2023-08-23 19:45:34
* version: 1.0.5
* date: 2023-08-23 19:55:23
* license: MIT

@@ -32,6 +32,6 @@ */

var lang = null;
for (var index = 0; index < keys.length; index++) {
var key = keys[index];
var lang_1 = uri.searchParams.get(key);
if (lang_1)
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
lang = uri.searchParams.get(key);
if (lang)
break;

@@ -38,0 +38,0 @@ }

@@ -6,4 +6,4 @@ "use strict";

* homepage: https://js.work
* version: 1.0.4
* date: 2023-08-23 19:45:35
* version: 1.0.5
* date: 2023-08-23 19:55:24
* license: MIT

@@ -34,6 +34,6 @@ */

var lang = null;
for (var index = 0; index < keys.length; index++) {
var key = keys[index];
var lang_1 = uri.searchParams.get(key);
if (lang_1)
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
lang = uri.searchParams.get(key);
if (lang)
break;

@@ -40,0 +40,0 @@ }

{
"name": "@jswork/i18n-language-detect",
"version": "1.0.5",
"version": "1.0.6",
"description": "Language detect plugin.",

@@ -55,3 +55,3 @@ "main": "dist/index.js",

},
"gitHead": "6ec92f89588509bde78362346bf42ac5a48afba9"
"gitHead": "3019d10221a21755ca145aba93c536d4802a963b"
}
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