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

@contrail/types

Package Overview
Dependencies
Maintainers
6
Versions
179
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 2.0.14 to 2.0.15

2

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

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

formatCurrencyValue(value: any): string;
formatDate(isoString: string, dateFormatOptions?: DateFormatingOptions): string;
formatDate(isoString: string | null, dateFormatOptions?: DateFormatingOptions): string;
formatBoolean(value: boolean): string;
}

@@ -113,2 +113,5 @@ "use strict";

formatDate(isoString, dateFormatOptions = { includeTime: false }) {
if (!isoString) {
return '';
}
const options = {};

@@ -115,0 +118,0 @@ return new Intl.DateTimeFormat(this.localizationConfig.locale, options).format(new Date(isoString).getTime());

{
"name": "@contrail/types",
"version": "2.0.14",
"version": "2.0.15",
"description": "Types Utility module",

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

"license": "ISC",
"files": [
"lib/**/*"
],
"devDependencies": {

@@ -21,0 +18,0 @@ "@types/jest": "^23.3.14",

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