@sequencemedia/react-router-redux-render 2.3.174 → 2.4.0

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/README.md CHANGED
@@ -5,7 +5,7 @@ Render isomorphic _React_ apps and components in Node.
5
5
  - Using _React Router_
6
6
  - With Redux
7
7
 
8
- _Compatible with React Router 5._
8
+ _For React Router 7._
9
9
 
10
10
  An example implementation can be found in [react-router-pagination-io](http://github.com/sequencemedia/react-router-pagination-io.git).
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/react-router-redux-render",
3
- "version": "2.3.174",
3
+ "version": "2.4.0",
4
4
  "description": "Sync/async isomorphic render of React apps with React Router + Redux",
5
5
  "keywords": [
6
6
  "React",
@@ -43,7 +43,7 @@
43
43
  "@babel/preset-env": "^7.26.0",
44
44
  "@babel/preset-react": "^7.25.9",
45
45
  "@babel/register": "^7.25.9",
46
- "@sequencemedia/sinon-chai": "^0.0.86",
46
+ "@sequencemedia/sinon-chai": "^0.0.87",
47
47
  "chai": "^5.1.2",
48
48
  "core-js": "^3.39.0",
49
49
  "eslint": "8.57.1",
@@ -51,12 +51,11 @@
51
51
  "eslint-plugin-react": "^7.37.2",
52
52
  "husky": "^9.1.7",
53
53
  "mocha": "^10.8.2",
54
- "prop-types": "15.8.1",
55
- "react": "18.3.1",
56
- "react-dom": "18.3.1",
54
+ "prop-types": "^15.8.1",
55
+ "react": "^18.3.1",
56
+ "react-dom": "^18.3.1",
57
57
  "react-redux": "^9.1.2",
58
- "react-router": "6.28.0",
59
- "react-router-dom": "6.28.0",
58
+ "react-router": "^7.0.1",
60
59
  "redux": "^5.0.1",
61
60
  "sinon": "^19.0.2"
62
61
  },
@@ -5,8 +5,12 @@
5
5
  import debug from 'debug'
6
6
  import React from 'react'
7
7
  import ReactDOMServer from 'react-dom/server'
8
- import { Provider } from 'react-redux'
9
- import { StaticRouter as Router } from 'react-router-dom/server'
8
+ import {
9
+ Provider
10
+ } from 'react-redux'
11
+ import {
12
+ StaticRouter as Router
13
+ } from 'react-router'
10
14
  import Boom from '@hapi/boom'
11
15
 
12
16
  const log = debug('@sequencemedia/react-redux-render')