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.11 to 1.0.12

4

dist/index.d.ts

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:48
* version: 1.0.11
* date: 2023-10-13 08:58:06
* license: MIT

@@ -9,0 +9,0 @@ */

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:46
* version: 1.0.11
* date: 2023-10-13 08:58:04
* license: MIT

@@ -47,4 +47,6 @@ */

var routerType = inOptions.routerType;
var suburl = routerType === 'hash' ? window.location.hash : window.location.search;
var uri = new URL(suburl.slice(1), 'http://localhost');
var isHashType = routerType === 'hash';
var suburl = isHashType ? window.location.hash : window.location.search;
var idx = isHashType ? 1 : 0;
var uri = new URL(suburl.slice(idx), 'http://localhost');
for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {

@@ -51,0 +53,0 @@ var key = keys_1[_i];

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:48
* version: 1.0.11
* date: 2023-10-13 08:58:06
* license: MIT

@@ -52,4 +52,6 @@ */

var routerType = inOptions.routerType;
var suburl = routerType === 'hash' ? window.location.hash : window.location.search;
var uri = new URL(suburl.slice(1), 'http://localhost');
var isHashType = routerType === 'hash';
var suburl = isHashType ? window.location.hash : window.location.search;
var idx = isHashType ? 1 : 0;
var uri = new URL(suburl.slice(idx), 'http://localhost');
for (var _i = 0, keys_1 = keys; _i < keys_1.length; _i++) {

@@ -56,0 +58,0 @@ var key = keys_1[_i];

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:48
* version: 1.0.11
* date: 2023-10-13 08:58:06
* license: MIT
*/
export default function stdLanuage(inLaugage: string, inFallbackLng?: string): string;

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:46
* version: 1.0.11
* date: 2023-10-13 08:58:04
* license: MIT

@@ -9,0 +9,0 @@ */

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

* homepage: https://js.work
* version: 1.0.10
* date: 2023-10-12 11:03:48
* version: 1.0.11
* date: 2023-10-13 08:58:06
* license: MIT

@@ -10,0 +10,0 @@ */

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

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

},
"gitHead": "556b09ed4855cffafa37610798a76b972025a2b8"
"gitHead": "c0691d0861f314422818be49748c02418aea352b"
}
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