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.2.2-cx24-3438.2 to 4.2.2

9

package.json
{
"name": "@nuskin/ns-util",
"version": "4.2.2-cx24-3438.2",
"version": "4.2.2",
"baseURL": "/",

@@ -26,4 +26,3 @@ "main": "src/util.js",

"dependencies": {
"@nuskin/configuration-sdk": "2.2.2",
"@nuskin/events": "1.0.0",
"@nuskin/events": "1.0.1",
"@nuskin/ns-common-lib": "1.2.3",

@@ -50,2 +49,3 @@ "@nuskin/nuskinjquery": "2.3.1",

"devDependencies": {
"@nuskin/configuration-sdk": "2.2.0",
"@nuskin/ns-jsanalyzer": "1.0.1",

@@ -87,5 +87,4 @@ "axios-mock-adapter": "1.18.2",

"peerDependencies": {
"@nuskin/configuration-sdk": "2.x",
"@nuskin/events": "1.x"
"@nuskin/configuration-sdk": "2.x"
}
}

@@ -1,2 +0,2 @@

import {getCachedConfigField} from '@nuskin/configuration-sdk';
import {getConfiguration} from '@nuskin/configuration-sdk';
import storage from "./storage.js";

@@ -42,4 +42,4 @@

if (!source) {
const userDisplayNameSrc = getCachedConfigField('userDisplayNameSrc');
source = userDisplayNameSrc || '';
const {Storefront: storefrontCfg} = await getConfiguration(['Storefront']);
source = storefrontCfg.userDisplayNameSrc || '';
}

@@ -46,0 +46,0 @@

@@ -5,3 +5,3 @@ ("use strict");

import events from "./event.js";
import { getCachedConfigField } from "@nuskin/configuration-sdk";
import { getConfiguration } from "@nuskin/configuration-sdk";
import RunConfigService from "./runConfigService.js";

@@ -173,3 +173,4 @@

async function getServerStrings(locale) {
let url = (getCachedConfigField('commonStringsUrl') || '').replace(
const {Url: urlCfg} = await getConfiguration(['Url']);
let url = (urlCfg.commonStringsUrl || '').replace(
"{locale}",

@@ -176,0 +177,0 @@ locale

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