Update dependencies (non-major) #91
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.1.0
->6.2.0
4.14.176
->4.14.177
17.0.34
->17.0.35
5.3.1
->5.4.0
5.3.1
->5.4.0
4.1.2
->4.1.3
Release Notes
react-native-community/cli
v6.2.0
Compare Source
Features
-PreactNativeArchitectures
(#1496)Fixes
simclt
instead of deprecatedinstruments
(#1484)ora
dependency (#1483)Chore & Maintenance
typescript-eslint/typescript-eslint
v5.4.0
Compare Source
Note: Version bump only for package @typescript-eslint/parser
5.3.1 (2021-11-08)
Note: Version bump only for package @typescript-eslint/parser
reduxjs/reselect
v4.1.3
Compare Source
This release rewrites the TS type inference of input selector parameters for correctness, fixes inference of
createStructuredSelector
inputs, and fixes an issue with theOutputSelectorFields
type not being exported.Changelog
Input Selector Parameter Inference Improvements
Reselect's types have always been extremely tricky, because it involves passing multiple input selectors with potentially heterogeneous, and then nested function composition of multiple selectors. Additionally, the input selectors can be passed as individual arguments or a single array of input selectors.
The 4.0.0 typedefs dealt with this by hand-writing dozens of overloads, which was absolutely impossible to maintain.
In 4.1, we took advantage of TS's improved abilities to infer array/tuple types to consolidate the typedefs.
One of the issues that happened as a result was that arguments at the same input parameter index were being "unioned" together, rather than "intersectioned". For example, in this complex selector:
The second arg should end up as an object like
{testNumber: number, testString: string, testBoolean: boolean, testString2: string}
. However, it was ending up as four separate one-field objects. Similarly, the combination ofnumber
andnumber | string
should be narrowed down to justnumber
as an acceptable value.We've rewritten the types to successfully accomplish that (although it took a lot of collective effort and headbanging to actually pull this off!) This should now give much more correct results when determining the final parameters that can be passed to a selector.
createStructuredSelector
FixesSimilarly,
createStructuredSelector
wasn't always inferring its arguments properly. We were able to reuse the parameter inference work here as well.OutputSelectorFields
ExportedThe public
OutputSelector
type depended on an internalOutputSelectorFields
type, but sinceOSF
wasn't being exported, TS would throw errors when trying to generate declaration files that exported selectors. That is now public as well.What's Changed
Full Changelog: reduxjs/reselect@v4.1.2...v4.1.3
Configuration
📅 Schedule: "before 2am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.