Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: add types for esprima

Andrew Bastine47ad946660c
diff --git a/package-lock.json b/package-lock.json
index ee7fdab33..a456b63a0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -63,6 +63,7 @@
"@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",
@@ -7951,6 +7952,15 @@
"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",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz",
@@ -41912,6 +41922,15 @@
"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",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz",
diff --git a/package.json b/package.json
index f1b22c2d9..45a291014 100644
--- a/package.json
+++ b/package.json
@@ -79,6 +79,7 @@
"@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",