@jswork/i18n-language-detect
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9617