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: merge hoppscotch/staging into self-hosted/main
Andrew Bastinae77c60c5397
diff --cc pnpm-lock.yamlindex b56665a44,cd8400376..8a227705e--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@@ -44,147 -42,6 +44,149 @@@ importersrollup-plugin-ts: 2.0.7_okefoyb4o5sittgqayreuhureitypescript: 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+ cross-env: ^7.0.3+ eslint: ^8.29.0+ eslint-config-prettier: ^8.5.0+ eslint-plugin-prettier: ^4.2.1+ express: ^4.17.1++ express-session: ^1.17.3+ 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++ express-session: 1.17.3+ 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]+ io-ts: [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+ cross-env: 7.0.3+ 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@@@ -4644,10 -3214,10 +4648,10 @@@ packages'@graphql-tools/utils': [email protected]'@types/js-yaml': 4.0.5'@types/json-stable-stringify': 1.0.34- '@types/jsonwebtoken': 8.5.8+ '@types/jsonwebtoken': 8.5.9chalk: 4.1.2debug: 4.3.4- dotenv: 16.0.1+ dotenv: 16.0.3graphql: 15.8.0graphql-request: [email protected]http-proxy-agent: 5.0.0@@@ -4659,40 -3229,7 +4663,40 @@@lodash: 4.17.21replaceall: 0.1.6scuid: 1.1.0- tslib: 2.4.0+ tslib: 2.5.0+ yaml-ast-parser: 0.0.43+ transitivePeerDependencies:+ - '@types/node'+ - bufferutil+ - encoding+ - supports-color+ - utf-8-validate+ dev: true++ /@graphql-tools/prisma-loader/[email protected]:+ resolution: {integrity: sha512-W8GfzfBKiBSIEgw+/nJk6zUlF6k/jterlNoFhM27mBsbeMtWxKnm1+gEU6KA0N1PNEdq2RIa2W4AfVfVBl2GgQ==}+ peerDependencies:+ graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ '@graphql-tools/url-loader': [email protected]+ '@graphql-tools/utils': [email protected]+ '@types/js-yaml': 4.0.5+ '@types/json-stable-stringify': 1.0.34+ '@types/jsonwebtoken': 9.0.1+ chalk: 4.1.2+ debug: 4.3.4- dotenv: 16.0.1++ dotenv: 16.0.3+ graphql: 16.6.0+ graphql-request: [email protected]+ http-proxy-agent: 5.0.0+ https-proxy-agent: 5.0.1+ isomorphic-fetch: 3.0.0+ js-yaml: 4.1.0+ json-stable-stringify: 1.0.1+ jsonwebtoken: 9.0.0+ lodash: 4.17.21+ scuid: 1.1.0+ tslib: 2.5.0yaml-ast-parser: 0.0.43transitivePeerDependencies:- '@types/node'@@@ -10050,34 -6617,6 +10054,39 @@@safe-buffer: 5.1.2dev: true+ /convert-source-map/2.0.0:+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}+ dev: true++ /cookie-parser/1.4.6:+ resolution: {integrity: sha512-z3IzaNjdwUC2olLIB5/ITd0/setiaFMLYiZJle7xg5Fe9KWAceil7xszYfHHBtDFYLSgJduS2Ty0P1uJdPDJeA==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ cookie: 0.4.1+ cookie-signature: 1.0.6+ dev: false++ /cookie-signature/1.0.6:- resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==}++ resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=}++ /cookie/0.4.1:+ resolution: {integrity: sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==}+ engines: {node: '>= 0.6'}+ dev: false+++ /cookie/0.4.2:++ resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==}++ engines: {node: '>= 0.6'}++ dev: false+++ /cookie/0.5.0:+ resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}+ engines: {node: '>= 0.6'}++ /cookiejar/2.1.3:+ resolution: {integrity: sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==}+ dev: true+/core-js-compat/3.23.3:resolution: {integrity: sha512-WSzUs2h2vvmKsacLHNTdpyOC9k43AEhcGoFlVgCY4L7aw98oSBKtPL6vD0/TqZjRWRQYdDSLkzZIni4Crbbiqw==}dependencies:@@@ -12027,79 -8288,6 +12036,95 @@@jest-util: 28.1.1dev: true+ /expect/29.3.1:+ resolution: {integrity: sha512-gGb1yTgU30Q0O/tQq+z30KBWv24ApkMgFUpvKBkyLUBL68Wv8dHdJxTBZFl/iT8K/bqDHvUYRH6IIN3rToopPA==}+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}+ dependencies:+ '@jest/expect-utils': 29.3.1+ jest-get-type: 29.2.0+ jest-matcher-utils: 29.3.1+ jest-message-util: 29.3.1+ jest-util: 29.3.1+ dev: true++ /expect/29.4.1:+ resolution: {integrity: sha512-OKrGESHOaMxK3b6zxIq9SOW8kEXztKff/Dvg88j4xIJxur1hspEbedVkR3GpHe5LO+WB2Qw7OWN0RMTdp6as5A==}+ engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}+ dependencies:+ '@jest/expect-utils': 29.4.1+ jest-get-type: 29.2.0+ jest-matcher-utils: 29.4.1+ jest-message-util: 29.4.1+ jest-util: 29.4.1+ dev: true++ /express-graphql/[email protected]:+ resolution: {integrity: sha512-DwYaJQy0amdy3pgNtiTDuGGM2BLdj+YO2SgbKoLliCfuHv3VVTt7vNG/ZqK2hRYjtYHE2t2KB705EU94mE64zg==}+ engines: {node: '>= 10.x'}+ peerDependencies:+ graphql: ^14.7.0 || ^15.3.0+ dependencies:+ accepts: 1.3.8+ content-type: 1.0.4+ graphql: 16.6.0+ http-errors: 1.8.0+ raw-body: 2.5.1+ dev: false+++ /express-session/1.17.3:++ resolution: {integrity: sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==}++ engines: {node: '>= 0.8.0'}++ dependencies:++ cookie: 0.4.2++ cookie-signature: 1.0.6++ debug: 2.6.9++ depd: 2.0.0++ on-headers: 1.0.2++ parseurl: 1.3.3++ safe-buffer: 5.2.1++ uid-safe: 2.1.5++ transitivePeerDependencies:++ - supports-color++ dev: false+++ /express/4.18.2:+ resolution: {integrity: sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==}+ engines: {node: '>= 0.10.0'}+ dependencies:+ accepts: 1.3.8+ array-flatten: 1.1.1+ body-parser: 1.20.1+ content-disposition: 0.5.4+ content-type: 1.0.4+ cookie: 0.5.0+ cookie-signature: 1.0.6+ debug: 2.6.9+ depd: 2.0.0+ encodeurl: 1.0.2+ escape-html: 1.0.3+ etag: 1.8.1+ finalhandler: 1.2.0+ fresh: 0.5.2+ http-errors: 2.0.0+ merge-descriptors: 1.0.1+ methods: 1.1.2+ on-finished: 2.4.1+ parseurl: 1.3.3+ path-to-regexp: 0.1.7+ proxy-addr: 2.0.7+ qs: 6.11.0+ range-parser: 1.2.1+ safe-buffer: 5.2.1+ send: 0.18.0+ serve-static: 1.15.0+ setprototypeof: 1.2.0+ statuses: 2.0.1+ type-is: 1.6.18+ utils-merge: 1.0.1+ vary: 1.1.2+ transitivePeerDependencies:+ - supports-color+/extend-shallow/2.0.1:resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==}engines: {node: '>=0.10.0'}@@@ -16022,12 -11212,6 +16047,17 @@@ee-first: 1.1.1dev: true+ /on-finished/2.4.1:+ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}+ engines: {node: '>= 0.8'}+ dependencies:+ ee-first: 1.1.1+++ /on-headers/1.0.2:++ resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==}++ engines: {node: '>= 0.8'}++ dev: false++/once/1.4.0:resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}dependencies:@@@ -16844,6 -11791,6 +16874,11 @@@resolution: {integrity: sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA==}dev: false++ /random-bytes/1.0.0:++ resolution: {integrity: sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==}++ engines: {node: '>= 0.8'}++ dev: false++/randombytes/2.1.0:resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}dependencies:@@@ -18834,10 -13301,6 +18869,17 @@@resolution: {integrity: sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==}dev: true++ /uid-safe/2.1.5:++ resolution: {integrity: sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==}++ engines: {node: '>= 0.8'}++ dependencies:++ random-bytes: 1.0.0++ dev: false+++ /uid2/0.0.4:+ resolution: {integrity: sha512-IevTus0SbGwQzYh3+fRsAMTVVPOoIVufzacXcHPmdlle1jUpq7BRL+mw3dgeLanvGZdwwbWhRV6XrcFNdBmjWA==}+ dev: false+/unbox-primitive/1.0.2:resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}dependencies: