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

model-state-validation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

model-state-validation - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

1

dist/Errors.d.ts
import { IModelStateError } from "./IModelStateError";
export declare class Errors {
[property: string]: any;
addStateError(stateError: IModelStateError): void;

@@ -4,0 +5,0 @@ private containsField;

2

dist/Errors.js

@@ -8,7 +8,5 @@ export class Errors {

containsField(fieldName) {
// @ts-ignore
return typeof this[fieldName] !== "undefined";
}
addField(fieldName, value) {
// @ts-ignore
this[fieldName] = value;

@@ -15,0 +13,0 @@ }

export * from "./Errors";
export * from "./IModelState";
export * from "./IModelStateError";
export * from "./IValidator";
export * from "./IValidatorAsync";
export * from "./ModelState";

@@ -3,0 +7,0 @@ export * from "./ModelStateError";

{
"name": "model-state-validation",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -25,6 +25,6 @@ "contributors": [

"devDependencies": {
"tslint": "6.0.0",
"tslint": "6.1.2",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"typescript": "3.8.3"
"typescript": "3.9.7"
},

@@ -31,0 +31,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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