You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@react-navigation/native-stack

Package Overview
Dependencies
Maintainers
7
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-navigation/native-stack - npm Package Compare versions

Comparing version

to
7.3.4

6

lib/commonjs/views/useHeaderConfigProps.js

@@ -124,5 +124,5 @@ "use strict";

// Doesn't have custom back title
headerBackTitle == null &&
// Doesn't have custom styling
backTitleFontFamily == null && backTitleFontSize == null &&
headerBackTitle == null && (
// Doesn't have custom styling, by default System, see: https://github.com/software-mansion/react-native-screens/pull/2105#discussion_r1565222738
backTitleFontFamily == null || backTitleFontFamily === 'System') && backTitleFontSize == null &&
// Back button menu is not disabled

@@ -129,0 +129,0 @@ headerBackButtonMenuEnabled !== false;

@@ -120,5 +120,5 @@ "use strict";

// Doesn't have custom back title
headerBackTitle == null &&
// Doesn't have custom styling
backTitleFontFamily == null && backTitleFontSize == null &&
headerBackTitle == null && (
// Doesn't have custom styling, by default System, see: https://github.com/software-mansion/react-native-screens/pull/2105#discussion_r1565222738
backTitleFontFamily == null || backTitleFontFamily === 'System') && backTitleFontSize == null &&
// Back button menu is not disabled

@@ -125,0 +125,0 @@ headerBackButtonMenuEnabled !== false;

@@ -118,3 +118,3 @@ import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, Route, RouteProp, StackActionHelpers, StackNavigationState, StackRouterOptions, Theme } from '@react-navigation/native';

* Title string used by the back button on iOS.
* Defaults to the previous scene's title, or "Back" if there's not enough space.
* Defaults to the previous scene's title.
* Use `headerBackButtonDisplayMode: "minimal"` to hide it.

@@ -308,9 +308,9 @@ *

*
* The "generic" mode is not supported when:
* - The iOS version is lower than 14
* - Custom back title is set
* - Custom back title style is set
* - Back button menu is disabled
* The space-aware behavior is disabled when:
* - The iOS version is 13 or lower
* - Custom back title is set (e.g. with `headerBackTitle`)
* - Custom font family or size is set (e.g. with `headerBackTitleStyle`)
* - Back button menu is disabled (e.g. with `headerBackButtonMenuEnabled`)
*
* In such cases, the "default" mode will be used instead.
* In such cases, a static title and icon are always displayed.
*

@@ -317,0 +317,0 @@ * Defaults to "default" on iOS, and "minimal" on other platforms.

@@ -118,3 +118,3 @@ import type { DefaultNavigatorOptions, Descriptor, NavigationHelpers, NavigationProp, ParamListBase, Route, RouteProp, StackActionHelpers, StackNavigationState, StackRouterOptions, Theme } from '@react-navigation/native';

* Title string used by the back button on iOS.
* Defaults to the previous scene's title, or "Back" if there's not enough space.
* Defaults to the previous scene's title.
* Use `headerBackButtonDisplayMode: "minimal"` to hide it.

@@ -308,9 +308,9 @@ *

*
* The "generic" mode is not supported when:
* - The iOS version is lower than 14
* - Custom back title is set
* - Custom back title style is set
* - Back button menu is disabled
* The space-aware behavior is disabled when:
* - The iOS version is 13 or lower
* - Custom back title is set (e.g. with `headerBackTitle`)
* - Custom font family or size is set (e.g. with `headerBackTitleStyle`)
* - Back button menu is disabled (e.g. with `headerBackButtonMenuEnabled`)
*
* In such cases, the "default" mode will be used instead.
* In such cases, a static title and icon are always displayed.
*

@@ -317,0 +317,0 @@ * Defaults to "default" on iOS, and "minimal" on other platforms.

{
"name": "@react-navigation/native-stack",
"description": "Native stack navigator using react-native-screens",
"version": "7.3.3",
"version": "7.3.4",
"keywords": [

@@ -55,3 +55,3 @@ "react-native-component",

"dependencies": {
"@react-navigation/elements": "^2.3.1",
"@react-navigation/elements": "^2.3.2",
"warn-once": "^0.1.1"

@@ -61,3 +61,3 @@ },

"@jest/globals": "^29.7.0",
"@react-navigation/native": "^7.0.19",
"@react-navigation/native": "^7.1.0",
"@testing-library/react-native": "^12.8.1",

@@ -68,3 +68,3 @@ "@types/react": "~18.3.12",

"react-native": "0.76.2",
"react-native-builder-bob": "^0.38.0",
"react-native-builder-bob": "^0.39.0",
"react-native-screens": "^4.3.0",

@@ -74,3 +74,3 @@ "typescript": "^5.5.2"

"peerDependencies": {
"@react-navigation/native": "^7.0.19",
"@react-navigation/native": "^7.1.0",
"react": ">= 18.2.0",

@@ -106,3 +106,3 @@ "react-native": "*",

},
"gitHead": "622af72bdfc17ba6c1fbf47245544468d2bed77f"
"gitHead": "2a3ce56d2366f2699af31daeb50307dd97ec950d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet