Skip to content

Commit b2ea066

Browse files
committed
fixes and fixes
1 parent cdafc11 commit b2ea066

File tree

3 files changed

+8
-50
lines changed

3 files changed

+8
-50
lines changed

dev-packages/node-integration-tests/suites/public-api/LocalVariables/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ conditionalTest({ min: 18 })('LocalVariables integration', () => {
8484

8585
child.on('message', msg => {
8686
reportedCount++;
87-
const rssMb = msg.memUsage.rss / 1024 / 1024;
87+
const rssMb = (msg as { memUsage: { rss: number } }).memUsage.rss / 1024 / 1024;
8888
// We shouldn't use more than 120MB of memory
8989
expect(rssMb).toBeLessThan(120);
9090
});

packages/vercel-edge/test/transports/index.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ class Headers {
2525

2626
const mockFetch = jest.fn();
2727

28-
// @ts-expect-error fetch is not on global
2928
const oldFetch = global.fetch;
30-
// @ts-expect-error fetch is not on global
3129
global.fetch = mockFetch;
3230

3331
afterAll(() => {
34-
// @ts-expect-error fetch is not on global
3532
global.fetch = oldFetch;
3633
});
3734

yarn.lock

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6632,17 +6632,8 @@
66326632
dependencies:
66336633
"@types/unist" "*"
66346634

6635-
"@types/history-4@npm:@types/history@4.7.8":
6636-
version "4.7.8"
6637-
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
6638-
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
6639-
6640-
"@types/history-5@npm:@types/history@4.7.8":
6641-
version "4.7.8"
6642-
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
6643-
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
6644-
6645-
"@types/history@*":
6635+
"@types/history-4@npm:@types/history@4.7.8", "@types/history-5@npm:@types/history@4.7.8", "@types/history@*":
6636+
name "@types/history-4"
66466637
version "4.7.8"
66476638
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
66486639
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
@@ -7027,15 +7018,7 @@
70277018
"@types/history" "^3"
70287019
"@types/react" "*"
70297020

7030-
"@types/react-router-4@npm:@types/react-router@5.1.14":
7031-
version "5.1.14"
7032-
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.14.tgz#e0442f4eb4c446541ad7435d44a97f8fe6df40da"
7033-
integrity sha512-LAJpqYUaCTMT2anZheoidiIymt8MuX286zoVFPM3DVb23aQBH0mAkFvzpd4LKqiolV8bBtZWT5Qp7hClCNDENw==
7034-
dependencies:
7035-
"@types/history" "*"
7036-
"@types/react" "*"
7037-
7038-
"@types/react-router-5@npm:@types/react-router@5.1.14":
7021+
"@types/react-router-4@npm:@types/react-router@5.1.14", "@types/react-router-5@npm:@types/react-router@5.1.14":
70397022
version "5.1.14"
70407023
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.14.tgz#e0442f4eb4c446541ad7435d44a97f8fe6df40da"
70417024
integrity sha512-LAJpqYUaCTMT2anZheoidiIymt8MuX286zoVFPM3DVb23aQBH0mAkFvzpd4LKqiolV8bBtZWT5Qp7hClCNDENw==
@@ -25203,7 +25186,8 @@ react-is@^18.0.0:
2520325186
dependencies:
2520425187
"@remix-run/router" "1.0.2"
2520525188

25206-
"react-router-6@npm:react-router@6.3.0":
25189+
"react-router-6@npm:react-router@6.3.0", react-router@6.3.0:
25190+
name react-router-6
2520725191
version "6.3.0"
2520825192
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
2520925193
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
@@ -25218,13 +25202,6 @@ react-router-dom@^6.2.2:
2521825202
history "^5.2.0"
2521925203
react-router "6.3.0"
2522025204

25221-
react-router@6.3.0:
25222-
version "6.3.0"
25223-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
25224-
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
25225-
dependencies:
25226-
history "^5.2.0"
25227-
2522825205
react@^18.0.0:
2522925206
version "18.0.0"
2523025207
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
@@ -27704,7 +27681,7 @@ stringify-object@^3.2.1:
2770427681
is-obj "^1.0.1"
2770527682
is-regexp "^1.0.0"
2770627683

27707-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
27684+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
2770827685
version "6.0.1"
2770927686
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
2771027687
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -27732,13 +27709,6 @@ strip-ansi@^5.1.0, strip-ansi@^5.2.0:
2773227709
dependencies:
2773327710
ansi-regex "^4.1.0"
2773427711

27735-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
27736-
version "6.0.1"
27737-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
27738-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
27739-
dependencies:
27740-
ansi-regex "^5.0.1"
27741-
2774227712
strip-ansi@^7.0.1:
2774327713
version "7.0.1"
2774427714
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
@@ -30400,16 +30370,7 @@ workerpool@^6.4.0:
3040030370
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.4.0.tgz#f8d5cfb45fde32fa3b7af72ad617c3369567a462"
3040130371
integrity sha512-i3KR1mQMNwY2wx20ozq2EjISGtQWDIfV56We+yGJ5yDs8jTwQiLLaqHlkBHITlCuJnYlVRmXegxFxZg7gqI++A==
3040230372

30403-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
30404-
version "7.0.0"
30405-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
30406-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
30407-
dependencies:
30408-
ansi-styles "^4.0.0"
30409-
string-width "^4.1.0"
30410-
strip-ansi "^6.0.0"
30411-
30412-
wrap-ansi@7.0.0, wrap-ansi@^5.1.0, wrap-ansi@^6.2.0, wrap-ansi@^7.0.0, wrap-ansi@^8.1.0:
30373+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@7.0.0, wrap-ansi@^5.1.0, wrap-ansi@^6.2.0, wrap-ansi@^7.0.0, wrap-ansi@^8.1.0:
3041330374
version "7.0.0"
3041430375
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
3041530376
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

0 commit comments

Comments
 (0)