Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: downgrade react-hook-form (#4357)

Myles Scolnickeeccc2fd5a2b
diff --git a/.github/workflows/test_fe.yaml b/.github/workflows/test_fe.yaml
index 4f350ebe7d..7f265182f3 100644
--- a/.github/workflows/test_fe.yaml
+++ b/.github/workflows/test_fe.yaml
@@ -73,6 +73,13 @@ jobs:
- name: 🧪 Test
run: pnpm test
+ - name: 🔍 Check pinned deps
+ run: |
+ if ! grep -q '"react-hook-form": "7.54.2"' package.json; then
+ echo "Error: react-hook-form version in package.json must be exactly 7.54.2. As it breaks mo.ui.dataframe"
+ exit 1
+ fi
+
- name: 📦 Build
run: pnpm turbo build
env:
diff --git a/frontend/package.json b/frontend/package.json
index f5af35f7c6..fbe97f625b 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -126,7 +126,7 @@
"react-dropzone": "^14.3.8",
"react-error-boundary": "^5.0.0",
"react-grid-layout": "^1.5.1",
- "react-hook-form": "^7.55.0",
+ "react-hook-form": "7.54.2",
"react-markdown": "^9.1.0",
"react-plotly.js": "^2.6.0",
"react-resizable-panels": "2.1.7",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index f2dcb81229..907c71584c 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -83,7 +83,7 @@ importers:
version: 11.14.0(@types/[email protected])([email protected])
'@hookform/resolvers':
specifier: ^3.10.0
'@internationalized/date':
specifier: ^3.7.0
version: 3.7.0
@@ -355,8 +355,8 @@ importers:
specifier: ^1.5.1
react-hook-form:
- specifier: ^7.55.0
- version: 7.55.0([email protected])
+ specifier: 7.54.2
+ version: 7.54.2([email protected])
react-markdown:
specifier: ^9.1.0
version: 9.1.0(@types/[email protected])([email protected])
@@ -7513,8 +7513,8 @@ packages:
react: '>= 16.3.0'
react-dom: '>= 16.3.0'
- resolution: {integrity: sha512-XRnjsH3GVMQz1moZTW53MxfoWN7aDpUg/GpVNc4A3eXRVNdGXfbzJ4vM4aLQ8g6XCUh1nIbx70aaNCl7kxnjog==}
+ resolution: {integrity: sha512-eHpAUgUjWbZocoQYUHposymRb4ZP6d0uwUnooL2uOybA9/3tPUvoAKqEWK1WaSiTxxOfTpffNZP7QwlnM3/gEg==}
engines: {node: '>=18.0.0'}
peerDependencies:
react: ^16.8.0 || ^17 || ^18 || ^19
@@ -10122,9 +10122,9 @@ snapshots:
dependencies:
tslib: 2.8.1
dependencies:
- react-hook-form: 7.55.0([email protected])
+ react-hook-form: 7.54.2([email protected])
'@humanwhocodes/[email protected]':
dependencies:
@@ -17696,7 +17696,7 @@ snapshots:
resize-observer-polyfill: 1.5.1
dependencies:
react: 18.3.1