Vigia

Upgrade von @radix-ui/react-context 0.x auf 1.x

Vergleich der öffentlichen API von @radix-ui/react-context 0.1.1 und 1.2.2, automatisch aus den TypeScript-Typen berechnet. Eine geänderte Signatur ist ein möglicher Breaking Change, keine Gewissheit.

Zusammenfassung

Entfernte Importpfade0
Entfernte Exporte1
Geänderte Signaturen2
Entfernte Member von Klassen oder Interfaces0
Geänderte Member von Klassen oder Interfaces0
Neu als veraltet markiert0
Geänderte Anforderungen (engines, Peer-Abhängigkeiten)2
Neue Exporte0

Entfernte Exporte

importexportkindVorher
@radix-ui/react-contextScopeHooktype(scope: Scope<any>) => { [__scopeProp: string]: Scope<any>; }

Geänderte Signaturen

exportVorherNachher
@radix-ui/react-context · createContext<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined): readonly [{ (props: ContextValueType & { children: React.ReactNode; }): JSX.Element; displayName: string; }, (consumerName: string) => ContextValueType]<ContextValueType extends object | null>(rootComponentName: string): readonly [React.FC<ContextValueType & { children: React.ReactNode; }>, UseContext<ContextValueType>] | <ContextValueType extends object | null>(rootComponentName: string, defaultContext: ContextValueType): readonly [React.FC<ContextValueType & { children: React.ReactNode; }>, UseAssertedContext<ContextValueType>]
@radix-ui/react-context · createContextScope(scopeName: string, createContextScopeDeps?: CreateScope[] | undefined): readonly [<ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType | undefined) => readonly [{ (props: ContextValueType & { scope: Scope<ContextValueType>; children: React.ReactNode; }): JSX.Element; displayName: string; }, (consumerName: string, scope: Scope<ContextValueType | undefined>) => ContextValueType], CreateScope](scopeName: string, createContextScopeDeps?: CreateScope[] | undefined): readonly [CreateScopedContext, CreateScope]

Entfernte Member von Klassen oder Interfaces

Keine gefunden.

Geänderte Member von Klassen oder Interfaces

Keine gefunden.

Neu als veraltet markiert

Keine gefunden.

Geänderte Anforderungen (engines, Peer-Abhängigkeiten)

VorherNachher
peerDependencies.react^16.8 || ^17.0^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
peerDependencies.@types/react—*

Häufige Fragen

Welche Breaking Changes gibt es beim Upgrade von @radix-ui/react-context 0 auf 1?

Zwischen @radix-ui/react-context 0.1.1 und 1.2.2 hat Vigia 1 entfernte Exporte, 2 geänderte Signaturen und 0 entfernte oder geänderte Member von Klassen oder Interfaces gefunden.

Was wurde in @radix-ui/react-context 1 als veraltet markiert?

0 Exporte oder Member sind in @radix-ui/react-context 1.2.2 neu als veraltet markiert.

Für Agenten

GET https://vigia.coredls.cloud/v1/packages/npm/@radix-ui/react-context/upgrade?from=0.1.1&to=1.2.2