Socket
Socket
Sign inDemoInstall

@rushstack/eslint-patch

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/eslint-patch - npm Package Compare versions

Comparing version 1.10.2 to 1.10.3

8

lib/_patch-base.js

@@ -183,4 +183,4 @@ "use strict";

}
if (!(ESLINT_MAJOR_VERSION >= 6 && ESLINT_MAJOR_VERSION <= 8)) {
throw new Error('The ESLint patch script has only been tested with ESLint version 6.x, 7.x, and 8.x.' +
if (!(ESLINT_MAJOR_VERSION >= 6 && ESLINT_MAJOR_VERSION <= 9)) {
throw new Error('The ESLint patch script has only been tested with ESLint version 6.x, 7.x, 8.x, and 9.x.' +
` (Your version: ${exports.eslintPackageVersion})\n` +

@@ -192,3 +192,3 @@ 'Consider reporting a GitHub issue:\n' +

let configArrayFactory;
if (ESLINT_MAJOR_VERSION === 8) {
if (ESLINT_MAJOR_VERSION >= 8) {
exports.configArrayFactory = configArrayFactory = require(eslintrcBundlePath).Legacy.ConfigArrayFactory;

@@ -203,3 +203,3 @@ }

let Naming;
if (ESLINT_MAJOR_VERSION === 8) {
if (ESLINT_MAJOR_VERSION >= 8) {
exports.ModuleResolver = ModuleResolver = require(eslintrcBundlePath).Legacy.ModuleResolver;

@@ -206,0 +206,0 @@ exports.Naming = Naming = require(eslintrcBundlePath).Legacy.naming;

{
"name": "@rushstack/eslint-patch",
"version": "1.10.2",
"version": "1.10.3",
"description": "Enhance ESLint with better support for large scale monorepos",

@@ -5,0 +5,0 @@ "main": "lib/usage.js",

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