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

@contrail/types

Package Overview
Dependencies
Maintainers
0
Versions
190
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.78 to 3.0.79-alpha.0

1

lib/formatter/property-value-formatter.d.ts

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

formatObjectReference(object: any): any;
formatTypeReference(object: any): string;
formatUserList(object: any): any;

@@ -24,0 +25,0 @@ formatValueWithPrecision(value: any, property: TypeProperty): number | null;

@@ -110,2 +110,6 @@ "use strict";

}
case type_properties_1.PropertyType.TypeReference: {
formattedValue = this.formatTypeReference(value);
break;
}
}

@@ -172,2 +176,6 @@ return formattedValue;

}
formatTypeReference(object) {
const label = object?.label || object?.typePath || '';
return label;
}
formatUserList(object) {

@@ -174,0 +182,0 @@ const email = object?.email || '';

2

package.json
{
"name": "@contrail/types",
"version": "3.0.78",
"version": "3.0.79-alpha.0",
"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