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.2 to 0.1.3

6

index.js

@@ -5,5 +5,5 @@ var merge = require("merge");

var extraLocations = (options && options.extraLocations) ? options.extraLocations : null;
if (typeof options.extraLocations != "string" && !(options.extraLocations instanceof Array))
if (options && typeof options.extraLocations != "string" && !(options.extraLocations instanceof Array))
extraLocations = null;
if (typeof options.extraLocations == "string")
if (options && typeof options.extraLocations == "string")
extraLocations = [extraLocations];

@@ -77,3 +77,3 @@ var locations = extraLocations || [];

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

@@ -80,0 +80,0 @@ };

{
"name": "cute-localize",
"version": "0.1.2",
"version": "0.1.3",
"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