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

@daeren/i18n

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daeren/i18n - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

3

index.js

@@ -21,2 +21,3 @@ "use strict";

getLocalesNames() { return localesNames; },
getCurrentLocalOrAvailable() { return curLocale || localesNames[0] || ''; },
//---]>

@@ -50,3 +51,3 @@ t(path, localeName, args) {

//---]>
return pathToExist.get(idx);
return pathToExist.has(idx);
},

@@ -53,0 +54,0 @@ //---]>

@@ -30,2 +30,3 @@ const locales = {} as any;

getLocalesNames(): string[] { return localesNames; },
getCurrentLocalOrAvailable(): string[] { return curLocale || localesNames[0] || ''; },

@@ -74,3 +75,3 @@ //---]>

return pathToExist.get(idx);
return pathToExist.has(idx);
},

@@ -77,0 +78,0 @@

{
"name": "@daeren/i18n",
"version": "1.2.1",
"version": "1.3.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

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