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.3.1 to 1.3.2

18

lib/config-array-factory.js

@@ -132,2 +132,5 @@ /**

/** @type {WeakMap<object, Plugin>} */
const normalizedPlugins = new WeakMap();
/**

@@ -409,3 +412,11 @@ * Check if a given string is a file path.

function normalizePlugin(plugin) {
return {
// first check the cache
let normalizedPlugin = normalizedPlugins.get(plugin);
if (normalizedPlugin) {
return normalizedPlugin;
}
normalizedPlugin = {
configs: plugin.configs || {},

@@ -416,2 +427,7 @@ environments: plugin.environments || {},

};
// save the reference for later
normalizedPlugins.set(plugin, normalizedPlugin);
return normalizedPlugin;
}

@@ -418,0 +434,0 @@

2

package.json
{
"name": "@eslint/eslintrc",
"version": "1.3.1",
"version": "1.3.2",
"description": "The legacy ESLintRC config file format for ESLint",

@@ -5,0 +5,0 @@ "type": "module",

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