From 4424695a94b7f7acba31d187baa4bcd2af0afd59 Mon Sep 17 00:00:00 2001 From: Nicolas Froidure Date: Thu, 9 Nov 2023 17:45:55 +0100 Subject: [PATCH] chore(dependencies): update dependencies --- package-lock.json | 440 ++++++++++-------- packages/whook-aws-lambda/package.json | 8 +- packages/whook-create/package.json | 4 +- .../__snapshots__/createWhook.test.ts.snap | 64 +-- .../src/services/createWhook.test.ts | 48 +- packages/whook-example/package.json | 16 +- .../whook-example/src/config/common/config.ts | 1 + packages/whook-graphiql/package.json | 2 +- packages/whook-graphql/package.json | 6 +- packages/whook-http-router/package.json | 12 +- packages/whook-http-router/src/libs/body.ts | 2 +- packages/whook-http-server/package.json | 2 +- packages/whook-http-transaction/package.json | 2 +- packages/whook-oauth2/package.json | 6 +- packages/whook-swagger-ui/package.json | 4 +- packages/whook/package.json | 12 +- .../src/commands/generateOpenAPITypes.test.ts | 1 + 17 files changed, 348 insertions(+), 282 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6b219db..bbbcb7a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -118,9 +118,9 @@ } }, "node_modules/@apollo/server": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.9.4.tgz", - "integrity": "sha512-lopNDM3sZerTcYH/P85QX5HqSNV4HoVbtX3zOrf0ak7eplhPDiGVyF0jQWRbL64znG6KXW+nMuLDTyFTMQnvgA==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.9.5.tgz", + "integrity": "sha512-eDBfArYbZaTm1AGa82M1aL7lOscVhnZsH85+OWmHMIR98qntzEjNpWpQPYDTru63Qxs4kHcY29NUx/kMGZfGEA==", "dependencies": { "@apollo/cache-control-types": "^1.0.3", "@apollo/server-gateway-interface": "^1.1.1", @@ -1102,9 +1102,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", - "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz", + "integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==", "cpu": [ "arm" ], @@ -1118,9 +1118,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", - "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz", + "integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==", "cpu": [ "arm64" ], @@ -1134,9 +1134,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", - "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz", + "integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==", "cpu": [ "x64" ], @@ -1150,9 +1150,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", - "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz", + "integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==", "cpu": [ "arm64" ], @@ -1166,9 +1166,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", - "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz", + "integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==", "cpu": [ "x64" ], @@ -1182,9 +1182,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", - "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz", + "integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==", "cpu": [ "arm64" ], @@ -1198,9 +1198,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", - "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz", + "integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==", "cpu": [ "x64" ], @@ -1214,9 +1214,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", - "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz", + "integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==", "cpu": [ "arm" ], @@ -1230,9 +1230,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", - "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz", + "integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==", "cpu": [ "arm64" ], @@ -1246,9 +1246,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", - "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz", + "integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==", "cpu": [ "ia32" ], @@ -1262,9 +1262,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", - "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz", + "integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==", "cpu": [ "loong64" ], @@ -1278,9 +1278,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", - "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz", + "integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==", "cpu": [ "mips64el" ], @@ -1294,9 +1294,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", - "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz", + "integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==", "cpu": [ "ppc64" ], @@ -1310,9 +1310,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", - "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz", + "integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==", "cpu": [ "riscv64" ], @@ -1326,9 +1326,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", - "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz", + "integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==", "cpu": [ "s390x" ], @@ -1342,9 +1342,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", - "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz", + "integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==", "cpu": [ "x64" ], @@ -1358,9 +1358,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", - "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz", + "integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==", "cpu": [ "x64" ], @@ -1374,9 +1374,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", - "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz", + "integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==", "cpu": [ "x64" ], @@ -1390,9 +1390,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", - "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz", + "integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==", "cpu": [ "x64" ], @@ -1406,9 +1406,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", - "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz", + "integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==", "cpu": [ "arm64" ], @@ -1422,9 +1422,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", - "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz", + "integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==", "cpu": [ "ia32" ], @@ -1438,9 +1438,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", - "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz", + "integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==", "cpu": [ "x64" ], @@ -3101,9 +3101,12 @@ } }, "node_modules/@ljharb/through": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.9.tgz", - "integrity": "sha512-yN599ZBuMPPK4tdoToLlvgJB4CLK8fGl7ntfy0Wn7U6ttNvHYurd81bfUiK/6sMkiIwm65R6ck4L6+Y3DfVbNQ==", + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", + "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", + "dependencies": { + "call-bind": "^1.0.2" + }, "engines": { "node": ">= 0.4" } @@ -4330,9 +4333,9 @@ } }, "node_modules/@types/aws-lambda": { - "version": "8.10.119", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.119.tgz", - "integrity": "sha512-Vqm22aZrCvCd6I5g1SvpW151jfqwTzEZ7XJ3yZ6xaZG31nUEOEyzzVImjRcsN8Wi/QyPxId/x8GTtgIbsy8kEw==" + "version": "8.10.126", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.126.tgz", + "integrity": "sha512-5eh4ffLdGYgGYI1Xr6W5L4IVse4RR7L2ns5OVUXA52nW5GFapIcGMcCzHAIMMOdpcQs3aGVxbvFlJNZH6IpgEQ==" }, "node_modules/@types/babel__core": { "version": "7.20.3", @@ -4385,9 +4388,9 @@ } }, "node_modules/@types/bytes": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@types/bytes/-/bytes-3.1.1.tgz", - "integrity": "sha512-lOGyCnw+2JVPKU3wIV0srU0NyALwTBJlVSx5DfMQOFuuohA8y9S8orImpuIQikZ0uIQ8gehrRjxgQC1rLRi11w==" + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@types/bytes/-/bytes-3.1.4.tgz", + "integrity": "sha512-A0uYgOj3zNc4hNjHc5lYUfJQ/HVyBXiUMKdXd7ysclaE6k9oJdavQzODHuwjpUu2/boCP8afjQYi8z/GtvNCWA==" }, "node_modules/@types/cacheable-request": { "version": "6.0.3", @@ -4410,14 +4413,14 @@ } }, "node_modules/@types/content-type": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@types/content-type/-/content-type-1.1.5.tgz", - "integrity": "sha512-dgMN+syt1xb7Hk8LU6AODOfPlvz5z1CbXpPuJE5ZrX9STfBOIXF09pEB8N7a97WT9dbngt3ksDCm6GW6yMrxfQ==" + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@types/content-type/-/content-type-1.1.8.tgz", + "integrity": "sha512-1tBhmVUeso3+ahfyaKluXe38p+94lovUZdoVfQ3OnJo9uJC42JT7CBoN3k9HYhAae+GwiBYmHu+N9FZhOG+2Pg==" }, "node_modules/@types/cookie": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.1.tgz", - "integrity": "sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==" + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.4.tgz", + "integrity": "sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==" }, "node_modules/@types/express": { "version": "4.17.17", @@ -4505,9 +4508,9 @@ } }, "node_modules/@types/json-schema": { - "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/jsonwebtoken": { "version": "9.0.2", @@ -4585,9 +4588,9 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/negotiator": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@types/negotiator/-/negotiator-0.6.1.tgz", - "integrity": "sha512-c4mvXFByghezQ/eVGN5HvH/jI63vm3B7FiE81BUzDAWmuiohRecCO6ddU60dfq29oKUMiQujsoB2h0JQC7JHKA==" + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@types/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-JkXTOdKs5MF086b/pt8C3+yVp3iDUwG635L7oCH6HvJvvr6lSUU5oe/gLXnPEfYRROHjJIPgCV6cuAg8gGkntQ==" }, "node_modules/@types/node": { "version": "20.5.1", @@ -4623,9 +4626,9 @@ "dev": true }, "node_modules/@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + "version": "6.9.10", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz", + "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==" }, "node_modules/@types/range-parser": { "version": "1.2.4", @@ -5395,9 +5398,9 @@ } }, "node_modules/axios": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", - "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz", + "integrity": "sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -8358,9 +8361,9 @@ } }, "node_modules/esbuild": { - "version": "0.18.20", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz", - "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz", + "integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==", "hasInstallScript": true, "peer": true, "bin": { @@ -8370,34 +8373,34 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.18.20", - "@esbuild/android-arm64": "0.18.20", - "@esbuild/android-x64": "0.18.20", - "@esbuild/darwin-arm64": "0.18.20", - "@esbuild/darwin-x64": "0.18.20", - "@esbuild/freebsd-arm64": "0.18.20", - "@esbuild/freebsd-x64": "0.18.20", - "@esbuild/linux-arm": "0.18.20", - "@esbuild/linux-arm64": "0.18.20", - "@esbuild/linux-ia32": "0.18.20", - "@esbuild/linux-loong64": "0.18.20", - "@esbuild/linux-mips64el": "0.18.20", - "@esbuild/linux-ppc64": "0.18.20", - "@esbuild/linux-riscv64": "0.18.20", - "@esbuild/linux-s390x": "0.18.20", - "@esbuild/linux-x64": "0.18.20", - "@esbuild/netbsd-x64": "0.18.20", - "@esbuild/openbsd-x64": "0.18.20", - "@esbuild/sunos-x64": "0.18.20", - "@esbuild/win32-arm64": "0.18.20", - "@esbuild/win32-ia32": "0.18.20", - "@esbuild/win32-x64": "0.18.20" + "@esbuild/android-arm": "0.19.5", + "@esbuild/android-arm64": "0.19.5", + "@esbuild/android-x64": "0.19.5", + "@esbuild/darwin-arm64": "0.19.5", + "@esbuild/darwin-x64": "0.19.5", + "@esbuild/freebsd-arm64": "0.19.5", + "@esbuild/freebsd-x64": "0.19.5", + "@esbuild/linux-arm": "0.19.5", + "@esbuild/linux-arm64": "0.19.5", + "@esbuild/linux-ia32": "0.19.5", + "@esbuild/linux-loong64": "0.19.5", + "@esbuild/linux-mips64el": "0.19.5", + "@esbuild/linux-ppc64": "0.19.5", + "@esbuild/linux-riscv64": "0.19.5", + "@esbuild/linux-s390x": "0.19.5", + "@esbuild/linux-x64": "0.19.5", + "@esbuild/netbsd-x64": "0.19.5", + "@esbuild/openbsd-x64": "0.19.5", + "@esbuild/sunos-x64": "0.19.5", + "@esbuild/win32-arm64": "0.19.5", + "@esbuild/win32-ia32": "0.19.5", + "@esbuild/win32-x64": "0.19.5" } }, "node_modules/esbuild-node-externals": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/esbuild-node-externals/-/esbuild-node-externals-1.8.0.tgz", - "integrity": "sha512-pYslmT8Bl383UnfxzHQQRpCgBNIOwAzDaYheuIeI4CODxelsN/eQroVn5STDow5QOpRalMgWUR+R8LfSgUROcw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/esbuild-node-externals/-/esbuild-node-externals-1.9.0.tgz", + "integrity": "sha512-WV6Ogvl+AZEX3vWAM0UGxqb08l3M73EUeymizKGccUC0iWlF1CwdpkZVu200bSqONamjSV0v22vf4YBahJXs8g==", "dev": true, "dependencies": { "find-up": "^5.0.0", @@ -8407,7 +8410,7 @@ "node": ">=12" }, "peerDependencies": { - "esbuild": "0.12 - 0.18" + "esbuild": "0.12 - 0.19" } }, "node_modules/escalade": { @@ -9259,6 +9262,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/find-up-simple": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", + "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/find-versions": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", @@ -9290,11 +9304,14 @@ } }, "node_modules/first-chunk-stream": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-5.0.0.tgz", - "integrity": "sha512-WdHo4ejd2cG2Dl+sLkW79SctU7mUQDfr4s1i26ffOZRs5mgv+BRttIM9gwcq0rDbemo0KlpVPaa3LBVLqPXzcQ==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-6.0.0.tgz", + "integrity": "sha512-8Mw/j+usWmvKvAk2szboyX4GzsWRUe6em5PT4csJi3TIR7e+SMGb7gtsc3Vv/JeAEVW1VDosAV4llpMXpoROrA==", + "dependencies": { + "uint8array-extras": "^0.5.0" + }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -15389,12 +15406,12 @@ } }, "node_modules/parse-gitignore": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-gitignore/-/parse-gitignore-1.0.1.tgz", - "integrity": "sha512-UGyowyjtx26n65kdAMWhm6/3uy5uSrpcuH7tt+QEVudiBoVS+eqHxD5kbi9oWVRwj7sCzXqwuM+rUGw7earl6A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-gitignore/-/parse-gitignore-2.0.0.tgz", + "integrity": "sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==", "dev": true, "engines": { - "node": ">=6" + "node": ">=14" } }, "node_modules/parse-json": { @@ -16762,11 +16779,11 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/schema2dts": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/schema2dts/-/schema2dts-5.1.0.tgz", - "integrity": "sha512-+e00B3GWvZipeHky10FKSNk7qNqJYDU3GvHzF3L2lyOE17r0CWHhDssZdIRcx/mhNXnyHux61kl+DzdEsWM4lA==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/schema2dts/-/schema2dts-5.3.0.tgz", + "integrity": "sha512-pFMKc/vom/7JQGrWi7LEfDY4HE3MlI8aIt70u8KVma5YqB3zVRaJ/7BVyf81l/+llemZtJBWLEsFyoHr/XTXLA==", "dependencies": { - "@types/json-schema": "^7.0.12", + "@types/json-schema": "^7.0.13", "camelcase": "^8.0.0", "openapi-types": "^12.1.3", "typescript": "^5.1.6", @@ -17547,9 +17564,9 @@ } }, "node_modules/swagger-ui-dist": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.4.2.tgz", - "integrity": "sha512-vT5QxP/NOr9m4gLZl+SpavWI3M9Fdh30+Sdw9rEtZbkqNmNNEPhjXas2xTD9rsJYYdLzAiMfwXvtooWH3xbLJA==" + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-5.9.3.tgz", + "integrity": "sha512-/OgHfO96RWXF+p/EOjEnvKNEh94qAG/VHukgmVKh5e6foX9kas1WbjvQnDDj0sSTAMr9MHRBqAWytDcQi0VOrg==" }, "node_modules/synckit": { "version": "0.8.5", @@ -18093,9 +18110,9 @@ } }, "node_modules/type-fest": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.5.0.tgz", - "integrity": "sha512-diLQivFzddJl4ylL3jxSkEc39Tpw7o1QeEHIPxVwryDK2lpB7Nqhzhuo6v5/Ls08Z0yPSAhsyAWlv1/H0ciNmw==", + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.7.1.tgz", + "integrity": "sha512-iWr8RUmzAJRfhZugX9O7nZE6pCxDU8CZ3QxsLuTnGcBLJpCaP2ll3s4eMTBoFnU/CeXY/5rfQSuAEsTGJO4y8A==", "engines": { "node": ">=16" }, @@ -18158,6 +18175,17 @@ "node": ">=0.8.0" } }, + "node_modules/uint8array-extras": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-0.5.1.tgz", + "integrity": "sha512-dlgj8+9+Rak3JzT1Rg77nIccp0a5kBKjQ7tworiwKxkXIhqgdd+oZLkK8rcDb+Fq5tq+oUVjPbq4V/dMD6cnlA==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/underscore": { "version": "1.13.6", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", @@ -18768,16 +18796,16 @@ "debug": "^4.3.4", "dotenv": "^16.3.1", "fs-extra": "^11.1.1", - "inquirer": "^9.2.10", + "inquirer": "^9.2.12", "internal-ip": "^8.0.0", "knifecycle": "^17.0.1", "miniquery": "^1.1.2", "mkdirp": "^3.0.1", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "portfinder": "^1.0.32", - "schema2dts": "^5.1.0", - "type-fest": "^4.5.0", + "schema2dts": "^5.3.0", + "type-fest": "^4.7.1", "yargs-parser": "^21.1.1", "yerror": "^8.0.0" }, @@ -18796,7 +18824,7 @@ "@types/yargs-parser": "^21.0.0", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "esbuild-node-externals": "^1.5.0", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -18814,7 +18842,7 @@ "node": ">=18.16.0" }, "peerDependencies": { - "esbuild": ">=0.15.6", + "esbuild": ">=0.19.5", "esbuild-node-externals": "^1.5.0" } }, @@ -18857,8 +18885,8 @@ "version": "14.0.0", "license": "MIT", "dependencies": { - "@types/aws-lambda": "^8.10.109", - "@types/bytes": "^3.1.1", + "@types/aws-lambda": "^8.10.126", + "@types/bytes": "^3.1.4", "@whook/cors": "^14.0.0", "@whook/http-router": "^14.0.0", "@whook/http-transaction": "^14.0.0", @@ -18875,8 +18903,8 @@ "openapi-types": "^12.1.3", "qs": "^6.11.2", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", - "uuid": "^9.0.0", + "type-fest": "^4.7.1", + "uuid": "^9.0.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -18943,11 +18971,11 @@ "license": "MIT", "dependencies": { "@whook/example": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "common-services": "^15.0.0", "debug": "^4.3.4", "fs-extra": "^11.1.1", - "inquirer": "^9.2.10", + "inquirer": "^9.2.12", "knifecycle": "^17.0.1", "ora": "^7.0.1", "yerror": "^8.0.0" @@ -19068,11 +19096,11 @@ } }, "packages/whook-create/node_modules/inquirer": { - "version": "9.2.10", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.10.tgz", - "integrity": "sha512-tVVNFIXU8qNHoULiazz612GFl+yqNfjMTbLuViNJE/d860Qxrd3NMrse8dm40VUQLOQeULvaQF8lpAhvysjeyA==", + "version": "9.2.12", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", + "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", "dependencies": { - "@ljharb/through": "^2.3.9", + "@ljharb/through": "^2.3.11", "ansi-escapes": "^4.3.2", "chalk": "^5.3.0", "cli-cursor": "^3.1.0", @@ -19237,9 +19265,9 @@ "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -19250,9 +19278,9 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -19260,17 +19288,31 @@ "jsarch": "^6.0.3", "metapak": "^5.1.7", "metapak-nfroidure": "15.0.4", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "engines": { "node": ">=18.16.0" } }, + "packages/whook-example/node_modules/pkg-dir": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-8.0.0.tgz", + "integrity": "sha512-4peoBq4Wks0riS0z8741NVv+/8IiTvqnZAr8QGgtdifrtpdXbNw/FxRS1l6NFqm4EMzuS0EDqNNx4XGaz8cuyQ==", + "dependencies": { + "find-up-simple": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "packages/whook-gcp-functions": { "name": "@whook/gcp-functions", "version": "14.0.0", @@ -19334,7 +19376,7 @@ "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "@whook/http-router": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -19355,13 +19397,13 @@ "version": "14.0.0", "license": "MIT", "dependencies": { - "@apollo/server": "^4.9.4", + "@apollo/server": "^4.9.5", "@whook/http-transaction": "^14.0.0", "@whook/whook": "^14.0.0", "common-services": "^15.0.0", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yhttperror": "^8.0.0" }, "devDependencies": { @@ -19372,7 +19414,7 @@ "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "@whook/authorization": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -19396,9 +19438,9 @@ "license": "MIT", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@types/content-type": "^1.1.5", - "@types/negotiator": "^0.6.1", - "@types/qs": "^6.9.7", + "@types/content-type": "^1.1.8", + "@types/negotiator": "^0.6.3", + "@types/qs": "^6.9.10", "@whook/http-transaction": "^14.0.0", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", @@ -19406,7 +19448,7 @@ "bytes": "^3.1.2", "camelcase": "^8.0.0", "content-type": "^1.0.5", - "first-chunk-stream": "^5.0.0", + "first-chunk-stream": "^6.0.0", "knifecycle": "^17.0.1", "miniquery": "^1.1.2", "ms": "^2.1.3", @@ -19415,7 +19457,7 @@ "qs": "^6.11.2", "siso": "^6.0.1", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -19426,7 +19468,7 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -19465,7 +19507,7 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -19496,7 +19538,7 @@ "ms": "^2.1.3", "openapi-types": "^12.1.3", "statuses": "^2.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -19568,15 +19610,15 @@ "version": "14.0.0", "license": "MIT", "dependencies": { - "@types/cookie": "^0.5.1", + "@types/cookie": "^0.5.4", "@whook/authorization": "^14.0.0", "@whook/whook": "^14.0.0", "camelcase": "^8.0.0", "common-services": "^15.0.0", - "cookie": "^0.5.0", + "cookie": "^0.6.0", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -19603,6 +19645,14 @@ "node": ">=18.16.0" } }, + "packages/whook-oauth2/node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, "packages/whook-swagger-ui": { "name": "@whook/swagger-ui", "version": "14.0.0", @@ -19610,11 +19660,11 @@ "dependencies": { "@whook/http-router": "^14.0.0", "@whook/whook": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "ecstatic": "^4.1.4", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "swagger-ui-dist": "^5.3.1" + "swagger-ui-dist": "^5.9.3" }, "devDependencies": { "@swc/cli": "^0.1.62", @@ -19764,11 +19814,11 @@ } }, "packages/whook/node_modules/inquirer": { - "version": "9.2.10", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.10.tgz", - "integrity": "sha512-tVVNFIXU8qNHoULiazz612GFl+yqNfjMTbLuViNJE/d860Qxrd3NMrse8dm40VUQLOQeULvaQF8lpAhvysjeyA==", + "version": "9.2.12", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", + "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", "dependencies": { - "@ljharb/through": "^2.3.9", + "@ljharb/through": "^2.3.11", "ansi-escapes": "^4.3.2", "chalk": "^5.3.0", "cli-cursor": "^3.1.0", @@ -19893,6 +19943,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "packages/whook/node_modules/pkg-dir": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-8.0.0.tgz", + "integrity": "sha512-4peoBq4Wks0riS0z8741NVv+/8IiTvqnZAr8QGgtdifrtpdXbNw/FxRS1l6NFqm4EMzuS0EDqNNx4XGaz8cuyQ==", + "dependencies": { + "find-up-simple": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "packages/whook/node_modules/run-async": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", diff --git a/packages/whook-aws-lambda/package.json b/packages/whook-aws-lambda/package.json index ceff11a2..8bcdde6e 100644 --- a/packages/whook-aws-lambda/package.json +++ b/packages/whook-aws-lambda/package.json @@ -43,8 +43,8 @@ }, "homepage": "https://github.com/nfroidure/whook", "dependencies": { - "@types/aws-lambda": "^8.10.109", - "@types/bytes": "^3.1.1", + "@types/aws-lambda": "^8.10.126", + "@types/bytes": "^3.1.4", "@whook/cors": "^14.0.0", "@whook/http-router": "^14.0.0", "@whook/http-transaction": "^14.0.0", @@ -61,8 +61,8 @@ "openapi-types": "^12.1.3", "qs": "^6.11.2", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", - "uuid": "^9.0.0", + "type-fest": "^4.7.1", + "uuid": "^9.0.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, diff --git a/packages/whook-create/package.json b/packages/whook-create/package.json index 148d1cc0..4cad779f 100644 --- a/packages/whook-create/package.json +++ b/packages/whook-create/package.json @@ -68,11 +68,11 @@ "homepage": "https://github.com/nfroidure/whook", "dependencies": { "@whook/example": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "common-services": "^15.0.0", "debug": "^4.3.4", "fs-extra": "^11.1.1", - "inquirer": "^9.2.10", + "inquirer": "^9.2.12", "knifecycle": "^17.0.1", "ora": "^7.0.1", "yerror": "^8.0.0" diff --git a/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap b/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap index 14c5743d..f14658d5 100644 --- a/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap +++ b/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap @@ -149,9 +149,9 @@ DEV_MODE=1 "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -162,19 +162,19 @@ DEV_MODE=1 "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "eslintConfig": { @@ -489,9 +489,9 @@ DEV_MODE=1 "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -502,19 +502,19 @@ DEV_MODE=1 "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "eslintConfig": { @@ -861,9 +861,9 @@ DEV_MODE=1 "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -874,19 +874,19 @@ DEV_MODE=1 "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "eslintConfig": { @@ -1216,9 +1216,9 @@ DEV_MODE=1 "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -1229,19 +1229,19 @@ DEV_MODE=1 "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "eslintConfig": { diff --git a/packages/whook-create/src/services/createWhook.test.ts b/packages/whook-create/src/services/createWhook.test.ts index 1239b4c7..871a1e78 100644 --- a/packages/whook-create/src/services/createWhook.test.ts +++ b/packages/whook-create/src/services/createWhook.test.ts @@ -172,9 +172,9 @@ describe('initCreateWhook', () => { "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0", }, @@ -186,19 +186,19 @@ describe('initCreateWhook', () => { "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2", }, "engines": { @@ -394,9 +394,9 @@ describe('initCreateWhook', () => { "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0", }, @@ -408,19 +408,19 @@ describe('initCreateWhook', () => { "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2", }, "engines": { @@ -601,9 +601,9 @@ describe('initCreateWhook', () => { "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0", }, @@ -615,19 +615,19 @@ describe('initCreateWhook', () => { "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2", }, "engines": { diff --git a/packages/whook-example/package.json b/packages/whook-example/package.json index 3b33d7c9..d67eb67e 100644 --- a/packages/whook-example/package.json +++ b/packages/whook-example/package.json @@ -93,9 +93,9 @@ "knifecycle": "^17.0.1", "openapi-schema-validator": "^12.1.3", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -106,9 +106,9 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", - "chokidar": "^3.5.1", - "esbuild-node-externals": "^1.5.0", + "axios": "^1.6.1", + "chokidar": "^3.5.3", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -116,11 +116,11 @@ "jsarch": "^6.0.3", "metapak": "^5.1.7", "metapak-nfroidure": "15.0.4", - "parse-gitignore": "^1.0.1", + "parse-gitignore": "^2.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", - "schema2dts": "^5.1.0", - "ts-node": "^10.8.1", + "schema2dts": "^5.3.0", + "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "contributors": [], diff --git a/packages/whook-example/src/config/common/config.ts b/packages/whook-example/src/config/common/config.ts index 6fed91d1..758195a6 100644 --- a/packages/whook-example/src/config/common/config.ts +++ b/packages/whook-example/src/config/common/config.ts @@ -45,6 +45,7 @@ const CONFIG: Omit = { generateRealEnums: false, exportNamespaces: false, brandedTypes: [], + tuplesFromFixedArraysLengthLimit: 5, }, JWT: { duration: '2d', diff --git a/packages/whook-graphiql/package.json b/packages/whook-graphiql/package.json index 50c51802..e608faff 100644 --- a/packages/whook-graphiql/package.json +++ b/packages/whook-graphiql/package.json @@ -80,7 +80,7 @@ "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "@whook/http-router": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", diff --git a/packages/whook-graphql/package.json b/packages/whook-graphql/package.json index ac5817df..22d7108d 100644 --- a/packages/whook-graphql/package.json +++ b/packages/whook-graphql/package.json @@ -66,13 +66,13 @@ }, "homepage": "https://github.com/nfroidure/whook", "dependencies": { - "@apollo/server": "^4.9.4", + "@apollo/server": "^4.9.5", "@whook/http-transaction": "^14.0.0", "@whook/whook": "^14.0.0", "common-services": "^15.0.0", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yhttperror": "^8.0.0" }, "devDependencies": { @@ -83,7 +83,7 @@ "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "@whook/authorization": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", diff --git a/packages/whook-http-router/package.json b/packages/whook-http-router/package.json index 08c256f2..c56f586c 100644 --- a/packages/whook-http-router/package.json +++ b/packages/whook-http-router/package.json @@ -54,9 +54,9 @@ "homepage": "https://github.com/nfroidure/whook", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@types/content-type": "^1.1.5", - "@types/negotiator": "^0.6.1", - "@types/qs": "^6.9.7", + "@types/content-type": "^1.1.8", + "@types/negotiator": "^0.6.3", + "@types/qs": "^6.9.10", "@whook/http-transaction": "^14.0.0", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", @@ -64,7 +64,7 @@ "bytes": "^3.1.2", "camelcase": "^8.0.0", "content-type": "^1.0.5", - "first-chunk-stream": "^5.0.0", + "first-chunk-stream": "^6.0.0", "knifecycle": "^17.0.1", "miniquery": "^1.1.2", "ms": "^2.1.3", @@ -73,7 +73,7 @@ "qs": "^6.11.2", "siso": "^6.0.1", "strict-qs": "^8.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, @@ -84,7 +84,7 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", diff --git a/packages/whook-http-router/src/libs/body.ts b/packages/whook-http-router/src/libs/body.ts index 923ad0dd..b9f96807 100644 --- a/packages/whook-http-router/src/libs/body.ts +++ b/packages/whook-http-router/src/libs/body.ts @@ -100,7 +100,7 @@ export async function getBody< }, async (chunk) => { if (bufferLimit >= chunk.length) { - resolve(chunk); + resolve(Buffer.from(chunk)); return chunk; } diff --git a/packages/whook-http-server/package.json b/packages/whook-http-server/package.json index 8c028c7a..4f1f76d7 100644 --- a/packages/whook-http-server/package.json +++ b/packages/whook-http-server/package.json @@ -65,7 +65,7 @@ "@swc/jest": "^0.2.29", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", diff --git a/packages/whook-http-transaction/package.json b/packages/whook-http-transaction/package.json index f1bf2d8d..f63b7564 100644 --- a/packages/whook-http-transaction/package.json +++ b/packages/whook-http-transaction/package.json @@ -59,7 +59,7 @@ "ms": "^2.1.3", "openapi-types": "^12.1.3", "statuses": "^2.0.1", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, diff --git a/packages/whook-oauth2/package.json b/packages/whook-oauth2/package.json index ea42cd0e..22633f23 100644 --- a/packages/whook-oauth2/package.json +++ b/packages/whook-oauth2/package.json @@ -43,15 +43,15 @@ }, "homepage": "https://github.com/nfroidure/whook", "dependencies": { - "@types/cookie": "^0.5.1", + "@types/cookie": "^0.5.4", "@whook/authorization": "^14.0.0", "@whook/whook": "^14.0.0", "camelcase": "^8.0.0", "common-services": "^15.0.0", - "cookie": "^0.5.0", + "cookie": "^0.6.0", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "type-fest": "^4.5.0", + "type-fest": "^4.7.1", "yerror": "^8.0.0", "yhttperror": "^8.0.0" }, diff --git a/packages/whook-swagger-ui/package.json b/packages/whook-swagger-ui/package.json index 65991da8..581df032 100644 --- a/packages/whook-swagger-ui/package.json +++ b/packages/whook-swagger-ui/package.json @@ -68,11 +68,11 @@ "dependencies": { "@whook/http-router": "^14.0.0", "@whook/whook": "^14.0.0", - "axios": "^1.5.1", + "axios": "^1.6.1", "ecstatic": "^4.1.4", "knifecycle": "^17.0.1", "openapi-types": "^12.1.3", - "swagger-ui-dist": "^5.3.1" + "swagger-ui-dist": "^5.9.3" }, "devDependencies": { "@swc/cli": "^0.1.62", diff --git a/packages/whook/package.json b/packages/whook/package.json index 13d5cf0e..ff82a167 100644 --- a/packages/whook/package.json +++ b/packages/whook/package.json @@ -75,7 +75,7 @@ }, "homepage": "https://github.com/nfroidure/whook", "peerDependencies": { - "esbuild": ">=0.15.6", + "esbuild": ">=0.19.5", "esbuild-node-externals": "^1.5.0" }, "devDependencies": { @@ -90,7 +90,7 @@ "@types/yargs-parser": "^21.0.0", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", - "esbuild-node-externals": "^1.5.0", + "esbuild-node-externals": "^1.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", @@ -116,16 +116,16 @@ "debug": "^4.3.4", "dotenv": "^16.3.1", "fs-extra": "^11.1.1", - "inquirer": "^9.2.10", + "inquirer": "^9.2.12", "internal-ip": "^8.0.0", "knifecycle": "^17.0.1", "miniquery": "^1.1.2", "mkdirp": "^3.0.1", "openapi-types": "^12.1.3", - "pkg-dir": "^7.0.0", + "pkg-dir": "^8.0.0", "portfinder": "^1.0.32", - "schema2dts": "^5.1.0", - "type-fest": "^4.5.0", + "schema2dts": "^5.3.0", + "type-fest": "^4.7.1", "yargs-parser": "^21.1.1", "yerror": "^8.0.0" }, diff --git a/packages/whook/src/commands/generateOpenAPITypes.test.ts b/packages/whook/src/commands/generateOpenAPITypes.test.ts index c7c2628a..5822378f 100644 --- a/packages/whook/src/commands/generateOpenAPITypes.test.ts +++ b/packages/whook/src/commands/generateOpenAPITypes.test.ts @@ -15,6 +15,7 @@ describe('generateOpenAPITypes', () => { generateRealEnums: false, exportNamespaces: false, brandedTypes: [], + tuplesFromFixedArraysLengthLimit: 5, }; const API: OpenAPIV3.Document = { openapi: '3.0.2',