From 316b85a073c28026914a8bea589e9773ad478569 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Tue, 24 Jan 2023 18:19:52 -0500 Subject: [PATCH] Bump react router versions (#5242) --- .changeset/silent-cups-double.md | 7 +++++ integration/form-test.ts | 6 ----- packages/remix-react/package.json | 4 +-- packages/remix-server-runtime/package.json | 2 +- packages/remix-testing/package.json | 4 +-- yarn.lock | 30 +++++++++++----------- 6 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 .changeset/silent-cups-double.md diff --git a/.changeset/silent-cups-double.md b/.changeset/silent-cups-double.md new file mode 100644 index 00000000000..4515274eb32 --- /dev/null +++ b/.changeset/silent-cups-double.md @@ -0,0 +1,7 @@ +--- +"@remix-run/react": patch +"@remix-run/server-runtime": patch +"@remix-run/testing": patch +--- + +Bump react router versions diff --git a/integration/form-test.ts b/integration/form-test.ts index 2d90ad4ae9d..4f5d975efd6 100644 --- a/integration/form-test.ts +++ b/integration/form-test.ts @@ -1037,13 +1037,7 @@ test.describe("Forms", () => { test("sends file names when submitting via url encoding", async ({ page, - javaScriptEnabled, }) => { - test.fail( - Boolean(javaScriptEnabled), - "
doesn't handle File entries correctly when url encoding #4342" - ); - let app = new PlaywrightFixture(appFixture, page); let myFile = fixture.projectDir + "/myfile.txt"; diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index 285e8151744..9bfc3ca9014 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -16,8 +16,8 @@ "typings": "dist/index.d.ts", "module": "dist/esm/index.js", "dependencies": { - "@remix-run/router": "1.3.0", - "react-router-dom": "6.7.0", + "@remix-run/router": "1.3.1-pre.0", + "react-router-dom": "6.8.0-pre.1", "use-sync-external-store": "1.2.0" }, "devDependencies": { diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index f943add14e9..459bc4df885 100644 --- a/packages/remix-server-runtime/package.json +++ b/packages/remix-server-runtime/package.json @@ -16,7 +16,7 @@ "typings": "dist/index.d.ts", "module": "dist/esm/index.js", "dependencies": { - "@remix-run/router": "1.3.0", + "@remix-run/router": "1.3.1-pre.0", "@types/cookie": "^0.4.0", "@types/react": "^18.0.15", "@web3-storage/multipart-parser": "^1.0.0", diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index da4509511b1..b5ca49ea088 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -18,10 +18,10 @@ "dependencies": { "@remix-run/node": "1.11.1", "@remix-run/react": "1.11.1", - "@remix-run/router": "1.3.0", + "@remix-run/router": "1.3.1-pre.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "6.7.0" + "react-router-dom": "6.8.0-pre.1" }, "devDependencies": { "@types/node": "^18.11.9", diff --git a/yarn.lock b/yarn.lock index 8581fda1f1e..7d4f26c5435 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2213,10 +2213,10 @@ "@changesets/types" "^5.0.0" dotenv "^8.1.0" -"@remix-run/router@1.3.0": - version "1.3.0" - resolved "https://registry.npmjs.org/@remix-run/router/-/router-1.3.0.tgz#b6ee542c7f087b73b3d8215b9bf799f648be71cb" - integrity sha512-nwQoYb3m4DDpHTeOwpJEuDt8lWVcujhYYSFGLluC+9es2PyLjm+jjq3IeRBQbwBtPLJE/lkuHuGHr8uQLgmJRA== +"@remix-run/router@1.3.1-pre.0": + version "1.3.1-pre.0" + resolved "https://registry.npmjs.org/@remix-run/router/-/router-1.3.1-pre.0.tgz#3837410c9af2f40e0aee5150ad9db27c5a2812b9" + integrity sha512-vJs8gtvb4GYBIV6zSldTrDU85UrlKVQSSoKBX0vYlidBSxcVxE5qrXRUA63DKoRO3VNv0x3eJL0qzpvaK+08Uw== "@remix-run/web-blob@^3.0.3", "@remix-run/web-blob@^3.0.4": version "3.0.4" @@ -10398,20 +10398,20 @@ react-is@^17.0.1: resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -react-router-dom@6.7.0: - version "6.7.0" - resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.7.0.tgz#0249f4ca4eb704562b8b0ff29caeb928c3a6ed38" - integrity sha512-jQtXUJyhso3kFw430+0SPCbmCmY1/kJv8iRffGHwHy3CkoomGxeYzMkmeSPYo6Egzh3FKJZRAL22yg5p2tXtfg== +react-router-dom@6.8.0-pre.1: + version "6.8.0-pre.1" + resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.8.0-pre.1.tgz#94011ddc55cbe380ca205c642a29ce5efee69808" + integrity sha512-rWwc8sZ0sai1tTU6hyivaXsuTu530yLGRFQEOSTMd861J1wJlSwuhFVrZgL2o37t78bvaJuGXO71xIuXD3717Q== dependencies: - "@remix-run/router" "1.3.0" - react-router "6.7.0" + "@remix-run/router" "1.3.1-pre.0" + react-router "6.8.0-pre.1" -react-router@6.7.0: - version "6.7.0" - resolved "https://registry.npmjs.org/react-router/-/react-router-6.7.0.tgz#db262684c13b5c2970694084ae9e8531718a0681" - integrity sha512-KNWlG622ddq29MAM159uUsNMdbX8USruoKnwMMQcs/QWZgFUayICSn2oB7reHce1zPj6CG18kfkZIunSSRyGHg== +react-router@6.8.0-pre.1: + version "6.8.0-pre.1" + resolved "https://registry.npmjs.org/react-router/-/react-router-6.8.0-pre.1.tgz#5382f4478662c5d957230ef55aa6d881d30aa2d4" + integrity sha512-CJo6EWpNPpm7aNl+IF623zdPV6frYjLjZ75yQXQs53QJbXVgX66FL4Bduq1hsCxKtXj0EW6U/LAEmrmRu6Vsyw== dependencies: - "@remix-run/router" "1.3.0" + "@remix-run/router" "1.3.1-pre.0" react@^18.2.0: version "18.2.0"