Commit graph

1324 commits

Author SHA1 Message Date
Romain Beaumont
19d69d4701
Merge pull request #714 from Karang/karang_compiler
Use protodef compiler
2020-05-20 12:45:41 +02:00
Romain Beaumont
00b6d8aebb
add exit option to mocha to unblock tests 2020-05-20 12:44:11 +02:00
Romain Beaumont
b9350867d7
use latested nbt and protodef to use the compiler 2020-05-20 12:39:18 +02:00
Karang
66619f7ac0 Use compiled prismarine-nbt, simplify 2020-05-18 20:22:26 +02:00
Romain Beaumont
216a4b9b0d
Merge pull request #717 from PrismarineJS/dependabot/npm_and_yarn/types/node-14.0.1
Bump @types/node from 13.13.6 to 14.0.1
2020-05-17 12:47:22 +02:00
dependabot-preview[bot]
663c485bf5
Bump @types/node from 13.13.6 to 14.0.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.6 to 14.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 09:58:48 +00:00
Romain Beaumont
ec44eeb3b2
Add npm publish workflow to automatically release to npm
It will be triggered when a "Release XXX" commit is done containing an update of the package.json version
It will add a tag with the right version automatically

uses github action https://github.com/marketplace/actions/publish-to-npm
2020-05-16 22:37:30 +02:00
Karang
446bf2e923 Add protodef compiler 2020-05-16 16:57:04 +02:00
Romain Beaumont
306d7a7e6d
Update README.md 2020-05-10 00:42:06 +02:00
Romain Beaumont
dd71a10024
Merge pull request #708 from PrismarineJS/snyk-fix-ed6492f29440a018498666745e364184
[Snyk] Security upgrade uuid-1345 from 0.99.7 to 1.0.1
2020-05-05 02:15:42 +02:00
snyk-bot
d2f886a0c7 fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MACADDRESS-567156
2020-05-05 00:28:57 +02:00
Romain Beaumont
3174284d00
Merge pull request #706 from PrismarineJS/snyk-upgrade-c35355a523872560748c4b250831e862
[Snyk] Upgrade buffer-equal from 0.0.1 to 0.0.2
2020-05-04 20:47:56 +02:00
Romain Beaumont
6545262f5d
Merge pull request #705 from PrismarineJS/snyk-upgrade-acd4828f9c579d9b40df2a225df815b7
[Snyk] Upgrade readline from 0.0.7 to 0.0.8
2020-05-04 20:45:58 +02:00
snyk-bot
f6d30844ff fix: upgrade buffer-equal from 0.0.1 to 0.0.2
Snyk has created this PR to upgrade buffer-equal from 0.0.1 to 0.0.2.

See this package in NPM:
https://www.npmjs.com/package/buffer-equal

See this project in Snyk:
https://app.snyk.io/org/rom1504/project/d980c3b1-e278-4eac-985b-7c3511aa1f6d?utm_source=github&utm_medium=upgrade-pr
2020-05-04 10:03:33 +02:00
snyk-bot
d8e018911f fix: upgrade readline from 0.0.7 to 0.0.8
Snyk has created this PR to upgrade readline from 0.0.7 to 0.0.8.

See this package in NPM:
https://www.npmjs.com/package/readline

