Socket
Socket
Sign inDemoInstall

raml-json-validation

Package Overview
Dependencies
6
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

2

dist/index.d.ts

@@ -7,2 +7,4 @@ export declare class JSONValidator {

isResourceLoaded(reference: string): boolean;
validate(content: any, schema: any): void;
getLastErrors(): any[];
}

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

};
JSONValidator.prototype.validate = function (content, schema) {
this.validator.validate(content, schema);
};
JSONValidator.prototype.getLastErrors = function () {
return this.validator.getLastErrors();
};
return JSONValidator;

@@ -21,0 +27,0 @@ }());

2

package.json
{
"name": "raml-json-validation",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc