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

@symbolic/lib

Package Overview
Dependencies
Maintainers
5
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbolic/lib - npm Package Compare versions

Comparing version 1.0.225 to 1.0.226

2

package.json
{
"name": "@symbolic/lib",
"version": "1.0.225",
"version": "1.0.226",
"description": "plain js utilities",

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

@@ -5,6 +5,7 @@ import _ from "lodash";

productPricingRuleVersionFor,
defaultProductOptionFor,
// defaultProductOptionFor,
productPropertyClassifierNumberFor,
sortedProductPropertiesForProductInstance,
getArrayQuantityForArrayProductProperty,
productOptionForInstanceProperty,
meljac: {getUsedEngravingCount}

@@ -36,3 +37,6 @@ }) {

else if (_.includes(['productPropertyPrice', 'productPropertyClassifierNumber'], type)) {
var defaultOption = defaultProductOptionFor({productPropertyId: props.productPropertyId}, {productOptionsById});
var productProperty = _.get(productPropertiesById, props.productPropertyId);
var defaultOption = productOptionForInstanceProperty({productInstance, productProperty}, {productOptionsById, productRulesById, productsById});
// var defaultOption = defaultProductOptionFor({productPropertyId: props.productPropertyId}, {productOptionsById});
var selectedOptionId = _.get(productInstance, `properties.${props.productPropertyId}.optionId`, defaultOption.id);

@@ -39,0 +43,0 @@

Sorry, the diff of this file is too big to display

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