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
1033
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-4c9b53a0 to 0.0.0-experimental-4de2f9cd

2

_virtual/_rollupPluginBabelHelpers.js
/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

@@ -173,2 +173,3 @@ import type { Action, Location } from "history";

export declare function useMatches(): {
id: string;
pathname: string;

@@ -175,0 +176,0 @@ params: import("react-router").Params<string>;

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

return matches.map(match => {
var _routeModules$match$r;
let {

@@ -877,6 +879,9 @@ pathname,

return {
id: match.route.id,
pathname,
params,
data: routeData[match.route.id],
handle: routeModules[match.route.id].handle
// if the module fails to load or an error/response is thrown, the module
// won't be defined.
handle: (_routeModules$match$r = routeModules[match.route.id]) === null || _routeModules$match$r === void 0 ? void 0 : _routeModules$match$r.handle
};

@@ -883,0 +888,0 @@ });

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

url.searchParams.set("_data", routeId);
url.searchParams.sort(); // Improves caching
let init = submission ? getActionInit(submission, signal) : {

@@ -32,0 +30,0 @@ credentials: "same-origin",

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

return matches.map(match => {
var _routeModules$match$r;
let {

@@ -853,6 +855,9 @@ pathname,

return {
id: match.route.id,
pathname,
params,
data: routeData[match.route.id],
handle: routeModules[match.route.id].handle
// if the module fails to load or an error/response is thrown, the module
// won't be defined.
handle: (_routeModules$match$r = routeModules[match.route.id]) === null || _routeModules$match$r === void 0 ? void 0 : _routeModules$match$r.handle
};

@@ -859,0 +864,0 @@ });

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

url.searchParams.set("_data", routeId);
url.searchParams.sort(); // Improves caching
let init = submission ? getActionInit(submission, signal) : {

@@ -28,0 +26,0 @@ credentials: "same-origin",

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

let searchParams = new URLSearchParams(search);
searchParams.append("_data", match.route.id);
searchParams.set("_data", match.route.id);
return `${pathname}?${searchParams}`;

@@ -170,0 +170,0 @@ }));

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

let searchParams = new URLSearchParams(search);
searchParams.append("_data", match.route.id);
searchParams.set("_data", match.route.id);
return `${pathname}?${searchParams}`;

@@ -174,0 +174,0 @@ }));

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

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

@@ -6,0 +6,0 @@ "repository": {

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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

/**
* @remix-run/react v0.0.0-experimental-4c9b53a0
* @remix-run/react v0.0.0-experimental-4de2f9cd
*

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