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.1 to 1.0.2

6

dist/index.d.ts

@@ -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"
}
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