Socket
Socket
Sign inDemoInstall

@remix-run/router

Package Overview
Dependencies
Maintainers
2
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/router - npm Package Compare versions

Comparing version 1.0.4-pre.1 to 1.0.4

14

CHANGELOG.md
# `@remix-run/router`
## 1.0.4-pre.1
## 1.0.4
### Patch Changes
- Respect `replace` behavior on external redirects ([#9654](https://github.com/remix-run/react-router/pull/9654))
## 1.0.4-pre.0
### Patch Changes
- Properly handle redirects to external domains ([#9590](https://github.com/remix-run/react-router/pull/9590))
- Throw an error if an `action`/`loader` function returns `undefined` as revalidations need to know whether the loader has previously been executed. `undefined` also causes issues during SSR stringification for hydration. You should always ensure you `loader`/`action` returns a value, and you may return `null` if you don't wish to return anything. ([#9511](https://github.com/remix-run/react-router/pull/9511))
- Properly handle redirects to external domains ([#9590](https://github.com/remix-run/react-router/pull/9590), [#9654](https://github.com/remix-run/react-router/pull/9654))
- Preserve the HTTP method on 307/308 redirects ([#9597](https://github.com/remix-run/react-router/pull/9597))
- Support `basename` in static data routers ([#9591](https://github.com/remix-run/react-router/pull/9591))
- Throw an error if an `action`/`loader` function returns `undefined` as revalidations need to know whether the loader has previously been executed. `undefined` also causes issues during SSR stringification for hydration. You should always ensure your `loader`/`action` return a value, and you may return `null` if you don't wish to return anything. ([#9511](https://github.com/remix-run/react-router/pull/9511))
- Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios ([#9511](https://github.com/remix-run/react-router/pull/9511))
- Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios

@@ -19,0 +13,0 @@ ## 1.0.3

/**
* @remix-run/router v1.0.4-pre.1
* @remix-run/router v1.0.4
*

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

{
"name": "@remix-run/router",
"version": "1.0.4-pre.1",
"version": "1.0.4",
"description": "Nested/Data-driven/Framework-agnostic Routing",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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