Socket
Socket
Sign inDemoInstall

@nuskin/ns-product-lib

Package Overview
Dependencies
Maintainers
5
Versions
491
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/ns-product-lib - npm Package Compare versions

Comparing version 2.15.0-cx24-6364.1 to 2.15.0-cx24-6364.2

2

package.json
{
"name": "@nuskin/ns-product-lib",
"version": "2.15.0-cx24-6364.1",
"version": "2.15.0-cx24-6364.2",
"description": "This project contains shared Product models and code between the backend and frontend.",

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

@@ -27,7 +27,10 @@ "use strict";

const config = (await getConfiguration(['Equinox_Markets'])).Equinox_Markets;
console.log('-configs-',config);
if (config.active) {
return (config.MySite_graphql_active_list.includes[market]) ? await getProduct(skus[0], market, locale, config) : await this.getProductFromEquinox(skus, localeMarket, config)
return (config.MySite_graphql_active_list.includes(market)) ?
await getProduct(skus[0], market, locale, config) :
await this.getProductFromEquinox(skus, localeMarket, config)
} else {
return (config.MySite_graphql_active_list.includes[market]) ? await getProduct(skus[0], market, locale, config) : await this.getProductFromLegacy(skus, localeMarket);
return (config.MySite_graphql_active_list.includes(market)) ?
await getProduct(skus[0], market, locale, config) :
await this.getProductFromLegacy(skus, localeMarket);
}

@@ -34,0 +37,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