Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/react-router

Package Overview
Dependencies
Maintainers
2
Versions
635
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/react-router - npm Package Compare versions

Comparing version 0.0.1-beta.158 to 0.0.1-beta.159

118

build/stats-react.json

@@ -10,3 +10,3 @@ {

{
"uid": "b487-167",
"uid": "3b6d-167",
"name": "\u0000rollupPluginBabelHelpers.js"

@@ -19,15 +19,15 @@ },

"name": "store/build/esm/index.js",
"uid": "b487-169"
"uid": "3b6d-169"
},
{
"name": "react-store/build/esm/index.js",
"uid": "b487-171"
"uid": "3b6d-171"
},
{
"name": "router-core/build/esm/index.js",
"uid": "b487-177"
"uid": "3b6d-177"
},
{
"name": "react-router/src/index.tsx",
"uid": "b487-179"
"uid": "3b6d-179"
}

@@ -41,7 +41,7 @@ ]

"name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
"uid": "b487-173"
"uid": "3b6d-173"
},
{
"name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
"uid": "b487-175"
"uid": "3b6d-175"
}

@@ -56,50 +56,50 @@ ]

"nodeParts": {
"b487-167": {
"3b6d-167": {
"renderedLength": 429,
"gzipLength": 238,
"brotliLength": 0,
"mainUid": "b487-166"
"mainUid": "3b6d-166"
},
"b487-169": {
"3b6d-169": {
"renderedLength": 1843,
"gzipLength": 644,
"brotliLength": 0,
"mainUid": "b487-168"
"mainUid": "3b6d-168"
},
"b487-171": {
"3b6d-171": {
"renderedLength": 1006,
"gzipLength": 479,
"brotliLength": 0,
"mainUid": "b487-170"
"mainUid": "3b6d-170"
},
"b487-173": {
"3b6d-173": {
"renderedLength": 181,
"gzipLength": 129,
"brotliLength": 0,
"mainUid": "b487-172"
"mainUid": "3b6d-172"
},
"b487-175": {
"3b6d-175": {
"renderedLength": 44,
"gzipLength": 62,
"brotliLength": 0,
"mainUid": "b487-174"
"mainUid": "3b6d-174"
},
"b487-177": {
"3b6d-177": {
"renderedLength": 56305,
"gzipLength": 13276,
"brotliLength": 0,
"mainUid": "b487-176"
"mainUid": "3b6d-176"
},
"b487-179": {
"3b6d-179": {
"renderedLength": 17095,
"gzipLength": 3814,
"brotliLength": 0,
"mainUid": "b487-178"
"mainUid": "3b6d-178"
}
},
"nodeMetas": {
"b487-166": {
"3b6d-166": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "b487-167"
"index.production.js": "3b6d-167"
},

@@ -109,10 +109,10 @@ "imported": [],

{
"uid": "b487-178"
"uid": "3b6d-178"
}
]
},
"b487-168": {
"3b6d-168": {
"id": "/packages/store/build/esm/index.js",
"moduleParts": {
"index.production.js": "b487-169"
"index.production.js": "3b6d-169"
},

@@ -122,17 +122,17 @@ "imported": [],

{
"uid": "b487-170"
"uid": "3b6d-170"
}
]
},
"b487-170": {
"3b6d-170": {
"id": "/packages/react-store/build/esm/index.js",
"moduleParts": {
"index.production.js": "b487-171"
"index.production.js": "3b6d-171"
},
"imported": [
{
"uid": "b487-181"
"uid": "3b6d-181"
},
{
"uid": "b487-168"
"uid": "3b6d-168"
}

@@ -142,13 +142,13 @@ ],

{
"uid": "b487-178"
"uid": "3b6d-178"
},
{
"uid": "b487-176"
"uid": "3b6d-176"
}
]
},
"b487-172": {
"3b6d-172": {
"id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
"moduleParts": {
"index.production.js": "b487-173"
"index.production.js": "3b6d-173"
},

@@ -158,13 +158,13 @@ "imported": [],

{
"uid": "b487-178"
"uid": "3b6d-178"
},
{
"uid": "b487-176"
"uid": "3b6d-176"
}
]
},
"b487-174": {
"3b6d-174": {
"id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
"moduleParts": {
"index.production.js": "b487-175"
"index.production.js": "3b6d-175"
},

@@ -174,23 +174,23 @@ "imported": [],

{
"uid": "b487-178"
"uid": "3b6d-178"
},
{
"uid": "b487-176"
"uid": "3b6d-176"
}
]
},
"b487-176": {
"3b6d-176": {
"id": "/packages/router-core/build/esm/index.js",
"moduleParts": {
"index.production.js": "b487-177"
"index.production.js": "3b6d-177"
},
"imported": [
{
"uid": "b487-172"
"uid": "3b6d-172"
},
{
"uid": "b487-174"
"uid": "3b6d-174"
},
{
"uid": "b487-170"
"uid": "3b6d-170"
}

@@ -200,29 +200,29 @@ ],

{
"uid": "b487-178"
"uid": "3b6d-178"
}
]
},
"b487-178": {
"3b6d-178": {
"id": "/packages/react-router/src/index.tsx",
"moduleParts": {
"index.production.js": "b487-179"
"index.production.js": "3b6d-179"
},
"imported": [
{
"uid": "b487-166"
"uid": "3b6d-166"
},
{
"uid": "b487-180"
"uid": "3b6d-180"
},
{
"uid": "b487-170"
"uid": "3b6d-170"
},
{
"uid": "b487-172"
"uid": "3b6d-172"
},
{
"uid": "b487-174"
"uid": "3b6d-174"
},
{
"uid": "b487-176"
"uid": "3b6d-176"
}

@@ -233,3 +233,3 @@ ],

},
"b487-180": {
"3b6d-180": {
"id": "react",

@@ -240,3 +240,3 @@ "moduleParts": {},

{
"uid": "b487-178"
"uid": "3b6d-178"
}

@@ -246,3 +246,3 @@ ],

},
"b487-181": {
"3b6d-181": {
"id": "use-sync-external-store/shim/with-selector",

@@ -253,3 +253,3 @@ "moduleParts": {},

{
"uid": "b487-170"
"uid": "3b6d-170"
}

@@ -256,0 +256,0 @@ ],

@@ -11,7 +11,8 @@ /**

*/
import * as _tanstack_router_core from '@tanstack/router-core';
import { RouteConstraints, AnyRoute, ResolveFullPath, ResolveId, ResolveFullSearchSchema, ParsePathParams, MergeParamsFromParent, RouteContext, AnyContext, UseLoaderResult, AnyRouteProps, RoutePaths, RegisteredRouter, LinkOptions, ToOptions, MatchRouteOptions, RouteByPath, ResolveRelativePath, NavigateOptions, RouterOptions, Router, RouteMatch, RouteIds, RouteById, ParseRoute, RoutesById, AllParams } from '@tanstack/router-core';
export * from '@tanstack/router-core';
import * as React from 'react';
import { NoInfer } from '@tanstack/react-store';
export { useStore } from '@tanstack/react-store';
import { RouteConstraints, AnyRoute, ResolveFullPath, ResolveId, ResolveFullSearchSchema, ParsePathParams, MergeParamsFromParent, RouteContext, AnyContext, UseLoaderResult, AnyRouteProps, RoutePaths, RegisteredRouter, LinkOptions, ToOptions, MatchRouteOptions, RouteByPath, ResolveRelativePath, NavigateOptions, Router, RouterOptions, RouteMatch, RouteIds, RouteById, ParseRoute, RoutesById, AllParams } from '@tanstack/router-core';
export * from '@tanstack/router-core';

@@ -94,4 +95,4 @@ declare module '@tanstack/router-core' {

declare const matchIdsContext: React.Context<string[]>;
declare const routerContext: React.Context<Router<AnyRoute, Record<string, any>>>;
type RouterProps<TRouteTree extends AnyRoute = AnyRoute, TDehydrated extends Record<string, any> = Record<string, any>> = Omit<RouterOptions<TRouteTree, TDehydrated>, 'context'> & {
declare const routerContext: React.Context<_tanstack_router_core.AnyRouter>;
type RouterProps<TRouteTree extends AnyRoute = RegisteredRouter['routeTree'], TDehydrated extends Record<string, any> = Record<string, any>> = Omit<RouterOptions<TRouteTree, TDehydrated>, 'context'> & {
router: Router<TRouteTree>;

@@ -103,3 +104,3 @@ context?: Partial<RouterOptions<TRouteTree, TDehydrated>['context']>;

}): TSelected;
declare function RouterProvider<TRouteTree extends AnyRoute = AnyRoute, TDehydrated extends Record<string, any> = Record<string, any>>({ router, ...rest }: RouterProps<TRouteTree, TDehydrated>): JSX.Element;
declare function RouterProvider<TRouteTree extends AnyRoute = RegisteredRouter['routeTree'], TDehydrated extends Record<string, any> = Record<string, any>>({ router, ...rest }: RouterProps<TRouteTree, TDehydrated>): JSX.Element;
declare function useRouter(): RegisteredRouter;

@@ -141,3 +142,3 @@ declare function useMatches<T = RouteMatch[]>(opts?: {

from?: TDefaultFrom;
}): <TFrom extends unknown = TDefaultFrom, TTo extends string = "">(opts?: NavigateOptions<AnyRoute, TFrom, TTo> | undefined) => Promise<void>;
}): <TFrom extends unknown = TDefaultFrom, TTo extends string = "">(opts?: NavigateOptions<any, TFrom, TTo> | undefined) => Promise<void>;
declare function useMatchRoute(): <TFrom extends string = "/", TTo extends string = "">(opts: MakeUseMatchRouteOptions<TFrom, TTo>) => any;

@@ -144,0 +145,0 @@ declare function MatchRoute<TFrom extends string = '/', TTo extends string = ''>(props: MakeMatchRouteOptions<TFrom, TTo>): any;

{
"name": "@tanstack/react-router",
"author": "Tanner Linsley",
"version": "0.0.1-beta.158",
"version": "0.0.1-beta.159",
"license": "MIT",

@@ -46,4 +46,4 @@ "repository": "tanstack/router",

"@gisatcz/cross-package-react-context": "^0.2.0",
"@tanstack/router-core": "0.0.1-beta.158",
"@tanstack/react-store": "0.0.1-beta.158"
"@tanstack/router-core": "0.0.1-beta.159",
"@tanstack/react-store": "0.0.1-beta.159"
},

@@ -50,0 +50,0 @@ "scripts": {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc