From bee440668cfef9525b2206828c6c06b59840d4ef Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 29 Sep 2015 15:46:31 +0200 Subject: [PATCH] Preparing for micro workers --- lib/vcode.js | 8 + npm-shrinkwrap.json | 726 ++++++++++++++++++++++---------------------- package.json | 3 +- 3 files changed, 366 insertions(+), 371 deletions(-) create mode 100644 lib/vcode.js diff --git a/lib/vcode.js b/lib/vcode.js new file mode 100644 index 0000000..d920a74 --- /dev/null +++ b/lib/vcode.js @@ -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); + +} diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index f28fee1..9f0914d 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -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": { "version": "1.3.4", "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", "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": { "version": "0.2.14", "from": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz", "resolved": "https://registry.npmjs.org/mimelib/-/mimelib-0.2.14.tgz", "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": { "version": "0.1.11", "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" } } - }, - "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", "from": "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", "resolved": "https://registry.npmjs.org/express/-/express-4.0.0.tgz", "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": { "version": "1.0.0", "from": "https://registry.npmjs.org/accepts/-/accepts-1.0.0.tgz", @@ -225,43 +230,66 @@ } } }, - "type-is": { - "version": "1.0.0", - "from": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.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" - } - } - }, - "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" + "buffer-crc32": { + "version": "0.2.1", + "from": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz" }, "cookie": { "version": "0.1.0", "from": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz" }, - "buffer-crc32": { - "version": "0.2.1", - "from": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz" + "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" + }, + "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": { "version": "0.2.2", "from": "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": { "version": "0.1.0", "from": "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": { "version": "0.2.0", "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": { "version": "1.0.1", "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", "resolved": "https://registry.npmjs.org/send/-/send-0.1.4.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" - }, "fresh": { "version": "0.2.0", "from": "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": { "version": "0.0.4", "from": "https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz", @@ -328,15 +331,22 @@ } } }, - "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" + "type-is": { + "version": "1.0.0", + "from": "https://registry.npmjs.org/type-is/-/type-is-1.0.0.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": { - "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" + "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" } } }, @@ -391,18 +401,6 @@ "from": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz", "resolved": "https://registry.npmjs.org/transformers/-/transformers-2.1.0.tgz", "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": { "version": "1.0.8", "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": { "version": "2.2.5", "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", "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": { "version": "0.3.7", "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" } } + }, + "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,33 +570,104 @@ } } }, + "sha256": { + "version": "0.2.0", + "from": "sha256@0.2.0", + "resolved": "https://registry.npmjs.org/sha256/-/sha256-0.2.0.tgz" + }, "socket.io": { "version": "1.3.5", "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", "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": { "version": "1.5.1", "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", "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": { "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", "dependencies": { "ms": { "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" } } }, - "ws": { - "version": "0.7.2", - "from": "ws@0.7.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-0.7.2.tgz", + "engine.io-parser": { + "version": "1.2.1", + "from": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz", "dependencies": { + "after": { + "version": "0.8.1", + "from": "https://registry.npmjs.org/after/-/after-0.8.1.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": { + "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" + } + } + }, + "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" + } + } + }, + "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", @@ -596,123 +677,76 @@ "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", + "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": { - "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" + } + } + }, + "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" + } + } }, - "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" + }, + "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" + } + } } } }, @@ -721,6 +755,21 @@ "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", @@ -731,50 +780,23 @@ "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", + "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": { + "version": "1.0.4", + "from": "https://registry.npmjs.org/debug/-/debug-1.0.4.tgz", + "resolved": "https://registry.npmjs.org/debug/-/debug-1.0.4.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" + "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" } } }, - "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": { "version": "1.2.1", "from": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz", @@ -819,34 +841,15 @@ } } }, - "debug": { - "version": "1.0.4", - "from": "https://registry.npmjs.org/debug/-/debug-1.0.4.tgz", - "resolved": "https://registry.npmjs.org/debug/-/debug-1.0.4.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": { - "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" - } - } - }, - "parseuri": { - "version": "0.0.4", - "from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", - "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", - "dependencies": { - "better-assert": { - "version": "1.0.2", - "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", - "from": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", - "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz" - } - } + "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,28 +891,59 @@ } } }, - "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" + "parseuri": { + "version": "0.0.4", + "from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.4.tgz", + "dependencies": { + "better-assert": { + "version": "1.0.2", + "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", + "from": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz" + } + } + } + } + }, + "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" + }, + "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" } } }, - "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" - }, - "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" - }, "has-binary": { "version": "0.1.6", "from": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.6.tgz", @@ -927,6 +961,11 @@ "from": "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": { "version": "0.0.2", "from": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.2.tgz", @@ -950,91 +989,38 @@ "version": "0.1.3", "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" - }, - "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", + "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": { + "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": "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" - } - } + "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" }, - "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": { - "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" - } - } - }, - "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": { - "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" + }, + "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" } } } diff --git a/package.json b/package.json index 21d78d1..c688c5e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "socket.io" : "1.3.5", "serve-favicon": "2.3.0", "emailjs":"0.3.16", - "three":"0.71.0" + "three":"0.71.0", + "sha256":"0.2.0" }, "repository" : { "type" : "git",