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

henrybuilt-js-library

Package Overview
Dependencies
Maintainers
0
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henrybuilt-js-library - npm Package Compare versions

Comparing version 1.8.315 to 1.8.316

2

package.json
{
"name": "henrybuilt-js-library",
"version": "1.8.315",
"version": "1.8.316",
"description": "",

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

@@ -126,7 +126,6 @@ var libMaterials = require('@src/materials/materials');

var percentDiscountAsDecimal = _.round(discount.value / 100, 2);
subtotals.discounts[index] = discountBasis.multiply(percentDiscountAsDecimal);
percentageDiscountTotal = percentageDiscountTotal.add(discountBasis.multiply(percentDiscountAsDecimal));
discountBasis = discountBasis.subtract(discountBasis.multiply(percentDiscountAsDecimal));
console.log(percentDiscountAsDecimal, flatDiscountTotal.getAmount(), obfuscateShipping, subtotals.discounts[index].getAmount(), percentageDiscountTotal.getAmount(), discountBasis.getAmount());
}

@@ -589,3 +588,3 @@ });

var revelationDate = Date.parse('12-02-2018');
var newDiscountsUsed = _.some(project.projectVersions, version => version.incentiveDiscountInDollars > 0);
var newDiscountsUsed = _.some(project.projectVersions, version => version.incentiveDiscountInDollars > 0 || (version.discounts && version.discounts.length > 0));

@@ -592,0 +591,0 @@ var preShippingRevelation = effectivePricingDate < revelationDate && !newDiscountsUsed;

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