json-version-control
Advanced tools
Comparing version 1.2.3 to 1.2.4
{ | ||
"name": "json-version-control", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "A lightweight and easy-to-use package that provides version control functionality for JSON files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -262,3 +262,4 @@ const fs = require("fs"); | ||
// Calculate the difference between the source and target objects. | ||
const diff = this.calculateDiff(sourceObj, targetJson); | ||
const parsedJson = JSON.parse(targetJson) | ||
const diff = this.calculateDiff(sourceObj, parsedJson); | ||
@@ -265,0 +266,0 @@ // If no changes are found, log a message and return. |
@@ -160,3 +160,4 @@ const fs = require("fs"); | ||
// Calculate the difference between the source and target objects. | ||
const diff = this.calculateDiff(sourceObj, targetJson); | ||
const parsedJson = JSON.parse(targetJson) | ||
const diff = this.calculateDiff(sourceObj, parsedJson); | ||
@@ -163,0 +164,0 @@ // If no changes are found, log a message and return. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31858
692
0