Skip to content

Commit b33b091

Browse files
chore(deps): update dependency @types/node to v20 (#568)
Co-authored-by: Mend Renovate <[email protected]>
1 parent dbb694b commit b33b091

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

docs/generated/api.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@
12051205
{
12061206
"kind": "Reference",
12071207
"text": "Buffer",
1208-
"canonicalReference": "!Buffer:class"
1208+
"canonicalReference": "!\"\\\"buffer\\\"\".__global.Buffer:interface"
12091209
},
12101210
{
12111211
"kind": "Content",
@@ -1301,7 +1301,7 @@
13011301
{
13021302
"kind": "Reference",
13031303
"text": "Buffer",
1304-
"canonicalReference": "!Buffer:class"
1304+
"canonicalReference": "!\"\\\"buffer\\\"\".__global.Buffer:interface"
13051305
},
13061306
{
13071307
"kind": "Content",
@@ -1412,7 +1412,7 @@
14121412
{
14131413
"kind": "Reference",
14141414
"text": "Buffer",
1415-
"canonicalReference": "!Buffer:class"
1415+
"canonicalReference": "!\"\\\"buffer\\\"\".__global.Buffer:interface"
14161416
},
14171417
{
14181418
"kind": "Content",
@@ -1769,7 +1769,7 @@
17691769
{
17701770
"kind": "Reference",
17711771
"text": "Buffer",
1772-
"canonicalReference": "!Buffer:class"
1772+
"canonicalReference": "!\"\\\"buffer\\\"\".__global.Buffer:interface"
17731773
},
17741774
{
17751775
"kind": "Content",

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@types/body-parser": "1.19.3",
5757
"@types/minimist": "1.2.2",
5858
"@types/mocha": "9.1.1",
59-
"@types/node": "14.18.62",
59+
"@types/node": "20.7.0",
6060
"@types/on-finished": "2.3.2",
6161
"@types/semver": "^7.3.6",
6262
"@types/sinon": "^10.0.0",

src/function_wrappers.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ type OnDoneCallback = (err: Error | null, result: any) => void;
4545
* @returns an OnDoneCallback for the provided request.
4646
*/
4747
const getOnDoneCallback = (res: Response): OnDoneCallback => {
48-
return process.domain.bind<OnDoneCallback>((err, result) => {
48+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
49+
return (process as any).domain.bind((err: Error | null, result: any) => {
4950
if (res.locals.functionExecutionFinished) {
5051
console.log('Ignoring extra callback call');
5152
} else {

0 commit comments

Comments
 (0)