@stoplight/json
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -1,2 +0,2 @@ | ||
import { Segment } from '@stoplight/types/parsers'; | ||
import { Segment } from '@stoplight/types'; | ||
export declare const encodePointerFragment: (value: Segment) => Segment; |
{ | ||
"name": "@stoplight/json", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Useful functions when working with JSON.", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"@stoplight/fast-safe-stringify": "2.1.2", | ||
"@stoplight/types": "5.x.x", | ||
"@stoplight/types": "9.0.2", | ||
"jsonc-parser": "2.1.0", | ||
@@ -31,0 +31,0 @@ "lodash": "4.x.x" |
@@ -1,3 +0,2 @@ | ||
import { IDiagnostic } from '@stoplight/types/diagnostics'; | ||
import { IParserASTResult, IParserResult } from '@stoplight/types/parsers'; | ||
import { IDiagnostic, IParserASTResult, IParserResult } from '@stoplight/types'; | ||
import { Node, ParseOptions } from 'jsonc-parser'; | ||
@@ -4,0 +3,0 @@ import { IJsonASTNode } from './types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const diagnostics_1 = require("@stoplight/types/diagnostics"); | ||
const types_1 = require("@stoplight/types"); | ||
const jsonc_parser_1 = require("jsonc-parser"); | ||
@@ -134,3 +134,3 @@ exports.parseWithPointers = (value, options = { disallowComments: true }) => { | ||
message: jsonc_parser_1.printParseErrorCode(error), | ||
severity: diagnostics_1.DiagnosticSeverity.Error, | ||
severity: types_1.DiagnosticSeverity.Error, | ||
code: error, | ||
@@ -137,0 +137,0 @@ }); |
@@ -1,1 +0,1 @@ | ||
export declare const pointerToPath: (pointer: string) => import("@stoplight/types/parsers").Segment[]; | ||
export declare const pointerToPath: (pointer: string) => import("@stoplight/types").Segment[]; |
Sorry, the diff of this file is not supported yet
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
51366
520
+ Added@stoplight/types@9.0.2(transitive)
- Removed@stoplight/types@5.1.2(transitive)
Updated@stoplight/types@9.0.2