ably-js icon indicating copy to clipboard operation
ably-js copied to clipboard

[WIP] Update `got` to v12

Open VeskeR opened this issue 9 months ago • 0 comments

got@12 is the latest version of got we can update to without making very drastic changes to the codebase. Installing got@13 will cause our TS import statements to fail with:

Cannot find module 'got' or its corresponding type declarations.
  There are types at 'node_modules/got/dist/source/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.

and tinkering with module and moduleResolution in tsconfig.json opens up another can of worms which I'm not sure justifies trying to upgrade to got@13

VeskeR avatar May 03 '24 17:05 VeskeR