Commit graph

1246 commits

Author SHA1 Message Date
Romain Beaumont
e22e6f0ef0
move readme to docs folder for gh pages 2020-06-21 19:34:18 +02:00
Romain Beaumont
5bd83fd57f
Delete issue_template.md 2020-06-21 19:25:32 +02:00
Romain Beaumont
fcd54d2c0e
Update bug_report.md 2020-06-21 19:10:12 +02:00
Romain Beaumont
4f48c7874a Update issue templates 2020-06-21 19:04:23 +02:00
Romain Beaumont
82824325da
Release 1.12.4 2020-06-21 18:59:08 +02:00
Romain Beaumont
89209cf779
if hide errors is true, don't display partial packet errors, add FAQ 2020-06-21 18:57:39 +02:00
Romain Beaumont
8e4978f379
Release 1.12.3 2020-06-21 18:26:47 +02:00
Romain Beaumont
d20c1a618b
in all case of SRV lookup failure, connect directly
solve issues with tcpshield servers
2020-06-21 18:25:23 +02:00
Romain Beaumont
4a20374082
fix a few errors in socks proxy example 2020-06-16 17:53:53 +02:00
Romain Beaumont
fce9ae2661
Release 1.12.2 2020-06-16 01:49:03 +02:00
Romain Beaumont
0aa3253df7
make SRV record correctly propagate host to serverHost field (fix for tcp shield) 2020-06-16 01:47:30 +02:00
Romain Beaumont
b9c6b13f00
Merge pull request #730 from PrismarineJS/dependabot/npm_and_yarn/mocha-8.0.1
Bump mocha from 7.2.0 to 8.0.1
2020-06-13 18:17:05 +02:00
dependabot-preview[bot]
fafd9c0b27
Bump mocha from 7.2.0 to 8.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:27:56 +00:00
Romain Beaumont
ef604f7568
Merge pull request #728 from PrismarineJS/ga_ci
switch to ga ci
2020-06-07 23:39:14 +02:00
Romain Beaumont
236d4768d5
remove circle ci 2020-06-07 23:37:09 +02:00
Romain Beaumont
5dba05e7d5
switch to ga ci 2020-06-07 23:31:42 +02:00
Romain Beaumont
eb549f2ea9
Release 1.12.1 2020-06-07 23:26:30 +02:00
Romain Beaumont
891e77da4a
Merge pull request #725 from FTOH/patch-1
Fix error for mcdtf.tk server
2020-06-06 20:18:11 +02:00
Anton Makarenko
c0c9624dae
Fix error for mcdtf.tk server 2020-06-06 22:22:26 +07:00
Romain Beaumont
345ab6071d
fix require self setup
required for github action that autopublish
2020-05-22 22:35:51 +02:00
Romain Beaumont
ea5f587a15 add back require-self for now in prepublish script 2020-05-20 10:52:54 +00:00
Romain Beaumont
649ff60e1c Release 1.12.0 2020-05-20 10:52:20 +00:00
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