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

@buildingsblock/core

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buildingsblock/core - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

4

lib/stratas/index.js

@@ -22,2 +22,3 @@ "use strict";

});
if (!stratasWithBudget.length) return null;
var metrics = stratasWithBudget.map(function (x) {

@@ -43,2 +44,3 @@ var _$orderBy = _lodash.default.orderBy(x.repairAndMaintenanceBudget, ['at'], ['desc']),

});
if (!stratasWithBudget.length) return null;
var metrics = stratasWithBudget.map(function (x) {

@@ -63,2 +65,3 @@ var value = _lodash.default.orderBy(x.budget, ['at'], ['desc'])[0].value;

});
if (!stratasWithContingencyReserveFund.length) return null;
var metrics = stratasWithContingencyReserveFund.map(function (x) {

@@ -81,2 +84,3 @@ var contingencyReserveFund = _lodash.default.orderBy(x.contingencyReserveFund, ['at'], ['desc'])[0].value;

});
if (!stratasWithContingencyReserveFund.length) return null;
var metrics = stratasWithContingencyReserveFund.map(function (x) {

@@ -83,0 +87,0 @@ var contingencyReserveFund = _lodash.default.orderBy(x.contingencyReserveFund, ['at'], ['desc'])[0].value;

2

package.json
{
"name": "@buildingsblock/core",
"version": "0.0.17",
"version": "0.0.18",
"description": "Core code base for Buildingsblock",

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

@@ -110,7 +110,3 @@ import test from 'ava'

const emptyStrata = [
{
budget: [],
},
]
const emptyStrata = []

@@ -159,7 +155,3 @@ const result = calcAverageBudgetPerSquareFoot(stratas)

const emptyStrata = [
{
contingencyReserveFund: [],
},
]
const emptyStrata = []

@@ -209,7 +201,3 @@ const result = calcAverageRepairAndMaintenanceBudgetPerSquareFoot(stratas)

const emptyStrata = [
{
repairAndMaintenanceBudget: [],
},
]
const emptyStrata = []

@@ -216,0 +204,0 @@ const result = calcAverageContingencyReserveFundPerBudget(stratas)

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