🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-router

Package Overview
Dependencies
Maintainers
4
Versions
849
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Compare versions

Comparing version

to
0.0.0-nightly-044ba5e2d-20250605

dist/development/chunk-MF4A24VP.mjs

17

dist/development/dom-export.d.ts
import * as React from 'react';
import { R as RouterProviderProps$1 } from './fog-of-war-DLtn2OLr.js';
import './route-data-aSUFWnQ6.js';
import { RouterProviderProps as RouterProviderProps$1, RouterInit } from 'react-router';

@@ -8,7 +7,17 @@ type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;

interface HydratedRouterProps {
/**
* Context object to passed through to `createBrowserRouter` and made available
* to `clientLoader`/`clientActon` functions
*/
unstable_getContext?: RouterInit["unstable_getContext"];
}
/**
* @category Router Components
* Framework-mode router component to be used in `entry.client.tsx` to hydrate a
* router from a `ServerRouter`
*
* @category Component Routers
*/
declare function HydratedRouter(): React.JSX.Element;
declare function HydratedRouter(props: HydratedRouterProps): React.JSX.Element;
export { HydratedRouter, RouterProvider, type RouterProviderProps };
import * as React from 'react';
import { R as RouterProviderProps$1 } from './fog-of-war-DLtn2OLr.js';
import './route-data-aSUFWnQ6.js';
import { RouterProviderProps as RouterProviderProps$1, RouterInit } from 'react-router';

@@ -8,7 +7,17 @@ type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;

interface HydratedRouterProps {
/**
* Context object to passed through to `createBrowserRouter` and made available
* to `clientLoader`/`clientActon` functions
*/
unstable_getContext?: RouterInit["unstable_getContext"];
}
/**
* @category Router Components
* Framework-mode router component to be used in `entry.client.tsx` to hydrate a
* router from a `ServerRouter`
*
* @category Component Routers
*/
declare function HydratedRouter(): React.JSX.Element;
declare function HydratedRouter(props: HydratedRouterProps): React.JSX.Element;
export { HydratedRouter, RouterProvider, type RouterProviderProps };
{
"name": "react-router",
"version": "0.0.0-nightly-041701ead-20241222",
"version": "0.0.0-nightly-044ba5e2d-20250605",
"description": "Declarative routing for React",

@@ -40,8 +40,11 @@ "keywords": [

},
"./route-module": {
"./internal": {
"node": {
"types": "./dist/development/lib/types/internal.d.ts"
},
"import": {
"types": "./dist/development/lib/types/route-module.d.mts"
"types": "./dist/development/lib/types/internal.d.mts"
},
"default": {
"types": "./dist/development/lib/types/route-module.d.ts"
"types": "./dist/development/lib/types/index.d.ts"
}

@@ -81,11 +84,9 @@ },

"dependencies": {
"@types/cookie": "^0.6.0",
"cookie": "^1.0.1",
"set-cookie-parser": "^2.6.0",
"turbo-stream": "2.4.0"
"set-cookie-parser": "^2.6.0"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",

@@ -115,4 +116,5 @@ "tsup": "^8.3.0",

"scripts": {
"build": "wireit"
"build": "wireit",
"typecheck": "tsc"
}
}

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

Sorry, the diff of this file is not supported yet

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

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 too big to display

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

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 too big to display

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 too big to display

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

Sorry, the diff of this file is not supported yet