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

@contrail/types

Package Overview
Dependencies
Maintainers
10
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 3.0.52 to 3.0.53

2

lib/formatter/formatNumber.js

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

}) => {
if (!value) {
if (!value && value !== 0) {
return value;

@@ -12,0 +12,0 @@ }

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

formatValueForProperty(value, property) {
if (!value || !property) {
if ((!value && value !== 0) || !property) {
if (property?.propertyType === 'boolean') {

@@ -31,0 +31,0 @@ return this.formatBoolean(value);

{
"name": "@contrail/types",
"version": "3.0.52",
"version": "3.0.53",
"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