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

@stoplight/json

Package Overview
Dependencies
Maintainers
12
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/json - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

encodePointerFragment.d.ts

@@ -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

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