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

oas-linter

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oas-linter - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

7

index.js

@@ -94,2 +94,9 @@ 'use strict';

}
if (rule.if) {
let property = (rule.if.property === '$key') ? key : object[rule.if.property];
if (property) {
let thenProp = (rule.if.then.property === '$key') ? key : object[rule.if.then.property];
should(thenProp).equal(rule.if.then.value);
}
}
// TODO speccy defines a maxLength rule { property: string, value: integer }

@@ -96,0 +103,0 @@ }

6

package.json
{
"name": "oas-linter",
"version": "1.0.7",
"version": "1.0.8",
"description": "Default linter plugin for oas-validator",

@@ -18,6 +18,6 @@ "main": "index.js",

"dependencies": {
"js-yaml": "^3.11.0",
"js-yaml": "^3.12.0",
"should": "^13.2.1"
},
"gitHead": "c0080cde40d45cde9a972918668aec899b49834b"
"gitHead": "4862e159745d6ca06044bc3ebabe57a2ad8b7152"
}

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