diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d07aa4d..4c405754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The following is a curated list of changes in the Enact samples module, newest c ## [unreleased] - Added `ui/spotlight-sandbox` sample demonstrating standalone `@enact/spotlight` usage +- Updated major dependencies - Updated minor dependencies ## [2.7.0] - 2023-05-09 diff --git a/agate/all-samples/package.json b/agate/all-samples/package.json index 50957754..1dccc6ce 100644 --- a/agate/all-samples/package.json +++ b/agate/all-samples/package.json @@ -35,11 +35,11 @@ "@reduxjs/toolkit": "^2.12.0", "ilib": "^14.22.0", "prop-types": "^15.8.1", - "query-string": "^9.4.0", + "query-string": "^9.4.1", "react": "^19.2.7", "react-dom": "^19.2.7", "react-redux": "^9.3.0", - "react-router": "^7.18.0", + "react-router": "^8.1.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0" } diff --git a/limestone/all-samples/package.json b/limestone/all-samples/package.json index 90da0b23..ffee9d96 100644 --- a/limestone/all-samples/package.json +++ b/limestone/all-samples/package.json @@ -41,7 +41,7 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "react-redux": "^9.3.0", - "react-router-dom": "^6.28.0", + "react-router": "^8.1.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0" } diff --git a/limestone/all-samples/src/App/App.js b/limestone/all-samples/src/App/App.js index 27597cb5..41595509 100644 --- a/limestone/all-samples/src/App/App.js +++ b/limestone/all-samples/src/App/App.js @@ -2,8 +2,7 @@ import kind from '@enact/core/kind'; import Scroller from '@enact/limestone/Scroller'; import ThemeDecorator from '@enact/limestone/ThemeDecorator'; import PropTypes from 'prop-types'; -import {HashRouter, Route, Routes, useNavigate} from 'react-router-dom'; -import {StaticRouter} from 'react-router-dom/server'; +import {HashRouter, Route, Routes, StaticRouter, useNavigate} from 'react-router'; import SampleItem from '../components/SampleItem'; import ButtonToSamples from '../components/ButtonToSamples'; diff --git a/limestone/all-samples/src/components/ButtonToSamples/ButtonToSamples.js b/limestone/all-samples/src/components/ButtonToSamples/ButtonToSamples.js index 8bda47fb..705537bd 100644 --- a/limestone/all-samples/src/components/ButtonToSamples/ButtonToSamples.js +++ b/limestone/all-samples/src/components/ButtonToSamples/ButtonToSamples.js @@ -1,5 +1,5 @@ import Button from '@enact/limestone/Button'; -import {Link} from 'react-router-dom'; +import {Link} from 'react-router'; import css from './ButtonToSamples.module.less'; diff --git a/package-lock.json b/package-lock.json index f042b2f4..b7fb3a3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "shelljs": "^0.10.0" }, "engines": { - "node": ">= 20.19.0" + "node": ">= 22.22.0" } }, "node_modules/@nodelib/fs.scandir": { diff --git a/package.json b/package.json index 3f9a32a6..ad73692f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "private": true, "repository": "https://github.com/enactjs/samples", "engines": { - "node": ">= 20.19.0" + "node": ">= 22.22.0" }, "dependencies": { "readdirp": "^5.0.0", diff --git a/tutorial-typescript/package.json b/tutorial-typescript/package.json index accf3989..b5fa938f 100644 --- a/tutorial-typescript/package.json +++ b/tutorial-typescript/package.json @@ -27,13 +27,13 @@ "@enact/limestone": "^1.10.1", "@enact/spotlight": "^5.5.1", "@enact/ui": "^5.5.1", - "@types/node": "^24.13.2", + "@types/node": "^26.1.0", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "ilib": "^14.22.0", "prop-types": "^15.8.1", "react": "^19.2.7", "react-dom": "^19.2.7", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/ui/all-samples/package.json b/ui/all-samples/package.json index 2f09bd6a..a6ce23c7 100644 --- a/ui/all-samples/package.json +++ b/ui/all-samples/package.json @@ -37,7 +37,7 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "react-redux": "^9.3.0", - "react-router": "^7.18.0", + "react-router": "^8.1.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0" }