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.2 to 1.0.3

1

dist/index.js
export * from "./Errors";
export * from "./ModelState";
export * from "./ModelStateError";
export * from "./typeGuards";
//# sourceMappingURL=index.js.map

5

dist/typeGuards.d.ts

@@ -1,1 +0,4 @@

export {};
import { IValidator } from "./IValidator";
import { IValidatorAsync } from "./IValidatorAsync";
export declare function isValidator(validator: any): validator is IValidator<any>;
export declare function isValidatorAsync(validator: any): validator is IValidatorAsync<any>;

@@ -1,7 +0,7 @@

function isValidator(validator) {
export function isValidator(validator) {
return typeof validator.validate === "function";
}
function isValidatorAsync(validator) {
export function isValidatorAsync(validator) {
return typeof validator.validateAsync === "function";
}
//# sourceMappingURL=typeGuards.js.map
{
"name": "model-state-validation",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "contributors": [

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