Cars project 3 do dokończenia

This commit is contained in:
aplikacje committed 2026-11-05 10:50:57 +01:00
1 parent 3b96ac1be8
commit b3be59a011
159 files changed
+9794 -3786

No files matched your search

+20 -11
View File
@@ -1,7 +1,9 @@
import type { Form } from 'minimatch';
import { Minimatch } from 'minimatch';
import { Minipass } from 'minipass';
import { FSOption, Path, PathScurry } from 'path-scurry';
import { IgnoreLike } from './ignore.js';
import type { Minipass } from 'minipass';
import type { FSOption, Path } from 'path-scurry';
import { PathScurry } from 'path-scurry';
import type { IgnoreLike } from './ignore.js';
import { Pattern } from './pattern.js';
export type MatchSet = Minimatch['set'];
export type GlobParts = Exclude<Minimatch['globParts'], undefined>;
@@ -89,7 +91,7 @@ export interface GlobOptions {
* determine whether any Path is a match or if its children should be
* traversed, respectively.
*/
ignore?: string | string[] | IgnoreLike;
readonly ignore?: string | string[] | IgnoreLike | ReadonlyArray<string>;
/**
* Treat brace expansion like `{a,b}` as a "magic" pattern. Has no
* effect if {@link nobrace} is set.
@@ -139,6 +141,18 @@ export interface GlobOptions {
* Do not match "extglob" patterns such as `+(a|b)`.
*/
noext?: boolean;
/**
* Normalize unicode in the pattern, and in the file names that it is
* matched against, with this form: `'NFC'`, `'NFD'`, `'NFKC'`, or
* `'NFKD'`. `true` means `'NFC'`. This is passed to minimatch, so it
* applies to the portions of the pattern with magic, and to the
* `ignore` patterns.
*
* The portions of the pattern without magic are looked up with
* path-scurry, which already compares the names of the entries
* that it knows in their `'NFKD'` form.
*/
normalize?: boolean | Form;
/**
* Do not match `**` against multiple filenames. (Ie, treat it as a normal
* `*` instead.)
@@ -232,11 +246,6 @@ export interface GlobOptions {
* http://npm.im/path-scurry for details about what can be overridden.
*/
fs?: FSOption;
/**
* Just passed along to Minimatch. Note that this makes all pattern
* matching operations slower and *extremely* noisy.
*/
debug?: boolean;
/**
* Return `/` delimited paths, even on Windows.
*
@@ -324,7 +333,7 @@ export declare class Glob<Opts extends GlobOptions> implements GlobOptions {
dot: boolean;
dotRelative: boolean;
follow: boolean;
ignore?: string | string[] | IgnoreLike;
ignore?: string | string[] | IgnoreLike | ReadonlyArray<string>;
magicalBraces: boolean;
mark?: boolean;
matchBase: boolean;
@@ -334,7 +343,7 @@ export declare class Glob<Opts extends GlobOptions> implements GlobOptions {
nodir: boolean;
noext: boolean;
noglobstar: boolean;
pattern: string[];
pattern: string[] | ReadonlyArray<string>;
platform: NodeJS.Platform;
realpath: boolean;
scurry: PathScurry;