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

@stoplight/spectral

Package Overview
Dependencies
Maintainers
10
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/spectral - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

functions/schema.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const json_1 = require("@stoplight/json");
const AJV = require("ajv");

@@ -30,3 +31,6 @@ const jsonSpecv4 = require("ajv/lib/refs/json-schema-draft-04.json");

results.push({
path: path.concat(e.dataPath.split('/').slice(1)),
path: path.concat(e.dataPath
.split('/')
.slice(1)
.map(frag => json_1.decodePointerFragment(frag))),
message: e.message ? e.message : '',

@@ -33,0 +37,0 @@ });

3

package.json
{
"name": "@stoplight/spectral",
"version": "1.0.2",
"version": "1.1.0",
"description": "A flexible object linter with out of the box support for OpenAPI v2 and v3.",

@@ -30,2 +30,3 @@ "keywords": [

"dependencies": {
"@stoplight/json": "1.x.x",
"@stoplight/types": "3.x.x",

@@ -32,0 +33,0 @@ "ajv": "6.x.x",

@@ -6,2 +6,4 @@ ![Spectral logo](img/spectral-banner.png)

A flexible JSON object linter with out of the box support for OpenAPI Specification 2 and 3
## Features

@@ -8,0 +10,0 @@

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