react-router
Advanced tools
Comparing version 7.0.0 to 7.0.1-pre.0
# `react-router` | ||
## 7.0.1-pre.0 | ||
## 7.0.0 | ||
@@ -4,0 +6,0 @@ |
@@ -9,2 +9,3 @@ import { av as LinkDescriptor, as as MetaDescriptor, aJ as ServerDataFrom, aK as ClientDataFrom, aL as Func, aM as Equal, aN as Pretty } from '../../route-data-DuV3tXo2.js'; | ||
links?: Func; | ||
headers?: Func; | ||
loader?: Func; | ||
@@ -46,2 +47,8 @@ clientLoader?: Func; | ||
type MetaDescriptors = MetaDescriptor[]; | ||
type HeadersArgs = { | ||
loaderHeaders: Headers; | ||
parentHeaders: Headers; | ||
actionHeaders: Headers; | ||
errorHeaders: Headers | undefined; | ||
}; | ||
type IsHydrate<ClientLoader> = ClientLoader extends { | ||
@@ -104,2 +111,2 @@ hydrate: true; | ||
export type { CreateActionData, CreateClientActionArgs, CreateClientLoaderArgs, CreateComponentProps, CreateErrorBoundaryProps, CreateHydrateFallbackProps, CreateLoaderData, CreateMetaArgs, CreateServerActionArgs, CreateServerLoaderArgs, LinkDescriptors, MetaDescriptors }; | ||
export type { CreateActionData, CreateClientActionArgs, CreateClientLoaderArgs, CreateComponentProps, CreateErrorBoundaryProps, CreateHydrateFallbackProps, CreateLoaderData, CreateMetaArgs, CreateServerActionArgs, CreateServerLoaderArgs, HeadersArgs, LinkDescriptors, MetaDescriptors }; |
/** | ||
* react-router v7.0.0 | ||
* react-router v7.0.1-pre.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -9,2 +9,3 @@ import { av as LinkDescriptor, as as MetaDescriptor, aJ as ServerDataFrom, aK as ClientDataFrom, aL as Func, aM as Equal, aN as Pretty } from '../../route-data-DuV3tXo2.js'; | ||
links?: Func; | ||
headers?: Func; | ||
loader?: Func; | ||
@@ -46,2 +47,8 @@ clientLoader?: Func; | ||
type MetaDescriptors = MetaDescriptor[]; | ||
type HeadersArgs = { | ||
loaderHeaders: Headers; | ||
parentHeaders: Headers; | ||
actionHeaders: Headers; | ||
errorHeaders: Headers | undefined; | ||
}; | ||
type IsHydrate<ClientLoader> = ClientLoader extends { | ||
@@ -104,2 +111,2 @@ hydrate: true; | ||
export type { CreateActionData, CreateClientActionArgs, CreateClientLoaderArgs, CreateComponentProps, CreateErrorBoundaryProps, CreateHydrateFallbackProps, CreateLoaderData, CreateMetaArgs, CreateServerActionArgs, CreateServerLoaderArgs, LinkDescriptors, MetaDescriptors }; | ||
export type { CreateActionData, CreateClientActionArgs, CreateClientLoaderArgs, CreateComponentProps, CreateErrorBoundaryProps, CreateHydrateFallbackProps, CreateLoaderData, CreateMetaArgs, CreateServerActionArgs, CreateServerLoaderArgs, HeadersArgs, LinkDescriptors, MetaDescriptors }; |
/** | ||
* react-router v7.0.0 | ||
* react-router v7.0.1-pre.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "react-router", | ||
"version": "7.0.0", | ||
"version": "7.0.1-pre.0", | ||
"description": "Declarative routing for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,3 +0,7 @@ | ||
# React Router | ||
`react-router` is the primary package in the React Router project. | ||
The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all the core functionality. | ||
## Installation | ||
```sh | ||
npm i react-router | ||
``` |
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 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 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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2268974
58272
8
2
4