Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore(deps): bump + fixed: #1352
Liyas Thomas6098d55b5795
diff --git a/package-lock.json b/package-lock.jsonindex 3fd348704..de6d2b6dc 100644--- a/package-lock.json+++ b/package-lock.json@@ -3084,15 +3084,22 @@}},"@nuxtjs/axios": {- "version": "5.12.2",- "resolved": "https://registry.npmjs.org/@nuxtjs/axios/-/axios-5.12.2.tgz",- "integrity": "sha512-MKSuwHRgLTw1tMS1mDf+7XIvQLvF8GlK3rtuJY4lNmZVxYiBYhG3Nd6OrtH07fljNmvL7/JIUzk+1o/tVS6Pkg==",+ "version": "5.12.3",+ "resolved": "https://registry.npmjs.org/@nuxtjs/axios/-/axios-5.12.3.tgz",+ "integrity": "sha512-3hvr14dU0h61s4XF+HT/IgqCOq4608dMVFt9dHhNyZ479Y/Fiv59lAIJNx1NAwFnFNEMFHZ2FlWwc47bls89Fg==","requires": {"@nuxtjs/proxy": "^2.0.1",- "axios": "^0.20.0",- "axios-retry": "^3.1.8",+ "axios": "^0.21.0",+ "axios-retry": "^3.1.9","consola": "^2.15.0",- "defu": "^3.1.0"+ "defu": "^3.2.2"+ },+ "dependencies": {+ "defu": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/defu/-/defu-3.2.2.tgz",+ "integrity": "sha512-8UWj5lNv7HD+kB0e9w77Z7TdQlbUYDVWqITLHNqFIn6khrNHv5WQo38Dcm1f6HeNyZf0U7UbPf6WeZDSdCzGDQ=="+ }}},"@nuxtjs/color-mode": {@@ -3141,9 +3148,9 @@}},"@nuxtjs/pwa": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/@nuxtjs/pwa/-/pwa-3.3.1.tgz",- "integrity": "sha512-XQGRooqZl9kEQLNC+FtsJyG5ZbeeTGrtme4Yr12XpJPvPfrwN2a4BkCS+ucNGbkDV9yxRtGtj04rIXLqsuMAkQ==",+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/@nuxtjs/pwa/-/pwa-3.3.2.tgz",+ "integrity": "sha512-yVOaU0MKKmsw44Vtl1Rq+kfhXJF46AqXni2YFGpOMvemcaPbkc+PZDyZTf3mDJQkUKgaY1aiiHMisOS/6rvnPg==","dev": true,"requires": {"defu": "^3.2.2",@@ -4443,17 +4450,17 @@"dev": true},"axios": {- "version": "0.20.0",- "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz",- "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==",+ "version": "0.21.0",+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.0.tgz",+ "integrity": "sha512-fmkJBknJKoZwem3/IKSSLpkdNXZeBu5Q7GA/aRsr2btgrptmSCxi2oFjZHqGdK9DoTil9PIHlPIZw2EcRJXRvw==","requires": {"follow-redirects": "^1.10.0"}},"axios-retry": {- "version": "3.1.8",- "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.1.8.tgz",- "integrity": "sha512-yPw5Y4Bg6Dgmhm35KaJFtlh23s1TecW0HsUerK4/IS1UKl0gtN2aJqdEKtVomiOS/bDo5w4P3sqgki/M10eF8Q==",+ "version": "3.1.9",+ "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-3.1.9.tgz",+ "integrity": "sha512-NFCoNIHq8lYkJa6ku4m+V1837TP6lCa7n79Iuf8/AqATAHYB0ISaAS1eyIenDOfHOLtym34W65Sjke2xjg2fsA==","requires": {"is-retry-allowed": "^1.1.0"}@@ -6454,7 +6461,8 @@"defu": {"version": "3.1.0","resolved": "https://registry.npmjs.org/defu/-/defu-3.1.0.tgz",- "integrity": "sha512-pc7vS4wbYFtsRL+OaLHKD72VcpOz9eYgzZeoLz9pCs+R8htyPdZnD1CxKP9ttZuT90CLPYFTSaTyc3/7v4gG9A=="+ "integrity": "sha512-pc7vS4wbYFtsRL+OaLHKD72VcpOz9eYgzZeoLz9pCs+R8htyPdZnD1CxKP9ttZuT90CLPYFTSaTyc3/7v4gG9A==",+ "dev": true},"delayed-stream": {"version": "1.0.0",@@ -7274,9 +7282,9 @@"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="},"eventemitter3": {- "version": "4.0.6",- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.6.tgz",- "integrity": "sha512-s3GJL04SQoM+gn2c14oyqxvZ3Pcq7cduSDqy3sBFXx6UPSUmgVYwQM9zwkTn9je0lrfg0gHEwR42pF3Q2dCQkQ=="+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="},"events": {"version": "3.2.0",@@ -8787,14 +8795,14 @@}},"http-proxy-middleware": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-1.0.5.tgz",- "integrity": "sha512-CKzML7u4RdGob8wuKI//H8Ein6wNTEQR7yjVEzPbhBLGdOfkfvgTnp2HLnniKBDP9QW4eG10/724iTWLBeER3g==",+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-1.0.6.tgz",+ "integrity": "sha512-NyL6ZB6cVni7pl+/IT2W0ni5ME00xR0sN27AQZZrpKn1b+qRh+mLbBxIq9Cq1oGfmTc7BUq4HB77mxwCaxAYNg==","requires": {"@types/http-proxy": "^1.17.4","http-proxy": "^1.18.1","is-glob": "^4.0.1",- "lodash": "^4.17.19",+ "lodash": "^4.17.20","micromatch": "^4.0.2"}},diff --git a/package.json b/package.jsonindex 196792741..4679c5439 100644--- a/package.json+++ b/package.json@@ -27,7 +27,7 @@"printWidth": 100},"dependencies": {- "@nuxtjs/axios": "^5.12.2",+ "@nuxtjs/axios": "^5.12.3","@nuxtjs/gtm": "^2.4.0","@nuxtjs/robots": "^2.4.2","@nuxtjs/sitemap": "^2.4.0",@@ -52,7 +52,7 @@"@babel/preset-env": "^7.12.7","@nuxtjs/color-mode": "^2.0.0","@nuxtjs/google-analytics": "^2.4.0",- "@nuxtjs/pwa": "^3.3.1",+ "@nuxtjs/pwa": "^3.3.2","@nuxtjs/svg": "^0.1.12","@nuxtjs/tailwindcss": "^3.2.0","@testing-library/jest-dom": "^5.11.6",diff --git a/pages/graphql.vue b/pages/graphql.vueindex ce4be9bdf..676ebc8b4 100644--- a/pages/graphql.vue+++ b/pages/graphql.vue@@ -297,8 +297,17 @@</div></tab>- <tab v-if="gqlTypes.length > 0" :id="'types'" :label="$t('types')" ref="typesTab">- <div v-for="type in filteredGqlTypes" :key="type.name" :id="`type_${type.name}`">+ <tab+ v-if="graphqlTypes.length > 0"+ :id="'types'"+ :label="$t('types')"+ ref="typesTab"+ >+ <div+ v-for="type in filteredGraphqlTypes"+ :key="type.name"+ :id="`type_${type.name}`"+ ><type:gqlType="type":isHighlighted="isGqlTypeHighlighted({ gqlType: type })"@@ -316,7 +325,7 @@queryFields.length === 0 &&mutationFields.length === 0 &&subscriptionFields.length === 0 &&- gqlTypes.length === 0+ graphqlTypes.length === 0"class="info">@@ -353,7 +362,7 @@ export default {queryFields: [],mutationFields: [],subscriptionFields: [],- gqlTypes: [],+ graphqlTypes: [],copyButton: '<i class="material-icons">content_copy</i>',downloadButton: '<i class="material-icons">save_alt</i>',doneButton: '<i class="material-icons">done</i>',@@ -390,10 +399,10 @@ export default {fields: this.subscriptionFields,})},- filteredGqlTypes() {+ filteredGraphqlTypes() {return this.getFilteredGraphqlTypes({filterText: this.graphqlFieldsFilterText,- types: this.gqlTypes,+ types: this.graphqlTypes,})},url: {@@ -494,8 +503,8 @@ export default {const normalizedText = text.toLowerCase()const isFilterTextFoundInDescription = graphqlFieldObject.description- .toLowerCase()- .includes(normalizedText)+ ? graphqlFieldObject.description.toLowerCase().includes(normalizedText)+ : falseconst isFilterTextFoundInName = graphqlFieldObject.name.toLowerCase().includes(normalizedText)return isFilterTextFoundInDescription || isFilterTextFoundInName@@ -691,7 +700,7 @@ export default {types.push(typeMap[type])}}- this.gqlTypes = types+ this.graphqlTypes = types},async onPollSchemaClick() {if (this.isPollingSchema) {