@stoplight/json
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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); |
{ | ||
"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
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
49662
63
499
+ Added@stoplight/types@5.1.2(transitive)
- Removed@stoplight/types@4.0.0(transitive)
Updated@stoplight/types@5.x.x