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

@nuskin/ns-util

Package Overview
Dependencies
Maintainers
5
Versions
1732
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/ns-util - npm Package Compare versions

Comparing version 4.3.1 to 4.3.2-cx15-7289.1

2

package.json
{
"name": "@nuskin/ns-util",
"version": "4.3.1",
"version": "4.3.2-cx15-7289.1",
"baseURL": "/",

@@ -5,0 +5,0 @@ "main": "src/util.js",

@@ -109,7 +109,10 @@ import nuskin from './namespace.js'; // import global namespace we can attach to

let runConfig = RunConfigService.getRunConfig();
const [language, country] = UrlService.getLocaleFromUrl();
// use locale on URL, else use en_US
config.language = language || 'en';
config.country = country || 'US';
if (!config.language || !config.country) {
const [language, country] = UrlService.getLocaleFromUrl();
// use locale on URL, else use en_US
config.language = language || 'en';
config.country = country || 'US';
}
config.assessmentApp = config.assessmentApp || false;

@@ -116,0 +119,0 @@ config.id = Math.floor(Math.random() * 1000000000000);

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