react-router-dom-v5-compat 6.3.0 → 6.4.0-pre.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +70 -0
- package/LICENSE.md +1 -1
- package/{index.d.ts → dist/index.d.ts} +2 -2
- package/dist/index.js +695 -0
- package/dist/index.js.map +1 -0
- package/{lib → dist/lib}/components.d.ts +1 -1
- package/{main.js → dist/main.js} +1 -1
- package/dist/react-router-dom/dom.d.ts +68 -0
- package/dist/react-router-dom/index.d.ts +214 -0
- package/dist/umd/react-router-dom-v5-compat.development.js +840 -0
- package/dist/umd/react-router-dom-v5-compat.development.js.map +1 -0
- package/dist/umd/react-router-dom-v5-compat.production.min.js +12 -0
- package/dist/umd/react-router-dom-v5-compat.production.min.js.map +1 -0
- package/package.json +22 -16
- package/index.js +0 -467
- package/index.js.map +0 -1
- package/react-router-dom/index.d.ts +0 -117
- package/umd/react-router-dom-v5-compat.development.js +0 -655
- package/umd/react-router-dom-v5-compat.development.js.map +0 -1
- package/umd/react-router-dom-v5-compat.production.min.js +0 -12
- package/umd/react-router-dom-v5-compat.production.min.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# react-router-dom-v5-compat
|
|
2
|
+
|
|
3
|
+
## 6.4.0-pre.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- react-router@6.4.0-pre.11
|
|
9
|
+
- react-router-dom@6.4.0-pre.11
|
|
10
|
+
|
|
11
|
+
## 6.4.0-pre.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- react-router@6.4.0-pre.10
|
|
17
|
+
- react-router-dom@6.4.0-pre.10
|
|
18
|
+
|
|
19
|
+
## 6.4.0-pre.9
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- react-router@6.4.0-pre.9
|
|
25
|
+
- react-router-dom@6.4.0-pre.9
|
|
26
|
+
|
|
27
|
+
## 6.4.0-pre.8
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- react-router@6.4.0-pre.8
|
|
33
|
+
- react-router-dom@6.4.0-pre.8
|
|
34
|
+
|
|
35
|
+
## 6.4.0-pre.7
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
- `react-router@6.4.0-pre.7`
|
|
41
|
+
- `react-router-dom@6.4.0-pre.7`
|
|
42
|
+
|
|
43
|
+
## 6.4.0-pre.6
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Fix `react-router-dom` peer dependency version
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
- `react-router@6.4.0-pre.6`
|
|
50
|
+
- `react-router-dom@6.4.0-pre.6`
|
|
51
|
+
|
|
52
|
+
## 6.4.0-pre.5
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- Updated dependencies
|
|
57
|
+
- `react-router@6.4.0-pre.5`
|
|
58
|
+
- `react-router-dom@6.4.0-pre.5`
|
|
59
|
+
|
|
60
|
+
## 6.4.0-pre.4
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- Fix missing `dist` files
|
|
65
|
+
|
|
66
|
+
## 6.4.0-pre.3
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Updated dependencies
|
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) React Training 2015-2019
|
|
4
|
-
Copyright (c) Remix Software 2020-
|
|
4
|
+
Copyright (c) Remix Software 2020-2022
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* - TSC needs to generate the types, and it has to derive the output paths from
|
|
26
26
|
* the import paths. If we have a weird require *outside of this package* to
|
|
27
27
|
* "../../react-router-dom" it's going to generate types from the common root
|
|
28
|
-
* of all module paths (Which makes sense
|
|
28
|
+
* of all module paths (Which makes sense because what else would it do? It
|
|
29
29
|
* needs to write the type files next to the source files so that typescript
|
|
30
30
|
* can resolve the types for tooling in the same location as the modules).
|
|
31
31
|
* Because tsc isn't as flexible as rollup, we have no control over this
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
* would break. We could stop doing two bundles in v6 "react-router-dom" and
|
|
47
47
|
* deprecate the deep require if we wanted to avoid the duplication here.
|
|
48
48
|
*/
|
|
49
|
-
export type { Hash, Location, Path, To, MemoryRouterProps, NavigateFunction, NavigateOptions, NavigateProps, Navigator, OutletProps, Params, PathMatch, RouteMatch, RouteObject, RouteProps, PathRouteProps, LayoutRouteProps, IndexRouteProps, RouterProps, Pathname, Search, RoutesProps, } from "./react-router-dom";
|
|
49
|
+
export type { Hash, Location, Path, To, MemoryRouterProps, NavigateFunction, NavigateOptions, NavigateProps, Navigator, OutletProps, Params, ParamParseKey, PathMatch, RouteMatch, RouteObject, RouteProps, PathRouteProps, LayoutRouteProps, IndexRouteProps, RouterProps, Pathname, Search, RoutesProps, } from "./react-router-dom";
|
|
50
50
|
export { BrowserRouter, HashRouter, Link, MemoryRouter, NavLink, Navigate, NavigationType, Outlet, Route, Router, Routes, UNSAFE_LocationContext, UNSAFE_NavigationContext, UNSAFE_RouteContext, createPath, createRoutesFromChildren, createSearchParams, generatePath, matchPath, matchRoutes, parsePath, renderMatches, resolvePath, unstable_HistoryRouter, useHref, useInRouterContext, useLinkClickHandler, useLocation, useMatch, useNavigate, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRoutes, useSearchParams, } from "./react-router-dom";
|
|
51
51
|
export type { StaticRouterProps } from "./lib/components";
|
|
52
52
|
export { CompatRouter, CompatRoute, StaticRouter } from "./lib/components";
|