OpenDTU-App / opendtu-react-native

A react native app for the OpenDTU project
GNU General Public License v3.0
24 stars 0 forks source link

Bump the production-dependencies group with 4 updates #146

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the production-dependencies group with 4 updates: @react-navigation/native-stack, @reduxjs/toolkit, expo and react-native-paper.

Updates @react-navigation/native-stack from 6.10.1 to 6.11.0

Release notes

Sourced from @​react-navigation/native-stack's releases.

@​react-navigation/native-stack@​6.11.0

6.11.0 (2024-07-25)

Features

Changelog

Sourced from @​react-navigation/native-stack's changelog.

6.11.0 (2024-07-25)

Features

Commits


Updates @reduxjs/toolkit from 2.2.6 to 2.2.7

Release notes

Sourced from @​reduxjs/toolkit's releases.

v2.2.7

This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.

Changelog

TS Type Portability

We've had a slew of issues reported around "TS type portability" errors, such as:

The error messages are typically along the lines of:

Type error: The inferred type of 'configureStore' cannot be named without a reference to '@reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.

@​aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.

Arya put together a highly detailed writeup and set of fixes in [ #4467: Fix: TypeScript Type Portability Issues](#4467), and that appears to resolve all of those issues we've seen. Thank you!

Other Changes

Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.

We've exported additional types like UpdateDefinitions and RetryOptions, per request.

listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.

What's Changed

Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7

Commits


Updates expo from 51.0.21 to 51.0.22

Commits


Updates react-native-paper from 5.12.3 to 5.12.5

Release notes

Sourced from react-native-paper's releases.

Release 5.12.5

5.12.5 (2024-07-28)

Bug Fixes

  • fixed issue with textinput styling after new release (#4466) (1781221)

Release 5.12.4

5.12.4 (2024-07-27)

Bug Fixes

  • add support for changing the surface mode in the menu (#4378) (eebc77f)
  • allow pass-through of accessibilityRole on Chip (#4327) (b1fd739)
  • drawer-item: hover effect background color (#4440) (f34f9a8)
  • remove deprected use of defaultProps (#4385) (4b2052a)
  • snackbar: fix show animation on new architecture (#4447) (eed911b)
  • text-input-affix: fix right TextInput.Affix alignment with onPress (#4415) (f577097)
  • text-input-label-background: custom component background height (#4442) (d9db02e)
  • text-input: parent scroll with text input height (#4422) (c1495ea)
  • text-input: very long input label truncated when scaled (#4414) (1a82b2c)
Commits
  • 9162a1f chore: release 5.12.5
  • 1781221 fix: fixed issue with textinput styling after new release (#4466)
  • 0df24ee chore: release 5.12.4
  • d9db02e fix(text-input-label-background): custom component background height (#4442)
  • 2c721ef chore: add touchableRef to Button (#4322)
  • aaa46eb chore: wrap Card in forwardRef (#4303)
  • f34f9a8 fix(drawer-item): hover effect background color (#4440)
  • c1495ea fix(text-input): parent scroll with text input height (#4422)
  • f577097 fix(text-input-affix): fix right TextInput.Affix alignment with onPress (#4415)
  • 1a82b2c fix(text-input): very long input label truncated when scaled (#4414)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
github-actions[bot] commented 2 months ago

:open_umbrella: Code Coverage

% Stmts% Branch% Funcs% Lines
7.14 :red_circle:0.12 :red_circle:0.22 :red_circle:7.49 :red_circle:
Click to expand
File% Stmts% Branch% Funcs% Lines
src/types
settings.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
src/utils
log.ts66.66 :yellow_circle:50 :red_circle:0 :red_circle:66.66 :yellow_circle:
ago.ts11.11 :red_circle:0 :red_circle:0 :red_circle:12.5 :red_circle:
capitalize.ts50 :red_circle:100 :green_circle:0 :red_circle:50 :red_circle:
formatVersion.ts20 :red_circle:100 :green_circle:0 :red_circle:20 :red_circle:
time.ts0 :red_circle:100 :green_circle:0 :red_circle:0 :red_circle:
inverter.ts12.5 :red_circle:0 :red_circle:0 :red_circle:12.5 :red_circle:
isIP.ts25 :red_circle:0 :red_circle:0 :red_circle:33.33 :red_circle:
formatBytes.ts33.33 :red_circle:0 :red_circle:0 :red_circle:40 :red_circle:
percentage.ts25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
src/slices
settings.ts5.31 :red_circle:0 :red_circle:0 :red_circle:5.31 :red_circle:
database.ts25 :red_circle:0 :red_circle:0 :red_circle:28.57 :red_circle:
github.ts30.76 :red_circle:100 :green_circle:0 :red_circle:30.76 :red_circle:
opendtu.ts5.95 :red_circle:0 :red_circle:0 :red_circle:5.95 :red_circle:
src
constants.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
store.ts88.88 :green_circle:100 :green_circle:50 :red_circle:100 :green_circle:
style.tsx31.81 :red_circle:0 :red_circle:0 :red_circle:31.81 :red_circle:
App.tsx8.64 :red_circle:0 :red_circle:4.34 :red_circle:8.97 :red_circle:
src/components
BaseModal.tsx25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
ShowTimeRange.tsx7.69 :red_circle:0 :red_circle:0 :red_circle:9.09 :red_circle:
OpenDTUValue.tsx18.18 :red_circle:0 :red_circle:0 :red_circle:18.18 :red_circle:
DeviceOfflineWrapper.tsx8.33 :red_circle:0 :red_circle:0 :red_circle:8.33 :red_circle:
DeviceStatus.tsx5.88 :red_circle:0 :red_circle:0 :red_circle:7.69 :red_circle:
StatusWidget.tsx25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
ImportantStatusValues.tsx14.28 :red_circle:100 :green_circle:0 :red_circle:20 :red_circle:
src/components/modals
AppOfflineModal.tsx25 :red_circle:100 :green_circle:0 :red_circle:25 :red_circle:
EnableAppUpdatesModal.tsx7.69 :red_circle:100 :green_circle:0 :red_circle:7.69 :red_circle:
EnableFetchOpenDtuUpdatesModal.tsx7.69 :red_circle:100 :green_circle:0 :red_circle:7.69 :red_circle:
GenericRefreshModal.tsx11.11 :red_circle:100 :green_circle:0 :red_circle:11.11 :red_circle:
ChangeGraphRefreshIntervalModal.tsx9.09 :red_circle:0 :red_circle:0 :red_circle:10 :red_circle:
TimeRangeLastNSecondsModal.tsx11.76 :red_circle:0 :red_circle:0 :red_circle:12.5 :red_circle:
ChangeCustomNameModal.tsx4.16 :red_circle:0 :red_circle:0 :red_circle:4.34 :red_circle:
ChangeOpendtuCredentialsModal.tsx4.25 :red_circle:0 :red_circle:0 :red_circle:4.44 :red_circle:
ChangeServerUrlModal.tsx5.26 :red_circle:0 :red_circle:0 :red_circle:5.88 :red_circle:
ConfirmDeleteDeviceModal.tsx7.14 :red_circle:100 :green_circle:0 :red_circle:7.14 :red_circle:
InstallAssetModal.tsx2.63 :red_circle:0 :red_circle:0 :red_circle:2.63 :red_circle:
SelectFirmwareModal.tsx3.84 :red_circle:0 :red_circle:0 :red_circle:4.16 :red_circle:
LimitConfigModal.tsx5 :red_circle:0 :red_circle:0 :red_circle:5.08 :red_circle:
PowerConfigModal.tsx8.57 :red_circle:0 :red_circle:0 :red_circle:8.82 :red_circle:
ChangeLanguageModal.tsx9.52 :red_circle:0 :red_circle:0 :red_circle:9.52 :red_circle:
ChangeThemeModal.tsx5.55 :red_circle:100 :green_circle:0 :red_circle:5.88 :red_circle:
AddDatabaseModal.tsx4.34 :red_circle:0 :red_circle:0 :red_circle:4.34 :red_circle:
ManageDatabaseModal.tsx2.56 :red_circle:0 :red_circle:0 :red_circle:2.7 :red_circle:
src/types/opendtu
state.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
control.ts100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
src/translations
index.ts100 :green_circle:50 :red_circle:100 :green_circle:100 :green_circle:
src/hooks
useAppLanguage.ts33.33 :red_circle:0 :red_circle:0 :red_circle:50 :red_circle:
useHasLiveData.ts10.34 :red_circle:0 :red_circle:0 :red_circle:10.34 :red_circle:
useOrientation.ts14.28 :red_circle:0 :red_circle:0 :red_circle:14.28 :red_circle:
useHasNewAppVersion.ts9.09 :red_circle:0 :red_circle:0 :red_circle:11.11 :red_circle:
useLivedata.ts12.5 :red_circle:0 :red_circle:0 :red_circle:12.5 :red_circle:
useDeviceIndex.ts33.33 :red_circle:100 :green_circle:0 :red_circle:50 :red_circle:
useDtuState.ts25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
useHasAuthConfigured.tsx33.33 :red_circle:0 :red_circle:0 :red_circle:33.33 :red_circle:
useInverterDevice.ts20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useEventLog.ts20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useFirmwareDependantFeature.ts18.18 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useGridProfile.ts20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useInverterLimits.ts20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useInverterPowerData.ts20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
useMemoWithInterval.ts8.33 :red_circle:0 :red_circle:0 :red_circle:10 :red_circle:
useHasNewOpenDtuVersion.ts7.69 :red_circle:0 :red_circle:0 :red_circle:9.09 :red_circle:
useIsConnected.ts25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
useTriedToConnect.ts25 :red_circle:0 :red_circle:0 :red_circle:25 :red_circle:
useRequireMultiplePresses.ts7.69 :red_circle:0 :red_circle:0 :red_circle:7.69 :red_circle:
useSettings.ts33.33 :red_circle:100 :green_circle:0 :red_circle:50 :red_circle:
src/firmware
index.ts13.33 :red_circle:0 :red_circle:0 :red_circle:13.33 :red_circle:
src/api
opendtuapi.ts0.25 :red_circle:0 :red_circle:0 :red_circle:0.25 :red_circle:
ApiHandler.tsx4.54 :red_circle:0 :red_circle:0 :red_circle:4.65 :red_circle:
src/components/styled
StyledSurface.tsx40 :red_circle:0 :red_circle:0 :red_circle:40 :red_circle:
StyledTextInput.tsx100 :green_circle:100 :green_circle:100 :green_circle:100 :green_circle:
StyledListItem.tsx50 :red_circle:0 :red_circle:0 :red_circle:50 :red_circle:
SettingsSurface.tsx44.44 :red_circle:0 :red_circle:0 :red_circle:44.44 :red_circle:
src/components/Charts
UnifiedLineChart.tsx3.09 :red_circle:0 :red_circle:0 :red_circle:3.19 :red_circle:
AcPowerChart.tsx14.28 :red_circle:0 :red_circle:0 :red_circle:14.28 :red_circle:
DcVoltageChart.tsx14.28 :red_circle:0 :red_circle:0 :red_circle:14.28 :red_circle:
ImportantCharts.tsx3.12 :red_circle:0 :red_circle:0 :red_circle:3.44 :red_circle:
src/database
prometheus.ts1.49 :red_circle:0 :red_circle:0 :red_circle:1.58 :red_circle:
index.tsx9.19 :red_circle:0 :red_circle:0 :red_circle:9.63 :red_circle:
src/github
index.tsx55.55 :orange_circle:100 :green_circle:0 :red_circle:71.42 :yellow_circle:
FetchHandler.tsx4.54 :red_circle:0 :red_circle:0 :red_circle:4.87 :red_circle:
src/views/navigation/screens
AboutAppScreen.tsx6.25 :red_circle:0 :red_circle:0 :red_circle:6.25 :red_circle:
ConfigureGraphsScreen.tsx1.16 :red_circle:0 :red_circle:0 :red_circle:1.29 :red_circle:
DebugColorsScreen.tsx20 :red_circle:0 :red_circle:0 :red_circle:20 :red_circle:
DebugScreen.tsx3.12 :red_circle:0 :red_circle:0 :red_circle:3.12 :red_circle:
DeviceListScreen.tsx7.14 :red_circle:0 :red_circle:0 :red_circle:7.14 :red_circle:
DeviceSettingsScreen.tsx1.66 :red_circle:0 :red_circle:0 :red_circle:1.88 :red_circle:
FirmwareListScreen.tsx2.7 :red_circle:0 :red_circle:0 :red_circle:2.85 :red_circle:
InverterDataScreen.tsx9.09 :red_circle:0 :red_circle:0 :red_circle:10 :red_circle:
InverterDeviceInfoScreen.tsx5.71 :red_circle:0 :red_circle:0 :red_circle:6.06 :red_circle:
InverterEventLogScreen.tsx8 :red_circle:0 :red_circle:0 :red_circle:8.33 :red_circle:
InverterGridProfileScreen.tsx5.88 :red_circle:0 :red_circle:0 :red_circle:6.25 :red_circle:
InverterInfoScreen.tsx3.79 :red_circle:0 :red_circle:0 :red_circle:3.89 :red_circle:
LicensesScreen.tsx10 :red_circle:0 :red_circle:0 :red_circle:10 :red_circle:
MainScreen.tsx15.38 :red_circle:0 :red_circle:0 :red_circle:15.38 :red_circle:
ManageDatabasesScreen.tsx5.55 :red_circle:0 :red_circle:0 :red_circle:5.88 :red_circle:
MqttInformationScreen.tsx5.88 :red_circle:0 :red_circle:0 :red_circle:6.25 :red_circle:
NetworkInformationScreen.tsx5 :red_circle:0 :red_circle:0 :red_circle:5.55 :red_circle:
NtpInformationScreen.tsx11.11 :red_circle:0 :red_circle:0 :red_circle:12.5 :red_circle:
SelectDatabaseScreen.tsx4 :red_circle:0 :red_circle:0 :red_circle:4.16 :red_circle:
SetupAddOpenDTUScreen.tsx3.07 :red_circle:0 :red_circle:0 :red_circle:3.27 :red_circle:
SetupAuthenticateOpenDTUInstanceScreen.tsx3.27 :red_circle:0 :red_circle:0 :red_circle:3.44 :red_circle:
SetupOpenDTUCompleteScreen.tsx8.69 :red_circle:0 :red_circle:0 :red_circle:9.52 :red_circle:
SystemInformationScreen.tsx1.81 :red_circle:0 :red_circle:0 :red_circle:1.96 :red_circle:
src/components/devices
DeviceListItem.tsx4.87 :red_circle:0 :red_circle:0 :red_circle:5.71 :red_circle:
DeviceList.tsx20 :red_circle:100 :green_circle:0 :red_circle:25 :red_circle:
MDNSScanItem.tsx5.26 :red_circle:0 :red_circle:0 :red_circle:5.4 :red_circle:
MDNSScan.tsx5.12 :red_circle:0 :red_circle:0 :red_circle:5.4 :red_circle:
src/components/firmware
FirmwareListItem.tsx10.71 :red_circle:0 :red_circle:0 :red_circle:11.11 :red_circle:
src/views/navigation/tabs
GraphTab.tsx33.33 :red_circle:100 :green_circle:0 :red_circle:33.33 :red_circle:
InverterListTab.tsx33.33 :red_circle:100 :green_circle:0 :red_circle:33.33 :red_circle:
LivedataTab.tsx33.33 :red_circle:100 :green_circle:0 :red_circle:33.33 :red_circle:
MainSettingsTab.tsx1.53 :red_circle:0 :red_circle:0 :red_circle:1.78 :red_circle:
src/components/inverters
InverterListItem.tsx2.27 :red_circle:0 :red_circle:0 :red_circle:2.43 :red_circle:
InverterList.tsx7.14 :red_circle:0 :red_circle:0 :red_circle:7.69 :red_circle:
src/views/navigation
NavigationTabs.tsx33.33 :red_circle:0 :red_circle:0 :red_circle:42.85 :red_circle:
NavigationStack.tsx40 :red_circle:0 :red_circle:0 :red_circle:40 :red_circle:
dependabot[bot] commented 2 months ago

Superseded by #148.