Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@eslint/config-helpers

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint/config-helpers - npm Package Compare versions

Comparing version
0.2.3
to
0.3.0
+11
-1
dist/cjs/index.cjs

@@ -39,3 +39,3 @@ 'use strict';

const allowedGlobalIgnoreKeys = new Set(["ignores", "name"]);
const allowedGlobalIgnoreKeys = new Set(["basePath", "ignores", "name"]);

@@ -386,2 +386,8 @@ /**

// @ts-ignore -- ESLint types aren't updated yet
if (baseConfig.basePath) {
// @ts-ignore -- ESLint types aren't updated yet
result.basePath = baseConfig.basePath;
}
return result;

@@ -446,2 +452,6 @@ }

if ("basePath" in extension) {
throw new TypeError("'basePath' in `extends` is not allowed.");
}
if ("extends" in extension) {

@@ -448,0 +458,0 @@ throw new TypeError("Nested 'extends' is not allowed.");

@@ -38,3 +38,3 @@ // @ts-self-types="./index.d.ts"

const allowedGlobalIgnoreKeys = new Set(["ignores", "name"]);
const allowedGlobalIgnoreKeys = new Set(["basePath", "ignores", "name"]);

@@ -385,2 +385,8 @@ /**

// @ts-ignore -- ESLint types aren't updated yet
if (baseConfig.basePath) {
// @ts-ignore -- ESLint types aren't updated yet
result.basePath = baseConfig.basePath;
}
return result;

@@ -445,2 +451,6 @@ }

if ("basePath" in extension) {
throw new TypeError("'basePath' in `extends` is not allowed.");
}
if ("extends" in extension) {

@@ -447,0 +457,0 @@ throw new TypeError("Nested 'extends' is not allowed.");

+3
-7
{
"name": "@eslint/config-helpers",
"version": "0.2.3",
"version": "0.3.0",
"description": "Helper utilities for creating ESLint configuration",

@@ -50,9 +50,5 @@ "type": "module",

"devDependencies": {
"@eslint/core": "^0.15.0",
"c8": "^9.1.0",
"@eslint/core": "^0.15.1",
"eslint": "^9.27.0",
"mocha": "^10.4.0",
"rollup": "^4.16.2",
"rollup-plugin-copy": "^3.5.0",
"typescript": "^5.4.5"
"rollup-plugin-copy": "^3.5.0"
},

@@ -59,0 +55,0 @@ "engines": {