New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ramllint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ramllint - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

package.json
{
"name": "ramllint",
"version": "1.2.5",
"version": "1.2.6",
"description": "RAML Lint",

@@ -5,0 +5,0 @@ "author": "Tyler Smith <TylerSmith@quickenloans.com",

@@ -44,3 +44,3 @@ [![Build Status](https://travis-ci.org/QuickenLoans/ramllint.svg)](https://travis-ci.org/QuickenLoans/ramllint)

ramllint('./path/to/api.raml', function (results) {
ramllint.lint('./path/to/api.raml', function (results) {
// NOTE: results will only contain 'error' and will exclude 'warning' and 'info'

@@ -47,0 +47,0 @@ // to get an array of all log entries use: `ramllint.results()`

#!/usr/bin/env node
var exitcode = 0;
var path = require('path'),

@@ -13,2 +11,3 @@

exitcode = 0,
ramllinter = new Linter();

@@ -42,4 +41,5 @@

if( entry.level == 'error' )
if(entry.level === 'error') {
exitcode = 1;
}

@@ -55,4 +55,5 @@ output = '\n' +

});
process.exit( exitcode );
process.exit(exitcode);
}
});

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