See this project in Snyk:
https://app.snyk.io/org/rom1504/project/b8cf11b5-595f-40f7-bb31-3eb34965b78d?utm_source=github&utm_medium=upgrade-pr
2020-05-04 06:41:19 +02:00
Romain Beaumont
4d80502c40
update readme example for 1.15.2 2020-05-03 23:42:00 +02:00
greenkeeper[bot]
54a506e8ff
chore(readme): remove Greenkeeper badge (#704)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-05-03 12:51:34 +02:00
Heath123
bba58c8d28
Fix error in example (#701)
* Fix error in example

This fixes an error that occurs with the example echo client:
```TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object```
This change might be needed in the server as well, but I didn't test that. Or maybe there's a better way to fix this

* Fix Browserify and Webpack

* Actually fix Browserify/Webpack

* ACTUALLY actually fix Browserify/Webpack

* Surely this will fix Browserify/Webpack
2020-05-03 12:16:30 +02:00
Romain Beaumont
28b52a9158
update mcdata, add explicit test for 1.16 (#691)
* update mcdata, add explicit test for 1.16

* Update mcdata again with fix for success packet
2020-03-30 23:55:53 +02:00
Romain Beaumont
6d697b96dd
Add License file, closes #689 2020-03-29 19:41:27 +02:00
Kneesnap
5ccb48e255
Follow the authentication spec more closely : use username sent by mojang. (#684)
* Follow the authentication spec more closely.

Theoretically this shouldn't make much of a difference, but I did notice it when I was reading through the npm code.
We should trust the API, not our own understanding of the API, just for safety reasons.

* Keep comment together with relevant code.
2020-03-28 17:32:53 +01:00
Romain Beaumont
b6d47ddc8e
update mcdata and explicit 1.15.2 support 2020-03-28 17:19:58 +01:00
Romain Beaumont
e2fd19fd71
add minecraft-packet-debugger to readme 2020-03-20 23:43:24 +01:00
Romain Beaumont
8a143588a2 Release 1.11.0 2020-02-11 21:23:18 +00:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
Romain Beaumont
db1c7c31e4
Merge pull request #673 from wvffle/wvffle/yggdrasil
Update yggdrasil
2020-02-02 02:07:51 +01:00
Kasper Seweryn
c56723c65a
Update to v1.2.0 2020-02-02 01:04:48 +00:00
Kasper Seweryn
49b35ff133
Update auth.js 2020-02-01 18:55:08 +00:00
Kasper Seweryn
ed73a6f1a2
Update encrypt.js 2020-02-01 18:54:45 +00:00
Kasper Seweryn
7eeee9baba
Update login.js 2020-02-01 18:54:27 +00:00
Kasper Seweryn
1904fe31b0
Update yggdrasil 2020-02-01 18:53:15 +00:00
Romain Beaumont
d937912bef
Merge pull request #674 from PrismarineJS/greenkeeper/mocha-7.0.1
Update mocha to the latest version 🚀
2020-01-30 21:14:23 +01:00
Romain Beaumont
1c990e55ed
Merge pull request #675 from bangbang93/master
fix dts
2020-01-30 21:14:08 +01:00
bangbang93
99826bcbe5 fix dts 2020-01-29 17:34:33 +08:00
bangbang93
c54ec84071 fix dts 2020-01-29 17:31:49 +08:00
greenkeeper[bot]
5ddf913011
chore(package): update mocha to version 7.0.1 2020-01-26 08:39:22 +00:00
Romain Beaumont
f4f72f1d35
Release 1.10.0 2019-12-29 23:39:50 +01:00
Romain Beaumont
3e831b701c
Merge pull request #669 from PrismarineJS/1.15.1_support
update mcdata and bring 1.15.1 support
2019-12-29 23:36:10 +01:00
Romain Beaumont
1f56196561
also support for 1.15 2019-12-29 23:35:34 +01:00
Romain Beaumont
33178bb94d
add new fields in login packet usage for 1.15.1 2019-12-29 23:27:04 +01:00
Romain Beaumont
4604330586
handle count with number properly in packet test 2019-12-29 23:17:38 +01:00
Romain Beaumont
c0ae9b1546
update mcdata and bring 1.15.1 support 2019-12-29 22:56:59 +01:00
Romain Beaumont
bb9a4453d5
Merge pull request #665 from ShayBox/patch-1
Add connect to types
2019-12-26 21:11:12 +01:00
Romain Beaumont
e9c341b74f
Merge pull request #666 from PrismarineJS/greenkeeper/@types/node-13.1.0
Update @types/node to the latest version 🚀
2019-12-26 21:10:25 +01:00
greenkeeper[bot]
77b963eb4e
chore(package): update @types/node to version 13.1.0 2019-12-23 17:34:42 +00:00
Shayne Hartford
2d83c0e415
Fix type and add close type to Server 2019-12-22 01:12:43 -05:00
Shayne Hartford
6dff6489c9
Change name and move position 2019-12-21 19:43:46 -05:00
Shayne Hartford
3b7ecc5895
Add connect to types
Add missing connect function to typings for Client
<https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/client.js#L222>
2019-12-21 19:42:16 -05:00
Romain Beaumont
bbe666f968
Merge pull request #662 from matthi4s/master
socket end timeout
2019-11-15 23:19:33 +01:00
Matthias Neid
be1870457c fixed indentation 2019-11-15 14:08:45 +01:00