Aktualizacja fast-glob z 2.x do 3.x
Porównanie publicznego API fast-glob 2.2.7 i 3.3.3, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 2 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 15 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
fast-glob | IApi | interface | interface |
fast-glob | TransformFunction | type | (entry: EntryItem) => T |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
fast-glob · Task | ITask | { base: string; dynamic: boolean; patterns: string[]; positive: string[]; negative: string[]; } |
fast-glob · Options | { cwd?: string | undefined; deep?: number | boolean | undefined; ignore?: string[] | undefined; dot?: boolean | undefined; stats?: boolean | undefined; onlyFiles?: boolean | undefined; onlyDirectories?: boolean | undefined; followSymlinkedDirectories?: boolean | undefined; unique?: boolean | undefined; markDirectories?: boolean | undefined; absolute?: boolean | undefined; nobrace?: boolean | undefined; brace?: boolean | undefined; noglobstar?: boolean | undefined; globstar?: boolean | undefined; noext?: boolean | undefined; extension?: boolean | undefined; nocase?: boolean | undefined; case?: … | { absolute?: boolean | undefined; baseNameMatch?: boolean | undefined; braceExpansion?: boolean | undefined; caseSensitiveMatch?: boolean | undefined; concurrency?: number | undefined; cwd?: string | undefined; deep?: number | undefined; dot?: boolean | undefined; extglob?: boolean | undefined; followSymbolicLinks?: boolean | undefined; fs?: any; globstar?: boolean | undefined; ignore?: string[] | undefined; markDirectories?: boolean | undefined; objectMode?: boolean | undefined; onlyDirectories?: boolean | undefined; onlyFiles?: boolean | undefined; stats?: boolean | undefined; suppressErrors… |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
Nie wykryto.
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=4.0.0 | >=8.6.0 |
Nowe eksporty (15)
| import | export | kind |
|---|---|---|
fast-glob | glob | variable |
fast-glob | sync | function |
fast-glob | Entry | type |
fast-glob | async | variable |
fast-glob | posix | namespace |
fast-glob | win32 | namespace |
fast-glob | stream | function |
fast-glob | Pattern | type |
fast-glob | globSync | variable |
fast-glob | escapePath | function |
fast-glob | globStream | variable |
fast-glob | generateTasks | function |
fast-glob | isDynamicPattern | function |
fast-glob | FileSystemAdapter | type |
fast-glob | convertPathToPattern | function |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji fast-glob z 2 do 3?
Między fast-glob 2.2.7 a 3.3.3 Vigia znalazła 2 usuniętych eksportów, 2 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w fast-glob 3?
0 eksportów lub składowych oznaczono w fast-glob 3.3.3 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/fast-glob/upgrade?from=2.2.7&to=3.3.3