Socket
Socket
Sign inDemoInstall

@nuskin/ns-util

Package Overview
Dependencies
Maintainers
5
Versions
1730
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.4-cx24-3503.1 to 4.2.4

2

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

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

@@ -55,3 +55,4 @@ import nuskin from './namespace.js'; // import global namespace we can attach to

this.onLoad = function() {
const onLoadEmpty = () => {};
const onLoadReady = () => {
for(let x = 0; x < loadFunctions.length; x++) {

@@ -65,2 +66,4 @@ if(!loadFunctions[x].hasRun) {

this.onLoad = onLoadEmpty;
this.init = function(config) {

@@ -98,2 +101,3 @@ RunConfigService.setRunConfig(config);

event.unsubscribe(event.global.CS_CONFIG_SET, configCallback);
this.onLoad = onLoadReady;
this.onLoad();

@@ -100,0 +104,0 @@ }

@@ -68,3 +68,3 @@ import './ajaxWrapper.js';

evnts.unsubscribe(evnts.global.RUN_CONFIG_CHANGED, runConfigCallback);
getConfiguration(['Signup', 'Url', 'Storefront', 'Loyalty']).then(() => console.log('ns-util config loaded'));
getConfiguration(['Signup', 'Url', 'Storefront']).then(() => console.log('ns-util config loaded'));
}

@@ -71,0 +71,0 @@ }

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