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

cute-localize

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cute-localize - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

8

index.js

@@ -66,2 +66,7 @@ var merge = require("merge");

translate.setLocale = function(locale) {
if (typeof locale === 'object') {
translate.locale = 'object';
translate.translations = locale;
return;
}
if (!locale || typeof locale != "string")

@@ -80,3 +85,4 @@ return;

};
translate.setLocale((options && options.locale && (typeof options.locale == "string")) ? options.locale : "en");
translate.setLocale((options && options.locale
&& (typeof options.locale == "string" || typeof options.locale === 'object')) ? options.locale : "en");
return translate;

@@ -83,0 +89,0 @@ };

2

package.json
{
"name": "cute-localize",
"version": "0.1.11",
"version": "0.1.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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