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

json-version-control

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-version-control - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

package.json
{
"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 @@

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