New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contrail/types

Package Overview
Dependencies
Maintainers
11
Versions
197
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/types - npm Package Compare versions

Comparing version 3.0.64 to 3.0.65

0

lib/copy/copy-helper.d.ts

@@ -0,0 +0,0 @@ import { Type } from "../types";

@@ -0,0 +0,0 @@ "use strict";

export * from './copy-helper';

@@ -0,0 +0,0 @@ "use strict";

import { NumberFormatingOptions } from "../type-properties";
import { LocalizationConfig } from "./property-value-formatter";
export declare const formatNumber: (value: any, numberFormat?: NumberFormatingOptions, localizationConfig?: LocalizationConfig) => string;

@@ -0,0 +0,0 @@ "use strict";

export declare const formatSizeRange: (object: any) => string;

@@ -0,0 +0,0 @@ "use strict";

export * from './property-value-formatter';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DateFormatingOptions, NumberFormatingOptions, TypeProperty } from '../type-properties';

6

lib/formatter/property-value-formatter.js

@@ -28,7 +28,9 @@ "use strict";

formatValueForProperty(value, property) {
if ((!value && value !== 0 && property?.propertyType === 'boolean') || !property) {
if ((!value && value !== 0) || !property) {
if (property?.propertyType === 'boolean') {
return this.formatBoolean(value);
}
return '';
if (value === null || value === undefined || !property) {
return '';
}
}

@@ -35,0 +37,0 @@ if (property.propertyType === type_properties_1.PropertyType.SingleSelect) {

@@ -0,0 +0,0 @@ import { TypeProperty } from "../type-properties";

@@ -0,0 +0,0 @@ "use strict";

import { TypeProperty } from '../type-properties';
export declare function getExecutionOrder(properties: Array<TypeProperty>): TypeProperty[];

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { TypeProperty } from '../type-properties';

@@ -0,0 +0,0 @@ "use strict";

export * from './formula-processor';
export * from './formula-function-processor';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './formatter';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface Relation {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './type-interface';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface TypeInterface {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './option-set-hierarchy';
export * from './option-set-hierarchy-helper';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { TypePropertyOptionSet } from "../type-properties";

@@ -0,0 +0,0 @@ import { Type } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './type-policy';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Policy } from '@contrail/policies';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './property-types';
export * from './type-property';
export * from './size-range/size-range';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare enum PropertyType {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface TwoDimensionSizeRange {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { PropertyType } from '.';

@@ -0,0 +0,0 @@ "use strict";

export * from './type-property-policy';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Policy } from '@contrail/policies';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './type-root';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface TypeRoot {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './type-rules';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface TypeRuleSet {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export * from './interfaces';
export * from './parse-optionSet';
export * from './process-orchestrator';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PropertyType } from "../type-properties";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
import { ReducedOptionSet } from './interfaces';
export declare function parseOptionSets(csvData: any[]): ReducedOptionSet[];
export declare function parseOptionSet(columnName: string, values: Set<string>): ReducedOptionSet;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ReducedTypeProperty, ReducedOptionSet } from './interfaces';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ReducedTypeProperty } from './interfaces';

@@ -0,0 +0,0 @@ "use strict";

export * from './type';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Relation } from "../relations/relation";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
{
"name": "@contrail/types",
"version": "3.0.64",
"version": "3.0.65",
"description": "Types Utility module",

@@ -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