@jswork/i18n-language-detect
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,4 +5,4 @@ /*! | ||
* homepage: https://js.work | ||
* version: 1.0.0 | ||
* date: 2023-08-16 22:50:52 | ||
* version: 1.0.1 | ||
* date: 2023-08-16 23:14:14 | ||
* license: MIT | ||
@@ -20,3 +20,3 @@ */ | ||
get cacheKey(): string; | ||
constructor(services: any, inOptions: I18nLanguageDetectOptions); | ||
init(services: any, inOptions: I18nLanguageDetectOptions): void; | ||
detect(): string; | ||
@@ -23,0 +23,0 @@ cacheUserLanguage(lng: string): void; |
@@ -5,4 +5,4 @@ /*! | ||
* homepage: https://js.work | ||
* version: 1.0.0 | ||
* date: 2023-08-16 22:50:51 | ||
* version: 1.0.1 | ||
* date: 2023-08-16 23:14:12 | ||
* license: MIT | ||
@@ -38,5 +38,3 @@ */ | ||
var I18nLanguageDetect = /** @class */ (function () { | ||
function I18nLanguageDetect(services, inOptions) { | ||
this.services = services; | ||
this.options = __assign(__assign({}, defaults), inOptions); | ||
function I18nLanguageDetect() { | ||
} | ||
@@ -53,2 +51,6 @@ Object.defineProperty(I18nLanguageDetect.prototype, "cacheKey", { | ||
}); | ||
I18nLanguageDetect.prototype.init = function (services, inOptions) { | ||
this.services = services; | ||
this.options = __assign(__assign({}, defaults), inOptions); | ||
}; | ||
I18nLanguageDetect.prototype.detect = function () { | ||
@@ -55,0 +57,0 @@ var languageKeys = this.options.languageKeys; |
@@ -6,4 +6,4 @@ "use strict"; | ||
* homepage: https://js.work | ||
* version: 1.0.0 | ||
* date: 2023-08-16 22:50:52 | ||
* version: 1.0.1 | ||
* date: 2023-08-16 23:14:14 | ||
* license: MIT | ||
@@ -40,5 +40,3 @@ */ | ||
var I18nLanguageDetect = /** @class */ (function () { | ||
function I18nLanguageDetect(services, inOptions) { | ||
this.services = services; | ||
this.options = __assign(__assign({}, defaults), inOptions); | ||
function I18nLanguageDetect() { | ||
} | ||
@@ -55,2 +53,6 @@ Object.defineProperty(I18nLanguageDetect.prototype, "cacheKey", { | ||
}); | ||
I18nLanguageDetect.prototype.init = function (services, inOptions) { | ||
this.services = services; | ||
this.options = __assign(__assign({}, defaults), inOptions); | ||
}; | ||
I18nLanguageDetect.prototype.detect = function () { | ||
@@ -57,0 +59,0 @@ var languageKeys = this.options.languageKeys; |
{ | ||
"name": "@jswork/i18n-language-detect", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Language detect plugin.", | ||
@@ -55,3 +55,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "a76cf990820e067dc31eff690324dbd7b1fb7df8" | ||
"gitHead": "35acaae135fdd82bbe350484edc4c8a80410ecf4" | ||
} |
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
8954
161