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

@stoplight/json

Package Overview
Dependencies
Maintainers
11
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.0.0 to 2.0.1

1

index.d.ts

@@ -6,3 +6,2 @@ export * from './decycle';

export * from './encodePointerFragment';
export * from './isStringified';
export * from './pathToPointer';

@@ -9,0 +8,0 @@ export * from './pointerToPath';

@@ -9,3 +9,2 @@ "use strict";

tslib_1.__exportStar(require("./encodePointerFragment"), exports);
tslib_1.__exportStar(require("./isStringified"), exports);
tslib_1.__exportStar(require("./pathToPointer"), exports);

@@ -12,0 +11,0 @@ tslib_1.__exportStar(require("./pointerToPath"), exports);

4

package.json
{
"name": "@stoplight/json",
"version": "2.0.0",
"version": "2.0.1",
"description": "Useful functions when working with JSON.",

@@ -28,3 +28,3 @@ "keywords": [

"@stoplight/fast-safe-stringify": "2.1.2",
"@stoplight/types": "4.0.x",
"@stoplight/types": "5.x.x",
"jsonc-parser": "2.1.0",

@@ -31,0 +31,0 @@ "lodash": "4.x.x"

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fast_safe_stringify_1 = require("@stoplight/fast-safe-stringify");
const isStringified_1 = require("./isStringified");
exports.safeStringify = (value, replacer, space) => {
if (isStringified_1.isStringified(value)) {
if (typeof value === 'string') {
return value;

@@ -8,0 +7,0 @@ }

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