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

@contrail/aggregates

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/aggregates - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

lib/aggregate-type-property-helper.d.ts

@@ -7,5 +7,5 @@ import { TypeProperty } from "@contrail/types";

export declare class AggregateTypePropertyHelper {
static computeAggregatesForOption(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void;
static computeAggregatesForOptions(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void;
static testValue(value: any, testValue: any): boolean;
static computeAggregatesForNumericProperties(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void;
}

@@ -8,3 +8,3 @@ "use strict";

class AggregateTypePropertyHelper {
static computeAggregatesForOption(aggregates, data, properties) {
static computeAggregatesForOptions(aggregates, data, properties) {
const optionProperties = properties.filter(prop => { var _a; return ([types_1.PropertyType.SingleSelect, types_1.PropertyType.MultiSelect].includes(prop.typeProperty.propertyType) && ((_a = prop === null || prop === void 0 ? void 0 : prop.typeProperty) === null || _a === void 0 ? void 0 : _a.options)); });

@@ -11,0 +11,0 @@ optionProperties.forEach(property => {

{
"name": "@contrail/aggregates",
"version": "1.0.8",
"version": "1.0.9",
"description": "Utilities for computing aggregates",

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

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