code-server/test/unit/node
renovate[bot] 91589fd106
chore(deps): update dependency @types/node to v16 (#5170)
* Update Node types to 16

* Update Express core types

Fixes a number of conflicts it has with Node 16.

* Fix websocket router types

It seems req was `any` before so now we have to handle the types.  Also
it seems the socket is of type `stream.Duplex`, not `net.Socket`.

The ws types had to be updated to support the new type.

Unfortunately Code still uses the old type so cast for now.

In the web socket router just use a cast for the extra properties we
add.  We could add the types to the Express namespace but I am not sure
we really want these commonly accessible so keep with the casts for now.
Likely we should use Express's `locals` or something instead.

* Add missing return

Not sure why it only just now started complaining though.

Co-authored-by: Asher <ash@coder.com>
2022-08-10 16:15:52 -05:00
..
routes chore: update Code to 1.68 (#5263) 2022-06-21 21:51:46 +00:00
test-plugin release: 4.0.1 (#4678) 2022-01-05 13:06:32 -07:00
app.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
cli.test.ts chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
constants.test.ts refactor: remove dead code (#5188) 2022-05-10 22:44:54 +00:00
heart.test.ts refactor(heart): bind class methods and make beat async (#5142) 2022-05-04 16:05:48 -07:00
http.test.ts feat(http): keep slashes in queryParams in redirects (#4928) 2022-03-01 12:11:56 -07:00
plugin.test.ts feat: add option for disabling file downloads (#5055) 2022-04-13 09:39:05 -07:00
proxy.test.ts chore: replace eslint-import-resolver-alias with eslint-import-resolver-typescript (#4546) 2021-12-07 14:39:01 -07:00
settings.test.ts feat: publish beta and development tags on npm (#4769) 2022-01-21 16:28:56 -07:00
socket.test.ts chore: upgrade Code to 1.66 (#5135) 2022-05-04 21:58:49 +00:00
update.test.ts chore(deps): update dependency @types/node to v16 (#5170) 2022-08-10 16:15:52 -05:00
util.test.ts refactor: open function (#5257) 2022-06-15 20:53:07 +00:00