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

@remix-run/react

Package Overview
Dependencies
Maintainers
2
Versions
1029
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/react - npm Package Compare versions

Comparing version 0.0.0-experimental-b697c4f3 to 0.0.0-experimental-c73398fb

esm/_virtual/_rollupPluginBabelHelpers.js

2

_virtual/_rollupPluginBabelHelpers.js
/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

@@ -6,4 +6,3 @@ import type { Action, Location } from "history";

import type { LinkProps, NavLinkProps } from "react-router-dom";
import type { AppData } from "./data";
import type { FormEncType, FormMethod } from "./data";
import type { AppData, FormEncType, FormMethod } from "./data";
import type { EntryContext } from "./entry";

@@ -205,6 +204,2 @@ import type { PrefetchPageDescriptor } from "./links";

}): JSX.Element | null;
export declare function Outlet<ContextData>({ context }: {
context?: ContextData;
}): JSX.Element;
export declare function useOutletContext<ContextData>(): ContextData;
export {};
/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -988,15 +988,2 @@ * Copyright (c) Remix Software Inc.

let OutletContext = /*#__PURE__*/React__default["default"].createContext(null);
function Outlet({
context
}) {
return /*#__PURE__*/React__default["default"].createElement(OutletContext.Provider, {
value: context
}, /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Outlet, null));
}
function useOutletContext() {
let context = React__default["default"].useContext(OutletContext);
return context;
}
exports.Form = Form;

@@ -1009,3 +996,2 @@ exports.FormImpl = FormImpl;

exports.NavLink = NavLink;
exports.Outlet = Outlet;
exports.PrefetchPageLinks = PrefetchPageLinks;

@@ -1023,5 +1009,4 @@ exports.RemixEntry = RemixEntry;

exports.useMatches = useMatches;
exports.useOutletContext = useOutletContext;
exports.useSubmit = useSubmit;
exports.useSubmitImpl = useSubmitImpl;
exports.useTransition = useTransition;
/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

export type { RemixBrowserProps } from "./browser";
export { RemixBrowser } from "./browser";
export { useHref, useLocation, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams } from "react-router-dom";
export { useHref, useLocation, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams, Outlet, useOutletContext } from "react-router-dom";
export type { FormProps, SubmitOptions, SubmitFunction, RemixNavLinkProps as NavLinkProps, RemixLinkProps as LinkProps } from "./components";
export { Meta, Links, Scripts, Link, NavLink, Form, PrefetchPageLinks, LiveReload, useFormAction, useSubmit, useTransition, useFetcher, useFetchers, useLoaderData, useActionData, useBeforeUnload, useMatches, Outlet, useOutletContext } from "./components";
export { Meta, Links, Scripts, Link, NavLink, Form, PrefetchPageLinks, LiveReload, useFormAction, useSubmit, useTransition, useFetcher, useFetchers, useLoaderData, useActionData, useBeforeUnload, useMatches } from "./components";
export type { FormMethod, FormEncType } from "./data";

@@ -7,0 +7,0 @@ export type { ThrownResponse } from "./errors";

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -25,2 +25,6 @@ * Copyright (c) Remix Software Inc.

exports.RemixBrowser = browser.RemixBrowser;
Object.defineProperty(exports, 'Outlet', {
enumerable: true,
get: function () { return reactRouterDom.Outlet; }
});
Object.defineProperty(exports, 'useHref', {

@@ -46,2 +50,6 @@ enumerable: true,

});
Object.defineProperty(exports, 'useOutletContext', {
enumerable: true,
get: function () { return reactRouterDom.useOutletContext; }
});
Object.defineProperty(exports, 'useParams', {

@@ -65,3 +73,2 @@ enumerable: true,

exports.NavLink = components.NavLink;
exports.Outlet = components.Outlet;
exports.PrefetchPageLinks = components.PrefetchPageLinks;

@@ -76,3 +83,2 @@ exports.Scripts = components.Scripts;

exports.useMatches = components.useMatches;
exports.useOutletContext = components.useOutletContext;
exports.useSubmit = components.useSubmit;

@@ -79,0 +85,0 @@ exports.useTransition = components.useTransition;

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "@remix-run/react",
"description": "React DOM bindings for Remix",
"version": "0.0.0-experimental-b697c4f3",
"version": "0.0.0-experimental-c73398fb",
"license": "MIT",

@@ -15,5 +15,5 @@ "repository": {

"main": "index.js",
"browser": "browser/index.js",
"module": "esm/index.js",
"dependencies": {
"react-router-dom": "^6.0.2"
"react-router-dom": "^6.1.1"
},

@@ -20,0 +20,0 @@ "peerDependencies": {

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

@@ -68,3 +68,3 @@ import type { Location } from "history";

* about to reload the route. A common case is a root loader with nothing but
* enviornment variables: after form submissions the root probably doesn't need
* environment variables: after form submissions the root probably doesn't need
* to be reloaded.

@@ -71,0 +71,0 @@ */

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -69,3 +69,3 @@ * Copyright (c) Remix Software Inc.

* about to reload the route. A common case is a root loader with nothing but
* enviornment variables: after form submissions the root probably doesn't need
* environment variables: after form submissions the root probably doesn't need
* to be reloaded.

@@ -72,0 +72,0 @@ */

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -42,3 +42,3 @@ * Copyright (c) Remix Software Inc.

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
let sessionPositions = sessionStorage.getItem(STORAGE_KEY);

@@ -102,3 +102,3 @@

if (typeof window !== "undefined") {
if (typeof document !== "undefined") {
// eslint-disable-next-line

@@ -105,0 +105,0 @@ React__namespace.useLayoutEffect(() => {

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* @remix-run/react v0.0.0-experimental-b697c4f3
* @remix-run/react v0.0.0-experimental-c73398fb
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

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