Skip to content

Update dependencies (non-major) #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@react-native-community/cli 6.1.0 -> 6.2.0 age adoption passing confidence
@types/lodash 4.14.176 -> 4.14.177 age adoption passing confidence
@types/react 17.0.34 -> 17.0.35 age adoption passing confidence
@typescript-eslint/eslint-plugin 5.3.1 -> 5.4.0 age adoption passing confidence
@typescript-eslint/parser 5.3.1 -> 5.4.0 age adoption passing confidence
reselect 4.1.2 -> 4.1.3 age adoption passing confidence

Release Notes

react-native-community/cli

v6.2.0

Compare Source

Features

  • support renamed -PreactNativeArchitectures (#​1496)

Fixes

  • better Handle EPERM on Windows (#​1495)
  • use simclt instead of deprecated instruments (#​1484)
  • platform-ios: add missing 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 the OutputSelectorFields 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:

  const input1 = (
    _: StateA,
    { testNumber }: { testNumber: number },
    c: number,
    d: string
  ) => testNumber

  const input2 = (
    _: StateA,
    { testString }: { testString: string },
    c: number | string
  ) => testString

  const input3 = (
    _: StateA,
    { testBoolean }: { testBoolean: boolean },
    c: number | string,
    d: string
  ) => testBoolean

  const input4 = (_: StateA, { testString2 }: { testString2: string }) =>
    testString2

  const testSelector = createSelector(
    input1,
    input2,
    input3,
    input4,
    (testNumber, testString, testBoolean) => testNumber + testString
  )

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 of number and number | string should be narrowed down to just number 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 Fixes

Similarly, createStructuredSelector wasn't always inferring its arguments properly. We were able to reuse the parameter inference work here as well.

OutputSelectorFields Exported

The public OutputSelector type depended on an internal OutputSelectorFields type, but since OSF 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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/dependencies-non-major branch from 3336be9 to 6c6e123 Compare November 16, 2021 03:49
@Lunotte Lunotte merged commit 8ce3bf2 into master Nov 16, 2021
@renovate renovate bot deleted the renovate/dependencies-non-major branch November 16, 2021 07:44
Lunotte added a commit that referenced this pull request Jan 2, 2022
* Update dependencies (non-major)

* ajout information sur repo

* Update dependencies (non-major)

* Update dependency com.android.tools.build:gradle to v4.2.2

* Update .travis.yml

* Bump tmpl from 1.0.4 to 1.0.5

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .travis.yml

* Update dependency gradle to v6.9.1

* Update FLIPPER_VERSION to v0.119.0 (#80)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* 1.0.1

* Update publish.yml

* Update publish.yml

* Update publish.yml

* Update publish.yml

* Update dependencies (non-major) (#91)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update FLIPPER_VERSION to v0.121.0 (#93)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependencies (non-major) (#92)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update FLIPPER_VERSION to v0.123.0 (#94)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency json-schema to 0.4.0 [SECURITY] (#99)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependencies (non-major) (#100)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/lodash to v4.14.178

* Update dependencies (non-major)

* Update dependencies (non-major) to v27.4.4

* Update dependencies (non-major)

* Update FLIPPER_VERSION to v0.125.0 (#105)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-native-reanimated to v2.3.1

* Corriger les versions erronnées (#108)

(cherry picked from commit bd7f8dff594c2fffebc601104faceca9483e5b13)

* Update dependencies (non-major)

* Update dependencies (non-major)

* Update dependency @types/react-native to v0.66.10

* Update dependencies (non-major) to v5.8.1

* Update dependencies (non-major)

* Update FLIPPER_VERSION to v0.127.0 (#110)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency gradle to v6.9.2 (#112)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependencies (non-major) (#116)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fix problème de build

* ajout fichier de configuration npm

* supprimer fichier de configuration npm

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants