@stoplight/spectral
Advanced tools
Comparing version 1.0.2 to 1.1.0
"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 @@ }); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229044
5092
235
5
+ Added@stoplight/json@1.x.x
+ Added@stoplight/fast-safe-stringify@2.1.2(transitive)
+ Added@stoplight/json@1.9.0(transitive)
+ Added@stoplight/types@4.0.0(transitive)
+ Addedjsonc-parser@2.1.0(transitive)