Add support for running using deno (#362)

* Add missing CRLF line ending

* Add support for running using deno

Prefix node imports with "node:" and gate a socket API that is not
implemented in [deno](https://deno.land) so that the library can be used
there. This should not break node and doesn't in my brief testing.
This commit is contained in:
Tom 2023-10-10 09:25:57 +00:00 committed by GitHub
parent 150fa0035f
commit 01794f6339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 32 additions and 14 deletions

View file

@ -36,6 +36,8 @@
* Operation: Harsh Doorstop (2023) - Added support.
* Insurgency: Modern Infantry Combat (2007) - Added support.
* Capatilzed Unturned in game.txt
* Added Deno support: the library and CLI can now be experimentally used with the [Deno runtime](https://deno.com)
* `deno run --allow-net --allow-read=. bin/gamedig.js --type tf2 127.0.0.1`
### 4.1.0
* Replace `compressjs` dependency by `seek-bzip` to solve some possible import issues.