react-router-dom
Advanced tools
Comparing version 0.0.0-nightly-a9e1d47b6-20240619 to 0.0.0-nightly-ac199f437-20241014
@@ -1,6 +0,2 @@ | ||
export type { ActionFunction, ActionFunctionArgs, AwaitProps, DataRouteMatch, DataRouteObject, unstable_DataStrategyFunction, unstable_DataStrategyFunctionArgs, unstable_DataStrategyMatch, ErrorResponse, Fetcher, FutureConfig, Hash, IndexRouteObject, IndexRouteProps, JsonFunction, LayoutRouteProps, LazyRouteFunction, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouterProps, NavigateFunction, NavigateOptions, NavigateProps, Navigation, Navigator, NonIndexRouteObject, OutletProps, ParamParseKey, Params, Path, PathMatch, PathParam, PathPattern, PathRouteProps, Pathname, RedirectFunction, RelativeRoutingType, RouteMatch, RouteObject, RouteProps, RouterProps, RouterProviderProps, RoutesProps, Search, ShouldRevalidateFunction, ShouldRevalidateFunctionArgs, To, UIMatch, Blocker, BlockerFunction, unstable_HandlerResult, AgnosticDataIndexRouteObject, AgnosticDataNonIndexRouteObject, AgnosticDataRouteMatch, AgnosticDataRouteObject, AgnosticIndexRouteObject, AgnosticNonIndexRouteObject, AgnosticRouteMatch, AgnosticRouteObject, HydrationState, InitialEntry, StaticHandler, TrackedPromise, UNSAFE_DeferredData, FormEncType, FormMethod, GetScrollRestorationKeyFunction, StaticHandlerContext, V7_FormMethod, BrowserRouterProps, HashRouterProps, HistoryRouterProps, LinkProps, NavLinkProps, FetcherFormProps, FormProps, ScrollRestorationProps, SetURLSearchParams, SubmitFunction, FetcherSubmitFunction, FetcherWithComponents, ParamKeyValuePair, SubmitOptions, URLSearchParamsInit, StaticRouterProps, StaticRouterProviderProps, HtmlLinkDescriptor, ClientActionFunction, ClientActionFunctionArgs, ClientLoaderFunction, ClientLoaderFunctionArgs, MetaArgs, MetaDescriptor, MetaFunction, RemixServerProps, RemixStubProps, } from "react-router"; | ||
export { AbortedDeferredError, Await, MemoryRouter, Navigate, NavigationType, Outlet, Route, Router, RouterProvider, Routes, createMemoryRouter, createPath, createRoutesFromChildren, createRoutesFromChildren as createRoutesFromElements, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, redirectDocument, renderMatches, resolvePath, useBlocker, useActionData, useAsyncError, useAsyncValue, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, getStaticContextFromError, stripBasename, UNSAFE_DEFERRED_SYMBOL, UNSAFE_convertRoutesToDataRoutes, createBrowserRouter, createHashRouter, BrowserRouter, HashRouter, Link, UNSAFE_ViewTransitionContext, UNSAFE_FetchersContext, unstable_HistoryRouter, NavLink, Form, ScrollRestoration, useLinkClickHandler, useSearchParams, useSubmit, useFormAction, useFetcher, useFetchers, UNSAFE_useScrollRestoration, useBeforeUnload, unstable_usePrompt, unstable_useViewTransitionState, createSearchParams, createStaticHandler, createStaticRouter, StaticRouter, StaticRouterProvider, HydratedRouter, Meta, Links, Scripts, PrefetchPageLinks, RemixServer, createRemixStub, } from "react-router"; | ||
/** @internal */ | ||
export type { UNSAFE_RouteModules, UNSAFE_FutureConfig, UNSAFE_AssetsManifest, UNSAFE_RemixContextObject, UNSAFE_EntryRoute, UNSAFE_RouteManifest, UNSAFE_SingleFetchRedirectResult, UNSAFE_SingleFetchResult, UNSAFE_SingleFetchResults, } from "react-router"; | ||
/** @internal */ | ||
export { UNSAFE_DataRouterContext, UNSAFE_DataRouterStateContext, UNSAFE_LocationContext, UNSAFE_NavigationContext, UNSAFE_RouteContext, UNSAFE_mapRouteProperties, UNSAFE_useRouteId, UNSAFE_useRoutesImpl, UNSAFE_ErrorResponseImpl, UNSAFE_RemixContext, UNSAFE_decodeViaTurboStream, UNSAFE_SingleFetchRedirectSymbol, } from "react-router"; | ||
export type * from "react-router"; | ||
export * from "react-router"; |
/** | ||
* React Router DOM v0.0.0-nightly-a9e1d47b6-20240619 | ||
* React Router DOM v0.0.0-nightly-ac199f437-20241014 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* React Router DOM v0.0.0-nightly-a9e1d47b6-20240619 | ||
* React Router DOM v0.0.0-nightly-ac199f437-20241014 | ||
* | ||
@@ -11,9 +11,3 @@ * Copyright (c) Remix Software Inc. | ||
*/ | ||
export { AbortedDeferredError, Await, BrowserRouter, Form, HashRouter, HydratedRouter, Link, Links, MemoryRouter, Meta, NavLink, Navigate, NavigationType, Outlet, PrefetchPageLinks, RemixServer, Route, Router, RouterProvider, Routes, Scripts, ScrollRestoration, StaticRouter, StaticRouterProvider, UNSAFE_DEFERRED_SYMBOL, UNSAFE_DataRouterContext, UNSAFE_DataRouterStateContext, UNSAFE_ErrorResponseImpl, UNSAFE_FetchersContext, UNSAFE_LocationContext, UNSAFE_NavigationContext, UNSAFE_RemixContext, UNSAFE_RouteContext, UNSAFE_SingleFetchRedirectSymbol, UNSAFE_ViewTransitionContext, UNSAFE_convertRoutesToDataRoutes, UNSAFE_decodeViaTurboStream, UNSAFE_mapRouteProperties, UNSAFE_useRouteId, UNSAFE_useRoutesImpl, UNSAFE_useScrollRestoration, createBrowserRouter, createHashRouter, createMemoryRouter, createPath, createRemixStub, createRoutesFromChildren, createRoutesFromChildren as createRoutesFromElements, createSearchParams, createStaticHandler, createStaticRouter, defer, generatePath, getStaticContextFromError, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, redirectDocument, renderMatches, resolvePath, stripBasename, unstable_HistoryRouter, unstable_usePrompt, unstable_useViewTransitionState, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useBlocker, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit } from 'react-router'; | ||
let alreadyWarned = false; | ||
if (!alreadyWarned && typeof console !== "undefined") { | ||
alreadyWarned = true; | ||
console.warn("The `react-router-dom` package is deprecated in v7, you can change all " + "of your imports to load directly from the `react-router` package."); | ||
} | ||
export * from 'react-router'; | ||
//# sourceMappingURL=react-router-dom.development.js.map |
/** | ||
* React Router DOM v0.0.0-nightly-a9e1d47b6-20240619 | ||
* React Router DOM v0.0.0-nightly-ac199f437-20241014 | ||
* | ||
@@ -11,3 +11,3 @@ * Copyright (c) Remix Software Inc. | ||
*/ | ||
export{AbortedDeferredError,Await,BrowserRouter,Form,HashRouter,HydratedRouter,Link,Links,MemoryRouter,Meta,NavLink,Navigate,NavigationType,Outlet,PrefetchPageLinks,RemixServer,Route,Router,RouterProvider,Routes,Scripts,ScrollRestoration,StaticRouter,StaticRouterProvider,UNSAFE_DEFERRED_SYMBOL,UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext,UNSAFE_LocationContext,UNSAFE_NavigationContext,UNSAFE_RemixContext,UNSAFE_RouteContext,UNSAFE_SingleFetchRedirectSymbol,UNSAFE_ViewTransitionContext,UNSAFE_convertRoutesToDataRoutes,UNSAFE_decodeViaTurboStream,UNSAFE_mapRouteProperties,UNSAFE_useRouteId,UNSAFE_useRoutesImpl,UNSAFE_useScrollRestoration,createBrowserRouter,createHashRouter,createMemoryRouter,createPath,createRemixStub,createRoutesFromChildren,createRoutesFromChildren as createRoutesFromElements,createSearchParams,createStaticHandler,createStaticRouter,defer,generatePath,getStaticContextFromError,isRouteErrorResponse,json,matchPath,matchRoutes,parsePath,redirect,redirectDocument,renderMatches,resolvePath,stripBasename,unstable_HistoryRouter,unstable_usePrompt,unstable_useViewTransitionState,useActionData,useAsyncError,useAsyncValue,useBeforeUnload,useBlocker,useFetcher,useFetchers,useFormAction,useHref,useInRouterContext,useLinkClickHandler,useLoaderData,useLocation,useMatch,useMatches,useNavigate,useNavigation,useNavigationType,useOutlet,useOutletContext,useParams,useResolvedPath,useRevalidator,useRouteError,useRouteLoaderData,useRoutes,useSearchParams,useSubmit}from"react-router";let e=!1;e||"undefined"==typeof console||(e=!0,console.warn("The `react-router-dom` package is deprecated in v7, you can change all of your imports to load directly from the `react-router` package.")); | ||
export*from"react-router"; | ||
//# sourceMappingURL=react-router-dom.production.min.js.map |
/** | ||
* React Router DOM v0.0.0-nightly-a9e1d47b6-20240619 | ||
* React Router DOM v0.0.0-nightly-ac199f437-20241014 | ||
* | ||
@@ -12,397 +12,17 @@ * Copyright (c) Remix Software Inc. | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react-router')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react-router'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactRouterDOM = {}, global.ReactRouter)); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react-router')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react-router'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ReactRouterDOM = {}, global.ReactRouter)); | ||
})(this, (function (exports, reactRouter) { 'use strict'; | ||
let alreadyWarned = false; | ||
if (!alreadyWarned && typeof console !== "undefined") { | ||
alreadyWarned = true; | ||
console.warn("The `react-router-dom` package is deprecated in v7, you can change all " + "of your imports to load directly from the `react-router` package."); | ||
} | ||
Object.keys(reactRouter).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return reactRouter[k]; } | ||
}); | ||
}); | ||
Object.defineProperty(exports, 'AbortedDeferredError', { | ||
enumerable: true, | ||
get: function () { return reactRouter.AbortedDeferredError; } | ||
}); | ||
Object.defineProperty(exports, 'Await', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Await; } | ||
}); | ||
Object.defineProperty(exports, 'BrowserRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.BrowserRouter; } | ||
}); | ||
Object.defineProperty(exports, 'Form', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Form; } | ||
}); | ||
Object.defineProperty(exports, 'HashRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.HashRouter; } | ||
}); | ||
Object.defineProperty(exports, 'HydratedRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.HydratedRouter; } | ||
}); | ||
Object.defineProperty(exports, 'Link', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Link; } | ||
}); | ||
Object.defineProperty(exports, 'Links', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Links; } | ||
}); | ||
Object.defineProperty(exports, 'MemoryRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.MemoryRouter; } | ||
}); | ||
Object.defineProperty(exports, 'Meta', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Meta; } | ||
}); | ||
Object.defineProperty(exports, 'NavLink', { | ||
enumerable: true, | ||
get: function () { return reactRouter.NavLink; } | ||
}); | ||
Object.defineProperty(exports, 'Navigate', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Navigate; } | ||
}); | ||
Object.defineProperty(exports, 'NavigationType', { | ||
enumerable: true, | ||
get: function () { return reactRouter.NavigationType; } | ||
}); | ||
Object.defineProperty(exports, 'Outlet', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Outlet; } | ||
}); | ||
Object.defineProperty(exports, 'PrefetchPageLinks', { | ||
enumerable: true, | ||
get: function () { return reactRouter.PrefetchPageLinks; } | ||
}); | ||
Object.defineProperty(exports, 'RemixServer', { | ||
enumerable: true, | ||
get: function () { return reactRouter.RemixServer; } | ||
}); | ||
Object.defineProperty(exports, 'Route', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Route; } | ||
}); | ||
Object.defineProperty(exports, 'Router', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Router; } | ||
}); | ||
Object.defineProperty(exports, 'RouterProvider', { | ||
enumerable: true, | ||
get: function () { return reactRouter.RouterProvider; } | ||
}); | ||
Object.defineProperty(exports, 'Routes', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Routes; } | ||
}); | ||
Object.defineProperty(exports, 'Scripts', { | ||
enumerable: true, | ||
get: function () { return reactRouter.Scripts; } | ||
}); | ||
Object.defineProperty(exports, 'ScrollRestoration', { | ||
enumerable: true, | ||
get: function () { return reactRouter.ScrollRestoration; } | ||
}); | ||
Object.defineProperty(exports, 'StaticRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.StaticRouter; } | ||
}); | ||
Object.defineProperty(exports, 'StaticRouterProvider', { | ||
enumerable: true, | ||
get: function () { return reactRouter.StaticRouterProvider; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_DEFERRED_SYMBOL', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_DEFERRED_SYMBOL; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_DataRouterContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_DataRouterContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_DataRouterStateContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_DataRouterStateContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_ErrorResponseImpl', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_ErrorResponseImpl; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_FetchersContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_FetchersContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_LocationContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_LocationContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_NavigationContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_NavigationContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_RemixContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_RemixContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_RouteContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_RouteContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_SingleFetchRedirectSymbol', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_SingleFetchRedirectSymbol; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_ViewTransitionContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_ViewTransitionContext; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_convertRoutesToDataRoutes', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_convertRoutesToDataRoutes; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_decodeViaTurboStream', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_decodeViaTurboStream; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_mapRouteProperties', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_mapRouteProperties; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_useRouteId', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_useRouteId; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_useRoutesImpl', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_useRoutesImpl; } | ||
}); | ||
Object.defineProperty(exports, 'UNSAFE_useScrollRestoration', { | ||
enumerable: true, | ||
get: function () { return reactRouter.UNSAFE_useScrollRestoration; } | ||
}); | ||
Object.defineProperty(exports, 'createBrowserRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createBrowserRouter; } | ||
}); | ||
Object.defineProperty(exports, 'createHashRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createHashRouter; } | ||
}); | ||
Object.defineProperty(exports, 'createMemoryRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createMemoryRouter; } | ||
}); | ||
Object.defineProperty(exports, 'createPath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createPath; } | ||
}); | ||
Object.defineProperty(exports, 'createRemixStub', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createRemixStub; } | ||
}); | ||
Object.defineProperty(exports, 'createRoutesFromChildren', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createRoutesFromChildren; } | ||
}); | ||
Object.defineProperty(exports, 'createRoutesFromElements', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createRoutesFromChildren; } | ||
}); | ||
Object.defineProperty(exports, 'createSearchParams', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createSearchParams; } | ||
}); | ||
Object.defineProperty(exports, 'createStaticHandler', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createStaticHandler; } | ||
}); | ||
Object.defineProperty(exports, 'createStaticRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.createStaticRouter; } | ||
}); | ||
Object.defineProperty(exports, 'defer', { | ||
enumerable: true, | ||
get: function () { return reactRouter.defer; } | ||
}); | ||
Object.defineProperty(exports, 'generatePath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.generatePath; } | ||
}); | ||
Object.defineProperty(exports, 'getStaticContextFromError', { | ||
enumerable: true, | ||
get: function () { return reactRouter.getStaticContextFromError; } | ||
}); | ||
Object.defineProperty(exports, 'isRouteErrorResponse', { | ||
enumerable: true, | ||
get: function () { return reactRouter.isRouteErrorResponse; } | ||
}); | ||
Object.defineProperty(exports, 'json', { | ||
enumerable: true, | ||
get: function () { return reactRouter.json; } | ||
}); | ||
Object.defineProperty(exports, 'matchPath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.matchPath; } | ||
}); | ||
Object.defineProperty(exports, 'matchRoutes', { | ||
enumerable: true, | ||
get: function () { return reactRouter.matchRoutes; } | ||
}); | ||
Object.defineProperty(exports, 'parsePath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.parsePath; } | ||
}); | ||
Object.defineProperty(exports, 'redirect', { | ||
enumerable: true, | ||
get: function () { return reactRouter.redirect; } | ||
}); | ||
Object.defineProperty(exports, 'redirectDocument', { | ||
enumerable: true, | ||
get: function () { return reactRouter.redirectDocument; } | ||
}); | ||
Object.defineProperty(exports, 'renderMatches', { | ||
enumerable: true, | ||
get: function () { return reactRouter.renderMatches; } | ||
}); | ||
Object.defineProperty(exports, 'resolvePath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.resolvePath; } | ||
}); | ||
Object.defineProperty(exports, 'stripBasename', { | ||
enumerable: true, | ||
get: function () { return reactRouter.stripBasename; } | ||
}); | ||
Object.defineProperty(exports, 'unstable_HistoryRouter', { | ||
enumerable: true, | ||
get: function () { return reactRouter.unstable_HistoryRouter; } | ||
}); | ||
Object.defineProperty(exports, 'unstable_usePrompt', { | ||
enumerable: true, | ||
get: function () { return reactRouter.unstable_usePrompt; } | ||
}); | ||
Object.defineProperty(exports, 'unstable_useViewTransitionState', { | ||
enumerable: true, | ||
get: function () { return reactRouter.unstable_useViewTransitionState; } | ||
}); | ||
Object.defineProperty(exports, 'useActionData', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useActionData; } | ||
}); | ||
Object.defineProperty(exports, 'useAsyncError', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useAsyncError; } | ||
}); | ||
Object.defineProperty(exports, 'useAsyncValue', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useAsyncValue; } | ||
}); | ||
Object.defineProperty(exports, 'useBeforeUnload', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useBeforeUnload; } | ||
}); | ||
Object.defineProperty(exports, 'useBlocker', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useBlocker; } | ||
}); | ||
Object.defineProperty(exports, 'useFetcher', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useFetcher; } | ||
}); | ||
Object.defineProperty(exports, 'useFetchers', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useFetchers; } | ||
}); | ||
Object.defineProperty(exports, 'useFormAction', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useFormAction; } | ||
}); | ||
Object.defineProperty(exports, 'useHref', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useHref; } | ||
}); | ||
Object.defineProperty(exports, 'useInRouterContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useInRouterContext; } | ||
}); | ||
Object.defineProperty(exports, 'useLinkClickHandler', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useLinkClickHandler; } | ||
}); | ||
Object.defineProperty(exports, 'useLoaderData', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useLoaderData; } | ||
}); | ||
Object.defineProperty(exports, 'useLocation', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useLocation; } | ||
}); | ||
Object.defineProperty(exports, 'useMatch', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useMatch; } | ||
}); | ||
Object.defineProperty(exports, 'useMatches', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useMatches; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigate', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useNavigate; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigation', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useNavigation; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigationType', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useNavigationType; } | ||
}); | ||
Object.defineProperty(exports, 'useOutlet', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useOutlet; } | ||
}); | ||
Object.defineProperty(exports, 'useOutletContext', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useOutletContext; } | ||
}); | ||
Object.defineProperty(exports, 'useParams', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useParams; } | ||
}); | ||
Object.defineProperty(exports, 'useResolvedPath', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useResolvedPath; } | ||
}); | ||
Object.defineProperty(exports, 'useRevalidator', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useRevalidator; } | ||
}); | ||
Object.defineProperty(exports, 'useRouteError', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useRouteError; } | ||
}); | ||
Object.defineProperty(exports, 'useRouteLoaderData', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useRouteLoaderData; } | ||
}); | ||
Object.defineProperty(exports, 'useRoutes', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useRoutes; } | ||
}); | ||
Object.defineProperty(exports, 'useSearchParams', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useSearchParams; } | ||
}); | ||
Object.defineProperty(exports, 'useSubmit', { | ||
enumerable: true, | ||
get: function () { return reactRouter.useSubmit; } | ||
}); | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
})); | ||
//# sourceMappingURL=react-router-dom.development.js.map |
/** | ||
* React Router v0.0.0-nightly-a9e1d47b6-20240619 | ||
* React Router v0.0.0-nightly-ac199f437-20241014 | ||
* | ||
@@ -11,3 +11,3 @@ * Copyright (c) Remix Software Inc. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react-router")):"function"==typeof define&&define.amd?define(["exports","react-router"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactRouterDOM={},e.ReactRouter)}(this,(function(e,t){"use strict";let r=!1;r||"undefined"==typeof console||(r=!0,console.warn("The `react-router-dom` package is deprecated in v7, you can change all of your imports to load directly from the `react-router` package.")),Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return t.AbortedDeferredError}}),Object.defineProperty(e,"Await",{enumerable:!0,get:function(){return t.Await}}),Object.defineProperty(e,"BrowserRouter",{enumerable:!0,get:function(){return t.BrowserRouter}}),Object.defineProperty(e,"Form",{enumerable:!0,get:function(){return t.Form}}),Object.defineProperty(e,"HashRouter",{enumerable:!0,get:function(){return t.HashRouter}}),Object.defineProperty(e,"HydratedRouter",{enumerable:!0,get:function(){return t.HydratedRouter}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return t.Link}}),Object.defineProperty(e,"Links",{enumerable:!0,get:function(){return t.Links}}),Object.defineProperty(e,"MemoryRouter",{enumerable:!0,get:function(){return t.MemoryRouter}}),Object.defineProperty(e,"Meta",{enumerable:!0,get:function(){return t.Meta}}),Object.defineProperty(e,"NavLink",{enumerable:!0,get:function(){return t.NavLink}}),Object.defineProperty(e,"Navigate",{enumerable:!0,get:function(){return t.Navigate}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return t.NavigationType}}),Object.defineProperty(e,"Outlet",{enumerable:!0,get:function(){return t.Outlet}}),Object.defineProperty(e,"PrefetchPageLinks",{enumerable:!0,get:function(){return t.PrefetchPageLinks}}),Object.defineProperty(e,"RemixServer",{enumerable:!0,get:function(){return t.RemixServer}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return t.Route}}),Object.defineProperty(e,"Router",{enumerable:!0,get:function(){return t.Router}}),Object.defineProperty(e,"RouterProvider",{enumerable:!0,get:function(){return t.RouterProvider}}),Object.defineProperty(e,"Routes",{enumerable:!0,get:function(){return t.Routes}}),Object.defineProperty(e,"Scripts",{enumerable:!0,get:function(){return t.Scripts}}),Object.defineProperty(e,"ScrollRestoration",{enumerable:!0,get:function(){return t.ScrollRestoration}}),Object.defineProperty(e,"StaticRouter",{enumerable:!0,get:function(){return t.StaticRouter}}),Object.defineProperty(e,"StaticRouterProvider",{enumerable:!0,get:function(){return t.StaticRouterProvider}}),Object.defineProperty(e,"UNSAFE_DEFERRED_SYMBOL",{enumerable:!0,get:function(){return t.UNSAFE_DEFERRED_SYMBOL}}),Object.defineProperty(e,"UNSAFE_DataRouterContext",{enumerable:!0,get:function(){return t.UNSAFE_DataRouterContext}}),Object.defineProperty(e,"UNSAFE_DataRouterStateContext",{enumerable:!0,get:function(){return t.UNSAFE_DataRouterStateContext}}),Object.defineProperty(e,"UNSAFE_ErrorResponseImpl",{enumerable:!0,get:function(){return t.UNSAFE_ErrorResponseImpl}}),Object.defineProperty(e,"UNSAFE_FetchersContext",{enumerable:!0,get:function(){return t.UNSAFE_FetchersContext}}),Object.defineProperty(e,"UNSAFE_LocationContext",{enumerable:!0,get:function(){return t.UNSAFE_LocationContext}}),Object.defineProperty(e,"UNSAFE_NavigationContext",{enumerable:!0,get:function(){return t.UNSAFE_NavigationContext}}),Object.defineProperty(e,"UNSAFE_RemixContext",{enumerable:!0,get:function(){return t.UNSAFE_RemixContext}}),Object.defineProperty(e,"UNSAFE_RouteContext",{enumerable:!0,get:function(){return t.UNSAFE_RouteContext}}),Object.defineProperty(e,"UNSAFE_SingleFetchRedirectSymbol",{enumerable:!0,get:function(){return t.UNSAFE_SingleFetchRedirectSymbol}}),Object.defineProperty(e,"UNSAFE_ViewTransitionContext",{enumerable:!0,get:function(){return t.UNSAFE_ViewTransitionContext}}),Object.defineProperty(e,"UNSAFE_convertRoutesToDataRoutes",{enumerable:!0,get:function(){return t.UNSAFE_convertRoutesToDataRoutes}}),Object.defineProperty(e,"UNSAFE_decodeViaTurboStream",{enumerable:!0,get:function(){return t.UNSAFE_decodeViaTurboStream}}),Object.defineProperty(e,"UNSAFE_mapRouteProperties",{enumerable:!0,get:function(){return t.UNSAFE_mapRouteProperties}}),Object.defineProperty(e,"UNSAFE_useRouteId",{enumerable:!0,get:function(){return t.UNSAFE_useRouteId}}),Object.defineProperty(e,"UNSAFE_useRoutesImpl",{enumerable:!0,get:function(){return t.UNSAFE_useRoutesImpl}}),Object.defineProperty(e,"UNSAFE_useScrollRestoration",{enumerable:!0,get:function(){return t.UNSAFE_useScrollRestoration}}),Object.defineProperty(e,"createBrowserRouter",{enumerable:!0,get:function(){return t.createBrowserRouter}}),Object.defineProperty(e,"createHashRouter",{enumerable:!0,get:function(){return t.createHashRouter}}),Object.defineProperty(e,"createMemoryRouter",{enumerable:!0,get:function(){return t.createMemoryRouter}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return t.createPath}}),Object.defineProperty(e,"createRemixStub",{enumerable:!0,get:function(){return t.createRemixStub}}),Object.defineProperty(e,"createRoutesFromChildren",{enumerable:!0,get:function(){return t.createRoutesFromChildren}}),Object.defineProperty(e,"createRoutesFromElements",{enumerable:!0,get:function(){return t.createRoutesFromChildren}}),Object.defineProperty(e,"createSearchParams",{enumerable:!0,get:function(){return t.createSearchParams}}),Object.defineProperty(e,"createStaticHandler",{enumerable:!0,get:function(){return t.createStaticHandler}}),Object.defineProperty(e,"createStaticRouter",{enumerable:!0,get:function(){return t.createStaticRouter}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return t.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return t.generatePath}}),Object.defineProperty(e,"getStaticContextFromError",{enumerable:!0,get:function(){return t.getStaticContextFromError}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return t.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return t.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return t.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return t.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return t.redirect}}),Object.defineProperty(e,"redirectDocument",{enumerable:!0,get:function(){return t.redirectDocument}}),Object.defineProperty(e,"renderMatches",{enumerable:!0,get:function(){return t.renderMatches}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return t.resolvePath}}),Object.defineProperty(e,"stripBasename",{enumerable:!0,get:function(){return t.stripBasename}}),Object.defineProperty(e,"unstable_HistoryRouter",{enumerable:!0,get:function(){return t.unstable_HistoryRouter}}),Object.defineProperty(e,"unstable_usePrompt",{enumerable:!0,get:function(){return t.unstable_usePrompt}}),Object.defineProperty(e,"unstable_useViewTransitionState",{enumerable:!0,get:function(){return t.unstable_useViewTransitionState}}),Object.defineProperty(e,"useActionData",{enumerable:!0,get:function(){return t.useActionData}}),Object.defineProperty(e,"useAsyncError",{enumerable:!0,get:function(){return t.useAsyncError}}),Object.defineProperty(e,"useAsyncValue",{enumerable:!0,get:function(){return t.useAsyncValue}}),Object.defineProperty(e,"useBeforeUnload",{enumerable:!0,get:function(){return t.useBeforeUnload}}),Object.defineProperty(e,"useBlocker",{enumerable:!0,get:function(){return t.useBlocker}}),Object.defineProperty(e,"useFetcher",{enumerable:!0,get:function(){return t.useFetcher}}),Object.defineProperty(e,"useFetchers",{enumerable:!0,get:function(){return t.useFetchers}}),Object.defineProperty(e,"useFormAction",{enumerable:!0,get:function(){return t.useFormAction}}),Object.defineProperty(e,"useHref",{enumerable:!0,get:function(){return t.useHref}}),Object.defineProperty(e,"useInRouterContext",{enumerable:!0,get:function(){return t.useInRouterContext}}),Object.defineProperty(e,"useLinkClickHandler",{enumerable:!0,get:function(){return t.useLinkClickHandler}}),Object.defineProperty(e,"useLoaderData",{enumerable:!0,get:function(){return t.useLoaderData}}),Object.defineProperty(e,"useLocation",{enumerable:!0,get:function(){return t.useLocation}}),Object.defineProperty(e,"useMatch",{enumerable:!0,get:function(){return t.useMatch}}),Object.defineProperty(e,"useMatches",{enumerable:!0,get:function(){return t.useMatches}}),Object.defineProperty(e,"useNavigate",{enumerable:!0,get:function(){return t.useNavigate}}),Object.defineProperty(e,"useNavigation",{enumerable:!0,get:function(){return t.useNavigation}}),Object.defineProperty(e,"useNavigationType",{enumerable:!0,get:function(){return t.useNavigationType}}),Object.defineProperty(e,"useOutlet",{enumerable:!0,get:function(){return t.useOutlet}}),Object.defineProperty(e,"useOutletContext",{enumerable:!0,get:function(){return t.useOutletContext}}),Object.defineProperty(e,"useParams",{enumerable:!0,get:function(){return t.useParams}}),Object.defineProperty(e,"useResolvedPath",{enumerable:!0,get:function(){return t.useResolvedPath}}),Object.defineProperty(e,"useRevalidator",{enumerable:!0,get:function(){return t.useRevalidator}}),Object.defineProperty(e,"useRouteError",{enumerable:!0,get:function(){return t.useRouteError}}),Object.defineProperty(e,"useRouteLoaderData",{enumerable:!0,get:function(){return t.useRouteLoaderData}}),Object.defineProperty(e,"useRoutes",{enumerable:!0,get:function(){return t.useRoutes}}),Object.defineProperty(e,"useSearchParams",{enumerable:!0,get:function(){return t.useSearchParams}}),Object.defineProperty(e,"useSubmit",{enumerable:!0,get:function(){return t.useSubmit}}),Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react-router")):"function"==typeof define&&define.amd?define(["exports","react-router"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).ReactRouterDOM={},e.ReactRouter)}(this,(function(e,t){"use strict";Object.keys(t).forEach((function(o){"default"===o||e.hasOwnProperty(o)||Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[o]}})})),Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=react-router-dom.production.min.js.map |
{ | ||
"name": "react-router-dom", | ||
"version": "0.0.0-nightly-a9e1d47b6-20240619", | ||
"version": "0.0.0-nightly-ac199f437-20241014", | ||
"description": "Declarative routing for React web applications", | ||
@@ -23,6 +23,14 @@ "keywords": [ | ||
"unpkg": "./dist/umd/react-router-dom.production.min.js", | ||
"module": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/main.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"dependencies": { | ||
"react-router": "0.0.0-nightly-a9e1d47b6-20240619" | ||
"react-router": "0.0.0-nightly-ac199f437-20241014" | ||
}, | ||
@@ -34,4 +42,4 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"react": ">=16.8", | ||
"react-dom": ">=16.8" | ||
"react": ">=18", | ||
"react-dom": ">=18" | ||
}, | ||
@@ -44,4 +52,4 @@ "files": [ | ||
"engines": { | ||
"node": ">=14.0.0" | ||
"node": ">=18.0.0" | ||
} | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
6585
92
1
+ Added@types/cookie@0.6.0(transitive)
+ Added@web3-storage/multipart-parser@1.0.0(transitive)
+ Addedcookie@0.6.0(transitive)
+ Addedreact-router@0.0.0-nightly-ac199f437-20241014(transitive)
+ Addedset-cookie-parser@2.7.1(transitive)
+ Addedsource-map@0.7.4(transitive)
+ Addedturbo-stream@2.4.0(transitive)
- Removedreact-router@0.0.0-nightly-a9e1d47b6-20240619(transitive)
- Removedturbo-stream@2.4.1(transitive)