Przeglądaj źródła

Merge pull request #31417 from overleaf/em-bibtex-validation

Validate the bibtex entry form using react-hook-form

GitOrigin-RevId: c89d29da41eea124c0c410ff28dab04da4691514
Eric Mc Sween 6 miesięcy temu
rodzic
commit
ab2f44bbe9
2 zmienionych plików z 18 dodań i 0 usunięć
  1. 17 0
      package-lock.json
  2. 1 0
      services/web/package.json

+ 17 - 0
package-lock.json

@@ -43656,6 +43656,22 @@
         "react": ">=16.4.1"
       }
     },
+    "node_modules/react-hook-form": {
+      "version": "7.71.1",
+      "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.71.1.tgz",
+      "integrity": "sha512-9SUJKCGKo8HUSsCO+y0CtqkqI5nNuaDqTxyqPsZPqIwudpj4rCrAz/jZV+jn57bx5gtZKOh3neQu94DXMc+w5w==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=18.0.0"
+      },
+      "funding": {
+        "type": "opencollective",
+        "url": "https://opencollective.com/react-hook-form"
+      },
+      "peerDependencies": {
+        "react": "^16.8.0 || ^17 || ^18 || ^19"
+      }
+    },
     "node_modules/react-i18next": {
       "version": "13.3.1",
       "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-13.3.1.tgz",
@@ -58630,6 +58646,7 @@
         "pug": "^3.0.3",
         "pug-runtime": "^3.0.1",
         "rate-limiter-flexible": "^2.4.1",
+        "react-hook-form": "^7.71.1",
         "recurly": "^4.0.0",
         "referer-parser": "github:overleaf/nodejs-referer-parser#8b8b103762d05b7be4cfa2f810e1d408be67d7bb",
         "request": "2.88.2",

+ 1 - 0
services/web/package.json

@@ -172,6 +172,7 @@
     "pug": "^3.0.3",
     "pug-runtime": "^3.0.1",
     "rate-limiter-flexible": "^2.4.1",
+    "react-hook-form": "^7.71.1",
     "recurly": "^4.0.0",
     "referer-parser": "github:overleaf/nodejs-referer-parser#8b8b103762d05b7be4cfa2f810e1d408be67d7bb",
     "request": "2.88.2",