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.161 to 0.0.1-beta.162

118

build/stats-react.json

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

{
"uid": "4c32-167",
"uid": "1c86-167",
"name": "\u0000rollupPluginBabelHelpers.js"

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

"name": "store/build/esm/index.js",
"uid": "4c32-169"
"uid": "1c86-169"
},
{
"name": "react-store/build/esm/index.js",
"uid": "4c32-171"
"uid": "1c86-171"
},
{
"name": "router-core/build/esm/index.js",
"uid": "4c32-177"
"uid": "1c86-177"
},
{
"name": "react-router/src/index.tsx",
"uid": "4c32-179"
"uid": "1c86-179"
}

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

"name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
"uid": "4c32-173"
"uid": "1c86-173"
},
{
"name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
"uid": "4c32-175"
"uid": "1c86-175"
}

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

"nodeParts": {
"4c32-167": {
"1c86-167": {
"renderedLength": 429,
"gzipLength": 238,
"brotliLength": 0,
"mainUid": "4c32-166"
"mainUid": "1c86-166"
},
"4c32-169": {
"1c86-169": {
"renderedLength": 1843,
"gzipLength": 644,
"brotliLength": 0,
"mainUid": "4c32-168"
"mainUid": "1c86-168"
},
"4c32-171": {
"1c86-171": {
"renderedLength": 1006,
"gzipLength": 479,
"brotliLength": 0,
"mainUid": "4c32-170"
"mainUid": "1c86-170"
},
"4c32-173": {
"1c86-173": {
"renderedLength": 181,
"gzipLength": 129,
"brotliLength": 0,
"mainUid": "4c32-172"
"mainUid": "1c86-172"
},
"4c32-175": {
"1c86-175": {
"renderedLength": 44,
"gzipLength": 62,
"brotliLength": 0,
"mainUid": "4c32-174"
"mainUid": "1c86-174"
},
"4c32-177": {
"1c86-177": {
"renderedLength": 56934,
"gzipLength": 13356,
"brotliLength": 0,
"mainUid": "4c32-176"
"mainUid": "1c86-176"
},
"4c32-179": {
"1c86-179": {
"renderedLength": 17058,
"gzipLength": 3802,
"brotliLength": 0,
"mainUid": "4c32-178"
"mainUid": "1c86-178"
}
},
"nodeMetas": {
"4c32-166": {
"1c86-166": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "4c32-167"
"index.production.js": "1c86-167"
},

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

{
"uid": "4c32-178"
"uid": "1c86-178"
}
]
},
"4c32-168": {
"1c86-168": {
"id": "/packages/store/build/esm/index.js",
"moduleParts": {
"index.production.js": "4c32-169"
"index.production.js": "1c86-169"
},

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

{
"uid": "4c32-170"
"uid": "1c86-170"
}
]
},
"4c32-170": {
"1c86-170": {
"id": "/packages/react-store/build/esm/index.js",
"moduleParts": {
"index.production.js": "4c32-171"
"index.production.js": "1c86-171"
},
"imported": [
{
"uid": "4c32-181"
"uid": "1c86-181"
},
{
"uid": "4c32-168"
"uid": "1c86-168"
}

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

{
"uid": "4c32-178"
"uid": "1c86-178"
},
{
"uid": "4c32-176"
"uid": "1c86-176"
}
]
},
"4c32-172": {
"1c86-172": {
"id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
"moduleParts": {
"index.production.js": "4c32-173"
"index.production.js": "1c86-173"
},

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

{
"uid": "4c32-178"
"uid": "1c86-178"
},
{
"uid": "4c32-176"
"uid": "1c86-176"
}
]
},
"4c32-174": {
"1c86-174": {
"id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
"moduleParts": {
"index.production.js": "4c32-175"
"index.production.js": "1c86-175"
},

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

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

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

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

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

},
"4c32-180": {
"1c86-180": {
"id": "react",

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

{
"uid": "4c32-178"
"uid": "1c86-178"
}

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

},
"4c32-181": {
"1c86-181": {
"id": "use-sync-external-store/shim/with-selector",

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

{
"uid": "4c32-170"
"uid": "1c86-170"
}

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

@@ -25,3 +25,3 @@ /**

}
interface Route<TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute, TPath extends RouteConstraints['TPath'] = '/', TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath<TParentRoute, TPath>, TCustomId extends RouteConstraints['TCustomId'] = string, TId extends RouteConstraints['TId'] = ResolveId<TParentRoute, TCustomId, TPath>, TLoader = unknown, TSearchSchema extends RouteConstraints['TSearchSchema'] = {}, TFullSearchSchema extends RouteConstraints['TFullSearchSchema'] = ResolveFullSearchSchema<TParentRoute, TSearchSchema>, TParams extends RouteConstraints['TParams'] = Record<ParsePathParams<TPath>, string>, TAllParams extends RouteConstraints['TAllParams'] = MergeParamsFromParent<TParentRoute['__types']['allParams'], TParams>, TParentContext extends RouteConstraints['TParentContext'] = TParentRoute['__types']['routeContext'], TAllParentContext extends RouteConstraints['TAllParentContext'] = TParentRoute['__types']['context'], TRouteContext extends RouteConstraints['TRouteContext'] = RouteContext, TAllContext extends RouteConstraints['TAllContext'] = MergeParamsFromParent<TParentRoute['__types']['context'], TRouteContext>, TRouterContext extends RouteConstraints['TRouterContext'] = AnyContext, TChildren extends RouteConstraints['TChildren'] = unknown, TRouteTree extends RouteConstraints['TRouteTree'] = AnyRoute> {
interface Route<TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute, TPath extends RouteConstraints['TPath'] = '/', TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath<TParentRoute, TPath>, TCustomId extends RouteConstraints['TCustomId'] = string, TId extends RouteConstraints['TId'] = ResolveId<TParentRoute, TCustomId, TPath>, TLoader = unknown, TSearchSchema extends RouteConstraints['TSearchSchema'] = {}, TFullSearchSchema extends RouteConstraints['TFullSearchSchema'] = ResolveFullSearchSchema<TParentRoute, TSearchSchema>, TParams extends RouteConstraints['TParams'] = Record<ParsePathParams<TPath>, string>, TAllParams extends RouteConstraints['TAllParams'] = MergeParamsFromParent<TParentRoute['types']['allParams'], TParams>, TParentContext extends RouteConstraints['TParentContext'] = TParentRoute['types']['routeContext'], TAllParentContext extends RouteConstraints['TAllParentContext'] = TParentRoute['types']['context'], TRouteContext extends RouteConstraints['TRouteContext'] = RouteContext, TAllContext extends RouteConstraints['TAllContext'] = MergeParamsFromParent<TParentRoute['types']['context'], TRouteContext>, TRouterContext extends RouteConstraints['TRouterContext'] = AnyContext, TChildren extends RouteConstraints['TChildren'] = unknown, TRouteTree extends RouteConstraints['TRouteTree'] = AnyRoute> {
useMatch: <TStrict extends boolean = true, TSelected = TAllContext>(opts?: {

@@ -75,3 +75,3 @@ strict?: TStrict;

type MakeMatchRouteOptions<TFrom extends RoutePaths<RegisteredRouter['routeTree']> = '/', TTo extends string = ''> = ToOptions<RegisteredRouter['routeTree'], TFrom, TTo> & MatchRouteOptions & {
children?: ((params?: RouteByPath<RegisteredRouter['routeTree'], ResolveRelativePath<TFrom, NoInfer<TTo>>>['__types']['allParams']) => ReactNode) | React.ReactNode;
children?: ((params?: RouteByPath<RegisteredRouter['routeTree'], ResolveRelativePath<TFrom, NoInfer<TTo>>>['types']['allParams']) => ReactNode) | React.ReactNode;
};

@@ -115,3 +115,3 @@ type MakeLinkPropsOptions<TFrom extends string = '/', TTo extends string = ''> = LinkPropsOptions<TFrom, TTo> & React.AnchorHTMLAttributes<HTMLAnchorElement>;

type RouteFromIdOrRoute<T> = T extends ParseRoute<RegisteredRouter['routeTree']> ? T : T extends RouteIds<RegisteredRouter['routeTree']> ? RoutesById<RegisteredRouter['routeTree']>[T] : T extends string ? RouteIds<RegisteredRouter['routeTree']> : never;
declare function useLoader<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TLoader = RouteById<RegisteredRouter['routeTree'], TFrom>['__types']['loader'], TSelected = TLoader>(opts?: {
declare function useLoader<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TLoader = RouteById<RegisteredRouter['routeTree'], TFrom>['types']['loader'], TSelected = TLoader>(opts?: {
from: TFrom;

@@ -121,3 +121,3 @@ strict?: TStrict;

}): TStrict extends true ? TSelected : TSelected | undefined;
declare function useRouterContext<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TContext = RouteById<RegisteredRouter['routeTree'], TFrom>['__types']['context'], TSelected = TContext>(opts?: {
declare function useRouterContext<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TContext = RouteById<RegisteredRouter['routeTree'], TFrom>['types']['context'], TSelected = TContext>(opts?: {
from: TFrom;

@@ -127,3 +127,3 @@ strict?: TStrict;

}): TStrict extends true ? TSelected : TSelected | undefined;
declare function useRouteContext<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TRouteContext = RouteById<RegisteredRouter['routeTree'], TFrom>['__types']['routeContext'], TSelected = TRouteContext>(opts?: {
declare function useRouteContext<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TRouteContext = RouteById<RegisteredRouter['routeTree'], TFrom>['types']['routeContext'], TSelected = TRouteContext>(opts?: {
from: TFrom;

@@ -133,3 +133,3 @@ strict?: TStrict;

}): TStrict extends true ? TSelected : TSelected | undefined;
declare function useSearch<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TSearch = RouteById<RegisteredRouter['routeTree'], TFrom>['__types']['fullSearchSchema'], TSelected = TSearch>(opts?: {
declare function useSearch<TFrom extends RouteIds<RegisteredRouter['routeTree']>, TStrict extends boolean = true, TSearch = RouteById<RegisteredRouter['routeTree'], TFrom>['types']['fullSearchSchema'], TSelected = TSearch>(opts?: {
from: TFrom;

@@ -139,3 +139,3 @@ strict?: TStrict;

}): TStrict extends true ? TSelected : TSelected | undefined;
declare function useParams<TFrom extends RouteIds<RegisteredRouter['routeTree']> = '/', TDefaultSelected = AllParams<RegisteredRouter['routeTree']> & RouteById<RegisteredRouter['routeTree'], TFrom>['__types']['allParams'], TSelected = TDefaultSelected>(opts?: {
declare function useParams<TFrom extends RouteIds<RegisteredRouter['routeTree']> = '/', TDefaultSelected = AllParams<RegisteredRouter['routeTree']> & RouteById<RegisteredRouter['routeTree'], TFrom>['types']['allParams'], TSelected = TDefaultSelected>(opts?: {
from: TFrom;

@@ -142,0 +142,0 @@ select?: (search: TDefaultSelected) => TSelected;

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

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

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

@@ -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