You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@ionic/react

Package Overview
Dependencies
Maintainers
2
Versions
3691
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/react - npm Package Compare versions

Comparing version
8.8.1-dev.11774273905.1c3b9598
to
8.8.1-dev.11774384072.1e807ca8
+8
-0
dist/types/components/IonRouterContext.d.ts

@@ -9,2 +9,3 @@ import type { AnimationBuilder } from '@ionic/core/components';

back: (animationBuilder?: AnimationBuilder) => void;
navigateRoot: (pathname: string, animationBuilder?: AnimationBuilder) => void;
canGoBack: () => boolean;

@@ -39,2 +40,9 @@ nativeBack: () => void;

/**
* Navigates to a new root pathname, clearing the navigation history and unmounting all previous views.
* After navigation, canGoBack() will return false. Useful for navigating to a new root after login/logout.
* @param pathname - The path to navigate to
* @param animationBuilder - Optional - A custom transition animation to use
*/
navigateRoot(pathname: string, animationBuilder?: AnimationBuilder): void;
/**
* Determines if there are any additional routes in the Router's history. However, routing is not prevented if the browser's history has more entries. Returns true if more entries exist, false if not.

@@ -41,0 +49,0 @@ */

+1
-0

@@ -14,2 +14,3 @@ import type { AnimationBuilder } from '@ionic/core/components';

onNavigate: (path: string, action: RouteAction, direction?: RouterDirection, animationBuilder?: AnimationBuilder, options?: any, tab?: string) => void;
onNavigateRoot: (pathname: string, animationBuilder?: AnimationBuilder) => void;
onSetCurrentTab: (tab: string, routeInfo: RouteInfo) => void;

@@ -16,0 +17,0 @@ onChangeTab: (tab: string, path: string, routeOptions?: any) => void;

+2
-2
{
"name": "@ionic/react",
"version": "8.8.1-dev.11774273905.1c3b9598",
"version": "8.8.1-dev.11774384072.1e807ca8",
"description": "React specific wrapper for @ionic/core",

@@ -43,3 +43,3 @@ "keywords": [

"dependencies": {
"@ionic/core": "8.8.1-dev.11774273905.1c3b9598",
"@ionic/core": "8.8.1-dev.11774384072.1e807ca8",
"ionicons": "^8.0.13",

@@ -46,0 +46,0 @@ "tslib": "*"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display