Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rematch/select

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rematch/select - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

dist/README.md

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.1](https://github.com/rematch/rematch/compare/@rematch/select@3.0.0...@rematch/select@3.0.1) (2021-02-23)
### Bug Fixes
* @rematch/select structured selector typing ([#866](https://github.com/rematch/rematch/issues/866)) ([#868](https://github.com/rematch/rematch/issues/868)) ([42d2676](https://github.com/rematch/rematch/commit/42d267669d1bf821657f295434a9ef766e58c84d))
# [3.0.0](https://github.com/rematch/rematch/compare/@rematch/select@3.0.0-next.10...@rematch/select@3.0.0) (2021-01-31)

@@ -8,0 +19,0 @@

8

dist/types.d.ts

@@ -28,3 +28,9 @@ import { ExtractRematchStateFromModels, Models, Model, Action, RematchRootState, ModelReducers, ModelEffects, ModelEffectsCreator } from '@rematch/core';

export declare type ModelSelectorsConfig<TModels extends Models<TModels> = Record<string, any>, TSliceState = any> = ModelSelectorsFactory<TModels, TSliceState> | ModelSelectorFactories<TModels, TSliceState>;
export declare type RematchSelect<TModels extends Models<TModels>, TRootState = RematchRootState<TModels>> = (<TReturn>(mapSelectToProps: (select: RematchSelect<TModels>) => TReturn) => Reselect.OutputParametricSelector<TRootState, any, TReturn, Reselect.Selector<TRootState, Record<string, any>>> & Reselect.OutputSelector<TRootState, TReturn, Reselect.Selector<TRootState, Record<string, any>>>) & StoreSelectors<TModels>;
export declare type RematchSelect<TModels extends Models<TModels>, TRootState = RematchRootState<TModels>> = (<TReturn extends {
[key: string]: (state: TRootState) => any;
}>(mapSelectToProps: (select: RematchSelect<TModels>) => TReturn) => Reselect.OutputParametricSelector<TRootState, any, {
[K in keyof TReturn]: ReturnType<TReturn[K]>;
}, Reselect.Selector<TRootState, Record<string, any>>> & Reselect.OutputSelector<TRootState, {
[K in keyof TReturn]: ReturnType<TReturn[K]>;
}, Reselect.Selector<TRootState, Record<string, any>>>) & StoreSelectors<TModels>;
declare module '@rematch/core' {

@@ -31,0 +37,0 @@ interface RematchStore<TModels extends Models<TModels> = Record<string, any>, TExtraModels extends Models<TModels> = Record<string, any>> extends ReduxStore<RematchRootState<TModels, TExtraModels>, Action> {

8

package.json
{
"name": "@rematch/select",
"version": "3.0.0",
"version": "3.0.1",
"description": "Selectors plugin for Rematch",

@@ -30,7 +30,7 @@ "homepage": "https://rematch.github.io/rematch",

"devDependencies": {
"@rematch/core": "^2.0.0",
"@rematch/core": "^2.0.1",
"redux": "^4.0.5"
},
"peerDependencies": {
"@rematch/core": ">=2.0.0-next.0",
"@rematch/core": "^2.0.0",
"redux": ">=4"

@@ -59,3 +59,3 @@ },

},
"gitHead": "d575883af19a6f105655ea23b143e64590720acb"
"gitHead": "e123bb5976bcc1ef7f178c2b685bed9805d80cda"
}

@@ -155,3 +155,3 @@ // Type definitions for @rematch/select 2.0.0

TRootState = RematchRootState<TModels>
> = (<TReturn>(
> = (<TReturn extends { [key: string]: (state: TRootState) => any }>(
mapSelectToProps: (select: RematchSelect<TModels>) => TReturn

@@ -161,3 +161,3 @@ ) => Reselect.OutputParametricSelector<

any,
TReturn,
{ [K in keyof TReturn]: ReturnType<TReturn[K]> },
Reselect.Selector<TRootState, Record<string, any>>

@@ -167,3 +167,3 @@ > &

TRootState,
TReturn,
{ [K in keyof TReturn]: ReturnType<TReturn[K]> },
Reselect.Selector<TRootState, Record<string, any>>

@@ -170,0 +170,0 @@ >) &

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc