From 881de59bf5b3e3c40a0019e1add64621569cf00c Mon Sep 17 00:00:00 2001 From: zomars Date: Mon, 13 Jun 2022 10:59:02 -0600 Subject: [PATCH] Fixes node version mismatches --- apps/console | 2 +- apps/swagger/package.json | 2 +- apps/web/package.json | 2 +- packages/lib/server/defaultResponder.ts | 2 +- yarn.lock | 13 +++++++++---- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/apps/console b/apps/console index 28e6c33108..358775ed62 160000 --- a/apps/console +++ b/apps/console @@ -1 +1 @@ -Subproject commit 28e6c33108c25603180bdd6c47a605fcb7623d3e +Subproject commit 358775ed629a86bf8cb0d36402c9b30b2c23ea81 diff --git a/apps/swagger/package.json b/apps/swagger/package.json index 8fab4a59cd..3793ecb7af 100644 --- a/apps/swagger/package.json +++ b/apps/swagger/package.json @@ -17,7 +17,7 @@ "swagger-ui-react": "4.11.1" }, "devDependencies": { - "@types/node": "14.17.6", + "@types/node": "16.9.1", "@types/react": "18.0.9", "@types/react-dom": "18.0.4", "typescript": "4.6.4" diff --git a/apps/web/package.json b/apps/web/package.json index 08221d3b6e..288e003b79 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -133,7 +133,7 @@ "@types/micro": "7.3.6", "@types/mime-types": "^2.1.1", "@types/module-alias": "^2.0.1", - "@types/node": "14.17.6", + "@types/node": "16.9.1", "@types/nodemailer": "^6.4.4", "@types/qrcode": "^1.4.1", "@types/react": "18.0.9", diff --git a/packages/lib/server/defaultResponder.ts b/packages/lib/server/defaultResponder.ts index e2167db87f..80cb6c99c2 100644 --- a/packages/lib/server/defaultResponder.ts +++ b/packages/lib/server/defaultResponder.ts @@ -6,7 +6,7 @@ import { getServerErrorFromUnkown } from "./getServerErrorFromUnkown"; type Handle = (req: NextApiRequest, res: NextApiResponse) => Promise; -perfObserver.observe({ entryTypes: ["measure"], buffered: true }); +perfObserver.observe({ type: "measure" }); /** Allows us to get type inference from API handler responses */ function defaultResponder(f: Handle) { diff --git a/yarn.lock b/yarn.lock index 38ece35d3d..91e9e0744e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3565,10 +3565,10 @@ resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== -"@types/node@*", "@types/node@14.17.6", "@types/node@16.9.1", "@types/node@>=12.0.0", "@types/node@>=8.1.0", "@types/node@^12.12.6": - version "14.17.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.6.tgz#cc61c8361c89e70c468cda464d1fa3dd7e5ebd62" - integrity sha512-iBxsxU7eswQDGhlr3AiamBxOssaYxbM+NKXVil8jg9yFXvrfEFbDumLD/2dMTB+zYyg7w+Xjt8yuxfdbUHAtcQ== +"@types/node@*", "@types/node@16.9.1", "@types/node@>=12.0.0", "@types/node@>=8.1.0", "@types/node@^12.12.6": + version "16.9.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708" + integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g== "@types/nodemailer@^6.4.4": version "6.4.4" @@ -17580,6 +17580,11 @@ zod@^3.16.0: resolved "https://registry.yarnpkg.com/zod/-/zod-3.16.0.tgz#edfdbf77fcc9a5af13a2630a44bdda5b90e759b7" integrity sha512-szrIkryADbTM+xBt2a1KoS2CJQXec4f9xG78bj5MJeEH/XqmmHpnO+fG3IE115AKBJak+2HrbxLZkc9mhdbDKA== +zod@^3.17.3: + version "3.17.3" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.17.3.tgz#86abbc670ff0063a4588d85a4dcc917d6e4af2ba" + integrity sha512-4oKP5zvG6GGbMlqBkI5FESOAweldEhSOZ6LI6cG+JzUT7ofj1ZOC0PJudpQOpT1iqOFpYYtX5Pw0+o403y4bcg== + zwitch@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920"