Skip to content

Update to isbot@5 #11770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/stupid-days-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@react-router/dev": major
---

Update default `isbot` version to v5 and drop support for `isbot@3`

- If you have `isbot@4` or `isbot@5` in your `package.json`:
- You do not need to make any changes
- If you have `isbot@3` in your `package.json` and you have your own `entry.server.tsx` file in your repo
- You do not need to make any changes
- You can upgrade to `isbot@5` independent of the React Router v7 upgrade
- If you have `isbot@3` in your `package.json` and you do not have your own `entry.server.tsx` file in your repo
- You are using the internal default entry provided by React Router v7 and you will need to upgrade to `isbot@5` in your `package.json`
2 changes: 1 addition & 1 deletion integration/helpers/node-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@react-router/node": "workspace:*",
"@react-router/serve": "workspace:*",
"express": "^4.19.2",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion integration/helpers/vite-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@vanilla-extract/css": "^1.10.0",
"@vanilla-extract/vite-plugin": "^3.9.2",
"express": "^4.19.2",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"fs-extra": "^10.0.0",
"get-port": "^5.1.1",
"glob": "8.0.3",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"npm-run-all": "^4.1.5",
"pidtree": "^0.6.0",
"postcss": "^8.4.19",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"eslint-plugin-react-hooks": "next",
"fs-extra": "^10.1.0",
"history": "^5.3.0",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.2",
"jsonfile": "^6.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react-router": "*",
"@react-router/node": "*",
"@react-router/serve": "*",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,13 @@ export async function resolveEntryFiles({

if (!deps["isbot"]) {
console.log(
"adding `isbot` to your package.json, you should commit this change"
"adding `isbot@5` to your package.json, you should commit this change"
);

pkgJson.update({
dependencies: {
...pkgJson.content.dependencies,
isbot: "^4",
isbot: "^5",
},
});

Expand Down
2 changes: 1 addition & 1 deletion playground/compiler-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@react-router/node": "workspace:*",
"compression": "^1.7.4",
"express": "^4.19.2",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"morgan": "^1.10.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion playground/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@react-router/node": "workspace:*",
"@react-router/serve": "workspace:*",
"isbot": "^4.1.0",
"isbot": "^5.1.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "workspace:*"
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.