Liu Song’s Projects


~/Projects/hoppscotch

git clone https://code.lsong.org/hoppscotch

Commit

Commit
e47ad946660c7f2c70d1994e19bd87662e4b00ae
Author
Andrew Bastin <[email protected]>
Date
2021-09-01 16:34:02 +0530 +0530
Diffstat
 package-lock.json | 19 +++++++++++++++++++
 package.json | 1 +

refactor: add types for esprima


diff --git a/package-lock.json b/package-lock.json
index ee7fdab335934d49696d787940b99c76ae25de8c..a456b63a0fd4123e813c32a6633e542b90ff7645 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -63,6 +63,7 @@         "@nuxtjs/svg": "^0.2.0",
         "@testing-library/jest-dom": "^5.14.1",
         "@types/codemirror": "^5.60.2",
         "@types/cookie": "^0.4.1",
+        "@types/esprima": "^4.0.3",
         "@types/lodash": "^4.14.172",
         "@types/lunr": "^2.3.4",
         "@types/splitpanes": "^2.2.1",
@@ -7950,6 +7951,15 @@     "node_modules/@types/cors": {
       "version": "2.8.10",
       "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.10.tgz",
       "integrity": "sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ=="
+    },
+    "node_modules/@types/esprima": {
+      "version": "4.0.3",
+      "resolved": "https://registry.npmjs.org/@types/esprima/-/esprima-4.0.3.tgz",
+      "integrity": "sha512-jo14dIWVVtF0iMsKkYek6++4cWJjwpvog+rchLulwgFJGTXqIeTdCOvY0B3yMLTaIwMcKCdJ6mQbSR6wYHy98A==",
+      "dev": true,
+      "dependencies": {
+        "@types/estree": "*"
+      }
     },
     "node_modules/@types/estree": {
       "version": "0.0.50",
@@ -41911,6 +41921,15 @@     "@types/cors": {
       "version": "2.8.10",
       "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.10.tgz",
       "integrity": "sha512-C7srjHiVG3Ey1nR6d511dtDkCEjxuN9W1HWAEjGq8kpcwmNM6JJkpC0xvabM7BXTG2wDq8Eu33iH9aQKa7IvLQ=="
+    },
+    "@types/esprima": {
+      "version": "4.0.3",
+      "resolved": "https://registry.npmjs.org/@types/esprima/-/esprima-4.0.3.tgz",
+      "integrity": "sha512-jo14dIWVVtF0iMsKkYek6++4cWJjwpvog+rchLulwgFJGTXqIeTdCOvY0B3yMLTaIwMcKCdJ6mQbSR6wYHy98A==",
+      "dev": true,
+      "requires": {
+        "@types/estree": "*"
+      }
     },
     "@types/estree": {
       "version": "0.0.50",




diff --git a/package.json b/package.json
index f1b22c2d9f992d0b353e6cab26efb47201157525..45a29101462ba8984d4ed3c90769c83eb3c34410 100644
--- a/package.json
+++ b/package.json
@@ -79,6 +79,7 @@     "@nuxtjs/svg": "^0.2.0",
     "@testing-library/jest-dom": "^5.14.1",
     "@types/codemirror": "^5.60.2",
     "@types/cookie": "^0.4.1",
+    "@types/esprima": "^4.0.3",
     "@types/lodash": "^4.14.172",
     "@types/lunr": "^2.3.4",
     "@types/splitpanes": "^2.2.1",