update deps

This commit is contained in:
mhsjlw 2016-04-02 15:56:47 -04:00
commit 1b23ccfcf6
2 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{
"name": "pocket-minecraft-protocol",
"version": "1.0.0",
"description": "Parse and serialize Minecraft PE packets.",
"description": "Parse and serialize Minecraft PE packets",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
@ -17,9 +17,9 @@
],
"license": "MIT",
"dependencies": {
"prismarine-nbt": "^0.2.1",
"prismarine-nbt": "^0.2.2",
"protodef": "^1.1.2",
"raknet": "^1.2.0"
"raknet": "^1.3.0"
},
"devDependencies": {},
"repository": {

View file

@ -4,15 +4,13 @@ var debug;
if(process.env.NODE_DEBUG) {
var pid = process.pid;
debug = function(x) {
// if console is not set up yet, then skip this.
if(!console.error)
return;
console.error('MC-PROTO: %d', pid,
console.error('MCPE-PROTO: %d', pid,
util.format.apply(util, arguments));
};
} else {
debug = function() {
};
debug = function() {}
}
module.exports = debug;