@eslint/eslintrc
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -165,3 +165,3 @@ /** | ||
// empty YAML file can be null, so always use | ||
return yaml.safeLoad(readFile(filePath)) || {}; | ||
return yaml.load(readFile(filePath)) || {}; | ||
} catch (e) { | ||
@@ -212,3 +212,3 @@ debug(`Error reading YAML file: ${filePath}`); | ||
try { | ||
return yaml.safeLoad(stripComments(readFile(filePath))) || /* istanbul ignore next */ {}; | ||
return yaml.load(stripComments(readFile(filePath))) || /* istanbul ignore next */ {}; | ||
} catch (e) { | ||
@@ -215,0 +215,0 @@ debug("Error reading YAML file: %s\n%o", filePath, e); |
{ | ||
"name": "@eslint/eslintrc", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "The legacy ESLintRC config file format for ESLint", | ||
@@ -59,3 +59,3 @@ "type": "module", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-release": "^3.1.2", | ||
"eslint-release": "^3.2.0", | ||
"fs-teardown": "^0.1.3", | ||
@@ -75,3 +75,3 @@ "mocha": "^9.0.3", | ||
"import-fresh": "^3.2.1", | ||
"js-yaml": "^3.13.1", | ||
"js-yaml": "^4.1.0", | ||
"minimatch": "^3.0.4", | ||
@@ -78,0 +78,0 @@ "strip-json-comments": "^3.1.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
640678
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedjs-yaml@^4.1.0