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.27 to 2.0.28

lib/validation/index.d.ts

1

lib/index.d.ts

@@ -7,1 +7,2 @@ export * from './formatter';

export * from './type-roots';
export * from './validation';

@@ -19,1 +19,2 @@ "use strict";

__exportStar(require("./type-roots"), exports);
__exportStar(require("./validation"), exports);

2

lib/validation/type-managed-validator.d.ts

@@ -0,3 +1,3 @@

import { ValidationError, ValidationSummary } from './validation-summary';
import { Type, TypeProperty } from '..';
import { ValidationError, ValidationSummary } from './validation-summary';
export declare const VALUE_IS_NOT_A_VALID_OPTION = "The value provided is not a valid option for this property.";

@@ -4,0 +4,0 @@ export declare const VALUE_IS_NOT_A_VALID_NUMBER = "The value provided is not a valid number.";

@@ -39,7 +39,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
let validationErrors = [];
const value = entity[property.slug || ''];
if (!value) {
return [];
}
return this.validatePropertyValue(value, property);

@@ -46,0 +42,0 @@ });

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