Skip to content

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

chore: merge hoppscotch/hoppscotch/staging into main

Andrew Bastin31c6b0664fad
diff --cc pnpm-lock.yaml
index fa96a2d8b,70e7cd0c0..2d3c49646
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -42,141 -42,6 +42,145 @@@ importers
rollup-plugin-ts: 2.0.7_okefoyb4o5sittgqayreuhurei
typescript: 4.7.4
+ packages/hoppscotch-backend:
+ specifiers:
+ '@nestjs/apollo': ^10.1.6
+ '@nestjs/cli': ^9.1.5
+ '@nestjs/common': ^9.2.1
+ '@nestjs/core': ^9.2.1
+ '@nestjs/graphql': ^10.1.6
+ '@nestjs/jwt': ^10.0.1
+ '@nestjs/passport': ^9.0.0
+ '@nestjs/platform-express': ^9.2.1
+ '@nestjs/schematics': ^9.0.3
+ '@nestjs/testing': ^9.2.1
+ '@prisma/client': ^4.7.1
+ '@relmify/jest-fp-ts': ^2.0.2
+ '@types/argon2': ^0.15.0
+ '@types/bcrypt': ^5.0.0
++ '@types/cookie': ^0.5.1
+ '@types/cookie-parser': ^1.4.3
+ '@types/express': ^4.17.14
+ '@types/jest': ^29.4.0
+ '@types/luxon': ^3.2.0
+ '@types/node': ^18.11.10
+ '@types/passport-github2': ^1.2.5
+ '@types/passport-google-oauth20': ^2.0.11
+ '@types/passport-jwt': ^3.0.8
+ '@types/passport-microsoft': ^0.0.0
+ '@types/supertest': ^2.0.12
+ '@typescript-eslint/eslint-plugin': ^5.45.0
+ '@typescript-eslint/parser': ^5.45.0
+ apollo-server-express: ^3.11.1
+ apollo-server-plugin-base: ^3.7.1
+ argon2: ^0.30.3
+ bcrypt: ^5.1.0
++ cookie: ^0.5.0
+ cookie-parser: ^1.4.6
+ eslint: ^8.29.0
+ eslint-config-prettier: ^8.5.0
+ eslint-plugin-prettier: ^4.2.1
+ express: ^4.17.1
+ fp-ts: ^2.13.1
+ graphql: ^15.5.0
+ graphql-query-complexity: ^0.12.0
+ graphql-redis-subscriptions: ^2.5.0
+ graphql-subscriptions: ^2.0.0
+ io-ts: ^2.2.16
+ ioredis: ^5.2.4
+ jest: ^29.4.1
+ jest-mock-extended: ^3.0.1
+ jwt: link:@types/nestjs/jwt
+ luxon: ^3.2.1
+ passport: ^0.6.0
+ passport-github2: ^0.1.12
+ passport-google-oauth20: ^2.0.0
+ passport-jwt: ^4.0.1
+ passport-local: ^1.0.0
+ passport-microsoft: ^1.0.0
+ postmark: ^3.0.15
+ prettier: ^2.8.4
+ prisma: ^4.7.1
+ reflect-metadata: ^0.1.13
+ rimraf: ^3.0.2
+ rxjs: ^7.6.0
+ source-map-support: ^0.5.21
+ supertest: ^6.3.2
+ ts-jest: 29.0.5
+ ts-loader: ^9.4.2
+ ts-node: ^10.9.1
+ tsconfig-paths: 4.1.1
+ typescript: ^4.9.3
+ dependencies:
+ '@nestjs/apollo': 10.1.6_s6pw6ravicthrbuw7ih3vbxenu
+ '@nestjs/common': 9.2.1_whg6pvy6vwu66ypq7idiq2suxq
+ '@nestjs/core': 9.2.1_ajc4cvdydchgvxyi4xnoij5t4i
+ '@nestjs/graphql': 10.1.6_2khsk5ahlt4vlkrgib4soffmwu
+ '@nestjs/jwt': 10.0.1_@[email protected]
+ '@nestjs/passport': 9.0.0_6o47igfla2pj7yzh7agpvpttka
+ '@nestjs/platform-express': 9.2.1_hjcqpoaebdr7gdo5hgc22hthbe
+ '@prisma/client': [email protected]
+ apollo-server-express: 3.11.1_4mq2c443wwzwcb6dpxnwkfvrzm
+ apollo-server-plugin-base: [email protected]
+ argon2: 0.30.3
+ bcrypt: 5.1.0
++ cookie: 0.5.0
+ cookie-parser: 1.4.6
+ express: 4.18.2
+ fp-ts: 2.13.1
+ graphql: 15.8.0
+ graphql-query-complexity: [email protected]
+ graphql-redis-subscriptions: 2.5.0_nsv4zbviaf54hk5nfhl4slig7i
+ graphql-subscriptions: [email protected]
+ ioredis: 5.2.4
+ luxon: 3.2.1
+ passport: 0.6.0
+ passport-github2: 0.1.12
+ passport-google-oauth20: 2.0.0
+ passport-jwt: 4.0.1
+ passport-local: 1.0.0
+ passport-microsoft: 1.0.0
+ postmark: 3.0.15
+ prisma: 4.8.1
+ reflect-metadata: 0.1.13
+ rimraf: 3.0.2
+ rxjs: 7.6.0
+ devDependencies:
+ '@nestjs/cli': 9.1.5
+ '@nestjs/schematics': [email protected]
+ '@nestjs/testing': 9.2.1_wdbvfsxfdwzlwdfiyh2gynjl4m
+ '@relmify/jest-fp-ts': [email protected][email protected]
+ '@types/argon2': 0.15.0
+ '@types/bcrypt': 5.0.0
++ '@types/cookie': 0.5.1
+ '@types/cookie-parser': 1.4.3
+ '@types/express': 4.17.14
+ '@types/jest': 29.4.0
+ '@types/luxon': 3.2.0
+ '@types/node': 18.11.10
+ '@types/passport-github2': 1.2.5
+ '@types/passport-google-oauth20': 2.0.11
+ '@types/passport-jwt': 3.0.8
+ '@types/passport-microsoft': 0.0.0
+ '@types/supertest': 2.0.12
+ '@typescript-eslint/eslint-plugin': 5.45.0_yjegg5cyoezm3fzsmuszzhetym
+ '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla
+ eslint: 8.29.0
+ eslint-config-prettier: [email protected]
+ eslint-plugin-prettier: 4.2.1_eabs6augosioka4cd2cz5tdama
+ jest: 29.4.1_j5wyyouvf5aixckc7ltaxrydha
+ jest-mock-extended: 3.0.1_rnja4qcakvykemesq3rilwl7p4
+ jwt: link:@types/nestjs/jwt
+ prettier: 2.8.4
+ source-map-support: 0.5.21
+ supertest: 6.3.2
+ ts-jest: 29.0.5_rnja4qcakvykemesq3rilwl7p4
+ ts-loader: [email protected]
+ ts-node: 10.9.1_eoe7put6ewfbqpy6gs36tihw6y
+ tsconfig-paths: 4.1.1
+ typescript: 4.9.3
+
packages/hoppscotch-cli:
specifiers:
'@hoppscotch/data': workspace:^0.4.4
@@@ -4670,44 -3275,18 +4674,44 @@@ packages
extract-files: 11.0.0
graphql: 15.8.0
graphql-ws: [email protected]
-- isomorphic-ws: [email protected]
++ isomorphic-ws: [email protected]
meros: 1.2.0
sync-fetch: 0.4.1
tslib: 2.4.0
value-or-promise: 1.0.11
-- ws: 8.12.0
++ ws: 8.12.1
transitivePeerDependencies:
- '@types/node'
- bufferutil
- encoding
- utf-8-validate
+ /@graphql-tools/url-loader/[email protected]:
+ resolution: {integrity: sha512-FEmbvw68kxeZLn4VYGAl+NuBPk09ZnxymjW07A6mCtiDayFgYfHdWeRzXn/iM5PzsEuCD73R1sExtNQ/ISiajg==}
+ peerDependencies:
+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
+ dependencies:
+ '@ardatan/sync-fetch': 0.0.1
+ '@graphql-tools/delegate': [email protected]
+ '@graphql-tools/executor-graphql-ws': [email protected]
+ '@graphql-tools/executor-http': [email protected]
+ '@graphql-tools/executor-legacy-ws': [email protected]
+ '@graphql-tools/utils': [email protected]
+ '@graphql-tools/wrap': [email protected]
+ '@types/ws': 8.5.3
+ '@whatwg-node/fetch': 0.8.1
+ graphql: 16.6.0
- isomorphic-ws: [email protected]
++ isomorphic-ws: [email protected]
+ tslib: 2.5.0
+ value-or-promise: 1.0.11
- ws: 8.12.0
++ ws: 8.12.1
+ transitivePeerDependencies:
+ - '@types/node'
+ - bufferutil
+ - encoding
+ - utf-8-validate
+ dev: true
+
/@graphql-tools/utils/[email protected]:
resolution: {integrity: sha512-KJrtx05uSM/cPYFdTnGAS1doL5bftJLAiFCDMZ8Vkifztz3BFn3gpFiy/o4wDtM8s39G46mxmt2Km/RmeltfGw==}
peerDependencies:
@@@ -5113,7 -3620,7 +5117,7 @@@
debug: 4.3.4
fast-glob: 3.2.11
source-map: 0.6.1
++ vite: 3.2.4
transitivePeerDependencies:
- supports-color
dev: true
@@@ -6701,31 -4559,6 +6705,35 @@@
resolution: {integrity: sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==}
dev: false
+ /@types/connect/3.4.35:
+ resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
+ dependencies:
+ '@types/node': 18.11.10
+
+ /@types/cookie-parser/1.4.3:
+ resolution: {integrity: sha512-CqSKwFwefj4PzZ5n/iwad/bow2hTCh0FlNAeWLtQM3JA/NX/iYagIpWG2cf1bQKQ2c9gU2log5VUCrn7LDOs0w==}
+ dependencies:
+ '@types/express': 4.17.14
+ dev: true
+
++ /@types/cookie/0.5.1:
++ resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==}
++ dev: true
++
+ /@types/cookiejar/2.1.2:
+ resolution: {integrity: sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog==}
+ dev: true
+
+ /@types/cors/2.8.12:
+ resolution: {integrity: sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==}
+ dev: false
+
+ /@types/cors/2.8.13:
+ resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==}
+ dependencies:
+ '@types/node': 18.11.10
+ dev: false
+
/@types/debug/4.1.7:
resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==}
dependencies:
@@@ -7824,16 -5144,7 +7832,16 @@@
magic-string: 0.26.7
regenerator-runtime: 0.13.10
systemjs: 6.13.0
++ vite: 3.2.4
+
+ /@vitejs/plugin-vue/[email protected]:
+ resolution: {integrity: sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==}
+ engines: {node: '>=12.0.0'}
+ peerDependencies:
+ vite: ^2.5.10
+ dependencies:
+ dev: true
resolution: {integrity: sha512-fmxtHPjSOEIRg6vHYDaem+97iwCUg/uSIaTzp98lhELt2ISOQuDo2hbkBdXod0g15IhfPMQmAxh4heUks2zvDA==}
@@@ -7853,7 -5164,7 +7861,7 @@@
vite: ^3.0.0
vue: ^3.2.25
dependencies:
++ vite: 3.2.4
vue: 3.2.45
dev: true
@@@ -8671,9 -5720,10 +8679,9 @@@
resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==}
engines: {node: '>=0.4.0'}
hasBin: true
- dev: true
/after/0.8.2:
- resolution: {integrity: sha512-QbJ0NTQ/I9DI3uSJA4cbexiwQeRAfjPScqIbSjUDd9TOrcg6pTkdgziesOqxBMBzit8vFCTwrP27t13vFOORRA==}
+ resolution: {integrity: sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=}
dev: false
/agent-base/6.0.2:
@@@ -9841,9 -6547,10 +9849,9 @@@
/component-emitter/1.3.0:
resolution: {integrity: sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==}
- dev: false
/component-inherit/0.0.3:
- resolution: {integrity: sha512-w+LhYREhatpVqTESyGFg3NlP6Iu0kEKUHETY9GoZP/pQyW4mHFZuFWRUCIqVPZ36ueVLtoOEZaAqbCF2RDndaA==}
+ resolution: {integrity: sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=}
dev: false
/concat-map/0.0.1:
@@@ -13642,20 -9616,12 +13650,12 @@@
- encoding
dev: true
-- /isomorphic-ws/[email protected]:
- resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==}
- peerDependencies:
- ws: '*'
- dependencies:
- ws: 8.12.0
-
+ /isomorphic-ws/[email protected]:
resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==}
peerDependencies:
ws: '*'
dependencies:
- ws: 8.12.0
+ ws: 8.12.1
- dev: true
/istanbul-lib-coverage/3.2.0:
resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==}
@@@ -14829,7 -10318,7 +14829,7 @@@
whatwg-encoding: 2.0.0
whatwg-mimetype: 3.0.0
whatwg-url: 11.0.0
- ws: 8.11.0
- ws: 8.12.0
++ ws: 8.12.1
xml-name-validator: 4.0.0
transitivePeerDependencies:
- bufferutil
@@@ -19039,7 -13570,7 +19039,7 @@@
dependencies:
acorn: 8.8.0
chokidar: 3.5.3
++ vite: 3.2.4
webpack-sources: 3.2.3
webpack-virtual-modules: 0.4.4
dev: true
@@@ -19417,7 -13893,7 +19417,7 @@@
vite: ^2.0.0 || ^3.0.0
dependencies:
fast-glob: 3.2.11
++ vite: 3.2.4
dev: true
/vite-plugin-html-config/[email protected]:
@@@ -19435,7 -13911,7 +19435,7 @@@
peerDependencies:
vite: '>=2.0.0'
dependencies:
++ vite: 3.2.4
dev: true
/vite-plugin-inspect/[email protected]:
@@@ -19467,7 -13943,7 +19467,7 @@@
kolorist: 1.5.1
sirv: 2.0.2
ufo: 0.8.5
++ vite: 3.2.4
transitivePeerDependencies:
- supports-color
dev: true
@@@ -19741,7 -14161,7 +19741,7 @@@
'@windicss/plugin-utils': 1.8.8
debug: 4.3.4
kolorist: 1.5.1
++ vite: 3.2.4
windicss: 3.5.6
transitivePeerDependencies:
- supports-color
@@@ -19829,7 -14225,7 +19829,6 @@@
rollup: 2.79.1
optionalDependencies:
fsevents: 2.3.2
-- dev: true
resolution: {integrity: sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==}
@@@ -20778,32 -14919,8 +20777,21 @@@
utf-8-validate:
optional: true
- /ws/8.12.0:
- resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==}
+ /ws/8.11.0:
+ resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==}
+ engines: {node: '>=10.0.0'}
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: ^5.0.2
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
-
- /ws/8.12.0:
- resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
++ dev: false
+
+ /ws/8.12.1:
+ resolution: {integrity: sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1