json-version-control
Advanced tools
Comparing version 1.2.5 to 1.2.6
{ | ||
"name": "json-version-control", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "A lightweight and easy-to-use package that provides version control functionality for JSON files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -186,3 +186,3 @@ const fs = require("fs"); | ||
const fileNames = await this.readdirAsync(this.historyDirectory); | ||
const versionRegex = new RegExp(`^${this.diffFilePrefix}(\\d+)\\.diff$`); | ||
const versionRegex = new RegExp('(\\d+).diff$'); | ||
const versions = []; | ||
@@ -189,0 +189,0 @@ |
@@ -97,3 +97,3 @@ const fs = require("fs"); | ||
const fileNames = fs.readdirSync(this.historyDirectory); | ||
const versionRegex = new RegExp(`^${this.diffFilePrefix}(\\d+)\\.diff$`); | ||
const versionRegex = new RegExp('(\\d+).diff$'); | ||
const versions = []; | ||
@@ -100,0 +100,0 @@ |
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
31714