Vigia

Passer de re-reselect 5.x à 6.x

Comparaison de l’API publique de re-reselect 5.1.1 et 6.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.

Résumé

Chemins d’importation supprimés0
Exports supprimés11
Signatures modifiées4
Membres de classes ou d’interfaces supprimés0
Membres de classes ou d’interfaces modifiés3
Nouvelles dépréciations0
Changements d’exigences (engines, dépendances peer)1
Nouveaux exports3

Exports supprimés

importexportkindAvant
re-reselectSelectortype(state: S) => R
re-reselectOutputSelectortypeSelector<S, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; }
re-reselectParametricSelectortype(state: S, props: P, ...args: any[]) => R
re-reselectParametricKeySelectortype(state: S, props: P, ...args: any[]) => any
re-reselectCreateSelectorInstancetype{ [x: string]: any; [x: number]: any; [x: symbol]: any; }
re-reselectOutputParametricSelectortypeParametricSelector<S, P, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; }
re-reselectOptionalParametricSelectortype(state: S, props?: P | undefined, ...args: any[]) => R
re-reselectParametricKeySelectorCreatortype(selectorInputs: { inputSelectors: D; resultFunc: C; keySelector: ParametricKeySelector<S, P>; }) => ParametricKeySelector<S, P>
re-reselectOutputParametricCachedSelectortype(options: ParametricKeySelector<S, P> | ParametricOptions<S, P, C, D>) => ParametricSelector<S, P, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; } & { getMatchingSelector: (state: S, props: P, ...args: any[]) => OutputParametricSelector<S, P, R, C, D>; removeMatchingSelector: (state: S, props: P, ...args: any[]) => void; clearCache: () => void; cache: ICacheObject; keySelector: ParametricKeySelector<S, P>; }
re-reselectOutputOptionalParametricSelectortypeOptionalParametricSelector<S, P, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; }
re-reselectOutputOptionalParametricCachedSelectortype(options: ParametricKeySelector<S, P> | ParametricOptions<S, P, C, D>) => OptionalParametricSelector<S, P, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; } & { getMatchingSelector: (state: S, props?: P | undefined, ...args: any[]) => OutputOptionalParametricSelector<S, P, R, C, D>; removeMatchingSelector: (state: S, props?: P | undefined, ...args: any[]) => void; clearCache: () => void; cache: ICacheObject; keySelector: ParametricKeySelector<S, P>; }

Signatures modifiées

exportAvantAprès
re-reselect · KeySelectorCreator(selectorInputs: { inputSelectors: D; resultFunc: C; keySelector: KeySelector<S>; }) => KeySelector<S>(selectorInputs: { inputSelectors: InputSelectors; resultFunc: Combiner<InputSelectors, Result>; keySelector?: TypedKeySelector<InputSelectors> | undefined; }) => TypedKeySelector<InputSelectors>
re-reselect · OutputCachedSelector(options: KeySelector<S> | Options<S, C, D>) => Selector<S, R> & { resultFunc: C; dependencies: D; recomputations: () => number; resetRecomputations: () => number; } & { getMatchingSelector: (state: S, ...args: any[]) => OutputSelector<S, R, C, D>; removeMatchingSelector: (state: S, ...args: any[]) => void; clearCache: () => void; cache: ICacheObject; keySelector: KeySelector<S>; }any
re-reselect · createCachedSelector<S, R1, T>(selector: Selector<S, R1>, combiner: (res: R1) => T, createSelectorOptions?: any): OutputCachedSelector<S, T, (res: R1) => T, [Selector<S, R1>]> | <S, P, R1, T>(selector: ParametricSelector<S, P, R1>, combiner: (res: R1) => T, createSelectorOptions?: any): OutputParametricCachedSelector<S, P, T, (res: R1) => T, [ParametricSelector<S, P, R1>]> | <S, R1, R2, T>(selector1: Selector<S, R1>, selector2: Selector<S, R2>, combiner: (res1: R1, res2: R2) => T, createSelectorOptions?: any): OutputCachedSelector<S, T, (res1: R1, res2: R2) => T, [Selector<S, R1>, Selector<S, R2>]> | <S, P, R1, R…<InputSelectors extends SelectorArray<any>, Result>(...createSelectorArgs: [...inputSelectors: InputSelectors, combiner: Combiner<InputSelectors, Result>]): (polymorphicOptions: PolymorphicCachedOptions<InputSelectors, Result>) => any | <InputSelectors extends SelectorArray<any>, Result>(...createSelectorArgs: [...inputSelectors: InputSelectors, combiner: Combiner<InputSelectors, Result>, createSelectorOptions: CreateSelectorOptions]): (polymorphicOptions: PolymorphicCachedOptions<InputSelectors, Result>) => any | <InputSelectors extends SelectorArray<any>, Result>(inputSelectors: [...InputSel…
re-reselect · createStructuredCachedSelector<T extends { [key: string]: (state: any, ...args: any[]) => any; }, S = $Values<{ [K in keyof T]: Parameters<T[K]>[0]; }>, P = Exclude<$Values<{ [K in keyof T]: Parameters<T[K]>[1]; }>, undefined>, R = { [K in keyof T]: ReturnType<T[K]>; }>(selectors: T): StructuredIsParametric<T> extends false ? OutputCachedSelector<S, R, (...args: $Values<R>[]) => R, Selector<S, $Values<R>>[]> : StructuredHasRequiredProps<T> extends true ? OutputParametricCachedSelector<S, P, R, (...args: $Values<R>[]) => R, ParametricSelector<S, P, $Values<R>>[]> : OutputOptionalParametricCachedSelector<S, P, R, (...args: $…<InputSelectorsObject extends SelectorsObject<any>>(selectors: InputSelectorsObject): StructuredCachedSelector<InputSelectorsObject>

Membres de classes ou d’interfaces supprimés

Aucun détecté.

Membres de classes ou d’interfaces modifiés

memberAvantAprès
LruObjectCache.isValidCacheKey(key: ObjectCacheKey): boolean(cacheKey: ObjectCacheKey): boolean
FifoObjectCache.isValidCacheKey(key: ObjectCacheKey): boolean(cacheKey: ObjectCacheKey): boolean
FlatObjectCache.isValidCacheKey(key: ObjectCacheKey): boolean(cacheKey: ObjectCacheKey): boolean

Nouvelles dépréciations

Aucun détecté.

Changements d’exigences (engines, dépendances peer)

AvantAprès
peerDependencies.reselect^5.0.0^5.1.0
Nouveaux exports (3)
importexportkind
re-reselectTypedKeySelectortype
re-reselectCreateCachedSelectorinterface
re-reselectCreateCachedSelectorOptionstype

Donnez ces données à votre agent IA

Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub

Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests

Questions fréquentes

Quels sont les changements incompatibles en passant de re-reselect 5 à 6 ?

Entre re-reselect 5.1.1 et 6.0.0, Vigia a trouvé 11 exports supprimés, 4 signatures modifiées et 3 membres de classes ou d’interfaces supprimés ou modifiés.

Qu’est-ce qui a été déprécié dans re-reselect 6 ?

0 exports ou membres sont désormais marqués comme dépréciés dans re-reselect 6.0.0.

Pour les agents

GET https://vigia.coredls.cloud/v1/packages/npm/re-reselect/upgrade?from=5.1.1&to=6.0.0