Socket
Socket
Sign inDemoInstall

@eslint/eslintrc

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint/eslintrc - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/config-array-factory.js

@@ -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

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