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

eslint-plugin-json-schema-validator

Package Overview
Dependencies
Maintainers
0
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-json-schema-validator - npm Package Compare versions

Comparing version 5.3.0 to 5.3.1

12

lib/utils/schema.js

@@ -83,3 +83,3 @@ "use strict";

const httpGetModulePath = resolvePath(options?.getModulePath, context);
makeDirs(path_1.default.dirname(jsonFilePath));
fs_1.default.mkdirSync(path_1.default.dirname(jsonFilePath), { recursive: true });
let data, timestamp;

@@ -137,12 +137,2 @@ try {

}
function makeDirs(dir) {
const dirs = [dir];
while (!fs_1.default.existsSync(dirs[0])) {
dirs.unshift(path_1.default.dirname(dirs[0]));
}
dirs.shift();
for (const dir of dirs) {
fs_1.default.mkdirSync(dir);
}
}
function schemaStringify(schema) {

@@ -149,0 +139,0 @@ return JSON.stringify(schema, (_key, value) => {

2

package.json
{
"name": "eslint-plugin-json-schema-validator",
"version": "5.3.0",
"version": "5.3.1",
"description": "ESLint plugin that validates data using JSON Schema Validator.",

@@ -5,0 +5,0 @@ "repository": "git+https://github.com/ota-meshi/eslint-plugin-json-schema-validator.git",

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