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: issues with codegen (#3293)

Akash Kfd162e242c85
diff --git a/package.json b/package.json
index 15773a46f..870b50cee 100644
--- a/package.json
+++ b/package.json
@@ -32,5 +32,14 @@
"@types/node": "^17.0.24",
"cross-env": "^7.0.3",
"http-server": "^14.1.1"
+ },
+ "pnpm": {
+ "packageExtensions": {
+ "httpsnippet@^3.0.1": {
+ "peerDependencies": {
+ "ajv": "6.12.3"
+ }
+ }
+ }
}
}
diff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.json
index 59f029b84..1e1046b32 100644
--- a/packages/hoppscotch-common/package.json
+++ b/packages/hoppscotch-common/package.json
@@ -63,7 +63,7 @@
"graphql": "^16.8.0",
"graphql-language-service-interface": "^2.9.1",
"graphql-tag": "^2.12.6",
- "httpsnippet": "^2.0.0",
+ "httpsnippet": "^3.0.1",
"insomnia-importers": "^3.6.0",
"io-ts": "^2.2.20",
"js-yaml": "^4.1.0",
@@ -117,6 +117,7 @@
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
"@relmify/jest-fp-ts": "^2.1.1",
"@rushstack/eslint-patch": "^1.3.3",
+ "@types/har-format": "^1.2.12",
"@types/js-yaml": "^4.0.5",
"@types/lodash-es": "^4.17.8",
"@types/lossless-json": "^1.0.1",
diff --git a/packages/hoppscotch-common/src/helpers/new-codegen/har.ts b/packages/hoppscotch-common/src/helpers/new-codegen/har.ts
index d4795ecbf..b66609768 100644
--- a/packages/hoppscotch-common/src/helpers/new-codegen/har.ts
+++ b/packages/hoppscotch-common/src/helpers/new-codegen/har.ts
@@ -98,7 +98,11 @@ const buildHarPostData = (req: HoppRESTRequest): Har.PostData | undefined => {
}
}
-export const buildHarRequest = (req: HoppRESTRequest): Har.Request => {
+export const buildHarRequest = (
+ req: HoppRESTRequest
+): Har.Request & {
+ postData: Har.PostData & Exclude<Har.PostData, undefined>
+} => {
return {
bodySize: -1, // TODO: It would be cool if we can calculate the body size
headersSize: -1, // TODO: It would be cool if we can calculate the header size
@@ -108,6 +112,9 @@ export const buildHarRequest = (req: HoppRESTRequest): Har.Request => {
method: req.method,
queryString: buildHarQueryStrings(req),
url: req.endpoint,
- postData: buildHarPostData(req),
+ postData: buildHarPostData(req) ?? {
+ mimeType: "x-unknown",
+ params: [],
+ },
}
}
diff --git a/packages/hoppscotch-common/src/helpers/new-codegen/index.ts b/packages/hoppscotch-common/src/helpers/new-codegen/index.ts
index e77556031..ebe1504ac 100644
--- a/packages/hoppscotch-common/src/helpers/new-codegen/index.ts
+++ b/packages/hoppscotch-common/src/helpers/new-codegen/index.ts
@@ -1,4 +1,4 @@
-import * as HTTPSnippet from "httpsnippet"
+import { HTTPSnippet } from "httpsnippet"
import { HoppRESTRequest } from "@hoppscotch/data"
import * as O from "fp-ts/Option"
import * as E from "fp-ts/Either"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 60926dd6c..dbb14ad09 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,5 +1,11 @@
lockfileVersion: '6.0'
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+packageExtensionsChecksum: 18e898b62612ac7acc736e0323d495da
+
importers:
.:
@@ -196,7 +202,7 @@ importers:
version: 9.1.5
'@nestjs/schematics':
specifier: ^9.0.3
+ version: 9.0.3([email protected])
'@nestjs/testing':
specifier: ^9.2.1
version: 9.2.1(@nestjs/[email protected])(@nestjs/[email protected])(@nestjs/[email protected])
@@ -498,8 +504,8 @@ importers:
specifier: ^2.12.6
version: 2.12.6([email protected])
httpsnippet:
- specifier: ^2.0.0
- version: 2.0.0([email protected])
+ specifier: ^3.0.1
+ version: 3.0.1([email protected])
insomnia-importers:
specifier: ^3.6.0
version: 3.6.0([email protected])
@@ -654,6 +660,9 @@ importers:
'@rushstack/eslint-patch':
specifier: ^1.3.3
version: 1.3.3
+ '@types/har-format':
+ specifier: ^1.2.12
+ version: 1.2.12
'@types/js-yaml':
specifier: ^4.0.5
version: 4.0.5
@@ -938,7 +947,7 @@ importers:
version: 3.2.0([email protected])
'@intlify/vite-plugin-vue-i18n':
specifier: ^7.0.0
+ version: 7.0.0([email protected])
'@rushstack/eslint-patch':
specifier: ^1.3.3
version: 1.3.3
@@ -998,7 +1007,7 @@ importers:
vite-plugin-pages:
specifier: ^0.31.0
- version: 0.31.0(@vue/[email protected])([email protected])
+ version: 0.31.0([email protected])
vite-plugin-pages-sitemap:
specifier: ^1.6.1
version: 1.6.1
@@ -1097,7 +1106,7 @@ importers:
version: 0.14.9(@vue/[email protected])([email protected])
unplugin-vue-components:
specifier: ^0.21.0
vue:
specifier: ^3.2.6
version: 3.2.45
@@ -1173,7 +1182,7 @@ importers:
version: 1.0.3([email protected])
vite:
specifier: ^3.1.4
+ version: 3.2.4(@types/[email protected])([email protected])
vite-plugin-pages:
specifier: ^0.26.0
version: 0.26.0(@vue/[email protected])([email protected])
@@ -1276,7 +1285,7 @@ importers:
version: 8.29.0
eslint-plugin-prettier:
specifier: ^4.2.1
eslint-plugin-vue:
specifier: ^9.5.1
version: 9.5.1([email protected])
@@ -1330,7 +1339,7 @@ importers:
vite-plugin-vue-layouts:
specifier: ^0.7.0
vite-plugin-windicss:
specifier: ^1.8.8
version: 1.8.8([email protected])
@@ -3359,6 +3368,7 @@ packages:
cpu: [arm64]
os: [android]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3392,6 +3402,7 @@ packages:
cpu: [arm]
os: [android]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3417,6 +3428,7 @@ packages:
cpu: [x64]
os: [android]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3442,6 +3454,7 @@ packages:
cpu: [arm64]
os: [darwin]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3467,6 +3480,7 @@ packages:
cpu: [x64]
os: [darwin]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3492,6 +3506,7 @@ packages:
cpu: [arm64]
os: [freebsd]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3517,6 +3532,7 @@ packages:
cpu: [x64]
os: [freebsd]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3542,6 +3558,7 @@ packages:
cpu: [arm64]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3567,6 +3584,7 @@ packages:
cpu: [arm]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3592,6 +3610,7 @@ packages:
cpu: [ia32]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3625,6 +3644,7 @@ packages:
cpu: [loong64]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3650,6 +3670,7 @@ packages:
cpu: [mips64el]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3675,6 +3696,7 @@ packages:
cpu: [ppc64]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3700,6 +3722,7 @@ packages:
cpu: [riscv64]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3725,6 +3748,7 @@ packages:
cpu: [s390x]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3750,6 +3774,7 @@ packages:
cpu: [x64]
os: [linux]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3775,6 +3800,7 @@ packages:
cpu: [x64]
os: [netbsd]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3800,6 +3826,7 @@ packages:
cpu: [x64]
os: [openbsd]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3825,6 +3852,7 @@ packages:
cpu: [x64]
os: [sunos]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3850,6 +3878,7 @@ packages:
cpu: [arm64]
os: [win32]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3875,6 +3904,7 @@ packages:
cpu: [ia32]
os: [win32]
requiresBuild: true
+ dev: true
optional: true
/@esbuild/[email protected]:
@@ -3900,6 +3930,7 @@ packages:
cpu: [x64]
os: [win32]
requiresBuild: true
+ dev: true
optional: true
@@ -6163,12 +6194,39 @@ packages:
debug: 4.3.4([email protected])
fast-glob: 3.3.1
source-map: 0.6.1
+ vite: 3.2.4(@types/[email protected])([email protected])
vue-i18n: 9.2.2([email protected])
transitivePeerDependencies:
- supports-color
dev: true
+ resolution: {integrity: sha512-2TbDOQ8XD+vkc0s5OFmr+IY/k4mYMC7pzvx0xGQn+cU/ev314+yi7Z7N7rWcBgiYk1WOUalbGSo3d4nJDxOOyw==}
+ engines: {node: '>= 14.6'}
+ deprecated: This plugin support until Vite 3. If you would like to use on Vite 4, please use @intlify/unplugin-vue-i18n
+ peerDependencies:
+ petite-vue-i18n: '*'
+ vite: ^2.9.0 || ^3.0.0
+ vue-i18n: '*'
+ peerDependenciesMeta:
+ petite-vue-i18n:
+ optional: true
+ vite:
+ optional: true
+ vue-i18n:
+ optional: true
+ dependencies:
+ '@intlify/bundle-utils': 3.4.0([email protected])
+ '@intlify/shared': 9.3.0-beta.26
+ '@rollup/pluginutils': 4.2.1
+ debug: 4.3.4([email protected])
+ fast-glob: 3.3.1
+ source-map: 0.6.1
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-2TbDOQ8XD+vkc0s5OFmr+IY/k4mYMC7pzvx0xGQn+cU/ev314+yi7Z7N7rWcBgiYk1WOUalbGSo3d4nJDxOOyw==}
engines: {node: '>= 14.6'}
@@ -7171,6 +7229,21 @@ packages:
- chokidar
dev: true
+ resolution: {integrity: sha512-kZrU/lrpVd2cnK8I3ibDb3Wi1ppl3wX3U3lVWoL+DzRRoezWKkh8upEL4q0koKmuXnsmLiu3UPxFeMOrJV7TSA==}
+ peerDependencies:
+ typescript: ^4.3.5
+ dependencies:
+ '@angular-devkit/core': 14.2.1([email protected])
+ '@angular-devkit/schematics': 14.2.1([email protected])
+ fs-extra: 10.1.0
+ jsonc-parser: 3.2.0
+ pluralize: 8.0.0
+ typescript: 4.9.3
+ transitivePeerDependencies:
+ - chokidar
+ dev: true
+
resolution: {integrity: sha512-lemXZdRSuqoZ87l0orCrS/c7gqwxeduIFOd21g9g2RUeQ4qlWPegbQDKASzbfC28klPyrgJLW4MNq7uv2JwV8w==}
peerDependencies:
@@ -8059,6 +8132,10 @@ packages:
'@types/node': 18.17.6
dev: true
+ resolution: {integrity: sha512-P20p/YBrqUBmzD6KhIQ8EiY4/RRzlekL4eCvfQnulFPfjmiGxKIoyCeI7qam5I7oKH3P8EU4ptEi0EfyGoLysw==}
+ dev: true
+
resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==}
dev: true
@@ -9199,7 +9276,7 @@ packages:
vite: ^3.0.0
vue: ^3.2.25
dependencies:
+ vite: 3.2.4(@types/[email protected])([email protected])
vue: 3.2.45
dev: true
@@ -10232,7 +10309,7 @@ packages:
hasBin: true
- resolution: {integrity: sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=}
+ resolution: {integrity: sha512-QbJ0NTQ/I9DI3uSJA4cbexiwQeRAfjPScqIbSjUDd9TOrcg6pTkdgziesOqxBMBzit8vFCTwrP27t13vFOORRA==}
dev: false
@@ -10289,6 +10366,15 @@ packages:
ajv: 6.12.6
dev: true
+ resolution: {integrity: sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==}
+ 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
+ dev: false
+
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
dependencies:
@@ -10329,11 +10415,6 @@ packages:
dependencies:
type-fest: 0.21.3
- resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==}
- engines: {node: '>=0.10.0'}
- dev: false
-
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
engines: {node: '>=8'}
@@ -10342,11 +10423,6 @@ packages:
resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==}
- engines: {node: '>=0.10.0'}
- dev: false
-
resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}
engines: {node: '>=4'}
@@ -10876,7 +10952,7 @@ packages:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
- resolution: {integrity: sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=}
+ resolution: {integrity: sha512-a1eIFi4R9ySrbiMuyTGx5e92uRH5tQY6kArNcFaKBUleIoLjdjBg7Zxm3Mqm3Kmkf27HLR/1fnxX9q8GQ7Iavg==}
engines: {node: '>= 0.6.0'}
dev: false
@@ -11192,17 +11268,6 @@ packages:
type-detect: 4.0.8
dev: true
- resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==}
- engines: {node: '>=0.10.0'}
- dependencies:
- ansi-styles: 2.2.1
- escape-string-regexp: 1.0.5
- has-ansi: 2.0.0
- strip-ansi: 3.0.1
- supports-color: 2.0.0
- dev: false
-
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
engines: {node: '>=4'}
@@ -11450,7 +11515,6 @@ packages:
string-width: 4.2.3
strip-ansi: 6.0.1
wrap-ansi: 7.0.0
- dev: true
resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==}
@@ -11569,14 +11633,14 @@ packages:
dev: true
- resolution: {integrity: sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=}
+ resolution: {integrity: sha512-WZveuKPeKAG9qY+FkYDeADzdHyTYdIboXS59ixDeRJL5ZhxpqUnxSOwop4FQjMsiYm3/Or8cegVbpAHNA7pHxw==}
dev: false
resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==}
- resolution: {integrity: sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=}
+ resolution: {integrity: sha512-w+LhYREhatpVqTESyGFg3NlP6Iu0kEKUHETY9GoZP/pQyW4mHFZuFWRUCIqVPZ36ueVLtoOEZaAqbCF2RDndaA==}
dev: false
@@ -13165,6 +13229,7 @@ packages:
'@esbuild/win32-arm64': 0.19.2
'@esbuild/win32-ia32': 0.19.2
'@esbuild/win32-x64': 0.19.2
+ dev: true
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
@@ -13625,15 +13690,15 @@ packages:
resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==}
+ resolution: {integrity: sha512-qACXdu/9VHPBzcyhdOWR5/IahhGMf0roTeZJfzz077GwylcDd90yOHLouhmv7GJ5XzPi6ekaQWd8AvPP2nOvpA==}
dependencies:
duplexer: 0.1.2
from: 0.1.7
- map-stream: 0.1.0
+ map-stream: 0.0.7
pause-stream: 0.0.11
- split: 0.3.3
- stream-combiner: 0.0.4
+ split: 1.0.1
+ stream-combiner: 0.2.2
through: 2.3.8
dev: false
@@ -14115,15 +14180,6 @@ packages:
resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==}
dev: false
- resolution: {integrity: sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==}
- engines: {node: '>= 6'}
- dependencies:
- asynckit: 0.4.0
- combined-stream: 1.0.8
- mime-types: 2.1.35
- dev: false
-
resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==}
engines: {node: '>= 6'}
@@ -14244,22 +14300,6 @@ packages:
resolution: {integrity: sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==}
dev: true
- resolution: {integrity: sha512-7+P9eOOMnkIOmtxrBWTzWOBQlE7Nz/cBx9EYTX5hm8DzmZ/Fj9YWeUY2O9G+Q8YblScd1hyEkcmNcZMDj5U8Ug==}
- dependencies:
- graceful-fs: 4.2.11
- dev: false
-
- resolution: {integrity: sha512-yI+wDwj0FsgX7tyIQJR+EP60R64evMSixtGb9AzGWjJVKlF5tCet95KomfqGBg/aIAG1Dhd6wjCOQe5HbX/qLA==}
- engines: {node: '>=0.10'}
- dependencies:
- mkdirp-promise: 1.1.0([email protected])
- pinkie-promise: 1.0.0
- transitivePeerDependencies:
- - mkdirp
- dev: false
-
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
@@ -14851,27 +14891,11 @@ packages:
engines: {node: '>=4'}
dev: false
- resolution: {integrity: sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==}
- engines: {node: '>=6'}
- deprecated: this library is no longer supported
- dependencies:
- ajv: 6.12.6
- har-schema: 2.0.0
- dev: false
-
resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==}
engines: {node: '>=6'}
dev: true
- resolution: {integrity: sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==}
- engines: {node: '>=0.10.0'}
- dependencies:
- ansi-regex: 2.1.1
- dev: false
-
resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
dev: true
@@ -14883,7 +14907,7 @@ packages:
dev: false
- resolution: {integrity: sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=}
+ resolution: {integrity: sha512-g5VNKdkFuUuVCP9gYfDJHjK2nqdQJ7aDLTnycnc2+RvsOQbuLdF5pm7vuE5J76SEBIQjs4kQY/BWq74JUmjbXA==}
dev: false
@@ -15194,23 +15218,20 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-Hb2ttfB5OhasYxwChZ8QKpYX3v4plNvwMaMulUIC7M3RHRDf1Op6EMp47LfaU2sgQgfvo5spWK4xRAirMEisrg==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-RJbzVu9Gq97Ti76MPKAb9AknKbRluRbzOqswM2qgEW48QUShVEIuJjl43dZG5q0Upj2SZlKqzR6B6ah1q5znfg==}
+ engines: {node: ^14.19.1 || ^16.14.2 || ^18.0.0}
hasBin: true
+ peerDependencies:
+ ajv: 6.12.3
dependencies:
- chalk: 1.1.3
- commander: 2.20.3
- debug: 2.6.9
- event-stream: 3.3.4
- form-data: 3.0.0
- fs-readfile-promise: 2.0.1
- fs-writefile-promise: 1.0.3([email protected])
- har-validator: 5.1.5
+ ajv: 6.12.3
+ chalk: 4.1.2
+ event-stream: 4.0.1
+ form-data: 4.0.0
+ har-schema: 2.0.0
stringify-object: 3.3.0
- transitivePeerDependencies:
- - mkdirp
- - supports-color
+ yargs: 17.7.2
dev: false
@@ -15310,7 +15331,7 @@ packages:
engines: {node: '>=8'}
- resolution: {integrity: sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=}
+ resolution: {integrity: sha512-i0G7hLJ1z0DE8dsqJa2rycj9dBmNKgXBvotXtZYXakU9oivfB9Uj2ZBC27qqef2U58/ZLwalxa1X/RDCdkHtVg==}
dev: false
@@ -17722,8 +17743,8 @@ packages:
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==}
+ resolution: {integrity: sha512-C0X0KQmGm3N2ftbTGBhSyuydQ+vV1LC3f3zPvT3RXHXNZrvfPZcoXp/N5DOa8vedX/rTMm2CjTtivFg2STJMRQ==}
dev: false
@@ -18351,16 +18372,6 @@ packages:
- encoding
dev: false
- resolution: {integrity: sha512-xzB0UZFcW1UGS2xkXeDh39jzTP282lb3Vwp4QzCQYmkTn4ysaV5dBdbkOXmhkcE1TQlZebQlgTceaWvDr3oFgw==}
- engines: {node: '>=4'}
- deprecated: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
- peerDependencies:
- mkdirp: '>=0.5.0'
- dependencies:
- mkdirp: 1.0.4
- dev: false
-
resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
hasBin: true
@@ -19237,18 +19248,6 @@ packages:
engines: {node: '>=4'}
dev: true
- resolution: {integrity: sha512-5mvtVNse2Ml9zpFKkWBpGsTPwm3DKhs+c95prO/F6E7d6DN0FPqxs6LONpLNpyD7Iheb7QN4BbUoKJgo+DnkQA==}
- engines: {node: '>=0.10.0'}
- dependencies:
- pinkie: 1.0.0
- dev: false
-
- resolution: {integrity: sha512-VFVaU1ysKakao68ktZm76PIdOhvEfoNNRaGkyLln9Os7r0/MCxqHjHyBM7dT3pgTiBybqiPtpqKfpENwdBp50Q==}
- engines: {node: '>=0.10.0'}
- dev: false
-
resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==}
engines: {node: '>= 6'}
@@ -20017,7 +20016,7 @@ packages:
resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==}
hasBin: true
dependencies:
- glob: 7.2.0
+ glob: 7.2.3
dev: false
@@ -20253,7 +20252,6 @@ packages:
chokidar: 3.5.3
immutable: 4.3.2
source-map-js: 1.0.2
- dev: true
resolution: {integrity: sha512-C3U+RgpAAlTXULZkWwzfysgbbBBo8IZudNAOJAVBLslFbIaZv4MBPkTqhuvpK4lqgdoFiWhnOGMoV4L1FyOBag==}
@@ -20743,8 +20741,8 @@ packages:
readable-stream: 3.6.0
dev: true
- resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==}
+ resolution: {integrity: sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==}
dependencies:
through: 2.3.8
dev: false
@@ -20805,10 +20803,11 @@ packages:
readable-stream: 3.6.0
dev: false
- resolution: {integrity: sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==}
+ resolution: {integrity: sha512-6yHMqgLYDzQDcAkL+tjJDC5nSNuNIx0vZtRZeiPh7Saef7VHX9H5Ijn9l2VIol2zaNYlYEX6KyuT/237A58qEQ==}
dependencies:
duplexer: 0.1.2
+ through: 2.3.8
dev: false
@@ -20926,13 +20925,6 @@ packages:
is-obj: 1.0.1
is-regexp: 1.0.0
- resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==}
- engines: {node: '>=0.10.0'}
- dependencies:
- ansi-regex: 2.1.1
- dev: false
-
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
engines: {node: '>=8'}
@@ -21017,7 +21009,7 @@ packages:
graphql: 15.8.0
iterall: 1.3.0
symbol-observable: 1.2.0
- ws: 7.4.6
+ ws: 7.5.9
transitivePeerDependencies:
- bufferutil
- utf-8-validate
@@ -21111,11 +21103,6 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==}
- engines: {node: '>=0.8.0'}
- dev: false
-
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'}
@@ -21285,7 +21272,7 @@ packages:
'@jridgewell/trace-mapping': 0.3.14
jest-worker: 27.5.1
schema-utils: 3.1.1
- serialize-javascript: 6.0.0
+ serialize-javascript: 6.0.1
terser: 5.14.1
webpack: 5.74.0
dev: true
@@ -21451,7 +21438,7 @@ packages:
dev: true
- resolution: {integrity: sha1-F+bBH3PdTz10zaek/zI46a2b+JA=}
+ resolution: {integrity: sha512-LhVdShQD/4Mk4zXNroIQZJC+Ap3zgLcDuwEdcmLv9CCO73NWockQDwyUnW/m8VX/EElfL6FcYx7EeutN4HJA6A==}
dev: false
@@ -22182,7 +22169,7 @@ packages:
dependencies:
fast-glob: 3.2.12
unplugin: 1.4.0
+ vite: 3.2.4(@types/[email protected])([email protected])
dev: true
@@ -22320,6 +22307,36 @@ packages:
- supports-color
- vite
- webpack
+ dev: true
+
+ resolution: {integrity: sha512-U7uOMNmRJ2eAv9CNjP8QRvxs6nAe3FVQUEIUphC1FGguBp3BWSLgGAcSHaX2nQy0gFoDY2mLF2M52W/t/eDaKg==}
+ engines: {node: '>=14'}
+ peerDependencies:
+ '@babel/parser': ^7.15.8
+ vue: 2 || 3
+ peerDependenciesMeta:
+ '@babel/parser':
+ optional: true
+ dependencies:
+ '@antfu/utils': 0.5.2
+ '@rollup/pluginutils': 4.2.1
+ chokidar: 3.5.3
+ debug: 4.3.4([email protected])
+ fast-glob: 3.3.1
+ local-pkg: 0.4.3
+ magic-string: 0.26.7
+ minimatch: 5.1.6
+ resolve: 1.22.4
+ unplugin: 0.7.1([email protected])
+ vue: 3.2.45
+ transitivePeerDependencies:
+ - esbuild
+ - rollup
+ - supports-color
+ - vite
+ - webpack
+ dev: false
resolution: {integrity: sha512-kzS2ZHVMaGU2XEO2keYQcMjNZkanDSGDdY96uQT9EPe+wqSZwwgbFfKVJ5ti0+8rGAcKHColwKUvctBhq2LJ3A==}
@@ -22374,6 +22391,31 @@ packages:
webpack-sources: 3.2.3
webpack-virtual-modules: 0.4.4
+ dev: true
+
+ resolution: {integrity: sha512-Z6hNDXDNh9aimMkPU1mEjtk+2ova8gh0y7rJeJdGH1vWZOHwF2lLQiQ/R97rv9ymmzEQXsR2fyMet72T8jy6ew==}
+ peerDependencies:
+ esbuild: '>=0.13'
+ rollup: ^2.50.0
+ vite: ^2.3.0 || ^3.0.0-0
+ webpack: 4 || 5
+ peerDependenciesMeta:
+ esbuild:
+ optional: true
+ rollup:
+ optional: true
+ vite:
+ optional: true
+ webpack:
+ optional: true
+ dependencies:
+ acorn: 8.10.0
+ chokidar: 3.5.3
+ vite: 3.2.4(@types/[email protected])([email protected])
+ webpack-sources: 3.2.3
+ webpack-virtual-modules: 0.4.4
+ dev: false
resolution: {integrity: sha512-luraheyfxwtvkvHpsOvMNv7IjLdORTWKZp0gWYNHGLi2ImON3iIZOj464qEyyEwLA/EMt12fC415HW9zRpOfTg==}
@@ -22394,7 +22436,7 @@ packages:
dependencies:
acorn: 8.10.0
chokidar: 3.5.3
+ vite: 3.2.4(@types/[email protected])([email protected])
webpack-sources: 3.2.3
webpack-virtual-modules: 0.4.4
dev: false
@@ -22637,7 +22679,7 @@ packages:
mlly: 1.2.0
pathe: 1.1.0
picocolors: 1.0.0
transitivePeerDependencies:
- '@types/node'
- less
@@ -22807,6 +22849,7 @@ packages:
resolution: {integrity: sha512-dV6nnLEju8k5EmvlBH6egxkVZ+rgc5zWsJr9+cNRXBMEDnpRGHcZPI260UEDNg2yB99wSTNER2eduEvZFbMIGw==}
+ deprecated: renamed to `unplugin-fonts`, see https://github.com/cssninjaStudio/unplugin-fonts/releases/tag/v1.0.0
peerDependencies:
vite: ^2.0.0 || ^3.0.0
dependencies:
@@ -22816,6 +22859,7 @@ packages:
resolution: {integrity: sha512-dV6nnLEju8k5EmvlBH6egxkVZ+rgc5zWsJr9+cNRXBMEDnpRGHcZPI260UEDNg2yB99wSTNER2eduEvZFbMIGw==}
+ deprecated: renamed to `unplugin-fonts`, see https://github.com/cssninjaStudio/unplugin-fonts/releases/tag/v1.0.0
peerDependencies:
vite: ^2.0.0 || ^3.0.0
dependencies:
@@ -22908,7 +22952,7 @@ packages:
json5: 2.2.3
local-pkg: 0.4.3
picocolors: 1.0.0
+ vite: 3.2.4(@types/[email protected])([email protected])
yaml: 2.3.1
transitivePeerDependencies:
- supports-color
@@ -22938,6 +22982,29 @@ packages:
- supports-color
dev: true
+ resolution: {integrity: sha512-fw3onBfVTXQI7rOzAbSZhmfwvk50+3qNnGZpERjmD93c8nEjrGLyd53eFXYMxcJV4KA1vzi4qIHt2+6tS4dEMw==}
+ peerDependencies:
+ '@vue/compiler-sfc': ^2.7.0 || ^3.0.0
+ vite: ^2.0.0 || ^3.0.0-0 || ^4.0.0
+ peerDependenciesMeta:
+ '@vue/compiler-sfc':
+ optional: true
+ dependencies:
+ '@types/debug': 4.1.8
+ debug: 4.3.4([email protected])
+ deep-equal: 2.2.2
+ extract-comments: 1.1.0
+ fast-glob: 3.3.1
+ json5: 2.2.3
+ local-pkg: 0.4.3
+ picocolors: 1.0.0
+ yaml: 2.3.1
+ transitivePeerDependencies:
+ - supports-color
+ dev: true
+
resolution: {integrity: sha512-NR3dIa+o2hzlzo4lF4Gu0cYvoMjSw2DdRc6Epw1yjmCqWaGuN86WK9JqZie4arNlE1ZuWT3CLiMdiX5wcmmUmg==}
peerDependencies:
@@ -22997,30 +23064,13 @@ packages:
'@vue/compiler-sfc': 3.3.4
debug: 4.3.4([email protected])
fast-glob: 3.3.1
+ vite: 3.2.4(@types/[email protected])([email protected])
vue: 3.2.45
vue-router: 4.1.0([email protected])
transitivePeerDependencies:
- supports-color
dev: true
- resolution: {integrity: sha512-k5XDmRNFo4M/GmUjhbRXj2WmJiFcGoVI8l/uZ72RHyRDQr4wE/6Zq/KFq0lqXomWQxTSzakQRUswzNwtvZLE8A==}
- peerDependencies:
- vite: ^2.5.0 || ^3.0.0-0
- vue: ^2.6.12 || ^3.2.4
- vue-router: ^3.5.1 || ^ 4.0.11
- dependencies:
- '@vue/compiler-sfc': 3.3.4
- debug: 4.3.4([email protected])
- fast-glob: 3.3.1
- vue: 3.2.45
- vue-router: 4.2.4([email protected])
- transitivePeerDependencies:
- - supports-color
- dev: true
-
resolution: {integrity: sha512-UZW2nSV2LraTSe7gsAL46hfdi7a0X1RvkGGoJVtA2O8beu7anzpXFwQLou8+kHy31CzVycT4gIPySBsHhtBN5g==}
peerDependencies:
@@ -23046,7 +23096,7 @@ packages:
'@windicss/plugin-utils': 1.8.8
debug: 4.3.4([email protected])
kolorist: 1.8.0
+ vite: 3.2.4(@types/[email protected])([email protected])
windicss: 3.5.6
transitivePeerDependencies:
- supports-color
@@ -23101,6 +23151,40 @@ packages:
optionalDependencies:
fsevents: 2.3.2
+ resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ hasBin: true
+ peerDependencies:
+ '@types/node': '>= 14'
+ less: '*'
+ sass: '*'
+ stylus: '*'
+ sugarss: '*'
+ terser: ^5.4.0
+ peerDependenciesMeta:
+ '@types/node':
+ optional: true
+ less:
+ optional: true
+ sass:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ dependencies:
+ '@types/node': 18.17.6
+ esbuild: 0.15.15
+ postcss: 8.4.28
+ resolve: 1.22.4
+ rollup: 2.79.1
+ sass: 1.58.0
+ optionalDependencies:
+ fsevents: 2.3.2
+
resolution: {integrity: sha512-xevPU7M8FU0i/80DMR+YhgrzR5KS2ORy1B4xcX/cXLsvnUWvfHuqMmVU6N0YiJ4JWGRJJsLCgjEzKjG9/GKoSw==}
engines: {node: ^14.18.0 || >=16.0.0}
@@ -23300,7 +23384,7 @@ packages:
tinybench: 2.5.0
tinypool: 0.4.0
tinyspy: 1.1.1
+ vite: 3.2.4(@types/[email protected])([email protected])
vite-node: 0.29.8(@types/[email protected])
why-is-node-running: 2.2.2
transitivePeerDependencies:
@@ -23690,15 +23774,6 @@ packages:
'@vue/devtools-api': 6.5.0
vue: 3.2.45
- resolution: {integrity: sha512-9PISkmaCO02OzPVOMq2w82ilty6+xJmQrarYZDkjZBfl4RvYAlt4PKnEX21oW4KTtWfa9OuO/b3qk1Od3AEdCQ==}
- peerDependencies:
- vue: ^3.2.0
- dependencies:
- '@vue/devtools-api': 6.5.0
- vue: 3.2.45
- dev: true
-
resolution: {integrity: sha512-9PISkmaCO02OzPVOMq2w82ilty6+xJmQrarYZDkjZBfl4RvYAlt4PKnEX21oW4KTtWfa9OuO/b3qk1Od3AEdCQ==}
peerDependencies:
@@ -24538,7 +24613,6 @@ packages:
optional: true
utf-8-validate:
optional: true
- dev: true
resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==}
@@ -24785,7 +24859,6 @@ packages:
string-width: 4.2.3
y18n: 5.0.8
yargs-parser: 21.1.1
- dev: true
resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==}
@@ -24795,7 +24868,7 @@ packages:
dev: false
- resolution: {integrity: sha1-AI4G2AlDIMNy28L47XagymyKxBk=}
+ resolution: {integrity: sha512-8HFIh676uyGYP6wP13R/j6OJ/1HwJ46snpvzE7aHAN3Ryqh2yX6Xox2B4CUmTwwOIzlG3Bs7ocsP5dZH/R1Qbg==}
dev: false