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

@nuskin/ns-product-lib

Package Overview
Dependencies
Maintainers
5
Versions
494
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.14.3-cx24-5962.1 to 2.14.3-cx24-5962.2

2

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

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

@@ -512,3 +512,4 @@ const axios = require('axios');

const { pricingJson } = product
const promotion = pricingJson.promotion
const parsedPricing = JSON.parse(pricingJson)
const promotion = parsedPricing.promotion
return (promotion && promotion.length >= 1) ? { message: promotion[0].message, offerId: promotion[0].offerId } : { message: '', offerId: '' }

@@ -515,0 +516,0 @@ } else {

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