Skip to content

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

fix: code generate modal erroring out (#4033)

Andrew Bastin4b8f3bd8dac8
diff --git a/package.json b/package.json
index 56f13211e..f4286102b 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
},
"packageExtensions": {
- "peerDependencies": {
+ "dependencies": {
"ajv": "6.12.3"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 37ad45993..f8cb55f7e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -7,7 +7,7 @@ settings:
overrides:
vue: 3.3.9
-packageExtensionsChecksum: bdb9819fb2a1070afb75d3fc2c7fd132
+packageExtensionsChecksum: e7f8d2e2f491662822f685ff3c4b1274
importers:
@@ -474,13 +474,13 @@ importers:
version: 16.8.1
graphql-language-service-interface:
specifier: 2.10.2
graphql-tag:
specifier: 2.12.6
version: 2.12.6([email protected])
httpsnippet:
specifier: 3.0.1
- version: 3.0.1([email protected])
+ version: 3.0.1
insomnia-importers:
specifier: 3.6.0
version: 3.6.0([email protected])
@@ -760,7 +760,7 @@ importers:
vite-plugin-checker:
specifier: 0.6.2
vite-plugin-fonts:
specifier: 0.7.0
@@ -879,7 +879,7 @@ importers:
version: 2.8.4
ts-jest:
specifier: 27.1.5
typescript:
specifier: 4.9.5
version: 4.9.5
@@ -1048,10 +1048,10 @@ importers:
unplugin-icons:
specifier: 0.14.9
unplugin-vue-components:
specifier: 0.21.0
vite:
specifier: 4.5.0
@@ -1060,7 +1060,7 @@ importers:
vite-plugin-inspect:
specifier: 0.7.38
vite-plugin-pages:
specifier: 0.26.0
@@ -1217,7 +1217,7 @@ importers:
version: 0.17.4(@vue/[email protected])([email protected])
unplugin-vue-components:
specifier: 0.25.2
vite:
specifier: 4.5.0
@@ -1229,7 +1229,7 @@ importers:
vite-plugin-inspect:
specifier: 0.7.42
vite-plugin-pages:
specifier: 0.31.0
@@ -1271,7 +1271,7 @@ importers:
'@intlify/unplugin-vue-i18n':
specifier: 1.2.0
'@types/cors':
specifier: 2.8.13
version: 2.8.13
@@ -1334,10 +1334,10 @@ importers:
unplugin-icons:
specifier: 0.14.9
unplugin-vue-components:
specifier: 0.21.0
vue:
specifier: 3.3.9
version: 3.3.9([email protected])
@@ -3511,8 +3511,8 @@ packages:
resolution: {integrity: sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg==}
engines: {node: '>= 14'}
- '@intlify/[email protected]':
- resolution: {integrity: sha512-OGwttsMwB2BUzhZLraoAfAqcza5UyLMEU013ort3LbmdE6ke/pFONFyxjNQdmFWzW2K868AIVgwx4zo8lbmhjg==}
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-WjM1KAl5enpOfprfVAJ3FzwACmizZFPgyV0sn+QXoWH8BG2ahVkf7uVEqQH0mvUr2rKKaScwpzhH3wZ5F7ZdPw==}
engines: {node: '>= 16'}
'@intlify/[email protected]':
@@ -3527,8 +3527,8 @@ packages:
resolution: {integrity: sha512-McnYWhcoYmDJvssVu6QGR0shqlkJuL1HHdi5lK7fNqvQqRYaQ4lSLjYmZxwc8tRNMdIe9/KUKfyPxU9M6yCtNQ==}
engines: {node: '>= 16'}
- '@intlify/[email protected]':
- resolution: {integrity: sha512-pWlpsC3IqkDuIH/5bNlyyiUbAXYymeNXkznORzPWT3qpAe8MazPOm14wMHGn/wESCdB5b9txQson4+CH0ym1hQ==}
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-fi2q48i+C6sSCAt3vOj/9LD3tkr1wcvLt+ifZEHrpPiwHCyKLDYGp5qBNUHUBBA/iqFTeWdtHUbHE9z9OeTXkw==}
engines: {node: '>= 16'}
'@intlify/[email protected]':
@@ -5437,12 +5437,18 @@ packages:
peerDependencies:
ajv: ^6.9.1
+ resolution: {integrity: sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==}
+
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
+ resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==}
+
resolution: {integrity: sha512-XppPf2S42nO2WhvKzlwzlfcApcXHzjlod30pKmcWjRgLOtqoe5DMuqdiYoM6AgyXksc6A6pV4v1L/WW217e57w==}
engines: {node: '>=0.8.0'}
@@ -7824,8 +7830,6 @@ packages:
resolution: {integrity: sha512-RJbzVu9Gq97Ti76MPKAb9AknKbRluRbzOqswM2qgEW48QUShVEIuJjl43dZG5q0Upj2SZlKqzR6B6ah1q5znfg==}
engines: {node: ^14.19.1 || ^16.14.2 || ^18.0.0}
hasBin: true
- peerDependencies:
- ajv: 6.12.3
resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==}
@@ -12132,7 +12136,6 @@ packages:
resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==}
- deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
resolution: {integrity: sha512-juWCSrxo/fiMz3RsvDspeSLGmbgC0U9tKqcUPZBCf35s64wlaLXyn2KdHHXVQrb2cqF7I0Hc9siQalainmnXJA==}
@@ -12468,9 +12471,9 @@ snapshots:
'@antfu/[email protected]': {}
dependencies:
- ajv: 8.12.0
+ ajv: 8.13.0
json-schema: 0.4.0
jsonpointer: 5.0.1
leven: 3.1.0
@@ -12508,8 +12511,8 @@ snapshots:
'@apidevtools/openapi-schemas': 2.1.0
'@apidevtools/swagger-methods': 3.0.2
'@jsdevtools/ono': 7.1.3
- ajv: 8.12.0
- ajv-draft-04: 1.0.0([email protected])
+ ajv: 8.13.0
+ ajv-draft-04: 1.0.0([email protected])
call-me-maybe: 1.0.2
openapi-types: 12.1.3
@@ -15445,8 +15448,8 @@ snapshots:
dependencies:
- '@intlify/message-compiler': 10.0.0-alpha.2
- '@intlify/shared': 10.0.0-alpha.2
+ '@intlify/message-compiler': 10.0.0-alpha.3
+ '@intlify/shared': 10.0.0-alpha.3
jsonc-eslint-parser: 1.4.1
source-map: 0.6.1
yaml-eslint-parser: 0.3.2
@@ -15499,9 +15502,9 @@ snapshots:
dependencies:
'@intlify/shared': 9.2.2
- '@intlify/[email protected]':
+ '@intlify/[email protected]':
dependencies:
- '@intlify/shared': 10.0.0-alpha.2
+ '@intlify/shared': 10.0.0-alpha.3
source-map-js: 1.0.2
'@intlify/[email protected]':
@@ -15519,7 +15522,7 @@ snapshots:
'@intlify/shared': 9.8.0
source-map-js: 1.0.2
- '@intlify/[email protected]': {}
+ '@intlify/[email protected]': {}
'@intlify/[email protected]': {}
@@ -15527,11 +15530,11 @@ snapshots:
'@intlify/[email protected]': {}
dependencies:
'@intlify/bundle-utils': 7.4.0([email protected]([email protected]([email protected])))
'@intlify/shared': 9.8.0
- '@rollup/pluginutils': 5.1.0([email protected])
+ '@rollup/pluginutils': 5.1.0([email protected])
'@vue/compiler-sfc': 3.3.10
debug: 4.3.4([email protected])
fast-glob: 3.3.2
@@ -15550,7 +15553,7 @@ snapshots:
dependencies:
'@intlify/bundle-utils': 7.0.0([email protected]([email protected]([email protected])))
- '@intlify/shared': 10.0.0-alpha.2
+ '@intlify/shared': 10.0.0-alpha.3
'@rollup/pluginutils': 4.2.1
debug: 4.3.4([email protected])
fast-glob: 3.3.2
@@ -15564,7 +15567,7 @@ snapshots:
dependencies:
'@intlify/bundle-utils': 3.4.0([email protected]([email protected]([email protected])))
- '@intlify/shared': 10.0.0-alpha.2
+ '@intlify/shared': 10.0.0-alpha.3
'@rollup/pluginutils': 4.2.1
debug: 4.3.4([email protected])
fast-glob: 3.3.2
@@ -16379,6 +16382,14 @@ snapshots:
estree-walker: 2.0.2
picomatch: 2.3.1
+ dependencies:
+ '@types/estree': 1.0.5
+ estree-walker: 2.0.2
+ picomatch: 2.3.1
+ optionalDependencies:
+ rollup: 2.79.1
+
dependencies:
'@types/estree': 1.0.5
@@ -18141,9 +18152,9 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
optionalDependencies:
- ajv: 8.12.0
+ ajv: 8.13.0
optionalDependencies:
@@ -18153,6 +18164,13 @@ snapshots:
dependencies:
ajv: 6.12.6
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-json-stable-stringify: 2.1.0
+ json-schema-traverse: 0.4.1
+ uri-js: 4.4.1
+
dependencies:
fast-deep-equal: 3.1.3
@@ -18167,6 +18185,13 @@ snapshots:
require-from-string: 2.0.2
uri-js: 4.4.1
+ dependencies:
+ fast-deep-equal: 3.1.3
+ json-schema-traverse: 1.0.0
+ require-from-string: 2.0.2
+ uri-js: 4.4.1
+
dependencies:
esprima: 1.2.5
@@ -19017,10 +19042,10 @@ snapshots:
typescript: 4.9.3
dependencies:
'@types/node': 18.18.8
- cosmiconfig: 8.2.0
+ cosmiconfig: 7.0.1
typescript: 5.3.2
optional: true
@@ -20036,7 +20061,7 @@ snapshots:
dependencies:
'@eslint/eslintrc': 1.3.3
'@humanwhocodes/config-array': 0.9.5
- ajv: 6.12.6
+ ajv: 6.12.3
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4([email protected])
@@ -20078,7 +20103,7 @@ snapshots:
'@humanwhocodes/config-array': 0.11.14
'@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8
- ajv: 6.12.6
+ ajv: 6.12.3
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4([email protected])
@@ -20895,7 +20920,7 @@ snapshots:
- encoding
- utf-8-validate
dependencies:
'@graphql-tools/graphql-file-loader': 7.5.16([email protected])
'@graphql-tools/json-file-loader': 7.4.17([email protected])
@@ -20909,7 +20934,7 @@ snapshots:
string-env-interpolation: 1.0.1
tslib: 2.6.2
optionalDependencies:
transitivePeerDependencies:
- '@types/node'
- bufferutil
@@ -20936,13 +20961,13 @@ snapshots:
- encoding
- utf-8-validate
dependencies:
graphql: 16.8.1
vscode-languageserver-types: 3.17.2
transitivePeerDependencies:
- '@types/node'
@@ -20952,10 +20977,10 @@ snapshots:
- encoding
- utf-8-validate
dependencies:
graphql: 16.8.1
transitivePeerDependencies:
- '@types/node'
- bufferutil
@@ -20964,10 +20989,10 @@ snapshots:
- encoding
- utf-8-validate
dependencies:
graphql: 16.8.1
vscode-languageserver-types: 3.17.2
transitivePeerDependencies:
- '@types/node'
@@ -20977,11 +21002,11 @@ snapshots:
- encoding
- utf-8-validate
dependencies:
'@types/json-schema': 7.0.9
graphql: 16.8.1
nullthrows: 1.1.1
transitivePeerDependencies:
- '@types/node'
@@ -21257,9 +21282,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- ajv: 8.12.0
+ ajv: 6.12.3
chalk: 4.1.2
event-stream: 4.0.1
form-data: 4.0.0
@@ -25279,7 +25304,7 @@ snapshots:
dependencies:
bs-logger: 0.2.6
fast-json-stable-stringify: 2.1.0
@@ -25294,7 +25319,6 @@ snapshots:
optionalDependencies:
'@babel/core': 7.23.9
'@types/jest': 27.5.2
- babel-jest: 29.7.0(@babel/[email protected])
dependencies:
@@ -25716,7 +25740,7 @@ snapshots:
unplugin: 1.5.1
dependencies:
'@antfu/install-pkg': 0.1.1
'@antfu/utils': 0.5.2
@@ -25724,7 +25748,7 @@ snapshots:
debug: 4.3.4([email protected])
kolorist: 1.8.0
local-pkg: 0.4.3
optionalDependencies:
'@vue/compiler-sfc': 3.2.45
vue-template-compiler: 2.7.14
@@ -25735,7 +25759,7 @@ snapshots:
- vite
- webpack
dependencies:
'@antfu/install-pkg': 0.1.1
'@antfu/utils': 0.5.2
@@ -25743,7 +25767,7 @@ snapshots:
debug: 4.3.4([email protected])
kolorist: 1.8.0
local-pkg: 0.4.3
optionalDependencies:
'@vue/compiler-sfc': 3.3.10
vue-template-compiler: 2.7.14
@@ -25769,7 +25793,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@antfu/utils': 0.5.2
'@rollup/pluginutils': 4.2.1
@@ -25780,7 +25804,7 @@ snapshots:
magic-string: 0.26.7
minimatch: 5.1.6
resolve: 1.22.8
vue: 3.3.9([email protected])
optionalDependencies:
'@babel/parser': 7.23.9
@@ -25791,7 +25815,7 @@ snapshots:
- vite
- webpack
dependencies:
'@antfu/utils': 0.5.2
'@rollup/pluginutils': 4.2.1
@@ -25802,7 +25826,7 @@ snapshots:
magic-string: 0.26.7
minimatch: 5.1.6
resolve: 1.22.8
vue: 3.3.9([email protected])
optionalDependencies:
'@babel/parser': 7.23.9
@@ -25813,10 +25837,10 @@ snapshots:
- vite
- webpack
dependencies:
'@antfu/utils': 0.7.6
- '@rollup/pluginutils': 5.1.0([email protected])
+ '@rollup/pluginutils': 5.1.0([email protected])
chokidar: 3.5.3
debug: 4.3.4([email protected])
fast-glob: 3.3.2
@@ -25851,7 +25875,7 @@ snapshots:
- rollup
- supports-color
dependencies:
acorn: 8.11.3
chokidar: 3.5.3
@@ -25859,11 +25883,11 @@ snapshots:
webpack-virtual-modules: 0.4.4
optionalDependencies:
esbuild: 0.20.0
- rollup: 3.29.4
+ rollup: 2.79.1
webpack: 5.90.0(@swc/[email protected])([email protected])
dependencies:
acorn: 8.11.3
chokidar: 3.5.3
@@ -25871,11 +25895,11 @@ snapshots:
webpack-virtual-modules: 0.4.4
optionalDependencies:
esbuild: 0.20.0
- rollup: 3.29.4
+ rollup: 2.79.1
webpack: 5.90.0(@swc/[email protected])([email protected])
dependencies:
acorn: 8.11.3
chokidar: 3.5.3
@@ -25883,11 +25907,11 @@ snapshots:
webpack-virtual-modules: 0.4.4
optionalDependencies:
esbuild: 0.20.0
- rollup: 3.29.4
+ rollup: 2.79.1
webpack: 5.90.0(@swc/[email protected])([email protected])
dependencies:
acorn: 8.11.3
chokidar: 3.5.3
@@ -25895,7 +25919,7 @@ snapshots:
webpack-virtual-modules: 0.4.4
optionalDependencies:
esbuild: 0.20.0
- rollup: 3.29.4
+ rollup: 2.79.1
webpack: 5.90.0(@swc/[email protected])([email protected])
@@ -26029,7 +26053,7 @@ snapshots:
- supports-color
- terser
dependencies:
'@babel/code-frame': 7.23.5
ansi-escapes: 4.3.2
@@ -26051,7 +26075,6 @@ snapshots:
vscode-uri: 3.0.7
optionalDependencies:
eslint: 8.57.0
- meow: 8.1.2
optionator: 0.9.3
typescript: 5.3.2
vue-tsc: 1.8.24([email protected])
@@ -26097,10 +26120,10 @@ snapshots:
dependencies:
dependencies:
'@antfu/utils': 0.7.6
- '@rollup/pluginutils': 5.1.0([email protected])
+ '@rollup/pluginutils': 5.1.0([email protected])
debug: 4.3.4([email protected])
error-stack-parser-es: 0.1.1
fs-extra: 11.1.1
@@ -26112,10 +26135,10 @@ snapshots:
- rollup
- supports-color
dependencies:
'@antfu/utils': 0.7.6
- '@rollup/pluginutils': 5.1.0([email protected])
+ '@rollup/pluginutils': 5.1.0([email protected])
debug: 4.3.4([email protected])
error-stack-parser-es: 0.1.1
fs-extra: 11.1.1
@@ -26894,7 +26917,7 @@ snapshots:
dependencies:
- '@apideck/better-ajv-errors': 0.3.6([email protected])
+ '@apideck/better-ajv-errors': 0.3.6([email protected])
'@babel/core': 7.23.9
'@babel/preset-env': 7.23.9(@babel/[email protected])
'@babel/runtime': 7.23.9
@@ -26902,7 +26925,7 @@ snapshots:
'@rollup/plugin-node-resolve': 11.2.1([email protected])
'@rollup/plugin-replace': 2.4.2([email protected])
'@surma/rollup-plugin-off-main-thread': 2.2.3
- ajv: 8.12.0
+ ajv: 8.13.0
common-tags: 1.8.2
fast-json-stable-stringify: 2.1.0
fs-extra: 9.1.0