eslint-plugin-json-schema-validator
Advanced tools
Comparing version 5.3.0 to 5.3.1
@@ -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) => { |
{ | ||
"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", |
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
111815
2620