Skip to content

Commit

Permalink
Remove leftover unstable_ prefixes from blocker types (#8530)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored Jan 16, 2024
1 parent 281d31a commit fa3d6fb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-clouds-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/react": patch
---

Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types
4 changes: 2 additions & 2 deletions packages/remix-react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export type {
ShouldRevalidateFunctionArgs,
SubmitFunction,
SubmitOptions,
unstable_Blocker,
unstable_BlockerFunction,
Blocker,
BlockerFunction,
} from "react-router-dom";
export {
createPath,
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"dependencies": {
"@remix-run/router": "1.14.2",
"@remix-run/server-runtime": "2.5.0",
"react-router": "6.21.2",
"react-router-dom": "6.21.2"
"react-router": "6.21.3-pre.0",
"react-router-dom": "6.21.3-pre.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@remix-run/node": "2.5.0",
"@remix-run/react": "2.5.0",
"@remix-run/router": "1.14.2",
"react-router-dom": "6.21.2"
"react-router-dom": "6.21.3-pre.0"
},
"devDependencies": {
"@types/node": "^18.17.1",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11002,18 +11002,18 @@ react-refresh@^0.14.0:
resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz"
integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==

react-router-dom@6.21.2:
version "6.21.2"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.21.2.tgz#5fba851731a194fa32c31990c4829c5e247f650a"
integrity sha512-tE13UukgUOh2/sqYr6jPzZTzmzc70aGRP4pAjG2if0IP3aUT+sBtAKUJh0qMh0zylJHGLmzS+XWVaON4UklHeg==
react-router-dom@6.21.3-pre.0:
version "6.21.3-pre.0"
resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.21.3-pre.0.tgz#fa6589e7b18c702efbf435165b2ebcfd2cb58fa2"
integrity sha512-XaljWDT/AWQiiaMAgrBClAmCB0kPO1BHz29yFFFjKeyGhLltTu5qs8Jlgv94myIpT2Q066vdbHvHwwzX6KEiuA==
dependencies:
"@remix-run/router" "1.14.2"
react-router "6.21.2"
react-router "6.21.3-pre.0"

react-router@6.21.2:
version "6.21.2"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.21.2.tgz#8820906c609ae7e4e8f926cc8eb5ce161428b956"
integrity sha512-jJcgiwDsnaHIeC+IN7atO0XiSRCrOsQAHHbChtJxmgqG2IaYQXSnhqGb5vk2CU/wBQA12Zt+TkbuJjIn65gzbA==
react-router@6.21.3-pre.0:
version "6.21.3-pre.0"
resolved "https://registry.npmjs.org/react-router/-/react-router-6.21.3-pre.0.tgz#cf3f6dd39467ad03c25dd90afea0bb6fcf888c38"
integrity sha512-aTpwQRZ/GolL0pA4fd+ESVK2AwtFut/UdsjPgdcqwEdR/IwR9Pa9Tdiox2dhwE3Z/9rWoqIdvnpglUxFnGFkcA==
dependencies:
"@remix-run/router" "1.14.2"

Expand Down

0 comments on commit fa3d6fb

Please sign in to comment.