You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@eslint/config-array

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint/config-array - npm Package Compare versions

Comparing version
0.22.0
to
0.23.0
+5
-8
dist/cjs/index.cjs

@@ -207,4 +207,3 @@ 'use strict';

/** @import * as $minimatch from "minimatch"; */
/** @typedef {$minimatch.IMinimatchStatic} IMinimatchStatic */
/** @typedef {$minimatch.IMinimatch} IMinimatch */
/** @typedef {$minimatch.MinimatchOptions} MinimatchOptions */
/** @import * as PathImpl from "@jsr/std__path" */

@@ -225,3 +224,2 @@

const Minimatch = minimatch.Minimatch;
const debug = createDebug("@eslint/config-array");

@@ -231,3 +229,3 @@

* A cache for minimatch instances.
* @type {Map<string, IMinimatch>}
* @type {Map<string, Minimatch>}
*/

@@ -238,3 +236,3 @@ const minimatchCache = new Map();

* A cache for negated minimatch instances.
* @type {Map<string, IMinimatch>}
* @type {Map<string, Minimatch>}
*/

@@ -245,3 +243,3 @@ const negatedMinimatchCache = new Map();

* Options to use with minimatch.
* @type {Object}
* @type {MinimatchOptions}
*/

@@ -251,3 +249,2 @@ const MINIMATCH_OPTIONS = {

dot: true,
allowWindowsEscape: true,
};

@@ -428,3 +425,3 @@

if (!matcher) {
matcher = new Minimatch(
matcher = new minimatch.Minimatch(
pattern,

@@ -431,0 +428,0 @@ Object.assign({}, MINIMATCH_OPTIONS, options),

@@ -5,4 +5,3 @@ export { ObjectSchema } from "@eslint/object-schema";

export type ConfigObject = $typests.ConfigObject;
export type IMinimatchStatic = minimatch.IMinimatchStatic;
export type IMinimatch = minimatch.IMinimatch;
export type MinimatchOptions = $minimatch.MinimatchOptions;
export type ObjectSchemaInstance = ObjectSchema;

@@ -145,3 +144,3 @@ /**

import type * as $typests from "./types.cts";
import minimatch from 'minimatch';
import type * as $minimatch from "minimatch";
import { ObjectSchema } from '@eslint/object-schema';

@@ -1227,3 +1227,3 @@ // @ts-nocheck

};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {

@@ -1230,0 +1230,0 @@ return false;

@@ -1568,3 +1568,3 @@ // @ts-nocheck

};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {

@@ -1571,0 +1571,0 @@ return false;

@@ -5,4 +5,3 @@ export { ObjectSchema } from "@eslint/object-schema";

export type ConfigObject = $typests.ConfigObject;
export type IMinimatchStatic = minimatch.IMinimatchStatic;
export type IMinimatch = minimatch.IMinimatch;
export type MinimatchOptions = $minimatch.MinimatchOptions;
export type ObjectSchemaInstance = ObjectSchema;

@@ -145,3 +144,3 @@ /**

import type * as $typests from "./types.ts";
import minimatch from 'minimatch';
import type * as $minimatch from "minimatch";
import { ObjectSchema } from '@eslint/object-schema';
// @ts-self-types="./index.d.ts"
import * as posixPath from './std__path/posix.js';
import * as windowsPath from './std__path/windows.js';
import minimatch from 'minimatch';
import { Minimatch } from 'minimatch';
import createDebug from 'debug';

@@ -187,4 +187,3 @@ import { ObjectSchema } from '@eslint/object-schema';

/** @import * as $minimatch from "minimatch"; */
/** @typedef {$minimatch.IMinimatchStatic} IMinimatchStatic */
/** @typedef {$minimatch.IMinimatch} IMinimatch */
/** @typedef {$minimatch.MinimatchOptions} MinimatchOptions */
/** @import * as PathImpl from "@jsr/std__path" */

@@ -205,3 +204,2 @@

const Minimatch = minimatch.Minimatch;
const debug = createDebug("@eslint/config-array");

@@ -211,3 +209,3 @@

* A cache for minimatch instances.
* @type {Map<string, IMinimatch>}
* @type {Map<string, Minimatch>}
*/

@@ -218,3 +216,3 @@ const minimatchCache = new Map();

* A cache for negated minimatch instances.
* @type {Map<string, IMinimatch>}
* @type {Map<string, Minimatch>}
*/

@@ -225,3 +223,3 @@ const negatedMinimatchCache = new Map();

* Options to use with minimatch.
* @type {Object}
* @type {MinimatchOptions}
*/

@@ -231,3 +229,2 @@ const MINIMATCH_OPTIONS = {

dot: true,
allowWindowsEscape: true,
};

@@ -234,0 +231,0 @@

@@ -1225,3 +1225,3 @@ // @ts-nocheck

};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {

@@ -1228,0 +1228,0 @@ return false;

@@ -1566,3 +1566,3 @@ // @ts-nocheck

};
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {

@@ -1569,0 +1569,0 @@ return false;

{
"name": "@eslint/config-array",
"version": "0.22.0",
"version": "0.23.0",
"description": "General purpose glob-based configuration matching.",

@@ -54,7 +54,6 @@ "author": "Nicholas C. Zakas",

"debug": "^4.3.1",
"minimatch": "^3.1.2"
"minimatch": "^10.1.1"
},
"devDependencies": {
"@jsr/std__path": "^1.0.4",
"@types/minimatch": "^3.0.5",
"rollup-plugin-copy": "^3.5.0"

@@ -61,0 +60,0 @@ },