Preparing for micro workers

This commit is contained in:
Thomas FORGIONE 2015-09-29 15:46:31 +02:00
parent 35a8055fc6
commit bee440668c
3 changed files with 366 additions and 371 deletions

8
lib/vcode.js Normal file
View File

@ -0,0 +1,8 @@
var hash = require('sha256');
var secretKey = require('../private.js').microSecretKey;
module.exports = function(campaignId, workerId) {
return 'mw-' + hash(campaignId + workerId + secretKey);
}

776
npm-shrinkwrap.json generated
View File

@ -94,6 +94,16 @@
} }
} }
}, },
"convert-hex": {
"version": "0.1.0",
"from": "convert-hex@>=0.1.0 <0.2.0",
"resolved": "https://registry.npmjs.org/convert-hex/-/convert-hex-0.1.0.tgz"
},
"convert-string": {
"version": "0.1.0",
"from": "convert-string@>=0.1.0 <0.2.0",
"resolved": "https://registry.npmjs.org/convert-string/-/convert-string-0.1.0.tgz"
},
"cookie-parser": { "cookie-parser": {
"version": "1.3.4", "version": "1.3.4",
"from": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.3.4.tgz", "from": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.3.4.tgz",
@ -157,11 +167,21 @@
"from": "https://registry.npmjs.org/addressparser/-/addressparser-0.3.2.tgz", "from": "https://registry.npmjs.org/addressparser/-/addressparser-0.3.2.tgz",
"resolved": "https://registry.npmjs.org/addressparser/-/addressparser-0.3.2.tgz" "resolved": "https://registry.npmjs.org/addressparser/-/addressparser-0.3.2.tgz"
}, },
"bufferjs": {
"version": "1.1.0",
"from": "https://registry.npmjs.org/bufferjs/-/bufferjs-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/bufferjs/-/bufferjs-1.1.0.tgz"
},
"mimelib": { "mimelib": {
"version": "0.2.14", "version": "0.2.14",
"from": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz", "from": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz",
"resolved": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz", "resolved": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz",
"dependencies": { "dependencies": {
"addressparser": {
"version": "0.2.1",
"from": "https://registry.npmjs.org/addressparser/-/addressparser-0.2.1.tgz",
"resolved": "https://registry.npmjs.org/addressparser/-/addressparser-0.2.1.tgz"
},
"encoding": { "encoding": {
"version": "0.1.11", "version": "0.1.11",
"from": "https://registry.npmjs.org/encoding/-/encoding-0.1.11.tgz", "from": "https://registry.npmjs.org/encoding/-/encoding-0.1.11.tgz",
@ -173,11 +193,6 @@
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.11.tgz" "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.11.tgz"
} }
} }
},
"addressparser": {
"version": "0.2.1",
"from": "https://registry.npmjs.org/addressparser/-/addressparser-0.2.1.tgz",
"resolved": "https://registry.npmjs.org/addressparser/-/addressparser-0.2.1.tgz"
} }
} }
}, },
@ -190,11 +205,6 @@
"version": "0.2.1", "version": "0.2.1",
"from": "https://registry.npmjs.org/starttls/-/starttls-0.2.1.tgz", "from": "https://registry.npmjs.org/starttls/-/starttls-0.2.1.tgz",
"resolved": "https://registry.npmjs.org/starttls/-/starttls-0.2.1.tgz" "resolved": "https://registry.npmjs.org/starttls/-/starttls-0.2.1.tgz"
},
"bufferjs": {
"version": "1.1.0",
"from": "https://registry.npmjs.org/bufferjs/-/bufferjs-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/bufferjs/-/bufferjs-1.1.0.tgz"
} }
} }
}, },
@ -203,11 +213,6 @@
"from": "https://registry.npmjs.org/express/-/express-4.0.0.tgz", "from": "https://registry.npmjs.org/express/-/express-4.0.0.tgz",
"resolved": "https://registry.npmjs.org/express/-/express-4.0.0.tgz", "resolved": "https://registry.npmjs.org/express/-/express-4.0.0.tgz",
"dependencies": { "dependencies": {
"parseurl": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz"
},
"accepts": { "accepts": {
"version": "1.0.0", "version": "1.0.0",
"from": "https://registry.npmjs.org/accepts/-/accepts-1.0.0.tgz", "from": "https://registry.npmjs.org/accepts/-/accepts-1.0.0.tgz",
@ -225,43 +230,66 @@
} }
} }
}, },
"type-is": { "buffer-crc32": {
"version": "1.0.0", "version": "0.2.1",
"from": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.tgz", "from": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.tgz", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz"
"dependencies": {
"mime": {
"version": "1.2.11",
"from": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
}
}
},
"range-parser": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz"
}, },
"cookie": { "cookie": {
"version": "0.1.0", "version": "0.1.0",
"from": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz", "from": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz" "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz"
}, },
"buffer-crc32": { "cookie-signature": {
"version": "0.2.1", "version": "1.0.3",
"from": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz", "from": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz" "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz"
},
"debug": {
"version": "0.8.1",
"from": "https://registry.npmjs.org/debug/-/debug-0.8.1.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.8.1.tgz"
},
"escape-html": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
}, },
"fresh": { "fresh": {
"version": "0.2.2", "version": "0.2.2",
"from": "https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz", "from": "https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz" "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz"
}, },
"merge-descriptors": {
"version": "0.0.2",
"from": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz"
},
"methods": { "methods": {
"version": "0.1.0", "version": "0.1.0",
"from": "https://registry.npmjs.org/methods/-/methods-0.1.0.tgz", "from": "https://registry.npmjs.org/methods/-/methods-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/methods/-/methods-0.1.0.tgz" "resolved": "https://registry.npmjs.org/methods/-/methods-0.1.0.tgz"
}, },
"parseurl": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz"
},
"path-to-regexp": {
"version": "0.1.2",
"from": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz"
},
"qs": {
"version": "0.6.6",
"from": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz",
"resolved": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz"
},
"range-parser": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz"
},
"send": { "send": {
"version": "0.2.0", "version": "0.2.0",
"from": "https://registry.npmjs.org/send/-/send-0.2.0.tgz", "from": "https://registry.npmjs.org/send/-/send-0.2.0.tgz",
@ -274,31 +302,6 @@
} }
} }
}, },
"cookie-signature": {
"version": "1.0.3",
"from": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz"
},
"merge-descriptors": {
"version": "0.0.2",
"from": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz"
},
"utils-merge": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
},
"escape-html": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
},
"qs": {
"version": "0.6.6",
"from": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz",
"resolved": "https://registry.npmjs.org/qs/-/qs-0.6.6.tgz"
},
"serve-static": { "serve-static": {
"version": "1.0.1", "version": "1.0.1",
"from": "https://registry.npmjs.org/serve-static/-/serve-static-1.0.1.tgz", "from": "https://registry.npmjs.org/serve-static/-/serve-static-1.0.1.tgz",
@ -309,16 +312,16 @@
"from": "https://registry.npmjs.org/send/-/send-0.1.4.tgz", "from": "https://registry.npmjs.org/send/-/send-0.1.4.tgz",
"resolved": "https://registry.npmjs.org/send/-/send-0.1.4.tgz", "resolved": "https://registry.npmjs.org/send/-/send-0.1.4.tgz",
"dependencies": { "dependencies": {
"mime": {
"version": "1.2.11",
"from": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
},
"fresh": { "fresh": {
"version": "0.2.0", "version": "0.2.0",
"from": "https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz", "from": "https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz" "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz"
}, },
"mime": {
"version": "1.2.11",
"from": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
},
"range-parser": { "range-parser": {
"version": "0.0.4", "version": "0.0.4",
"from": "https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz", "from": "https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz",
@ -328,15 +331,22 @@
} }
} }
}, },
"path-to-regexp": { "type-is": {
"version": "0.1.2", "version": "1.0.0",
"from": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz", "from": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz" "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.tgz",
"dependencies": {
"mime": {
"version": "1.2.11",
"from": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
}
}
}, },
"debug": { "utils-merge": {
"version": "0.8.1", "version": "1.0.0",
"from": "https://registry.npmjs.org/debug/-/debug-0.8.1.tgz", "from": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.8.1.tgz" "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
} }
} }
}, },
@ -391,18 +401,6 @@
"from": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz", "from": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz", "resolved": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz",
"dependencies": { "dependencies": {
"promise": {
"version": "2.0.0",
"from": "https://registry.npmjs.org/promise/-/promise-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/promise/-/promise-2.0.0.tgz",
"dependencies": {
"is-promise": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz"
}
}
},
"css": { "css": {
"version": "1.0.8", "version": "1.0.8",
"from": "https://registry.npmjs.org/css/-/css-1.0.8.tgz", "from": "https://registry.npmjs.org/css/-/css-1.0.8.tgz",
@ -420,23 +418,23 @@
} }
} }
}, },
"promise": {
"version": "2.0.0",
"from": "https://registry.npmjs.org/promise/-/promise-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/promise/-/promise-2.0.0.tgz",
"dependencies": {
"is-promise": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-1.0.1.tgz"
}
}
},
"uglify-js": { "uglify-js": {
"version": "2.2.5", "version": "2.2.5",
"from": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz", "from": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz",
"dependencies": { "dependencies": {
"source-map": {
"version": "0.1.43",
"from": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
"dependencies": {
"amdefine": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
}
}
},
"optimist": { "optimist": {
"version": "0.3.7", "version": "0.3.7",
"from": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", "from": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz",
@ -448,6 +446,18 @@
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz" "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz"
} }
} }
},
"source-map": {
"version": "0.1.43",
"from": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
"dependencies": {
"amdefine": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
}
}
} }
} }
} }
@ -560,221 +570,50 @@
} }
} }
}, },
"sha256": {
"version": "0.2.0",
"from": "sha256@0.2.0",
"resolved": "https://registry.npmjs.org/sha256/-/sha256-0.2.0.tgz"
},
"socket.io": { "socket.io": {
"version": "1.3.5", "version": "1.3.5",
"from": "https://registry.npmjs.org/socket.io/-/socket.io-1.3.5.tgz", "from": "https://registry.npmjs.org/socket.io/-/socket.io-1.3.5.tgz",
"resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.3.5.tgz", "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.3.5.tgz",
"dependencies": { "dependencies": {
"debug": {
"version": "2.1.0",
"from": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz",
"dependencies": {
"ms": {
"version": "0.6.2",
"from": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
}
}
},
"engine.io": { "engine.io": {
"version": "1.5.1", "version": "1.5.1",
"from": "https://registry.npmjs.org/engine.io/-/engine.io-1.5.1.tgz", "from": "https://registry.npmjs.org/engine.io/-/engine.io-1.5.1.tgz",
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.5.1.tgz", "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.5.1.tgz",
"dependencies": { "dependencies": {
"base64id": {
"version": "0.1.0",
"from": "https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz"
},
"debug": { "debug": {
"version": "1.0.3", "version": "1.0.3",
"from": "debug@1.0.3", "from": "https://registry.npmjs.org/debug/-/debug-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-1.0.3.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-1.0.3.tgz",
"dependencies": { "dependencies": {
"ms": { "ms": {
"version": "0.6.2", "version": "0.6.2",
"from": "ms@0.6.2", "from": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz" "resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
} }
} }
}, },
"ws": {
"version": "0.7.2",
"from": "ws@0.7.2",
"resolved": "https://registry.npmjs.org/ws/-/ws-0.7.2.tgz",
"dependencies": {
"options": {
"version": "0.0.6",
"from": "options@>=0.0.5",
"resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz"
},
"ultron": {
"version": "1.0.2",
"from": "ultron@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz"
},
"bufferutil": {
"version": "1.1.0",
"from": "bufferutil@>=1.1.0 <1.2.0",
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-1.1.0.tgz",
"dependencies": {
"bindings": {
"version": "1.2.1",
"from": "bindings@>=1.2.0 <1.3.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz"
},
"nan": {
"version": "1.8.4",
"from": "nan@>=1.8.0 <1.9.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-1.8.4.tgz"
}
}
},
"utf-8-validate": {
"version": "1.1.0",
"from": "utf-8-validate@>=1.1.0 <1.2.0",
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-1.1.0.tgz",
"dependencies": {
"bindings": {
"version": "1.2.1",
"from": "bindings@>=1.2.0 <1.3.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz"
},
"nan": {
"version": "1.8.4",
"from": "nan@>=1.8.0 <1.9.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-1.8.4.tgz"
}
}
}
}
},
"engine.io-parser": {
"version": "1.2.1",
"from": "engine.io-parser@1.2.1",
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz",
"dependencies": {
"after": {
"version": "0.8.1",
"from": "after@0.8.1",
"resolved": "https://registry.npmjs.org/after/-/after-0.8.1.tgz"
},
"arraybuffer.slice": {
"version": "0.0.6",
"from": "arraybuffer.slice@0.0.6",
"resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz"
},
"base64-arraybuffer": {
"version": "0.1.2",
"from": "base64-arraybuffer@0.1.2",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.2.tgz"
},
"blob": {
"version": "0.0.2",
"from": "blob@0.0.2",
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.2.tgz"
},
"has-binary": {
"version": "0.1.5",
"from": "has-binary@0.1.5",
"resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.5.tgz",
"dependencies": {
"isarray": {
"version": "0.0.1",
"from": "isarray@0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}
}
},
"utf8": {
"version": "2.0.0",
"from": "utf8@2.0.0",
"resolved": "https://registry.npmjs.org/utf8/-/utf8-2.0.0.tgz"
}
}
},
"base64id": {
"version": "0.1.0",
"from": "base64id@0.1.0",
"resolved": "https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz"
}
}
},
"socket.io-parser": {
"version": "2.2.4",
"from": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.4.tgz",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.4.tgz",
"dependencies": {
"debug": {
"version": "0.7.4",
"from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
},
"json3": {
"version": "3.2.6",
"from": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz",
"resolved": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz"
},
"component-emitter": {
"version": "1.1.2",
"from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz"
},
"isarray": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
},
"benchmark": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz"
}
}
},
"socket.io-client": {
"version": "1.3.5",
"from": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.3.5.tgz",
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.3.5.tgz",
"dependencies": {
"debug": {
"version": "0.7.4",
"from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
},
"engine.io-client": {
"version": "1.5.1",
"from": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.5.1.tgz",
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.5.1.tgz",
"dependencies": {
"has-cors": {
"version": "1.0.3",
"from": "https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz",
"dependencies": {
"global": {
"version": "2.0.1",
"from": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"resolved": "https://github.com/component/global/archive/v2.0.1.tar.gz"
}
}
},
"ws": {
"version": "0.4.31",
"from": "https://registry.npmjs.org/ws/-/ws-0.4.31.tgz",
"resolved": "https://registry.npmjs.org/ws/-/ws-0.4.31.tgz",
"dependencies": {
"commander": {
"version": "0.6.1",
"from": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz",
"resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz"
},
"nan": {
"version": "0.3.2",
"from": "https://registry.npmjs.org/nan/-/nan-0.3.2.tgz",
"resolved": "https://registry.npmjs.org/nan/-/nan-0.3.2.tgz"
},
"tinycolor": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/tinycolor/-/tinycolor-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/tinycolor/-/tinycolor-0.0.1.tgz"
},
"options": {
"version": "0.0.6",
"from": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
"resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz"
}
}
},
"xmlhttprequest": {
"version": "1.5.0",
"from": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz",
"resolved": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz"
},
"engine.io-parser": { "engine.io-parser": {
"version": "1.2.1", "version": "1.2.1",
"from": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz", "from": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz",
@ -819,6 +658,133 @@
} }
} }
}, },
"ws": {
"version": "0.5.0",
"from": "ws@0.5.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-0.5.0.tgz",
"dependencies": {
"nan": {
"version": "1.4.3",
"from": "nan@>=1.4.0 <1.5.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-1.4.3.tgz"
},
"options": {
"version": "0.0.6",
"from": "options@>=0.0.5",
"resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz"
},
"ultron": {
"version": "1.0.2",
"from": "ultron@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz"
}
}
}
}
},
"has-binary-data": {
"version": "0.1.3",
"from": "https://registry.npmjs.org/has-binary-data/-/has-binary-data-0.1.3.tgz",
"resolved": "https://registry.npmjs.org/has-binary-data/-/has-binary-data-0.1.3.tgz",
"dependencies": {
"isarray": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}
}
},
"socket.io-adapter": {
"version": "0.3.1",
"from": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.3.1.tgz",
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.3.1.tgz",
"dependencies": {
"debug": {
"version": "1.0.2",
"from": "https://registry.npmjs.org/debug/-/debug-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-1.0.2.tgz",
"dependencies": {
"ms": {
"version": "0.6.2",
"from": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
}
}
},
"object-keys": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.1.tgz"
},
"socket.io-parser": {
"version": "2.2.2",
"from": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.2.tgz",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.2.tgz",
"dependencies": {
"benchmark": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz"
},
"component-emitter": {
"version": "1.1.2",
"from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz"
},
"debug": {
"version": "0.7.4",
"from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
},
"isarray": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
},
"json3": {
"version": "3.2.6",
"from": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz",
"resolved": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz"
}
}
}
}
},
"socket.io-client": {
"version": "1.3.5",
"from": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.3.5.tgz",
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.3.5.tgz",
"dependencies": {
"backo2": {
"version": "1.0.2",
"from": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz"
},
"component-bind": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz"
},
"component-emitter": {
"version": "1.1.2",
"from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz"
},
"debug": {
"version": "0.7.4",
"from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
},
"engine.io-client": {
"version": "1.5.1",
"from": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.5.1.tgz",
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.5.1.tgz",
"dependencies": {
"component-inherit": {
"version": "0.0.3",
"from": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz",
"resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz"
},
"debug": { "debug": {
"version": "1.0.4", "version": "1.0.4",
"from": "https://registry.npmjs.org/debug/-/debug-1.0.4.tgz", "from": "https://registry.npmjs.org/debug/-/debug-1.0.4.tgz",
@ -831,22 +797,59 @@
} }
} }
}, },
"parseuri": { "engine.io-parser": {
"version": "0.0.4", "version": "1.2.1",
"from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", "from": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz",
"resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz",
"dependencies": { "dependencies": {
"better-assert": { "after": {
"version": "1.0.2", "version": "0.8.1",
"from": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", "from": "https://registry.npmjs.org/after/-/after-0.8.1.tgz",
"resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", "resolved": "https://registry.npmjs.org/after/-/after-0.8.1.tgz"
},
"arraybuffer.slice": {
"version": "0.0.6",
"from": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz",
"resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz"
},
"base64-arraybuffer": {
"version": "0.1.2",
"from": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.2.tgz",
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.2.tgz"
},
"blob": {
"version": "0.0.2",
"from": "https://registry.npmjs.org/blob/-/blob-0.0.2.tgz",
"resolved": "https://registry.npmjs.org/blob/-/blob-0.0.2.tgz"
},
"has-binary": {
"version": "0.1.5",
"from": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.5.tgz",
"resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.5.tgz",
"dependencies": { "dependencies": {
"callsite": { "isarray": {
"version": "1.0.0", "version": "0.0.1",
"from": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
} }
} }
},
"utf8": {
"version": "2.0.0",
"from": "https://registry.npmjs.org/utf8/-/utf8-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/utf8/-/utf8-2.0.0.tgz"
}
}
},
"has-cors": {
"version": "1.0.3",
"from": "https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.0.3.tgz",
"dependencies": {
"global": {
"version": "2.0.1",
"from": "https://github.com/component/global/archive/v2.0.1.tar.gz",
"resolved": "https://github.com/component/global/archive/v2.0.1.tar.gz"
} }
} }
}, },
@ -888,27 +891,58 @@
} }
} }
}, },
"component-inherit": { "parseuri": {
"version": "0.0.3", "version": "0.0.4",
"from": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", "from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz",
"resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz" "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz",
} "dependencies": {
} "better-assert": {
}, "version": "1.0.2",
"component-bind": { "from": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz",
"dependencies": {
"callsite": {
"version": "1.0.0", "version": "1.0.0",
"from": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", "from": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz" "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz"
}
}
}
}
}, },
"component-emitter": { "ws": {
"version": "1.1.2", "version": "0.4.31",
"from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz", "from": "https://registry.npmjs.org/ws/-/ws-0.4.31.tgz",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz" "resolved": "https://registry.npmjs.org/ws/-/ws-0.4.31.tgz",
"dependencies": {
"commander": {
"version": "0.6.1",
"from": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz",
"resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz"
}, },
"object-component": { "nan": {
"version": "0.0.3", "version": "0.3.2",
"from": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", "from": "https://registry.npmjs.org/nan/-/nan-0.3.2.tgz",
"resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz" "resolved": "https://registry.npmjs.org/nan/-/nan-0.3.2.tgz"
},
"options": {
"version": "0.0.6",
"from": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
"resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz"
},
"tinycolor": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/tinycolor/-/tinycolor-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/tinycolor/-/tinycolor-0.0.1.tgz"
}
}
},
"xmlhttprequest": {
"version": "1.5.0",
"from": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz",
"resolved": "https://github.com/rase-/node-XMLHttpRequest/archive/a6b6f2.tar.gz"
}
}
}, },
"has-binary": { "has-binary": {
"version": "0.1.6", "version": "0.1.6",
@ -927,6 +961,11 @@
"from": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", "from": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz" "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz"
}, },
"object-component": {
"version": "0.0.3",
"from": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz",
"resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz"
},
"parseuri": { "parseuri": {
"version": "0.0.2", "version": "0.0.2",
"from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.2.tgz", "from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.2.tgz",
@ -950,91 +989,38 @@
"version": "0.1.3", "version": "0.1.3",
"from": "https://registry.npmjs.org/to-array/-/to-array-0.1.3.tgz", "from": "https://registry.npmjs.org/to-array/-/to-array-0.1.3.tgz",
"resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.3.tgz" "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.3.tgz"
},
"backo2": {
"version": "1.0.2",
"from": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz"
}
}
},
"socket.io-adapter": {
"version": "0.3.1",
"from": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.3.1.tgz",
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.3.1.tgz",
"dependencies": {
"debug": {
"version": "1.0.2",
"from": "https://registry.npmjs.org/debug/-/debug-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-1.0.2.tgz",
"dependencies": {
"ms": {
"version": "0.6.2",
"from": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
} }
} }
}, },
"socket.io-parser": { "socket.io-parser": {
"version": "2.2.2", "version": "2.2.4",
"from": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.2.tgz", "from": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.4.tgz",
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.2.tgz", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.2.4.tgz",
"dependencies": { "dependencies": {
"debug": { "benchmark": {
"version": "0.7.4", "version": "1.0.0",
"from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz", "from": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz" "resolved": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz"
},
"json3": {
"version": "3.2.6",
"from": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz",
"resolved": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz"
}, },
"component-emitter": { "component-emitter": {
"version": "1.1.2", "version": "1.1.2",
"from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz", "from": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz" "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz"
}, },
"isarray": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
},
"benchmark": {
"version": "1.0.0",
"from": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz"
}
}
},
"object-keys": {
"version": "1.0.1",
"from": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.1.tgz"
}
}
},
"has-binary-data": {
"version": "0.1.3",
"from": "https://registry.npmjs.org/has-binary-data/-/has-binary-data-0.1.3.tgz",
"resolved": "https://registry.npmjs.org/has-binary-data/-/has-binary-data-0.1.3.tgz",
"dependencies": {
"isarray": {
"version": "0.0.1",
"from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}
}
},
"debug": { "debug": {
"version": "2.1.0", "version": "0.7.4",
"from": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz", "from": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
"dependencies": { },
"ms": { "isarray": {
"version": "0.6.2", "version": "0.0.1",
"from": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
},
"json3": {
"version": "3.2.6",
"from": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz",
"resolved": "https://registry.npmjs.org/json3/-/json3-3.2.6.tgz"
} }
} }
} }

View File

@ -11,7 +11,8 @@
"socket.io" : "1.3.5", "socket.io" : "1.3.5",
"serve-favicon": "2.3.0", "serve-favicon": "2.3.0",
"emailjs":"0.3.16", "emailjs":"0.3.16",
"three":"0.71.0" "three":"0.71.0",
"sha256":"0.2.0"
}, },
"repository" : { "repository" : {
"type" : "git", "type" : "git",