Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
0 info it worked if it ends with ok
1 verbose cli [ '/home/vagrant/nvm/v0.8.12/bin/node',
1 verbose cli '/home/vagrant/nvm/v0.8.12/bin/npm',
1 verbose cli 'install',
1 verbose cli '' ]
2 info using npm@1.1.63
3 info using node@v0.8.12
4 verbose read json /vagrant/sites/all/modules/nodejs/package.json
5 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/connect/package.json
6 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/request/package.json
7 verbose from cache /vagrant/sites/all/modules/nodejs/package.json
8 verbose readDependencies using package.json deps
9 verbose cache add [ '', null ]
10 silly cache add name=undefined spec="" args=["",null]
11 verbose parsed url { pathname: '',
11 verbose parsed url path: '',
11 verbose parsed url href: '' }
12 silly cache add name="" spec="~0.9.6" args=["","~0.9.6"]
13 verbose parsed url { pathname: '~0.9.6', path: '~0.9.6', href: '~0.9.6' }
14 verbose addNamed [ '', '~0.9.6' ]
15 verbose addNamed [ null, '>=0.9.6- <0.10.0-' ]
16 silly lockFile f2e07591-socket-io-0-9-6
17 verbose lock /home/vagrant/.npm/f2e07591-socket-io-0-9-6.lock
18 silly addNameRange { name: '', range: '>=0.9.6- <0.10.0-', hasData: false }
19 verbose url raw
20 verbose url resolving [ '', './' ]
21 verbose url resolved
22 info trying registry request attempt 1 at 18:19:54
23 verbose etag "1LBMLXQFNNK4Y979ZKCV65760"
24 http GET
25 http 304
26 silly registry.get cb [ 304,
26 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
26 silly registry.get etag: '"1LBMLXQFNNK4Y979ZKCV65760"',
26 silly registry.get date: 'Fri, 12 Oct 2012 18:19:54 GMT',
26 silly registry.get 'content-length': '0' } ]
27 verbose etag from cache
28 silly addNameRange number 2 { name: '', range: '>=0.9.6- <0.10.0-', hasData: true }
29 silly addNameRange versions [ '',
29 silly addNameRange [ '0.3.8',
29 silly addNameRange '0.4.0',
29 silly addNameRange '0.4.1',
29 silly addNameRange '0.5.1',
29 silly addNameRange '0.5.3',
29 silly addNameRange '0.6.0',
29 silly addNameRange '0.6.1',
29 silly addNameRange '0.6.3',
29 silly addNameRange '0.6.4',
29 silly addNameRange '0.6.5',
29 silly addNameRange '0.6.6',
29 silly addNameRange '0.6.7',
29 silly addNameRange '0.6.8',
29 silly addNameRange '0.6.9',
29 silly addNameRange '0.6.10',
29 silly addNameRange '0.6.11',
29 silly addNameRange '0.6.12',
29 silly addNameRange '0.6.14',
29 silly addNameRange '0.6.15',
29 silly addNameRange '0.6.16',
29 silly addNameRange '0.6.17',
29 silly addNameRange '0.6.18',
29 silly addNameRange '0.7.0',
29 silly addNameRange '0.7.1',
29 silly addNameRange '0.7.2',
29 silly addNameRange '0.7.3',
29 silly addNameRange '0.7.4',
29 silly addNameRange '0.7.5',
29 silly addNameRange '0.7.6',
29 silly addNameRange '0.7.7',
29 silly addNameRange '0.7.8',
29 silly addNameRange '0.7.9',
29 silly addNameRange '0.7.10',
29 silly addNameRange '0.7.11',
29 silly addNameRange '0.8.0',
29 silly addNameRange '0.8.1',
29 silly addNameRange '0.8.2',
29 silly addNameRange '0.8.3',
29 silly addNameRange '0.8.4',
29 silly addNameRange '0.8.5',
29 silly addNameRange '0.8.6',
29 silly addNameRange '0.8.7',
29 silly addNameRange '0.9.0',
29 silly addNameRange '0.9.1',
29 silly addNameRange '0.9.1-1',
29 silly addNameRange '0.9.2',
29 silly addNameRange '0.9.3',
29 silly addNameRange '0.9.4',
29 silly addNameRange '0.9.5',
29 silly addNameRange '0.9.6',
29 silly addNameRange '0.9.7',
29 silly addNameRange '0.9.8',
29 silly addNameRange '0.9.9',
29 silly addNameRange '0.9.10' ] ]
30 verbose addNamed [ '', '0.9.10' ]
31 verbose addNamed [ '0.9.10', '0.9.10' ]
32 silly lockFile 5127d080-socket-io-0-9-10
33 verbose lock /home/vagrant/.npm/5127d080-socket-io-0-9-10.lock
34 verbose read json /home/vagrant/.npm/
35 silly lockFile 5127d080-socket-io-0-9-10
36 silly lockFile f2e07591-socket-io-0-9-6
37 silly resolved [ { name: '',
37 silly resolved version: '0.9.10',
37 silly resolved description: 'Real-time apps made cross-browser & easy with a WebSocket-like API',
37 silly resolved homepage: '',
37 silly resolved keywords: [ 'websocket', 'socket', 'realtime', '', 'comet', 'ajax' ],
37 silly resolved author: { name: 'Guillermo Rauch', email: '' },
37 silly resolved contributors: [ [Object], [Object], [Object], [Object] ],
37 silly resolved repository:
37 silly resolved { type: 'git',
37 silly resolved url: '' },
37 silly resolved dependencies:
37 silly resolved { '': '0.9.10',
37 silly resolved policyfile: '0.0.4',
37 silly resolved redis: '0.7.2' },
37 silly resolved devDependencies:
37 silly resolved { expresso: '0.9.2',
37 silly resolved should: '*',
37 silly resolved benchmark: '0.2.2',
37 silly resolved microtime: '0.1.3-1',
37 silly resolved colors: '0.5.1' },
37 silly resolved main: 'index',
37 silly resolved engines: { node: '>= 0.4.0' },
37 silly resolved scripts: { test: 'make test' },
37 silly resolved readme: '# Socket.IO\n\nSocket.IO is a Node.JS project that makes WebSockets and realtime possible in\nall browsers. It also enhances WebSockets by providing built-in multiplexing,\nhorizontal scalability, automatic JSON encoding/decoding, and more.\n\n## How to Install\n\n```bash\nnpm install\n```\n\n## How to use\n\nFirst, require ``:\n\n```js\nvar io = require(\'\');\n```\n\nNext, attach it to a HTTP/HTTPS server. If you\'re using the fantastic `express`\nweb framework:\n\n#### Express 3.x\n\n```js\nvar app = express()\n , server = require(\'http\').createServer(app)\n , io = io.listen(server);\n\nserver.listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.emit(\'news\', { hello: \'world\' });\n socket.on(\'my other event\', function (data) {\n console.log(data);\n });\n});\n```\n\n#### Express 2.x\n\n```js\nvar app = express.createServer()\n , io = io.listen(app);\n\napp.listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.emit(\'news\', { hello: \'world\' });\n socket.on(\'my other event\', function (data) {\n console.log(data);\n });\n});\n```\n\nFinally, load it from the client side code:\n\n```html\n<script src="/"></script>\n<script>\n var socket = io.connect(\'http://localhost\');\n socket.on(\'news\', function (data) {\n console.log(data);\n socket.emit(\'my other event\', { my: \'data\' });\n });\n</script>\n```\n\nFor more thorough examples, look at the `examples/` directory.\n\n## Short recipes\n\n### Sending and receiving events.\n\nSocket.IO allows you to emit and receive custom events.\nBesides `connect`, `message` and `disconnect`, you can emit custom events:\n\n```js\n// note, io.listen(<port>) will create a http server for you\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n io.sockets.emit(\'this\', { will: \'be received by everyone\' });\n\n socket.on(\'private message\', function (from, msg) {\n console.log(\'I received a private message by \', from, \' saying \', msg);\n });\n\n socket.on(\'disconnect\', function () {\n io.sockets.emit(\'user disconnected\');\n });\n});\n```\n\n### Storing data associated to a client\n\nSometimes it\'s necessary to store data associated with a client that\'s\nnecessary for the duration of the session.\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'set nickname\', function (name) {\n socket.set(\'nickname\', name, function () { socket.emit(\'ready\'); });\n });\n\n socket.on(\'msg\', function () {\n socket.get(\'nickname\', function (err, name) {\n console.log(\'Chat message by \', name);\n });\n });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(\'http://localhost\');\n\n socket.on(\'connect\', function () {\n socket.emit(\'set nickname\', prompt(\'What is your nickname?\'));\n socket.on(\'ready\', function () {\n console.log(\'Connected !\');\n socket.emit(\'msg\', prompt(\'What is your message?\'));\n });\n });\n</script>\n```\n\n### Restricting yourself to a namespace\n\nIf you have control over all the messages and events emitted for a particular\napplication, using the default `/` namespace works.\n\nIf you want to leverage 3rd-party code, or produce code to share with others,\ provides a way of namespacing a `socket`.\n\nThis has the benefit of `multiplexing` a single connection. Instead of\ using two `WebSocket` connections, it\'ll use one.\n\nThe following example defines a socket that listens on \'/chat\' and one for\n\'/news\':\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nvar chat = io\n .of(\'/chat\')\n .on(\'connection\', function (socket) {\n socket.emit(\'a message\', { that: \'only\', \'/chat\': \'will get\' });\n chat.emit(\'a message\', { everyone: \'in\', \'/chat\': \'will get\' });\n });\n\nvar news = io\n .of(\'/news\');\n .on(\'connection\', function (socket) {\n socket.emit(\'item\', { news: \'item\' });\n });\n```\n\n#### Client side:\n\n```html\n<script>\n var chat = io.connect(\'http://localhost/chat\')\n , news = io.connect(\'http://localhost/news\');\n\n chat.on(\'connect\', function () {\n chat.emit(\'hi!\');\n });\n\n news.on(\'news\', function () {\n news.emit(\'woot\');\n });\n</script>\n```\n\n### Sending volatile messages.\n\nSometimes certain messages can be dropped. Let\'s say you have an app that\nshows realtime tweets for the keyword `bieber`. \n\nIf a certain client is not ready to receive messages (because of network slowness\nor other issues, or because he\'s connected through long polling and is in the\nmiddle of a request-response cycle), if he doesn\'t receive ALL the tweets related\nto bieber your application won\'t suffer.\n\nIn that case, you might want to send those messages as volatile messages.\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n var tweets = setInterval(function () {\n getBieberTweet(function (tweet) {\n socket.volatile.emit(\'bieber tweet\', tweet);\n });\n }, 100);\n\n socket.on(\'disconnect\', function () {\n clearInterval(tweets);\n });\n});\n```\n\n#### Client side\n\nIn the client side, messages are received the same way whether they\'re volatile\nor not.\n\n### Getting acknowledgements\n\nSometimes, you might want to get a callback when the client confirmed the message\nreception.\n\nTo do this, simply pass a function as the last parameter of `.send` or `.emit`.\nWhat\'s more, when you use `.emit`, the acknowledgement is done by you, which\nmeans you can also pass data along:\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'ferret\', function (name, fn) {\n fn(\'woot\');\n });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(); // TIP: .connect with no args does auto-discovery\n socket.on(\'connect\', function () { // TIP: you can avoid listening on `connect` and listen on events directly too!\n socket.emit(\'ferret\', \'tobi\', function (data) {\n console.log(data); // data will be \'woot\'\n });\n });\n</script>\n```\n\n### Broadcasting messages\n\nTo broadcast, simply add a `broadcast` flag to `emit` and `send` method calls.\nBroadcasting means sending a message to everyone else except for the socket\nthat starts it.\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.broadcast.emit(\'user connected\');\n socket.broadcast.json.send({ a: \'message\' });\n});\n```\n\n### Rooms\n\nSometimes you want to put certain sockets in the same room, so that it\'s easy\nto broadcast to all of them together.\n\nThink of this as built-in channels for sockets. Sockets `join` and `leave`\nrooms in each socket.\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.join(\'justin bieber fans\');\n\'justin bieber fans\').emit(\'new fan\');\n\'rammstein fans\').emit(\'new non-fan\');\n});\n```\n\n### Using it just as a cross-browser WebSocket\n\nIf you just want the WebSocket semantics, you can do that too.\nSimply leverage `send` and listen on the `message` event:\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'message\', function () { });\n socket.on(\'disconnect\', function () { });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(\'http://localhost/\');\n socket.on(\'connect\', function () {\n socket.send(\'hi\');\n\n socket.on(\'message\', function (msg) {\n // my msg\n });\n });\n</script>\n```\n\n### Changing configuration\n\nConfiguration in is TJ-style:\n\n#### Server side\n\n```js\nvar io = require(\'\').listen(80);\n\nio.configure(function () {\n io.set(\'transports\', [\'websocket\', \'flashsocket\', \'xhr-polling\']);\n});\n\nio.configure(\'development\', function () {\n io.set(\'transports\', [\'websocket\', \'xhr-polling\']);\n io.enable(\'log\');\n});\n```\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 Guillermo Rauch &lt;;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
37 silly resolved _id: '',
37 silly resolved _from: '' } ]
38 info install into /vagrant/sites/all/modules/nodejs
39 info installOne
40 verbose from cache /home/vagrant/.npm/
41 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
42 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
43 verbose tar unpack /home/vagrant/.npm/
44 silly lockFile a4f07749-es-nodejs-node-modules-socket-io /vagrant/sites/all/modules/nodejs/node_modules/
45 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/a4f07749-es-nodejs-node-modules-socket-io.lock
46 silly gunzTarPerm modes [ '755', '644' ]
47 silly gunzTarPerm extractEntry package.json
48 silly gunzTarPerm extractEntry .npmignore
49 silly gunzTarPerm extractEntry LICENSE
50 silly gunzTarPerm extractEntry index.js
51 silly gunzTarPerm extractEntry
52 silly gunzTarPerm extractEntry benchmarks/runner.js
53 silly gunzTarPerm extractEntry benchmarks/decode.bench.js
54 silly gunzTarPerm extractEntry benchmarks/encode.bench.js
55 silly gunzTarPerm extractEntry lib/static.js
56 silly gunzTarPerm extractEntry lib/store.js
57 silly gunzTarPerm extractEntry lib/namespace.js
58 silly gunzTarPerm extractEntry lib/util.js
59 silly gunzTarPerm extractEntry lib/parser.js
60 silly gunzTarPerm extractEntry lib/
61 silly gunzTarPerm extractEntry lib/socket.js
62 silly gunzTarPerm extractEntry lib/client.js
63 silly gunzTarPerm extractEntry lib/manager.js
64 silly gunzTarPerm extractEntry lib/logger.js
65 silly gunzTarPerm extractEntry lib/transport.js
66 silly gunzTarPerm extractEntry lib/transports/index.js
67 silly gunzTarPerm extractEntry lib/transports/http.js
68 silly gunzTarPerm extractEntry lib/transports/http-polling.js
69 silly gunzTarPerm extractEntry lib/transports/jsonp-polling.js
70 silly gunzTarPerm extractEntry lib/transports/xhr-polling.js
71 silly gunzTarPerm extractEntry lib/transports/flashsocket.js
72 silly gunzTarPerm extractEntry lib/transports/htmlfile.js
73 silly gunzTarPerm extractEntry lib/transports/websocket.js
74 silly gunzTarPerm extractEntry lib/transports/websocket/default.js
75 silly gunzTarPerm extractEntry lib/transports/websocket/index.js
76 silly gunzTarPerm extractEntry lib/transports/websocket/hybi-16.js
77 silly gunzTarPerm extractEntry lib/transports/websocket/hybi-07-12.js
78 silly gunzTarPerm extractEntry lib/stores/memory.js
79 silly gunzTarPerm extractEntry lib/stores/redis.js
80 silly gunzTarPerm extractEntry .travis.yml
81 silly gunzTarPerm extractEntry Makefile
82 silly gunzTarPerm extractEntry
83 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
84 silly lockFile a4f07749-es-nodejs-node-modules-socket-io /vagrant/sites/all/modules/nodejs/node_modules/
85 info preinstall
86 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
87 verbose readDependencies using package.json deps
88 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
89 verbose readDependencies using package.json deps
90 verbose cache add [ 'redis@0.7.2', null ]
91 silly cache add name=undefined spec="redis@0.7.2" args=["redis@0.7.2",null]
92 verbose parsed url { pathname: 'redis@0.7.2',
92 verbose parsed url path: 'redis@0.7.2',
92 verbose parsed url href: 'redis@0.7.2' }
93 silly cache add name="redis" spec="0.7.2" args=["redis","0.7.2"]
94 verbose parsed url { pathname: '0.7.2', path: '0.7.2', href: '0.7.2' }
95 verbose addNamed [ 'redis', '0.7.2' ]
96 verbose addNamed [ '0.7.2', '0.7.2' ]
97 silly lockFile b62421fe-redis-0-7-2 redis@0.7.2
98 verbose lock redis@0.7.2 /home/vagrant/.npm/b62421fe-redis-0-7-2.lock
99 verbose cache add [ '', null ]
100 silly cache add name=undefined spec="" args=["",null]
101 verbose parsed url { pathname: '',
101 verbose parsed url path: '',
101 verbose parsed url href: '' }
102 silly cache add name="" spec="0.9.10" args=["","0.9.10"]
103 verbose parsed url { pathname: '0.9.10', path: '0.9.10', href: '0.9.10' }
104 verbose addNamed [ '', '0.9.10' ]
105 verbose addNamed [ '0.9.10', '0.9.10' ]
106 silly lockFile 147e2402-socket-io-client-0-9-10
107 verbose lock /home/vagrant/.npm/147e2402-socket-io-client-0-9-10.lock
108 verbose url raw redis/0.7.2
109 verbose url resolving [ '', './redis/0.7.2' ]
110 verbose url resolved
111 info trying registry request attempt 1 at 18:19:55
112 verbose etag "F3ME5IUUV4OE5JSN56XZWV5JO"
113 http GET
114 verbose url raw
115 verbose url resolving [ '', './' ]
116 verbose url resolved
117 info trying registry request attempt 1 at 18:19:55
118 verbose etag "758OZHJRDHRVFGJQAY8UJEEJJ"
119 http GET
120 verbose cache add [ 'policyfile@0.0.4', null ]
121 silly cache add name=undefined spec="policyfile@0.0.4" args=["policyfile@0.0.4",null]
122 verbose parsed url { pathname: 'policyfile@0.0.4',
122 verbose parsed url path: 'policyfile@0.0.4',
122 verbose parsed url href: 'policyfile@0.0.4' }
123 silly cache add name="policyfile" spec="0.0.4" args=["policyfile","0.0.4"]
124 verbose parsed url { pathname: '0.0.4', path: '0.0.4', href: '0.0.4' }
125 verbose addNamed [ 'policyfile', '0.0.4' ]
126 verbose addNamed [ '0.0.4', '0.0.4' ]
127 silly lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
128 verbose lock policyfile@0.0.4 /home/vagrant/.npm/8b99131a-policyfile-0-0-4.lock
129 verbose url raw policyfile/0.0.4
130 verbose url resolving [ '', './policyfile/0.0.4' ]
131 verbose url resolved
132 info trying registry request attempt 1 at 18:19:55
133 verbose etag "2KV6P04UH9SRH9PRJ2MA8QY9H"
134 http GET
135 http 304
136 silly registry.get cb [ 304,
136 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
136 silly registry.get etag: '"758OZHJRDHRVFGJQAY8UJEEJJ"',
136 silly registry.get date: 'Fri, 12 Oct 2012 18:19:55 GMT',
136 silly registry.get 'content-length': '0' } ]
137 verbose etag from cache
138 http 304
139 silly registry.get cb [ 304,
139 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
139 silly registry.get etag: '"F3ME5IUUV4OE5JSN56XZWV5JO"',
139 silly registry.get date: 'Fri, 12 Oct 2012 18:19:55 GMT',
139 silly registry.get 'content-length': '0' } ]
140 verbose etag redis/0.7.2 from cache
141 http 304
142 silly registry.get cb [ 304,
142 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
142 silly registry.get etag: '"2KV6P04UH9SRH9PRJ2MA8QY9H"',
142 silly registry.get date: 'Fri, 12 Oct 2012 18:19:55 GMT',
142 silly registry.get 'content-length': '0' } ]
143 verbose etag policyfile/0.0.4 from cache
144 verbose read json /home/vagrant/.npm/
145 verbose read json /home/vagrant/.npm/redis/0.7.2/package/package.json
146 verbose read json /home/vagrant/.npm/policyfile/0.0.4/package/package.json
147 silly lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
148 silly lockFile 147e2402-socket-io-client-0-9-10
149 silly lockFile b62421fe-redis-0-7-2 redis@0.7.2
150 silly resolved [ { name: 'policyfile',
150 silly resolved version: '0.0.4',
150 silly resolved author: { name: 'Arnout Kazemier' },
150 silly resolved description: 'Flash Socket Policy File Server. A server to respond to Flash Socket Policy requests, both inline and through a dedicated server instance.',
150 silly resolved main: 'index',
150 silly resolved keywords:
150 silly resolved [ 'flash',
150 silly resolved 'socket',
150 silly resolved 'policy',
150 silly resolved 'file',
150 silly resolved 'server',
150 silly resolved 'Flash Socket Policy File Server',
150 silly resolved 'cross domain' ],
150 silly resolved directories: { lib: './lib' },
150 silly resolved maintainers: [ [Object] ],
150 silly resolved licenses: [ [Object] ],
150 silly resolved repositories: [ [Object] ],
150 silly resolved readme: '## LOL, WUT?\nIt basically allows you to allow or disallow Flash Player sockets from accessing your site.\n\n## Installation\n\n```bash\nnpm install policyfile\n```\n## Usage\n\nThe server is based on the regular and know `net` and `http` server patterns. So it you can just listen\nfor all the events that a `net` based server emits etc. But there is one extra event, the `connect_failed`\nevent. This event is triggered when we are unable to listen on the supplied port number.\n\n### createServer\nCreates a new server instance and accepts 2 optional arguments:\n\n- `options` **Object** Options to configure the server instance\n - `log` **Boolean** Enable logging to STDOUT and STDERR (defaults to true)\n- `origins` **Array** An Array of origins that are allowed by the server (defaults to *:*)\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen();\n```\n\n#### server.listen\nStart listening on the server and it takes 3 optional arguments\n\n- `port` **Number** On which port number should we listen? (defaults to 843, which is the first port number the FlashPlayer checks)\n- `server` **Server** A http server, if we are unable to accept requests or run the server we can also answer the policy requests inline over the supplied HTTP server.\n- `callback` **Function** A callback function that is called when listening to the server was successful.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen(1337, function(){\n console.log(\':3 yay\')\n});\n```\n\nChanging port numbers can be handy if you do not want to run your server as root and have port 843 forward to a non root port number (aka a number above 1024).\n\n```js\nvar pf = require(\'policyfile\')\n , http = require(\'http\');\n\nserver = http.createServer(function(q,r){r.writeHead(200);r.end(\'hello world\')});\nserver.listen(80);\n\npf.createServer();\npf.listen(1337, server, function(){\n console.log(\':3 yay\')\n});\n```\n\nSupport for serving inline requests over a existing HTTP connection as the FlashPlayer will first check port 843, but if it\'s unable to get a response there it will send a policy file request over port 80, which is usually your http server.\n\n#### server.add\nAdds more origins to the policy file you can add as many arguments as you like.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer([\'\']);\npf.listen();\npf.add(\'\', \'\'); // now has 3 origins\n```\n\n#### server.add\nAdds more origins to the policy file you can add as many arguments as you like.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer([\'\', \'\']);\npf.listen();\npf.remove(\'\'); // only contains the :80 version now\n```\n\n#### server.close\nShuts down the server\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen();\npf.close(); // OH NVM.\n```\n\n## API\n\n\n## Examples\nSee for examples\n\n## Licence\n\nMIT see LICENSE file in the repository',
150 silly resolved _id: 'policyfile@0.0.4',
150 silly resolved _from: 'policyfile@0.0.4' },
150 silly resolved { name: '',
150 silly resolved description: 'Socket.IO client for the browser and node.js',
150 silly resolved version: '0.9.10',
150 silly resolved main: './lib/io.js',
150 silly resolved browserify: './dist/',
150 silly resolved homepage: '',
150 silly resolved keywords: [ 'websocket', 'socket', 'realtime', '', 'comet', 'ajax' ],
150 silly resolved author: { name: 'Guillermo Rauch', email: '' },
150 silly resolved contributors: [ [Object], [Object], [Object], [Object] ],
150 silly resolved repository:
150 silly resolved { type: 'git',
150 silly resolved url: '' },
150 silly resolved dependencies:
150 silly resolved { 'uglify-js': '1.2.5',
150 silly resolved ws: '0.4.x',
150 silly resolved xmlhttprequest: '1.4.2',
150 silly resolved 'active-x-obfuscator': '0.0.1' },
150 silly resolved devDependencies:
150 silly resolved { expresso: '*',
150 silly resolved express: '2.5.x',
150 silly resolved jade: '*',
150 silly resolved stylus: '*',
150 silly resolved '': '0.9.10',
150 silly resolved '': '0.9.10' },
150 silly resolved engines: { node: '>= 0.4.0' },
150 silly resolved readme: '\n=========\n\n#### Sockets for the rest of us\n\nThe `` client is basically a simple HTTP Socket interface implementation.\nIt looks similar to WebSocket while providing additional features and\nleveraging other transports when WebSocket is not supported by the user\'s\nbrowser.\n\n```js\nvar socket = io.connect(\'\');\nsocket.on(\'connect\', function () {\n // socket connected\n});\nsocket.on(\'custom event\', function () {\n // server emitted a custom event\n});\nsocket.on(\'disconnect\', function () {\n // socket disconnected\n});\nsocket.send(\'hi there\');\n```\n\n### Recipes\n\n#### Utilizing namespaces (ie: multiple sockets)\n\nIf you want to namespace all the messages and events emitted to a particular\nendpoint, simply specify it as part of the `connect` uri:\n\n```js\nvar chat = io.connect(\'http://localhost/chat\');\nchat.on(\'connect\', function () {\n // chat socket connected\n});\n\nvar news = io.connect(\'/news\'); // io.connect auto-detects host\nnews.on(\'connect\', function () {\n // news socket connected\n});\n```\n\n#### Emitting custom events\n\nTo ease with the creation of applications, you can emit custom events outside\nof the global `message` event.\n\n```js\nvar socket = io.connect();\nsocket.emit(\'server custom event\', { my: \'data\' });\n```\n\n#### Forcing disconnection\n\n```js\nvar socket = io.connect();\nsocket.on(\'connect\', function () {\n socket.disconnect();\n});\n```\n\n### Documentation \n\n#### io#connect\n\n```js\nio.connect(uri, [options]);\n```\n\n##### Options:\n\n- *resource*\n\n\n\n The resource is what allows the `` server to identify incoming connections by `` clients. In other words, any HTTP server can implement and still serve other normal, non-realtime HTTP requests.\n\n- *transports*\n\n```js\n[\'websocket\', \'flashsocket\', \'htmlfile\', \'xhr-multipart\', \'xhr-polling\', \'jsonp-polling\']\n```\n\n A list of the transports to attempt to utilize (in order of preference).\n\n- *\'connect timeout\'*\n\n```js\n5000\n```\n\n The amount of milliseconds a transport has to create a connection before we consider it timed out.\n \n- *\'try multiple transports\'*\n\n```js\ntrue\n```\n\n A boolean indicating if we should try other transports when the connectTimeout occurs.\n \n- *reconnect*\n\n```js\ntrue\n```\n\n A boolean indicating if we should automatically reconnect if a connection is disconnected. \n \n- *\'reconnection delay\'*\n\n```js\n500\n```\n\n The amount of milliseconds before we try to connect to the server again. We are using a exponential back off algorithm for the following reconnections, on each reconnect attempt this value will get multiplied (500 > 1000 > 2000 > 4000 > 8000).\n \n\n- *\'max reconnection attempts\'*\n\n```js\n10\n```\n\n The amount of attempts should we make using the current transport to connect to the server? After this we will do one final attempt, and re-try with all enabled transport methods before we give up.\n\n##### Properties:\n\n- *options*\n\n The passed in options combined with the defaults.\n\n- *connected*\n\n Whether the socket is connected or not.\n \n- *connecting*\n\n Whether the socket is connecting or not.\n\n- *reconnecting*\n\n Whether we are reconnecting or not.\n \n- *transport* \n\n The transport instance.\n\n##### Methods:\n \n- *connect(λ)*\n\n Establishes a connection. If λ is supplied as argument, it will be called once the connection is established.\n \n- *send(message)*\n \n A string of data to send.\n \n- *disconnect*\n\n Closes the connection.\n \n- *on(event, λ)*\n\n Adds a listener for the event *event*.\n\n- *once(event, λ)*\n\n Adds a one time listener for the event *event*. The listener is removed after the first time the event is fired.\n \n- *removeListener(event, λ)*\n\n Removes the listener λ for the event *event*.\n \n##### Events:\n\n- *connect*\n\n Fired when the connection is established and the handshake successful.\n \n- *connecting(transport_type)*\n\n Fired when a connection is attempted, passing the transport name.\n \n- *connect_failed*\n\n Fired when the connection timeout occurs after the last connection attempt.\n This only fires if the `connectTimeout` option is set.\n If the `tryTransportsOnConnectTimeout` option is set, this only fires once all\n possible transports have been tried.\n \n- *message(message)*\n \n Fired when a message arrives from the server\n\n- *close*\n\n Fired when the connection is closed. Be careful with using this event, as some transports will fire it even under temporary, expected disconnections (such as XHR-Polling).\n \n- *disconnect*\n\n Fired when the connection is considered disconnected.\n \n- *reconnect(transport_type,reconnectionAttempts)*\n\n Fired when the connection has been re-established. This only fires if the `reconnect` option is set.\n\n- *reconnecting(reconnectionDelay,reconnectionAttempts)*\n\n Fired when a reconnection is attempted, passing the next delay for the next reconnection.\n\n- *reconnect_failed*\n\n Fired when all reconnection attempts have failed and we where unsuccessful in reconnecting to the server. \n\n### Contributors\n\nGuillermo Rauch &lt;;\n\nArnout Kazemier &lt;;\n\n### License \n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
150 silly resolved _id: '',
150 silly resolved _from: '' },
150 silly resolved { name: 'redis',
150 silly resolved version: '0.7.2',
150 silly resolved description: 'Redis client library',
150 silly resolved author: { name: 'Matt Ranney', email: '' },
150 silly resolved maintainers: [ [Object] ],
150 silly resolved main: './index.js',
150 silly resolved scripts: { test: 'node ./test.js' },
150 silly resolved devDependencies: { metrics: '>=0.1.5' },
150 silly resolved optionalDependencies: { hiredis: '*' },
150 silly resolved repository: { type: 'git', url: 'git://' },
150 silly resolved readme: 'redis - a node.js redis client\n===========================\n\nThis is a complete Redis client for node.js. It supports all Redis commands, including many recently added commands like EVAL from\nexperimental Redis server branches.\n\n\nInstall with:\n\n npm install redis\n \nPieter Noordhuis has provided a binding to the official `hiredis` C library, which is non-blocking and fast. To use `hiredis`, do:\n\n npm install hiredis redis\n\nIf `hiredis` is installed, `node_redis` will use it by default. Otherwise, a pure JavaScript parser will be used.\n\nIf you use `hiredis`, be sure to rebuild it whenever you upgrade your version of node. There are mysterious failures that can\nhappen between node and native code modules after a node upgrade.\n\n\n## Usage\n\nSimple example, included as `examples/simple.js`:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n // if you\'d like to select database 3, instead of 0 (default), call\n //, function() { /* ... */ });\n\n client.on("error", function (err) {\n console.log("Error " + err);\n });\n\n client.set("string key", "string val", redis.print);\n client.hset("hash key", "hashtest 1", "some value", redis.print);\n client.hset(["hash key", "hashtest 2", "some other value"], redis.print);\n client.hkeys("hash key", function (err, replies) {\n console.log(replies.length + " replies:");\n replies.forEach(function (reply, i) {\n console.log(" " + i + ": " + reply);\n });\n client.quit();\n });\n```\n\nThis will display:\n\n mjr:~/work/node_redis (master)$ node example.js\n Reply: OK\n Reply: 0\n Reply: 0\n 2 replies:\n 0: hashtest 1\n 1: hashtest 2\n mjr:~/work/node_redis (master)$ \n\n\n## Performance\n\nHere are typical results of `multi_bench.js` which is similar to `redis-benchmark` from the Redis distribution.\nIt uses 50 concurrent connections with no pipelining.\n\nJavaScript parser:\n\n PING: 20000 ops 42283.30 ops/sec 0/5/1.182\n SET: 20000 ops 32948.93 ops/sec 1/7/1.515\n GET: 20000 ops 28694.40 ops/sec 0/9/1.740\n INCR: 20000 ops 39370.08 ops/sec 0/8/1.269\n LPUSH: 20000 ops 36429.87 ops/sec 0/8/1.370\n LRANGE (10 elements): 20000 ops 9891.20 ops/sec 1/9/5.048\n LRANGE (100 elements): 20000 ops 1384.56 ops/sec 10/91/36.072\n\nhiredis parser:\n\n PING: 20000 ops 46189.38 ops/sec 1/4/1.082\n SET: 20000 ops 41237.11 ops/sec 0/6/1.210\n GET: 20000 ops 39682.54 ops/sec 1/7/1.257\n INCR: 20000 ops 40080.16 ops/sec 0/8/1.242\n LPUSH: 20000 ops 41152.26 ops/sec 0/3/1.212\n LRANGE (10 elements): 20000 ops 36563.07 ops/sec 1/8/1.363\n LRANGE (100 elements): 20000 ops 21834.06 ops/sec 0/9/2.287\n\nThe performance of `node_redis` improves dramatically with pipelining, which happens automatically in most normal programs.\n\n\n### Sending Commands\n\nEach Redis command is exposed as a function on the `client` object.\nAll functions take either an `args` Array plus optional `callback` Function or\na variable number of individual arguments followed by an optional callback.\nHere is an example of passing an array of arguments and a callback:\n\n client.mset(["test keys 1", "test val 1", "test keys 2", "test val 2"], function (err, res) {});\n\nHere is that same call in the second style:\n\n client.mset("test keys 1", "test val 1", "test keys 2", "test val 2", function (err, res) {});\n \nNote that in either form the `callback` is optional:\n\n client.set("some key", "some val");\n client.set(["some other key", "some val"]);\n\nFor a list of Redis commands, see [Redis Command Reference](\n\nThe commands can be specified in uppercase or lowercase for convenience. `client.get()` is the same as `client.GET()`.\n\nMinimal parsing is done on the replies. Commands that return a single line reply return JavaScript Strings, \ninteger replies return JavaScript Numbers, "bulk" replies return node Buffers, and "multi bulk" replies return a \nJavaScript Array of node Buffers. `HGETALL` returns an Object with Buffers keyed by the hash keys.\n\n# API\n\n## Connection Events\n\n`client` will emit some events about the state of the connection to the Redis server.\n\n### "ready"\n\n`client` will emit `ready` a connection is established to the Redis server and the server reports \nthat it is ready to receive commands. Commands issued before the `ready` event are queued, \nthen replayed just before this event is emitted.\n\n### "connect"\n\n`client` will emit `connect` at the same time as it emits `ready` unless `client.options.no_ready_check`\nis set. If this options is set, `connect` will be emitted when the stream is connected, and then\nyou are free to try to send commands.\n\n### "error"\n\n`client` will emit `error` when encountering an error connecting to the Redis server.\n\nNote that "error" is a special event type in node. If there are no listeners for an \n"error" event, node will exit. This is usually what you want, but it can lead to some \ncryptic error messages like this:\n\n mjr:~/work/node_redis (master)$ node example.js \n\n node.js:50\n throw e;\n ^\n Error: ECONNREFUSED, Connection refused\n at IOWatcher.callback (net:870:22)\n at node.js:607:9\n\nNot very useful in diagnosing the problem, but if your program isn\'t ready to handle this,\nit is probably the right thing to just exit.\n\n`client` will also emit `error` if an exception is thrown inside of `node_redis` for whatever reason.\nIt would be nice to distinguish these two cases.\n\n### "end"\n\n`client` will emit `end` when an established Redis server connection has closed.\n\n### "drain"\n\n`client` will emit `drain` when the TCP connection to the Redis server has been buffering, but is now\nwritable. This event can be used to stream commands in to Redis and adapt to backpressure. Right now,\nyou need to check `client.command_queue.length` to decide when to reduce your send rate. Then you can \nresume sending when you get `drain`.\n\n### "idle"\n\n`client` will emit `idle` when there are no outstanding commands that are awaiting a response.\n\n## redis.createClient(port, host, options)\n\nCreate a new client connection. `port` defaults to `6379` and `host` defaults\nto ``. If you have `redis-server` running on the same computer as node, then the defaults for\nport and host are probably fine. `options` in an object with the following possible properties:\n\n* `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed.\nThis may also be set to `javascript`.\n* `return_buffers`: defaults to `false`. If set to `true`, then all replies will be sent to callbacks as node Buffer\nobjects instead of JavaScript Strings.\n* `detect_buffers`: default to `false`. If set to `true`, then replies will be sent to callbacks as node Buffer objects\nif any of the input arguments to the original command were Buffer objects.\nThis option lets you switch between Buffers and Strings on a per-command basis, whereas `return_buffers` applies to\nevery command on a client.\n* `socket_nodelay`: defaults to `true`. Whether to call setNoDelay() on the TCP stream, which disables the\nNagle algorithm on the underlying socket. Setting this option to `false` can result in additional throughput at the \ncost of more latency. Most applications will want this set to `true`.\n* `no_ready_check`: defaults to `false`. When a connection is established to the Redis server, the server might still\nbe loading the database from disk. While loading, the server not respond to any commands. To work around this, \n`node_redis` has a "ready check" which sends the `INFO` command to the server. The response from the `INFO` command\nindicates whether the server is ready for more commands. When ready, `node_redis` emits a `ready` event.\nSetting `no_ready_check` to `true` will inhibit this check.\n\n```js\n var redis = require("redis"),\n client = redis.createClient(null, null, {detect_buffers: true});\n\n client.set("foo_rand000000000000", "OK");\n\n // This will return a JavaScript String\n client.get("foo_rand000000000000", function (err, reply) {\n console.log(reply.toString()); // Will print `OK`\n });\n\n // This will return a Buffer since original key is specified as a Buffer\n client.get(new Buffer("foo_rand000000000000"), function (err, reply) {\n console.log(reply.toString()); // Will print `<Buffer 4f 4b>`\n });\n client.end();\n```\n\n`createClient()` returns a `RedisClient` object that is named `client` in all of the examples here.\n\n## client.auth(password, callback)\n\nWhen connecting to Redis servers that require authentication, the `AUTH` command must be sent as the\nfirst command after connecting. This can be tricky to coordinate with reconnections, the ready check,\netc. To make this easier, `client.auth()` stashes `password` and will send it after each connection,\nincluding reconnections. `callback` is invoked only once, after the response to the very first\n`AUTH` command sent.\nNOTE: Your call to `client.auth()` should not be inside the ready handler. If\nyou are doing this wrong, `client` will emit an error that looks\nsomething like this `Error: Ready check failed: ERR operation not permitted`.\n\n## client.end()\n\nForcibly close the connection to the Redis server. Note that this does not wait until all replies have been parsed.\nIf you want to exit cleanly, call `client.quit()` to send the `QUIT` command after you have handled all replies.\n\nThis example closes the connection to the Redis server before the replies have been read. You probably don\'t \nwant to do this:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n client.set("foo_rand000000000000", "some fantastic value");\n client.get("foo_rand000000000000", function (err, reply) {\n console.log(reply.toString());\n });\n client.end();\n```\n\n`client.end()` is useful for timeout cases where something is stuck or taking too long and you want \nto start over.\n\n## Friendlier hash commands\n\nMost Redis commands take a single String or an Array of Strings as arguments, and replies are sent back as a single String or an Array of Strings.\nWhen dealing with hash values, there are a couple of useful exceptions to this.\n\n### client.hgetall(hash)\n\nThe reply from an HGETALL command will be converted into a JavaScript Object by `node_redis`. That way you can interact \nwith the responses using JavaScript syntax.\n\nExample:\n\n client.hmset("hosts", "mjr", "1", "another", "23", "home", "1234");\n client.hgetall("hosts", function (err, obj) {\n console.dir(obj);\n });\n\nOutput:\n\n { mjr: \'1\', another: \'23\', home: \'1234\' }\n\n### client.hmset(hash, obj, [callback])\n\nMultiple values in a hash can be set by supplying an object:\n\n client.HMSET(key2, {\n "0123456789": "abcdefghij",\n "some manner of key": "a type of value"\n });\n\nThe properties and values of this Object will be set as keys and values in the Redis hash.\n\n### client.hmset(hash, key1, val1, ... keyn, valn, [callback])\n\nMultiple values may also be set by supplying a list:\n\n client.HMSET(key1, "0123456789", "abcdefghij", "some manner of key", "a type of value");\n\n\n## Publish / Subscribe\n\nHere is a simple example of the API for publish / subscribe. This program opens two\nclient connections, subscribes to a channel on one of them, and publishes to that \nchannel on the other:\n\n```js\n var redis = require("redis"),\n client1 = redis.createClient(), client2 = redis.createClient(),\n msg_count = 0;\n\n client1.on("subscribe", function (channel, count) {\n client2.publish("a nice channel", "I am sending a message.");\n client2.publish("a nice channel", "I am sending a second message.");\n client2.publish("a nice channel", "I am sending my last message.");\n });\n\n client1.on("message", function (channel, message) {\n console.log("client1 channel " + channel + ": " + message);\n msg_count += 1;\n if (msg_count === 3) {\n client1.unsubscribe();\n client1.end();\n client2.end();\n }\n });\n\n client1.incr("did a thing");\n client1.subscribe("a nice channel");\n```\n\nWhen a client issues a `SUBSCRIBE` or `PSUBSCRIBE`, that connection is put into "pub/sub" mode.\nAt that point, only commands that modify the subscription set are valid. When the subscription \nset is empty, the connection is put back into regular mode.\n\nIf you need to send regular commands to Redis while in pub/sub mode, just open another connection.\n\n## Pub / Sub Events\n\nIf a client has subscriptions active, it may emit these events:\n\n### "message" (channel, message)\n\nClient will emit `message` for every message received that matches an active subscription.\nListeners are passed the channel name as `channel` and the message Buffer as `message`.\n\n### "pmessage" (pattern, channel, message)\n\nClient will emit `pmessage` for every message received that matches an active subscription pattern.\nListeners are passed the original pattern used with `PSUBSCRIBE` as `pattern`, the sending channel\nname as `channel`, and the message Buffer as `message`.\n\n### "subscribe" (channel, count)\n\nClient will emit `subscribe` in response to a `SUBSCRIBE` command. Listeners are passed the \nchannel name as `channel` and the new count of subscriptions for this client as `count`.\n\n### "psubscribe" (pattern, count) \n\nClient will emit `psubscribe` in response to a `PSUBSCRIBE` command. Listeners are passed the\noriginal pattern as `pattern`, and the new count of subscriptions for this client as `count`.\n\n### "unsubscribe" (channel, count)\n\nClient will emit `unsubscribe` in response to a `UNSUBSCRIBE` command. Listeners are passed the \nchannel name as `channel` and the new count of subscriptions for this client as `count`. When\n`count` is 0, this client has left pub/sub mode and no more pub/sub events will be emitted.\n\n### "punsubscribe" (pattern, count)\n\nClient will emit `punsubscribe` in response to a `PUNSUBSCRIBE` command. Listeners are passed the \nchannel name as `channel` and the new count of subscriptions for this client as `count`. When\n`count` is 0, this client has left pub/sub mode and no more pub/sub events will be emitted.\n\n## client.multi([commands])\n\n`MULTI` commands are queued up until an `EXEC` is issued, and then all commands are run atomically by\nRedis. The interface in `node_redis` is to return an individual `Multi` object by calling `client.multi()`.\n\n```js\n var redis = require("./index"),\n client = redis.createClient(), set_size = 20;\n\n client.sadd("bigset", "a member");\n client.sadd("bigset", "another member");\n\n while (set_size > 0) {\n client.sadd("bigset", "member " + set_size);\n set_size -= 1;\n }\n\n // multi chain with an individual callback\n client.multi()\n .scard("bigset")\n .smembers("bigset")\n .keys("*", function (err, replies) {\n // NOTE: code in this callback is NOT atomic\n // this only happens after the the .exec call finishes.\n client.mget(replies, redis.print);\n })\n .dbsize()\n .exec(function (err, replies) {\n console.log("MULTI got " + replies.length + " replies");\n replies.forEach(function (reply, index) {\n console.log("Reply " + index + ": " + reply.toString());\n });\n });\n```\n\n`client.multi()` is a constructor that returns a `Multi` object. `Multi` objects share all of the\nsame command methods as `client` objects do. Commands are queued up inside the `Multi` object\nuntil `Multi.exec()` is invoked.\n\nYou can either chain together `MULTI` commands as in the above example, or you can queue individual\ncommands while still sending regular client command as in this example:\n\n```js\n var redis = require("redis"),\n client = redis.createClient(), multi;\n\n // start a separate multi command queue \n multi = client.multi();\n multi.incr("incr thing", redis.print);\n multi.incr("incr other thing", redis.print);\n\n // runs immediately\n client.mset("incr thing", 100, "incr other thing", 1, redis.print);\n\n // drains multi queue and runs atomically\n multi.exec(function (err, replies) {\n console.log(replies); // 101, 2\n });\n\n // you can re-run the same transaction if you like\n multi.exec(function (err, replies) {\n console.log(replies); // 102, 3\n client.quit();\n });\n```\n\nIn addition to adding commands to the `MULTI` queue individually, you can also pass an array \nof commands and arguments to the constructor:\n\n```js\n var redis = require("redis"),\n client = redis.createClient(), multi;\n\n client.multi([\n ["mget", "multifoo", "multibar", redis.print],\n ["incr", "multifoo"],\n ["incr", "multibar"]\n ]).exec(function (err, replies) {\n console.log(replies);\n });\n```\n\n\n## Monitor mode\n\nRedis supports the `MONITOR` command, which lets you see all commands received by the Redis server\nacross all client connections, including from other client libraries and other computers.\n\nAfter you send the `MONITOR` command, no other commands are valid on that connection. `node_redis`\nwill emit a `monitor` event for every new monitor message that comes across. The callback for the \n`monitor` event takes a timestamp from the Redis server and an array of command arguments.\n\nHere is a simple example:\n\n```js\n var client = require("redis").createClient(),\n util = require("util");\n\n client.monitor(function (err, res) {\n console.log("Entering monitoring mode.");\n });\n\n client.on("monitor", function (time, args) {\n console.log(time + ": " + util.inspect(args));\n });\n```\n\n# Extras\n\nSome other things you might like to know about.\n\n## client.server_info\n\nAfter the ready probe completes, the results from the INFO command are saved in the `client.server_info` \nobject.\n\nThe `versions` key contains an array of the elements of the version string for easy comparison.\n\n > client.server_info.redis_version\n \'2.3.0\'\n > client.server_info.versions\n [ 2, 3, 0 ]\n\n## redis.print()\n\nA handy callback function for displaying return values when testing. Example:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n client.on("connect", function () {\n client.set("foo_rand000000000000", "some fantastic value", redis.print);\n client.get("foo_rand000000000000", redis.print);\n });\n```\n\nThis will print:\n\n Reply: OK\n Reply: some fantastic value\n\nNote that this program will not exit cleanly because the client is still connected.\n\n## redis.debug_mode\n\nBoolean to enable debug mode and protocol tracing.\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n redis.debug_mode = true;\n\n client.on("connect", function () {\n client.set("foo_rand000000000000", "some fantastic value");\n });\n```\n\nThis will display:\n\n mjr:~/work/node_redis (master)$ node ~/example.js \n send command: *3\n $3\n SET\n $20\n foo_rand000000000000\n $20\n some fantastic value\n\n on_data: +OK\n\n`send command` is data sent into Redis and `on_data` is data received from Redis.\n\n## client.send_command(command_name, args, callback)\n\nUsed internally to send commands to Redis. For convenience, nearly all commands that are published on the Redis \nWiki have been added to the `client` object. However, if I missed any, or if new commands are introduced before\nthis library is updated, you can use `send_command()` to send arbitrary commands to Redis.\n\nAll commands are sent as multi-bulk commands. `args` can either be an Array of arguments, or omitted.\n\n## client.connected\n\nBoolean tracking the state of the connection to the Redis server.\n\n## client.command_queue.length\n\nThe number of commands that have been sent to the Redis server but not yet replied to. You can use this to \nenforce some kind of maximum queue depth for commands while connected.\n\nDon\'t mess with `client.command_queue` though unless you really know what you are doing.\n\n## client.offline_queue.length\n\nThe number of commands that have been queued up for a future connection. You can use this to enforce\nsome kind of maximum queue depth for pre-connection commands.\n\n## client.retry_delay\n\nCurrent delay in milliseconds before a connection retry will be attempted. This starts at `250`.\n\n## client.retry_backoff\n\nMultiplier for future retry timeouts. This should be larger than 1 to add more time between retries.\nDefaults to 1.7. The default initial connection retry is 250, so the second retry will be 425, followed by 723.5, etc.\n\n\n## TODO\n\nBetter tests for auth, disconnect/reconnect, and all combinations thereof.\n\nStream large set/get values into and out of Redis. Otherwise the entire value must be in node\'s memory.\n\nPerformance can be better for very large values.\n\nI think there are more performance improvements left in there for smaller values, especially for large lists of small values.\n\n## Contributors\n\nSome people have have added features and fixed bugs in `node_redis` other than me.\n\nIn alphabetical order, they are:\n\n* [Aivo Paas](\n* [Andy Ray](\n* Daniele\n* [Dave Hoover](\n* [David Trejo](\n* Dayananda Nanjundappa\n* [Felix Geisendörfer](\n* [Hank Sims](\n* [Ian Babrou](\n* [Isaac Z. Schlueter](\n* [Louis-Philippe Perron](\n* [Maksim Lin](\n* [Marcus Westin](\n* [Mark Dawson](\n* [Nithesh Chandra Gupta Mittapally](\n* [Orion Henry](\n* [Owen Smith](\n* [Paul Carey](\n* [Philip Tellis](\n* [Pieter Noordhuis](\n* [Rick Olson](\n* [Tim Smart](\n* [TJ Holowaychuk](\n* [Umair Siddique](\n* [Vladimir Dronnikov](\n* [Zachary Scott](\n\nThanks.\n\n## LICENSE - "MIT License"\n\nCopyright (c) 2010 Matthew Ranney,\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the "Software"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n![spacer](\n',
150 silly resolved _id: 'redis@0.7.2',
150 silly resolved dependencies: { hiredis: '*' },
150 silly resolved _from: 'redis@0.7.2' } ]
151 info install policyfile@0.0.4 into /vagrant/sites/all/modules/nodejs/node_modules/
152 info install into /vagrant/sites/all/modules/nodejs/node_modules/
153 info install redis@0.7.2 into /vagrant/sites/all/modules/nodejs/node_modules/
154 info installOne policyfile@0.0.4
155 info installOne
156 info installOne redis@0.7.2
157 verbose from cache /home/vagrant/.npm/policyfile/0.0.4/package/package.json
158 verbose from cache /home/vagrant/.npm/
159 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
160 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
161 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
162 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
163 verbose from cache /home/vagrant/.npm/redis/0.7.2/package/package.json
164 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
165 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
166 verbose tar unpack /home/vagrant/.npm/policyfile/0.0.4/package.tgz
167 verbose tar unpack /home/vagrant/.npm/
168 silly lockFile 0aab5db4-ocket-io-node-modules-policyfile /vagrant/sites/all/modules/nodejs/node_modules/
169 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/0aab5db4-ocket-io-node-modules-policyfile.lock
170 silly lockFile ea147c8d-io-node-modules-socket-io-client /vagrant/sites/all/modules/nodejs/node_modules/
171 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/ea147c8d-io-node-modules-socket-io-client.lock
172 verbose tar unpack /home/vagrant/.npm/redis/0.7.2/package.tgz
173 silly gunzTarPerm modes [ '755', '644' ]
174 silly gunzTarPerm modes [ '755', '644' ]
175 silly gunzTarPerm extractEntry package.json
176 silly gunzTarPerm extractEntry package.json
177 silly gunzTarPerm extractEntry .npmignore
178 silly gunzTarPerm extractEntry
179 silly gunzTarPerm extractEntry .npmignore
180 silly gunzTarPerm extractEntry
181 silly gunzTarPerm extractEntry bin/builder.js
182 silly gunzTarPerm extractEntry LICENSE
183 silly gunzTarPerm extractEntry index.js
184 silly gunzTarPerm extractEntry dist/
185 silly gunzTarPerm extractEntry dist/
186 silly gunzTarPerm extractEntry doc/index.html
187 silly gunzTarPerm extractEntry lib/server.js
188 silly gunzTarPerm extractEntry tests/unit.test.js
189 silly gunzTarPerm extractEntry tests/ssl/ssl.crt
190 silly gunzTarPerm extractEntry tests/ssl/ssl.private.key
191 silly gunzTarPerm extractEntry examples/basic.js
192 silly gunzTarPerm extractEntry dist/WebSocketMainInsecure.swf
193 silly gunzTarPerm extractEntry examples/basic.fallback.js
194 silly gunzTarPerm extractEntry Makefile
195 silly gunzTarPerm extractEntry dist/WebSocketMain.swf
196 silly gunzTarPerm extractEntry test/socket.test.js
197 silly gunzTarPerm extractEntry test/util.test.js
198 silly lockFile 27691a22-les-socket-io-node-modules-redis /vagrant/sites/all/modules/nodejs/node_modules/
199 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/27691a22-les-socket-io-node-modules-redis.lock
200 silly gunzTarPerm modes [ '755', '644' ]
201 silly gunzTarPerm extractEntry test/io.test.js
202 silly gunzTarPerm extractEntry test/events.test.js
203 silly gunzTarPerm extractEntry test/worker.js
204 silly gunzTarPerm extractEntry test/parser.test.js
205 silly gunzTarPerm extractEntry test/node/builder.test.js
206 silly gunzTarPerm extractEntry package.json
207 silly gunzTarPerm extractEntry test/node/builder.common.js
208 silly gunzTarPerm extractEntry lib/namespace.js
209 silly gunzTarPerm extractEntry lib/util.js
210 silly gunzTarPerm extractEntry lib/json.js
211 silly gunzTarPerm extractEntry lib/parser.js
212 silly gunzTarPerm extractEntry lib/transport.js
213 silly gunzTarPerm extractEntry lib/io.js
214 silly gunzTarPerm extractEntry .npmignore
215 silly gunzTarPerm extractEntry
216 silly gunzTarPerm extractEntry lib/socket.js
217 silly gunzTarPerm extractEntry lib/events.js
218 silly gunzTarPerm extractEntry lib/transports/xhr.js
219 silly gunzTarPerm extractEntry lib/transports/jsonp-polling.js
220 silly gunzTarPerm extractEntry lib/transports/xhr-polling.js
221 silly gunzTarPerm extractEntry lib/transports/flashsocket.js
222 silly gunzTarPerm extractEntry lib/transports/htmlfile.js
223 silly gunzTarPerm extractEntry lib/transports/websocket.js
224 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/.npmignore
225 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/
226 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/web_socket.js
227 silly gunzTarPerm extractEntry test.js
228 silly gunzTarPerm extractEntry generate_commands.js
229 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/swfobject.js
230 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/
231 silly gunzTarPerm extractEntry index.js
232 silly gunzTarPerm extractEntry multi_bench.js
233 silly gunzTarPerm extractEntry
234 silly gunzTarPerm extractEntry examples/simple.js
235 silly gunzTarPerm extractEntry examples/web_server.js
236 silly gunzTarPerm extractEntry examples/file.js
237 silly gunzTarPerm extractEntry examples/multi2.js
238 silly gunzTarPerm extractEntry examples/backpressure_drain.js
239 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
240 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
241 silly gunzTarPerm extractEntry examples/auth.js
242 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
243 silly gunzTarPerm extractEntry examples/subquery.js
244 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
245 silly gunzTarPerm extractEntry examples/mget.js
246 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/
247 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/
248 silly gunzTarPerm extractEntry examples/monitor.js
249 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/
250 silly gunzTarPerm extractEntry examples/sort.js
251 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/
252 silly gunzTarPerm extractEntry examples/unix_socket.js
253 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/
254 silly gunzTarPerm extractEntry examples/pub_sub.js
255 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/
256 silly gunzTarPerm extractEntry examples/psubscribe.js
257 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
258 silly gunzTarPerm extractEntry examples/extend.js
259 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
260 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
261 silly gunzTarPerm extractEntry examples/eval.js
262 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
263 silly gunzTarPerm extractEntry examples/multi.js
264 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
265 silly gunzTarPerm extractEntry examples/subqueries.js
266 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
267 silly gunzTarPerm extractEntry tests/reconnect_test.js
268 silly gunzTarPerm extractEntry tests/buffer_bench.js
269 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt
270 silly gunzTarPerm extractEntry tests/re_sub_test.js
271 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
272 silly gunzTarPerm extractEntry tests/sub_quit_test.js
273 silly gunzTarPerm extractEntry tests/hiredis_parser.js
274 silly gunzTarPerm extractEntry tests/stress/codec.js
275 silly gunzTarPerm extractEntry tests/stress/pubsub/server.js
276 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
277 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
278 silly gunzTarPerm extractEntry tests/stress/pubsub/pub.js
279 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
280 silly gunzTarPerm extractEntry tests/stress/pubsub/run
281 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
282 silly gunzTarPerm extractEntry tests/stress/speed/speed.js
283 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
284 silly gunzTarPerm extractEntry tests/stress/speed/00
285 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
286 silly gunzTarPerm extractEntry tests/stress/speed/plot
287 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
288 silly gunzTarPerm extractEntry tests/stress/speed/size-rate.png
289 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
290 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
291 silly gunzTarPerm extractEntry tests/stress/rpushblpop/server.js
292 silly gunzTarPerm extractEntry tests/stress/rpushblpop/pub.js
293 silly gunzTarPerm extractEntry tests/stress/rpushblpop/run
294 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
295 silly gunzTarPerm extractEntry lib/to_array.js
296 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
297 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
298 silly gunzTarPerm extractEntry lib/util.js
299 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
300 silly gunzTarPerm extractEntry lib/queue.js
301 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
302 silly gunzTarPerm extractEntry lib/commands.js
303 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
304 silly gunzTarPerm extractEntry lib/parser/hiredis.js
305 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/
306 silly gunzTarPerm extractEntry lib/parser/javascript.js
307 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
308 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
309 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
310 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
311 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
312 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
313 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
314 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
315 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
316 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/
317 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
318 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
319 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
320 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
321 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
322 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
323 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
324 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
325 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
326 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
327 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
328 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
329 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
330 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
331 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
332 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
333 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
334 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
335 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
336 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
337 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
338 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
339 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/
340 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/
341 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
342 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
343 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
344 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
345 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
346 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
347 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
348 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
349 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
350 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
351 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
352 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
353 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
354 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
355 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
356 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
357 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
358 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/
359 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/
360 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/
361 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/
362 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
363 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/
364 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
365 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
366 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
367 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
368 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
369 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
370 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
371 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
372 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
373 silly lockFile 0aab5db4-ocket-io-node-modules-policyfile /vagrant/sites/all/modules/nodejs/node_modules/
374 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
375 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
376 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/
377 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/
378 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/
379 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/
380 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
381 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
382 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
383 info preinstall policyfile@0.0.4
384 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
385 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
386 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
387 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/
388 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
389 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/
390 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
391 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/
392 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/WebSocketMain.swf
393 silly gunzTarPerm extractEntry lib/vendor/web-socket-js/sample.html
394 silly gunzTarPerm extractEntry Makefile
395 silly gunzTarPerm extractEntry
396 verbose readDependencies using package.json deps
397 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
398 verbose readDependencies using package.json deps
399 silly resolved []
400 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
401 info build /vagrant/sites/all/modules/nodejs/node_modules/
402 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
403 verbose linkStuff [ false,
403 verbose linkStuff false,
403 verbose linkStuff false,
403 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
404 info linkStuff policyfile@0.0.4
405 verbose linkBins policyfile@0.0.4
406 verbose linkMans policyfile@0.0.4
407 verbose rebuildBundles policyfile@0.0.4
408 info install policyfile@0.0.4
409 info postinstall policyfile@0.0.4
410 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
411 silly lockFile 27691a22-les-socket-io-node-modules-redis /vagrant/sites/all/modules/nodejs/node_modules/
412 info preinstall redis@0.7.2
413 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
414 verbose readDependencies using package.json deps
415 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
416 verbose readDependencies using package.json deps
417 verbose cache add [ 'hiredis@*', null ]
418 silly cache add name=undefined spec="hiredis@*" args=["hiredis@*",null]
419 verbose parsed url { pathname: 'hiredis@*', path: 'hiredis@*', href: 'hiredis@*' }
420 silly cache add name="hiredis" spec="*" args=["hiredis","*"]
421 verbose parsed url { pathname: '*', path: '*', href: '*' }
422 verbose addNamed [ 'hiredis', '*' ]
423 verbose addNamed [ null, '' ]
424 silly lockFile 0a034785-hiredis hiredis@*
425 verbose lock hiredis@* /home/vagrant/.npm/0a034785-hiredis.lock
426 silly addNameRange { name: 'hiredis', range: '', hasData: false }
427 verbose url raw hiredis
428 verbose url resolving [ '', './hiredis' ]
429 verbose url resolved
430 info trying registry request attempt 1 at 18:19:56
431 verbose etag "AX8BLG3CQT93DXS1FS85LCNNS"
432 http GET
433 http 304
434 silly registry.get cb [ 304,
434 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
434 silly registry.get etag: '"AX8BLG3CQT93DXS1FS85LCNNS"',
434 silly registry.get date: 'Fri, 12 Oct 2012 18:19:56 GMT',
434 silly registry.get 'content-length': '0' } ]
435 verbose etag hiredis from cache
436 silly addNameRange number 2 { name: 'hiredis', range: '', hasData: true }
437 silly addNameRange versions [ 'hiredis',
437 silly addNameRange [ '0.1.0',
437 silly addNameRange '0.1.1',
437 silly addNameRange '0.1.2',
437 silly addNameRange '0.1.3',
437 silly addNameRange '0.1.4',
437 silly addNameRange '0.1.5',
437 silly addNameRange '0.1.6',
437 silly addNameRange '0.1.8',
437 silly addNameRange '0.1.9',
437 silly addNameRange '0.1.10',
437 silly addNameRange '0.1.12',
437 silly addNameRange '0.1.13',
437 silly addNameRange '0.1.14' ] ]
438 verbose addNamed [ 'hiredis', '0.1.14' ]
439 verbose addNamed [ '0.1.14', '0.1.14' ]
440 silly lockFile e9c5aa12-hiredis-0-1-14 hiredis@0.1.14
441 verbose lock hiredis@0.1.14 /home/vagrant/.npm/e9c5aa12-hiredis-0-1-14.lock
442 verbose read json /home/vagrant/.npm/hiredis/0.1.14/package/package.json
443 warn package.json hiredis@0.1.14 No file found!
444 silly lockFile e9c5aa12-hiredis-0-1-14 hiredis@0.1.14
445 silly lockFile 0a034785-hiredis hiredis@*
446 silly resolved [ { name: 'hiredis',
446 silly resolved description: 'Wrapper for reply processing code in hiredis',
446 silly resolved version: '0.1.14',
446 silly resolved homepage: '',
446 silly resolved author: { name: 'Pieter Noordhuis', email: '' },
446 silly resolved main: 'hiredis',
446 silly resolved directories: { lib: '.' },
446 silly resolved scripts: { preinstall: 'make || gmake', test: 'node test/reader.js' },
446 silly resolved engines: { node: '*' },
446 silly resolved readme: 'ERROR: No file found!',
446 silly resolved _id: 'hiredis@0.1.14',
446 silly resolved _from: 'hiredis@*' } ]
447 info install hiredis@0.1.14 into /vagrant/sites/all/modules/nodejs/node_modules/
448 info installOne hiredis@0.1.14
449 verbose from cache /home/vagrant/.npm/hiredis/0.1.14/package/package.json
450 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
451 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
452 verbose tar unpack /home/vagrant/.npm/hiredis/0.1.14/package.tgz
453 silly lockFile 47a09bc9-dules-redis-node-modules-hiredis /vagrant/sites/all/modules/nodejs/node_modules/
454 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/47a09bc9-dules-redis-node-modules-hiredis.lock
455 silly gunzTarPerm modes [ '755', '644' ]
456 silly gunzTarPerm extractEntry package.json
457 silly gunzTarPerm extractEntry README
458 silly gunzTarPerm extractEntry hiredis.js
459 silly gunzTarPerm extractEntry parser_bench.js
460 silly gunzTarPerm extractEntry bench.js
461 silly gunzTarPerm extractEntry reader.h
462 silly gunzTarPerm extractEntry test/reader.js
463 silly gunzTarPerm extractEntry deps/hiredis/
464 silly gunzTarPerm extractEntry deps/hiredis/adapters/ae.h
465 silly gunzTarPerm extractEntry deps/hiredis/adapters/libevent.h
466 silly gunzTarPerm extractEntry deps/hiredis/adapters/libev.h
467 silly gunzTarPerm extractEntry deps/hiredis/hiredis.c
468 silly gunzTarPerm extractEntry deps/hiredis/dict.h
469 silly gunzTarPerm extractEntry deps/hiredis/hiredis.h
470 silly gunzTarPerm extractEntry deps/hiredis/example-libevent.c
471 silly gunzTarPerm extractEntry deps/hiredis/sds.c
472 silly gunzTarPerm extractEntry deps/hiredis/net.c
473 silly gunzTarPerm extractEntry deps/hiredis/sds.h
474 silly gunzTarPerm extractEntry deps/hiredis/example-libev.c
475 silly gunzTarPerm extractEntry deps/hiredis/fmacros.h
476 silly gunzTarPerm extractEntry deps/hiredis/example-ae.c
477 silly gunzTarPerm extractEntry deps/hiredis/COPYING
478 silly gunzTarPerm extractEntry deps/hiredis/net.h
479 silly gunzTarPerm extractEntry deps/hiredis/test.c
480 silly gunzTarPerm extractEntry deps/hiredis/example.c
481 silly gunzTarPerm extractEntry deps/hiredis/
482 silly gunzTarPerm extractEntry deps/hiredis/async.h
483 silly gunzTarPerm extractEntry deps/hiredis/async.c
484 silly gunzTarPerm extractEntry deps/hiredis/Makefile
485 silly gunzTarPerm extractEntry deps/hiredis/dict.c
486 silly gunzTarPerm extractEntry
487 silly gunzTarPerm extractEntry
488 silly gunzTarPerm extractEntry Makefile
489 silly gunzTarPerm extractEntry wscript
490 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
491 silly lockFile 47a09bc9-dules-redis-node-modules-hiredis /vagrant/sites/all/modules/nodejs/node_modules/
492 info preinstall hiredis@0.1.14
493 verbose unsafe-perm in lifecycle false
494 verbose set uid from=0 to=1000
495 silly exec sh "-c" "make || gmake"
496 silly sh,-c,make || gmake,/vagrant/sites/all/modules/nodejs/node_modules/ spawning
497 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
498 silly lockFile ea147c8d-io-node-modules-socket-io-client /vagrant/sites/all/modules/nodejs/node_modules/
499 info preinstall
500 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
501 verbose readDependencies using package.json deps
502 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
503 verbose readDependencies using package.json deps
504 verbose cache add [ 'xmlhttprequest@1.4.2', null ]
505 silly cache add name=undefined spec="xmlhttprequest@1.4.2" args=["xmlhttprequest@1.4.2",null]
506 verbose parsed url { pathname: 'xmlhttprequest@1.4.2',
506 verbose parsed url path: 'xmlhttprequest@1.4.2',
506 verbose parsed url href: 'xmlhttprequest@1.4.2' }
507 silly cache add name="xmlhttprequest" spec="1.4.2" args=["xmlhttprequest","1.4.2"]
508 verbose parsed url { pathname: '1.4.2', path: '1.4.2', href: '1.4.2' }
509 verbose addNamed [ 'xmlhttprequest', '1.4.2' ]
510 verbose addNamed [ '1.4.2', '1.4.2' ]
511 silly lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
512 verbose lock xmlhttprequest@1.4.2 /home/vagrant/.npm/55d2242a-xmlhttprequest-1-4-2.lock
513 verbose cache add [ 'uglify-js@1.2.5', null ]
514 silly cache add name=undefined spec="uglify-js@1.2.5" args=["uglify-js@1.2.5",null]
515 verbose parsed url { pathname: 'uglify-js@1.2.5',
515 verbose parsed url path: 'uglify-js@1.2.5',
515 verbose parsed url href: 'uglify-js@1.2.5' }
516 silly cache add name="uglify-js" spec="1.2.5" args=["uglify-js","1.2.5"]
517 verbose parsed url { pathname: '1.2.5', path: '1.2.5', href: '1.2.5' }
518 verbose addNamed [ 'uglify-js', '1.2.5' ]
519 verbose addNamed [ '1.2.5', '1.2.5' ]
520 silly lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
521 verbose lock uglify-js@1.2.5 /home/vagrant/.npm/7bec4d6c-uglify-js-1-2-5.lock
522 verbose url raw xmlhttprequest/1.4.2
523 verbose url resolving [ '', './xmlhttprequest/1.4.2' ]
524 verbose url resolved
525 info trying registry request attempt 1 at 18:20:00
526 verbose etag "24FJFJIX5JPU2U69GU1IJ1ONJ"
527 http GET
528 verbose url raw uglify-js/1.2.5
529 verbose url resolving [ '', './uglify-js/1.2.5' ]
530 verbose url resolved
531 info trying registry request attempt 1 at 18:20:00
532 verbose etag "B18OS8AFCCHMY2O3HEDQCV46C"
533 http GET
534 verbose cache add [ 'ws@0.4.x', null ]
535 silly cache add name=undefined spec="ws@0.4.x" args=["ws@0.4.x",null]
536 verbose parsed url { pathname: 'ws@0.4.x', path: 'ws@0.4.x', href: 'ws@0.4.x' }
537 silly cache add name="ws" spec="0.4.x" args=["ws","0.4.x"]
538 verbose parsed url { pathname: '0.4.x', path: '0.4.x', href: '0.4.x' }
539 verbose addNamed [ 'ws', '0.4.x' ]
540 verbose addNamed [ null, '>=0.4.0- <0.5.0-' ]
541 silly lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
542 verbose lock ws@0.4.x /home/vagrant/.npm/5d9e9ce0-ws-0-4-x.lock
543 verbose cache add [ 'active-x-obfuscator@0.0.1', null ]
544 silly cache add name=undefined spec="active-x-obfuscator@0.0.1" args=["active-x-obfuscator@0.0.1",null]
545 verbose parsed url { pathname: 'active-x-obfuscator@0.0.1',
545 verbose parsed url path: 'active-x-obfuscator@0.0.1',
545 verbose parsed url href: 'active-x-obfuscator@0.0.1' }
546 silly cache add name="active-x-obfuscator" spec="0.0.1" args=["active-x-obfuscator","0.0.1"]
547 verbose parsed url { pathname: '0.0.1', path: '0.0.1', href: '0.0.1' }
548 verbose addNamed [ 'active-x-obfuscator', '0.0.1' ]
549 verbose addNamed [ '0.0.1', '0.0.1' ]
550 silly lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
551 verbose lock active-x-obfuscator@0.0.1 /home/vagrant/.npm/8a542afc-active-x-obfuscator-0-0-1.lock
552 silly addNameRange { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: false }
553 verbose url raw ws
554 verbose url resolving [ '', './ws' ]
555 verbose url resolved
556 info trying registry request attempt 1 at 18:20:00
557 verbose etag "DHL3GDT3MP0RQAS2WISOYXY69"
558 http GET
559 verbose url raw active-x-obfuscator/0.0.1
560 verbose url resolving [ '', './active-x-obfuscator/0.0.1' ]
561 verbose url resolved
562 info trying registry request attempt 1 at 18:20:00
563 verbose etag "5M9A642L9VWRWUP4U50RAZNYH"
564 http GET
565 http 304
566 silly registry.get cb [ 304,
566 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
566 silly registry.get etag: '"24FJFJIX5JPU2U69GU1IJ1ONJ"',
566 silly registry.get date: 'Fri, 12 Oct 2012 18:20:00 GMT',
566 silly registry.get 'content-length': '0' } ]
567 verbose etag xmlhttprequest/1.4.2 from cache
568 verbose read json /home/vagrant/.npm/xmlhttprequest/1.4.2/package/package.json
569 silly lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
570 http 304
571 silly registry.get cb [ 304,
571 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
571 silly registry.get etag: '"B18OS8AFCCHMY2O3HEDQCV46C"',
571 silly registry.get date: 'Fri, 12 Oct 2012 18:20:00 GMT',
571 silly registry.get 'content-length': '0' } ]
572 verbose etag uglify-js/1.2.5 from cache
573 verbose read json /home/vagrant/.npm/uglify-js/1.2.5/package/package.json
574 silly lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
575 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
576 verbose readDependencies using package.json deps
577 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
578 verbose readDependencies using package.json deps
579 silly resolved []
580 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
581 info build /vagrant/sites/all/modules/nodejs/node_modules/
582 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
583 verbose linkStuff [ false,
583 verbose linkStuff false,
583 verbose linkStuff false,
583 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
584 info linkStuff hiredis@0.1.14
585 verbose linkBins hiredis@0.1.14
586 verbose linkMans hiredis@0.1.14
587 verbose rebuildBundles hiredis@0.1.14
588 info install hiredis@0.1.14
589 info postinstall hiredis@0.1.14
590 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
591 info build /vagrant/sites/all/modules/nodejs/node_modules/
592 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
593 verbose linkStuff [ false,
593 verbose linkStuff false,
593 verbose linkStuff false,
593 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
594 info linkStuff redis@0.7.2
595 verbose linkBins redis@0.7.2
596 verbose linkMans redis@0.7.2
597 verbose rebuildBundles redis@0.7.2
598 verbose rebuildBundles [ 'hiredis' ]
599 info install redis@0.7.2
600 info postinstall redis@0.7.2
601 http 304
602 silly registry.get cb [ 304,
602 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
602 silly registry.get etag: '"DHL3GDT3MP0RQAS2WISOYXY69"',
602 silly registry.get date: 'Fri, 12 Oct 2012 18:20:02 GMT',
602 silly registry.get 'content-length': '0' } ]
603 verbose etag ws from cache
604 silly addNameRange number 2 { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: true }
605 silly addNameRange versions [ 'ws',
605 silly addNameRange [ '0.2.6',
605 silly addNameRange '0.2.8',
605 silly addNameRange '0.2.9',
605 silly addNameRange '0.3.0',
605 silly addNameRange '0.3.1',
605 silly addNameRange '0.3.2',
605 silly addNameRange '0.3.3',
605 silly addNameRange '0.3.4',
605 silly addNameRange '0.3.4-2',
605 silly addNameRange '0.3.5',
605 silly addNameRange '0.3.5-2',
605 silly addNameRange '0.3.5-3',
605 silly addNameRange '0.3.5-4',
605 silly addNameRange '0.3.6',
605 silly addNameRange '0.3.7',
605 silly addNameRange '0.3.8',
605 silly addNameRange '0.3.9',
605 silly addNameRange '0.4.0',
605 silly addNameRange '0.4.1',
605 silly addNameRange '0.4.2',
605 silly addNameRange '0.4.3',
605 silly addNameRange '0.4.5',
605 silly addNameRange '0.4.6',
605 silly addNameRange '0.4.7',
605 silly addNameRange '0.4.8',
605 silly addNameRange '0.4.9',
605 silly addNameRange '0.4.10',
605 silly addNameRange '0.4.11',
605 silly addNameRange '0.4.12',
605 silly addNameRange '0.4.13',
605 silly addNameRange '0.4.14',
605 silly addNameRange '0.4.15',
605 silly addNameRange '0.4.16',
605 silly addNameRange '0.4.17',
605 silly addNameRange '0.4.18',
605 silly addNameRange '0.4.19',
605 silly addNameRange '0.4.20',
605 silly addNameRange '0.4.21',
605 silly addNameRange '0.4.22' ] ]
606 verbose addNamed [ 'ws', '0.4.22' ]
607 verbose addNamed [ '0.4.22', '0.4.22' ]
608 silly lockFile 8e559077-ws-0-4-22 ws@0.4.22
609 verbose lock ws@0.4.22 /home/vagrant/.npm/8e559077-ws-0-4-22.lock
610 verbose read json /home/vagrant/.npm/ws/0.4.22/package/package.json
611 silly lockFile 8e559077-ws-0-4-22 ws@0.4.22
612 silly lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
613 http 304
614 silly registry.get cb [ 304,
614 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
614 silly registry.get etag: '"5M9A642L9VWRWUP4U50RAZNYH"',
614 silly registry.get date: 'Fri, 12 Oct 2012 18:20:02 GMT',
614 silly registry.get 'content-length': '0' } ]
615 verbose etag active-x-obfuscator/0.0.1 from cache
616 verbose read json /home/vagrant/.npm/active-x-obfuscator/0.0.1/package/package.json
617 silly lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
618 silly resolved [ { name: 'xmlhttprequest',
618 silly resolved description: 'XMLHttpRequest for Node',
618 silly resolved version: '1.4.2',
618 silly resolved author: { name: 'Dan DeFelippi', url: '' },
618 silly resolved keywords: [ 'xhr', 'ajax' ],
618 silly resolved licenses: [ [Object] ],
618 silly resolved repository:
618 silly resolved { type: 'git',
618 silly resolved url: 'git://' },
618 silly resolved bugs: '',
618 silly resolved engines: { node: '>=0.4.0' },
618 silly resolved directories: { lib: './lib', example: './example' },
618 silly resolved main: './lib/XMLHttpRequest.js',
618 silly resolved readme: '# node-XMLHttpRequest #\n\nnode-XMLHttpRequest is a wrapper for the built-in http client to emulate the\nbrowser XMLHttpRequest object.\n\nThis can be used with JS designed for browsers to improve reuse of code and\nallow the use of existing libraries.\n\nNote: This library currently conforms to [XMLHttpRequest 1]( Version 2.0 will target [XMLHttpRequest Level 2](\n\n## Usage ##\n\nHere\'s how to include the module in your project and use as the browser-based\nXHR object.\n\n\tvar XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;\n\tvar xhr = new XMLHttpRequest();\n\nNote: use the lowercase string "xmlhttprequest" in your require(). On\ncase-sensitive systems (eg Linux) using uppercase letters won\'t work.\n\n## Versions ##\n\nPrior to 1.4.0 version numbers were arbitrary. From 1.4.0 on they conform to\nthe standard major.minor.bugfix. 1.x shouldn\'t necessarily be considered\nstable just because it\'s above 0.x.\n\nSince the XMLHttpRequest API is stable this library\'s API is stable as\nwell. Major version numbers indicate significant core code changes.\nMinor versions indicate minor core code changes or better conformity to\nthe W3C spec.\n\n## Supports ##\n\n* Async and synchronous requests\n* GET, POST, PUT, and DELETE requests\n* All spec methods (open, send, abort, getRequestHeader,\n getAllRequestHeaders, event methods)\n* Requests to all domains\n\n## Known Issues / Missing Features ##\n\nFor a list of open issues or to report your own visit the [github issues\npage](\n\n* Local file access may have unexpected results for non-UTF8 files\n* Synchronous requests don\'t set headers properly\n* Synchronous requests freeze node while waiting for response (But that\'s what you want, right? Stick with async!).\n* Some events are missing, such as abort\n* getRequestHeader is case-sensitive\n* Cookies aren\'t persisted between requests\n* Missing XML support\n* Missing basic auth\n',
618 silly resolved _id: 'xmlhttprequest@1.4.2',
618 silly resolved _from: 'xmlhttprequest@1.4.2' },
618 silly resolved { name: 'uglify-js',
618 silly resolved description: 'JavaScript parser and compressor/beautifier toolkit',
618 silly resolved author:
618 silly resolved { name: 'Mihai Bazon',
618 silly resolved email: '',
618 silly resolved url: '' },
618 silly resolved version: '1.2.5',
618 silly resolved main: './uglify-js.js',
618 silly resolved bin: { uglifyjs: './bin/uglifyjs' },
618 silly resolved repository: { type: 'git', url: '' },
618 silly resolved readme: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "">\n<html xmlns=""\nlang="en" xml:lang="en">\n<head>\n<title>UglifyJS &ndash; a JavaScript parser/compressor/beautifier</title>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<meta name="generator" content="Org-mode"/>\n<meta name="generated" content="2011-12-09 14:59:08 EET"/>\n<meta name="author" content="Mihai Bazon"/>\n<meta name="description" content="a JavaScript parser/compressor/beautifier in JavaScript"/>\n<meta name="keywords" content="javascript, js, parser, compiler, compressor, mangle, minify, minifier"/>\n<style type="text/css">\n <!--/*--><![CDATA[/*><!--*/\n html { font-family: Times, serif; font-size: 12pt; }\n .title { text-align: center; }\n .todo { color: red; }\n .done { color: green; }\n .tag { background-color: #add8e6; font-weight:normal }\n .target { }\n .timestamp { color: #bebebe; }\n .timestamp-kwd { color: #5f9ea0; }\n .right {margin-left:auto; margin-right:0px; text-align:right;}\n .left {margin-left:0px; margin-right:auto; text-align:left;}\n .center {margin-left:auto; margin-right:auto; text-align:center;}\n p.verse { margin-left: 3% }\n pre {\n\tborder: 1pt solid #AEBDCC;\n\tbackground-color: #F3F5F7;\n\tpadding: 5pt;\n\tfont-family: courier, monospace;\n font-size: 90%;\n overflow:auto;\n }\n table { border-collapse: collapse; }\n td, th { vertical-align: top; }\n th.right { text-align:center; }\n th.left { text-align:center; }\n { text-align:center; }\n td.right { text-align:right; }\n td.left { text-align:left; }\n { text-align:center; }\n dt { font-weight: bold; }\n div.figure { padding: 0.5em; }\n div.figure p { text-align: center; }\n div.inlinetask {\n padding:10px;\n border:2px solid gray;\n margin:10px;\n background: #ffffcc;\n }\n textarea { overflow-x: auto; }\n .linenr { font-size:smaller }\n .code-highlighted {background-color:#ffff00;}\n .org-info-js_info-navigation { border-style:none; }\n #org-info-js_console-label { font-size:10px; font-weight:bold;\n white-space:nowrap; }\n .org-info-js_search-highlight {background-color:#ffff00; color:#000000;\n font-weight:bold; }\n /*]]>*/-->\n</style>\n<link rel="stylesheet" type="text/css" href="docstyle.css" />\n<script type="text/javascript">\n<!--/*--><![CDATA[/*><!--*/\n function CodeHighlightOn(elem, id)\n {\n var target = document.getElementById(id);\n if(null != target) {\n elem.cacheClassElem = elem.className;\n elem.cacheClassTarget = target.className;\n target.className = "code-highlighted";\n elem.className = "code-highlighted";\n }\n }\n function CodeHighlightOff(elem, id)\n {\n var target = document.getElementById(id);\n if(elem.cacheClassElem)\n elem.className = elem.cacheClassElem;\n if(elem.cacheClassTarget)\n target.className = elem.cacheClassTarget;\n }\n/*]]>*///-->\n</script>\n\n</head>\n<body>\n\n<div id="preamble">\n\n</div>\n\n<div id="content">\n<h1 class="title">UglifyJS &ndash; a JavaScript parser/compressor/beautifier</h1>\n\n\n<div id="table-of-contents">\n<h2>Table of Contents</h2>\n<div id="text-table-of-contents">\n<ul>\n<li><a href="#sec-1">1 UglifyJS &mdash; a JavaScript parser/compressor/beautifier </a>\n<ul>\n<li><a href="#sec-1-1">1.1 Unsafe transformations </a>\n<ul>\n<li><a href="#sec-1-1-1">1.1.1 Calls involving the global Array constructor </a></li>\n<li><a href="#sec-1-1-2">1.1.2 <code>obj.toString()</code> ==&gt; <code>obj+“”</code> </a></li>\n</ul>\n</li>\n<li><a href="#sec-1-2">1.2 Install (NPM) </a></li>\n<li><a href="#sec-1-3">1.3 Install latest code from GitHub </a></li>\n<li><a href="#sec-1-4">1.4 Usage </a>\n<ul>\n<li><a href="#sec-1-4-1">1.4.1 API </a></li>\n<li><a href="#sec-1-4-2">1.4.2 Beautifier shortcoming &ndash; no more comments </a></li>\n<li><a href="#sec-1-4-3">1.4.3 Use as a code pre-processor </a></li>\n</ul>\n</li>\n<li><a href="#sec-1-5">1.5 Compression &ndash; how good is it? </a></li>\n<li><a href="#sec-1-6">1.6 Bugs? </a></li>\n<li><a href="#sec-1-7">1.7 Links </a></li>\n<li><a href="#sec-1-8">1.8 License </a></li>\n</ul>\n</li>\n</ul>\n</div>\n</div>\n\n<div id="outline-container-1" class="outline-2">\n<h2 id="sec-1"><span class="section-number-2">1</span> UglifyJS &mdash; a JavaScript parser/compressor/beautifier </h2>\n<div class="outline-text-2" id="text-1">\n\n\n<p>\nThis package implements a general-purpose JavaScript\nparser/compressor/beautifier toolkit. It is developed on <a href="">NodeJS</a>, but it\nshould work on any JavaScript platform supporting the CommonJS module system\n(and if your platform of choice doesn\'t support CommonJS, you can easily\nimplement it, or discard the <code>exports.*</code> lines from UglifyJS sources).\n</p>\n<p>\nThe tokenizer/parser generates an abstract syntax tree from JS code. You\ncan then traverse the AST to learn more about the code, or do various\nmanipulations on it. This part is implemented in <a href="../lib/parse-js.js">parse-js.js</a> and it\'s a\nport to JavaScript of the excellent <a href="">parse-js</a> Common Lisp library from <a href="">Marijn Haverbeke</a>.\n</p>\n<p>\n( See <a href="">cl-uglify-js</a> if you\'re looking for the Common Lisp version of\nUglifyJS. )\n</p>\n<p>\nThe second part of this package, implemented in <a href="../lib/process.js">process.js</a>, inspects and\nmanipulates the AST generated by the parser to provide the following:\n</p>\n<ul>\n<li>ability to re-generate JavaScript code from the AST. Optionally\n indented&mdash;you can use this if you want to “beautify” a program that has\n been compressed, so that you can inspect the source. But you can also run\n our code generator to print out an AST without any whitespace, so you\n achieve compression as well.\n\n</li>\n<li>shorten variable names (usually to single characters). Our mangler will\n analyze the code and generate proper variable names, depending on scope\n and usage, and is smart enough to deal with globals defined elsewhere, or\n with <code>eval()</code> calls or <code>with{}</code> statements. In short, if <code>eval()</code> or\n <code>with{}</code> are used in some scope, then all variables in that scope and any\n variables in the parent scopes will remain unmangled, and any references\n to such variables remain unmangled as well.\n\n</li>\n<li>various small optimizations that may lead to faster code but certainly\n lead to smaller code. Where possible, we do the following:\n\n<ul>\n<li>foo["bar"] ==&gt;\n\n</li>\n<li>remove block brackets <code>{}</code>\n\n</li>\n<li>join consecutive var declarations:\n var a = 10; var b = 20; ==&gt; var a=10,b=20;\n\n</li>\n<li>resolve simple constant expressions: 1 +2 * 3 ==&gt; 7. We only do the\n replacement if the result occupies less bytes; for example 1/3 would\n translate to 0.333333333333, so in this case we don\'t replace it.\n\n</li>\n<li>consecutive statements in blocks are merged into a sequence; in many\n cases, this leaves blocks with a single statement, so then we can remove\n the block brackets.\n\n</li>\n<li>various optimizations for IF statements:\n\n<ul>\n<li>if (foo) bar(); else baz(); ==&gt; foo?bar():baz();\n</li>\n<li>if (!foo) bar(); else baz(); ==&gt; foo?baz():bar();\n</li>\n<li>if (foo) bar(); ==&gt; foo&amp;&amp;bar();\n</li>\n<li>if (!foo) bar(); ==&gt; foo||bar();\n</li>\n<li>if (foo) return bar(); else return baz(); ==&gt; return foo?bar():baz();\n</li>\n<li>if (foo) return bar(); else something(); ==&gt; {if(foo)return bar();something()}\n\n</li>\n</ul>\n\n</li>\n<li>remove some unreachable code and warn about it (code that follows a\n <code>return</code>, <code>throw</code>, <code>break</code> or <code>continue</code> statement, except\n function/variable declarations).\n\n</li>\n<li>act a limited version of a pre-processor (c.f. the pre-processor of\n C/C++) to allow you to safely replace selected global symbols with\n specified values. When combined with the optimisations above this can\n make UglifyJS operate slightly more like a compilation process, in\n that when certain symbols are replaced by constant values, entire code\n blocks may be optimised away as unreachable.\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n\n</div>\n\n<div id="outline-container-1-1" class="outline-3">\n<h3 id="sec-1-1"><span class="section-number-3">1.1</span> <span class="target">Unsafe transformations</span> </h3>\n<div class="outline-text-3" id="text-1-1">\n\n\n<p>\nThe following transformations can in theory break code, although they\'re\nprobably safe in most practical cases. To enable them you need to pass the\n<code>--unsafe</code> flag.\n</p>\n\n</div>\n\n<div id="outline-container-1-1-1" class="outline-4">\n<h4 id="sec-1-1-1"><span class="section-number-4">1.1.1</span> Calls involving the global Array constructor </h4>\n<div class="outline-text-4" id="text-1-1-1">\n\n\n<p>\nThe following transformations occur:\n</p>\n\n\n\n<pre class="src src-js"><span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3, 4) =&gt; [1,2,3,4]\nArray(a, b, c) =&gt; [a,b,c]\n<span class="org-keyword">new</span> <span class="org-type">Array</span>(5) =&gt; Array(5)\n<span class="org-keyword">new</span> <span class="org-type">Array</span>(a) =&gt; Array(a)\n</pre>\n\n\n<p>\nThese are all safe if the Array name isn\'t redefined. JavaScript does allow\none to globally redefine Array (and pretty much everything, in fact) but I\npersonally don\'t see why would anyone do that.\n</p>\n<p>\nUglifyJS does handle the case where Array is redefined locally, or even\nglobally but with a <code>function</code> or <code>var</code> declaration. Therefore, in the\nfollowing cases UglifyJS <b>doesn\'t touch</b> calls or instantiations of Array:\n</p>\n\n\n\n<pre class="src src-js"><span class="org-comment-delimiter">// </span><span class="org-comment">case 1. globally declared variable</span>\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n Array(a, b);\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or (can be declared later)</span>\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or (can be a function)</span>\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n <span class="org-keyword">function</span> <span class="org-function-name">Array</span>() { ... }\n\n<span class="org-comment-delimiter">// </span><span class="org-comment">case 2. declared in a function</span>\n (<span class="org-keyword">function</span>(){\n a = <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n b = Array(5, 6);\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or</span>\n (<span class="org-keyword">function</span>(<span class="org-variable-name">Array</span>){\n <span class="org-keyword">return</span> Array(5, 6, 7);\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or</span>\n (<span class="org-keyword">function</span>(){\n <span class="org-keyword">return</span> <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3, 4);\n <span class="org-keyword">function</span> <span class="org-function-name">Array</span>() { ... }\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">etc.</span>\n</pre>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-1-2" class="outline-4">\n<h4 id="sec-1-1-2"><span class="section-number-4">1.1.2</span> <code>obj.toString()</code> ==&gt; <code>obj+“”</code> </h4>\n<div class="outline-text-4" id="text-1-1-2">\n\n\n</div>\n</div>\n\n</div>\n\n<div id="outline-container-1-2" class="outline-3">\n<h3 id="sec-1-2"><span class="section-number-3">1.2</span> Install (NPM) </h3>\n<div class="outline-text-3" id="text-1-2">\n\n\n<p>\nUglifyJS is now available through NPM &mdash; <code>npm install uglify-js</code> should do\nthe job.\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-3" class="outline-3">\n<h3 id="sec-1-3"><span class="section-number-3">1.3</span> Install latest code from GitHub </h3>\n<div class="outline-text-3" id="text-1-3">\n\n\n\n\n\n<pre class="src src-sh"><span class="org-comment-delimiter">## </span><span class="org-comment">clone the repository</span>\nmkdir -p /where/you/wanna/put/it\n<span class="org-builtin">cd</span> /where/you/wanna/put/it\ngit clone git://\n\n<span class="org-comment-delimiter">## </span><span class="org-comment">make the module available to Node</span>\nmkdir -p ~/.node_libraries/\n<span class="org-builtin">cd</span> ~/.node_libraries/\nln -s /where/you/wanna/put/it/UglifyJS/uglify-js.js\n\n<span class="org-comment-delimiter">## </span><span class="org-comment">and if you want the CLI script too:</span>\nmkdir -p ~/bin\n<span class="org-builtin">cd</span> ~/bin\nln -s /where/you/wanna/put/it/UglifyJS/bin/uglifyjs\n <span class="org-comment-delimiter"># </span><span class="org-comment">(then add ~/bin to your $PATH if it\'s not there already)</span>\n</pre>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-4" class="outline-3">\n<h3 id="sec-1-4"><span class="section-number-3">1.4</span> Usage </h3>\n<div class="outline-text-3" id="text-1-4">\n\n\n<p>\nThere is a command-line tool that exposes the functionality of this library\nfor your shell-scripting needs:\n</p>\n\n\n\n<pre class="src src-sh">uglifyjs [ options... ] [ filename ]\n</pre>\n\n\n<p>\n<code>filename</code> should be the last argument and should name the file from which\nto read the JavaScript code. If you don\'t specify it, it will read code\nfrom STDIN.\n</p>\n<p>\nSupported options:\n</p>\n<ul>\n<li><code>-b</code> or <code>--beautify</code> &mdash; output indented code; when passed, additional\n options control the beautifier:\n\n<ul>\n<li><code>-i N</code> or <code>--indent N</code> &mdash; indentation level (number of spaces)\n\n</li>\n<li><code>-q</code> or <code>--quote-keys</code> &mdash; quote keys in literal objects (by default,\n only keys that cannot be identifier names will be quotes).\n\n</li>\n</ul>\n\n</li>\n<li><code>--ascii</code> &mdash; pass this argument to encode non-ASCII characters as\n <code>\\uXXXX</code> sequences. By default UglifyJS won\'t bother to do it and will\n output Unicode characters instead. (the output is always encoded in UTF8,\n but if you pass this option you\'ll only get ASCII).\n\n</li>\n<li><code>-nm</code> or <code>--no-mangle</code> &mdash; don\'t mangle names.\n\n</li>\n<li><code>-nmf</code> or <code>--no-mangle-functions</code> &ndash; in case you want to mangle variable\n names, but not touch function names.\n\n</li>\n<li><code>-ns</code> or <code>--no-squeeze</code> &mdash; don\'t call <code>ast_squeeze()</code> (which does various\n optimizations that result in smaller, less readable code).\n\n</li>\n<li><code>-mt</code> or <code>--mangle-toplevel</code> &mdash; mangle names in the toplevel scope too\n (by default we don\'t do this).\n\n</li>\n<li><code>--no-seqs</code> &mdash; when <code>ast_squeeze()</code> is called (thus, unless you pass\n <code>--no-squeeze</code>) it will reduce consecutive statements in blocks into a\n sequence. For example, "a = 10; b = 20; foo();" will be written as\n "a=10,b=20,foo();". In various occasions, this allows us to discard the\n block brackets (since the block becomes a single statement). This is ON\n by default because it seems safe and saves a few hundred bytes on some\n libs that I tested it on, but pass <code>--no-seqs</code> to disable it.\n\n</li>\n<li><code>--no-dead-code</code> &mdash; by default, UglifyJS will remove code that is\n obviously unreachable (code that follows a <code>return</code>, <code>throw</code>, <code>break</code> or\n <code>continue</code> statement and is not a function/variable declaration). Pass\n this option to disable this optimization.\n\n</li>\n<li><code>-nc</code> or <code>--no-copyright</code> &mdash; by default, <code>uglifyjs</code> will keep the initial\n comment tokens in the generated code (assumed to be copyright information\n etc.). If you pass this it will discard it.\n\n</li>\n<li><code>-o filename</code> or <code>--output filename</code> &mdash; put the result in <code>filename</code>. If\n this isn\'t given, the result goes to standard output (or see next one).\n\n</li>\n<li><code>--overwrite</code> &mdash; if the code is read from a file (not from STDIN) and you\n pass <code>--overwrite</code> then the output will be written in the same file.\n\n</li>\n<li><code>--ast</code> &mdash; pass this if you want to get the Abstract Syntax Tree instead\n of JavaScript as output. Useful for debugging or learning more about the\n internals.\n\n</li>\n<li><code>-v</code> or <code>--verbose</code> &mdash; output some notes on STDERR (for now just how long\n each operation takes).\n\n</li>\n<li><code>-d SYMBOL[=VALUE]</code> or <code>--define SYMBOL[=VALUE]</code> &mdash; will replace\n all instances of the specified symbol where used as an identifier\n (except where symbol has properly declared by a var declaration or\n use as function parameter or similar) with the specified value. This\n argument may be specified multiple times to define multiple\n symbols - if no value is specified the symbol will be replaced with\n the value <code>true</code>, or you can specify a numeric value (such as\n <code>1024</code>), a quoted string value (such as ="object"= or\n =\'\'<code>), or the name of another symbol or keyword (such as =null</code> or <code>document</code>).\n This allows you, for example, to assign meaningful names to key\n constant values but discard the symbolic names in the uglified\n version for brevity/efficiency, or when used wth care, allows\n UglifyJS to operate as a form of <b>conditional compilation</b>\n whereby defining appropriate values may, by dint of the constant\n folding and dead code removal features above, remove entire\n superfluous code blocks (e.g. completely remove instrumentation or\n trace code for production use).\n Where string values are being defined, the handling of quotes are\n likely to be subject to the specifics of your command shell\n environment, so you may need to experiment with quoting styles\n depending on your platform, or you may find the option\n <code>--define-from-module</code> more suitable for use.\n\n</li>\n<li><code>-define-from-module SOMEMODULE</code> &mdash; will load the named module (as\n per the NodeJS <code>require()</code> function) and iterate all the exported\n properties of the module defining them as symbol names to be defined\n (as if by the <code>--define</code> option) per the name of each property\n (i.e. without the module name prefix) and given the value of the\n property. This is a much easier way to handle and document groups of\n symbols to be defined rather than a large number of <code>--define</code>\n options.\n\n</li>\n<li><code>--unsafe</code> &mdash; enable other additional optimizations that are known to be\n unsafe in some contrived situations, but could still be generally useful.\n For now only these:\n\n<ul>\n<li>foo.toString() ==&gt; foo+""\n</li>\n<li>new Array(x,&hellip;) ==&gt; [x,&hellip;]\n</li>\n<li>new Array(x) ==&gt; Array(x)\n\n</li>\n</ul>\n\n</li>\n<li><code>--max-line-len</code> (default 32K characters) &mdash; add a newline after around\n 32K characters. I\'ve seen both FF and Chrome croak when all the code was\n on a single line of around 670K. Pass &ndash;max-line-len 0 to disable this\n safety feature.\n\n</li>\n<li><code>--reserved-names</code> &mdash; some libraries rely on certain names to be used, as\n pointed out in issue #92 and #81, so this option allow you to exclude such\n names from the mangler. For example, to keep names <code>require</code> and <code>$super</code>\n intact you\'d specify &ndash;reserved-names "require,$super".\n\n</li>\n<li><code>--inline-script</code> &ndash; when you want to include the output literally in an\n HTML <code>&lt;script&gt;</code> tag you can use this option to prevent <code>&lt;/script</code> from\n showing up in the output.\n\n</li>\n<li><code>--lift-vars</code> &ndash; when you pass this, UglifyJS will apply the following\n transformations (see the notes in API, <code>ast_lift_variables</code>):\n\n<ul>\n<li>put all <code>var</code> declarations at the start of the scope\n</li>\n<li>make sure a variable is declared only once\n</li>\n<li>discard unused function arguments\n</li>\n<li>discard unused inner (named) functions\n</li>\n<li>finally, try to merge assignments into that one <code>var</code> declaration, if\n possible.\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n\n</div>\n\n<div id="outline-container-1-4-1" class="outline-4">\n<h4 id="sec-1-4-1"><span class="section-number-4">1.4.1</span> API </h4>\n<div class="outline-text-4" id="text-1-4-1">\n\n\n<p>\nTo use the library from JavaScript, you\'d do the following (example for\nNodeJS):\n</p>\n\n\n\n<pre class="src src-js"><span class="org-keyword">var</span> <span class="org-variable-name">jsp</span> = require(<span class="org-string">"uglify-js"</span>).parser;\n<span class="org-keyword">var</span> <span class="org-variable-name">pro</span> = require(<span class="org-string">"uglify-js"</span>).uglify;\n\n<span class="org-keyword">var</span> <span class="org-variable-name">orig_code</span> = <span class="org-string">"... JS code here"</span>;\n<span class="org-keyword">var</span> <span class="org-variable-name">ast</span> = jsp.parse(orig_code); <span class="org-comment-delimiter">// </span><span class="org-comment">parse code and get the initial AST</span>\nast = pro.ast_mangle(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">get a new AST with mangled names</span>\nast = pro.ast_squeeze(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">get an AST with compression optimizations</span>\n<span class="org-keyword">var</span> <span class="org-variable-name">final_code</span> = pro.gen_code(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">compressed code here</span>\n</pre>\n\n\n<p>\nThe above performs the full compression that is possible right now. As you\ncan see, there are a sequence of steps which you can apply. For example if\nyou want compressed output but for some reason you don\'t want to mangle\nvariable names, you would simply skip the line that calls\n<code>pro.ast_mangle(ast)</code>.\n</p>\n<p>\nSome of these functions take optional arguments. Here\'s a description:\n</p>\n<ul>\n<li><code>jsp.parse(code, strict_semicolons)</code> &ndash; parses JS code and returns an AST.\n <code>strict_semicolons</code> is optional and defaults to <code>false</code>. If you pass\n <code>true</code> then the parser will throw an error when it expects a semicolon and\n it doesn\'t find it. For most JS code you don\'t want that, but it\'s useful\n if you want to strictly sanitize your code.\n\n</li>\n<li><code>pro.ast_lift_variables(ast)</code> &ndash; merge and move <code>var</code> declarations to the\n scop of the scope; discard unused function arguments or variables; discard\n unused (named) inner functions. It also tries to merge assignments\n following the <code>var</code> declaration into it.\n\n<p>\n If your code is very hand-optimized concerning <code>var</code> declarations, this\n lifting variable declarations might actually increase size. For me it\n helps out. On jQuery it adds 865 bytes (243 after gzip). YMMV. Also\n note that (since it\'s not enabled by default) this operation isn\'t yet\n heavily tested (please report if you find issues!).\n</p>\n<p>\n Note that although it might increase the image size (on jQuery it gains\n 865 bytes, 243 after gzip) it\'s technically more correct: in certain\n situations, dead code removal might drop variable declarations, which\n would not happen if the variables are lifted in advance.\n</p>\n<p>\n Here\'s an example of what it does:\n</p></li>\n</ul>\n\n\n\n\n\n<pre class="src src-js"><span class="org-keyword">function</span> <span class="org-function-name">f</span>(<span class="org-variable-name">a</span>, <span class="org-variable-name">b</span>, <span class="org-variable-name">c</span>, <span class="org-variable-name">d</span>, <span class="org-variable-name">e</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">q</span>;\n <span class="org-keyword">var</span> <span class="org-variable-name">w</span>;\n w = 10;\n q = 20;\n <span class="org-keyword">for</span> (<span class="org-keyword">var</span> <span class="org-variable-name">i</span> = 1; i &lt; 10; ++i) {\n <span class="org-keyword">var</span> <span class="org-variable-name">boo</span> = foo(a);\n }\n <span class="org-keyword">for</span> (<span class="org-keyword">var</span> <span class="org-variable-name">i</span> = 0; i &lt; 1; ++i) {\n <span class="org-keyword">var</span> <span class="org-variable-name">boo</span> = bar(c);\n }\n <span class="org-keyword">function</span> <span class="org-function-name">foo</span>(){ ... }\n <span class="org-keyword">function</span> <span class="org-function-name">bar</span>(){ ... }\n <span class="org-keyword">function</span> <span class="org-function-name">baz</span>(){ ... }\n}\n\n<span class="org-comment-delimiter">// </span><span class="org-comment">transforms into ==&gt;</span>\n\n<span class="org-keyword">function</span> <span class="org-function-name">f</span>(<span class="org-variable-name">a</span>, <span class="org-variable-name">b</span>, <span class="org-variable-name">c</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">i</span>, <span class="org-variable-name">boo</span>, <span class="org-variable-name">w</span> = 10, <span class="org-variable-name">q</span> = 20;\n <span class="org-keyword">for</span> (i = 1; i &lt; 10; ++i) {\n boo = foo(a);\n }\n <span class="org-keyword">for</span> (i = 0; i &lt; 1; ++i) {\n boo = bar(c);\n }\n <span class="org-keyword">function</span> <span class="org-function-name">foo</span>() { ... }\n <span class="org-keyword">function</span> <span class="org-function-name">bar</span>() { ... }\n}\n</pre>\n\n\n<ul>\n<li><code>pro.ast_mangle(ast, options)</code> &ndash; generates a new AST containing mangled\n (compressed) variable and function names. It supports the following\n options:\n\n<ul>\n<li><code>toplevel</code> &ndash; mangle toplevel names (by default we don\'t touch them).\n</li>\n<li><code>except</code> &ndash; an array of names to exclude from compression.\n</li>\n<li><code>defines</code> &ndash; an object with properties named after symbols to\n replace (see the <code>--define</code> option for the script) and the values\n representing the AST replacement value.\n\n</li>\n</ul>\n\n</li>\n<li><code>pro.ast_squeeze(ast, options)</code> &ndash; employs further optimizations designed\n to reduce the size of the code that <code>gen_code</code> would generate from the\n AST. Returns a new AST. <code>options</code> can be a hash; the supported options\n are:\n\n<ul>\n<li><code>make_seqs</code> (default true) which will cause consecutive statements in a\n block to be merged using the "sequence" (comma) operator\n\n</li>\n<li><code>dead_code</code> (default true) which will remove unreachable code.\n\n</li>\n</ul>\n\n</li>\n<li><code>pro.gen_code(ast, options)</code> &ndash; generates JS code from the AST. By\n default it\'s minified, but using the <code>options</code> argument you can get nicely\n formatted output. <code>options</code> is, well, optional :-) and if you pass it it\n must be an object and supports the following properties (below you can see\n the default values):\n\n<ul>\n<li><code>beautify: false</code> &ndash; pass <code>true</code> if you want indented output\n</li>\n<li><code>indent_start: 0</code> (only applies when <code>beautify</code> is <code>true</code>) &ndash; initial\n indentation in spaces\n</li>\n<li><code>indent_level: 4</code> (only applies when <code>beautify</code> is <code>true</code>) --\n indentation level, in spaces (pass an even number)\n</li>\n<li><code>quote_keys: false</code> &ndash; if you pass <code>true</code> it will quote all keys in\n literal objects\n</li>\n<li><code>space_colon: false</code> (only applies when <code>beautify</code> is <code>true</code>) &ndash; wether\n to put a space before the colon in object literals\n</li>\n<li><code>ascii_only: false</code> &ndash; pass <code>true</code> if you want to encode non-ASCII\n characters as <code>\\uXXXX</code>.\n</li>\n<li><code>inline_script: false</code> &ndash; pass <code>true</code> to escape occurrences of\n <code>&lt;/script</code> in strings\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-4-2" class="outline-4">\n<h4 id="sec-1-4-2"><span class="section-number-4">1.4.2</span> Beautifier shortcoming &ndash; no more comments </h4>\n<div class="outline-text-4" id="text-1-4-2">\n\n\n<p>\nThe beautifier can be used as a general purpose indentation tool. It\'s\nuseful when you want to make a minified file readable. One limitation,\nthough, is that it discards all comments, so you don\'t really want to use it\nto reformat your code, unless you don\'t have, or don\'t care about, comments.\n</p>\n<p>\nIn fact it\'s not the beautifier who discards comments &mdash; they are dumped at\nthe parsing stage, when we build the initial AST. Comments don\'t really\nmake sense in the AST, and while we could add nodes for them, it would be\ninconvenient because we\'d have to add special rules to ignore them at all\nthe processing stages.\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-4-3" class="outline-4">\n<h4 id="sec-1-4-3"><span class="section-number-4">1.4.3</span> Use as a code pre-processor </h4>\n<div class="outline-text-4" id="text-1-4-3">\n\n\n<p>\nThe <code>--define</code> option can be used, particularly when combined with the\nconstant folding logic, as a form of pre-processor to enable or remove\nparticular constructions, such as might be used for instrumenting\ndevelopment code, or to produce variations aimed at a specific\nplatform.\n</p>\n<p>\nThe code below illustrates the way this can be done, and how the\nsymbol replacement is performed.\n</p>\n\n\n\n<pre class="src src-js">CLAUSE1: <span class="org-keyword">if</span> (<span class="org-keyword">typeof</span> DEVMODE === <span class="org-string">\'undefined\'</span>) {\n DEVMODE = <span class="org-constant">true</span>;\n}\n\n<span class="org-function-name">CLAUSE2</span>: <span class="org-keyword">function</span> init() {\n <span class="org-keyword">if</span> (DEVMODE) {\n console.log(<span class="org-string">"init() called"</span>);\n }\n ....\n DEVMODE &amp;amp;&amp;amp; console.log(<span class="org-string">"init() complete"</span>);\n}\n\n<span class="org-function-name">CLAUSE3</span>: <span class="org-keyword">function</span> reportDeviceStatus(<span class="org-variable-name">device</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">DEVMODE</span> = device.mode, <span class="org-variable-name">DEVNAME</span> =;\n <span class="org-keyword">if</span> (DEVMODE === <span class="org-string">\'open\'</span>) {\n ....\n }\n}\n</pre>\n\n\n<p>\nWhen the above code is normally executed, the undeclared global\nvariable <code>DEVMODE</code> will be assigned the value <b>true</b> (see <code>CLAUSE1</code>)\nand so the <code>init()</code> function (<code>CLAUSE2</code>) will write messages to the\nconsole log when executed, but in <code>CLAUSE3</code> a locally declared\nvariable will mask access to the <code>DEVMODE</code> global symbol.\n</p>\n<p>\nIf the above code is processed by UglifyJS with an argument of\n<code>--define DEVMODE=false</code> then UglifyJS will replace <code>DEVMODE</code> with the\nboolean constant value <b>false</b> within <code>CLAUSE1</code> and <code>CLAUSE2</code>, but it\nwill leave <code>CLAUSE3</code> as it stands because there <code>DEVMODE</code> resolves to\na validly declared variable.\n</p>\n<p>\nAnd more so, the constant-folding features of UglifyJS will recognise\nthat the <code>if</code> condition of <code>CLAUSE1</code> is thus always false, and so will\nremove the test and body of <code>CLAUSE1</code> altogether (including the\notherwise slightly problematical statement <code>false = true;</code> which it\nwill have formed by replacing <code>DEVMODE</code> in the body). Similarly,\nwithin <code>CLAUSE2</code> both calls to <code>console.log()</code> will be removed\naltogether.\n</p>\n<p>\nIn this way you can mimic, to a limited degree, the functionality of\nthe C/C++ pre-processor to enable or completely remove blocks\ndepending on how certain symbols are defined - perhaps using UglifyJS\nto generate different versions of source aimed at different\nenvironments\n</p>\n<p>\nIt is recommmended (but not made mandatory) that symbols designed for\nthis purpose are given names consisting of <code>UPPER_CASE_LETTERS</code> to\ndistinguish them from other (normal) symbols and avoid the sort of\nclash that <code>CLAUSE3</code> above illustrates.\n</p>\n</div>\n</div>\n\n</div>\n\n<div id="outline-container-1-5" class="outline-3">\n<h3 id="sec-1-5"><span class="section-number-3">1.5</span> Compression &ndash; how good is it? </h3>\n<div class="outline-text-3" id="text-1-5">\n\n\n<p>\nHere are updated statistics. (I also updated my Google Closure and YUI\ninstallations).\n</p>\n<p>\nWe\'re still a lot better than YUI in terms of compression, though slightly\nslower. We\'re still a lot faster than Closure, and compression after gzip\nis comparable.\n</p>\n<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">\n<caption></caption>\n<colgroup><col class="left" /><col class="left" /><col class="right" /><col class="left" /><col class="right" /><col class="left" /><col class="right" />\n</colgroup>\n<thead>\n<tr><th scope="col" class="left">File</th><th scope="col" class="left">UglifyJS</th><th scope="col" class="right">UglifyJS+gzip</th><th scope="col" class="left">Closure</th><th scope="col" class="right">Closure+gzip</th><th scope="col" class="left">YUI</th><th scope="col" class="right">YUI+gzip</th></tr>\n</thead>\n<tbody>\n<tr><td class="left">jquery-1.6.2.js</td><td class="left">91001 (0:01.59)</td><td class="right">31896</td><td class="left">90678 (0:07.40)</td><td class="right">31979</td><td class="left">101527 (0:01.82)</td><td class="right">34646</td></tr>\n<tr><td class="left">paper.js</td><td class="left">142023 (0:01.65)</td><td class="right">43334</td><td class="left">134301 (0:07.42)</td><td class="right">42495</td><td class="left">173383 (0:01.58)</td><td class="right">48785</td></tr>\n<tr><td class="left">prototype.js</td><td class="left">88544 (0:01.09)</td><td class="right">26680</td><td class="left">86955 (0:06.97)</td><td class="right">26326</td><td class="left">92130 (0:00.79)</td><td class="right">28624</td></tr>\n<tr><td class="left">thelib-full.js (DynarchLIB)</td><td class="left">251939 (0:02.55)</td><td class="right">72535</td><td class="left">249911 (0:09.05)</td><td class="right">72696</td><td class="left">258869 (0:01.94)</td><td class="right">76584</td></tr>\n</tbody>\n</table>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-6" class="outline-3">\n<h3 id="sec-1-6"><span class="section-number-3">1.6</span> Bugs? </h3>\n<div class="outline-text-3" id="text-1-6">\n\n\n<p>\nUnfortunately, for the time being there is no automated test suite. But I\nran the compressor manually on non-trivial code, and then I tested that the\ngenerated code works as expected. A few hundred times.\n</p>\n<p>\nDynarchLIB was started in times when there was no good JS minifier.\nTherefore I was quite religious about trying to write short code manually,\nand as such DL contains a lot of syntactic hacks<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup> such as “foo == bar ? a\n= 10 : b = 20”, though the more readable version would clearly be to use\n“if/else”.\n</p>\n<p>\nSince the parser/compressor runs fine on DL and jQuery, I\'m quite confident\nthat it\'s solid enough for production use. If you can identify any bugs,\nI\'d love to hear about them (<a href="">use the Google Group</a> or email me directly).\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-7" class="outline-3">\n<h3 id="sec-1-7"><span class="section-number-3">1.7</span> Links </h3>\n<div class="outline-text-3" id="text-1-7">\n\n\n<ul>\n<li>Twitter: <a href="">@UglifyJS</a>\n</li>\n<li>Project at GitHub: <a href=""></a>\n</li>\n<li>Google Group: <a href=""></a>\n</li>\n<li>Common Lisp JS parser: <a href=""></a>\n</li>\n<li>JS-to-Lisp compiler: <a href=""></a>\n</li>\n<li>Common Lisp JS uglifier: <a href=""></a>\n</li>\n</ul>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-8" class="outline-3">\n<h3 id="sec-1-8"><span class="section-number-3">1.8</span> License </h3>\n<div class="outline-text-3" id="text-1-8">\n\n\n<p>\nUglifyJS is released under the BSD license:\n</p>\n\n\n\n<pre class="example">Copyright 2010 (c) Mihai Bazon &lt;;\nBased on parse-js (\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\nOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\nTORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n</pre>\n\n\n<div id="footnotes">\n<h2 class="footnotes">Footnotes: </h2>\n<div id="text-footnotes">\n<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup> I even reported a few bugs and suggested some fixes in the original\n <a href="">parse-js</a> library, and Marijn pushed fixes literally in minutes.\n</p></div>\n</div>\n</div>\n\n</div>\n</div>\n</div>\n\n<div id="postamble">\n<p class="date">Date: 2011-12-09 14:59:08 EET</p>\n<p class="author">Author: Mihai Bazon</p>\n<p class="creator">Org version 7.7 with Emacs version 23</p>\n<a href="">Validate XHTML 1.0</a>\n\n</div>\n</body>\n</html>\n',
618 silly resolved _id: 'uglify-js@1.2.5',
618 silly resolved _from: 'uglify-js@1.2.5' },
618 silly resolved { author:
618 silly resolved { name: 'Einar Otto Stangvik',
618 silly resolved email: '',
618 silly resolved url: '' },
618 silly resolved name: 'ws',
618 silly resolved description: 'simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455',
618 silly resolved version: '0.4.22',
618 silly resolved repository: { type: 'git', url: 'git://' },
618 silly resolved bin: { wscat: './bin/wscat' },
618 silly resolved scripts: { test: 'make test', install: 'node install.js' },
618 silly resolved engines: { node: '>=0.4.0' },
618 silly resolved config: { verbose: false },
618 silly resolved dependencies: { commander: '~0.6.1', tinycolor: '0.x', options: 'latest' },
618 silly resolved devDependencies:
618 silly resolved { mocha: '~1.2.1',
618 silly resolved should: '0.6.x',
618 silly resolved 'expect.js': '0.1.x',
618 silly resolved benchmark: '0.3.x',
618 silly resolved ansi: 'latest' },
618 silly resolved readme: '[![Build Status](](\n\n# ws: a node.js websocket library #\n\n`ws` is a simple to use websocket implementation, up-to-date against RFC-6455, and [probably the fastest WebSocket library for node.js](\n\nPasses the quite extensive Autobahn test suite. See for the full reports.\n\nComes with a command line utility, `wscat`, which can either act as a server (--listen), or client (--connect); Use it to debug simple websocket services.\n\n## Protocol support ##\n\n* **Hixie draft 76** (Old and deprecated, but still in use by Safari and Opera. Added to ws version 0.4.2, but server only. Can be disabled by setting the `disableHixie` option to true.)\n* **HyBi drafts 07-12** (Use the option `protocolVersion: 8`, or argument `-p 8` for wscat)\n* **HyBi drafts 13-17** (Current default, alternatively option `protocolVersion: 13`, or argument `-p 13` for wscat)\n\n_See the example below for how to use the `protocolVersion` option._\n\n## Usage ##\n\n### Installing ###\n\n`npm install ws`\n\n### Sending and receiving text data ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://\');\nws.on(\'open\', function() {\n ws.send(\'something\');\n});\nws.on(\'message\', function(data, flags) {\n // flags.binary will be set if a binary data is received\n // flags.masked will be set if the data was masked\n});\n```\n\n### Sending binary data ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://\');\nws.on(\'open\', function() {\n var array = new Float32Array(5);\n for (var i = 0; i < array.length; ++i) array[i] = i / 2;\n ws.send(array, {binary: true, mask: true});\n});\n```\n\nSetting `mask`, as done for the send options above, will cause the data to be masked according to the websocket protocol. The same option applies for text data.\n\n### Server example ###\n\n```js\nvar WebSocketServer = require(\'ws\').Server\n , wss = new WebSocketServer({port: 8080});\nwss.on(\'connection\', function(ws) {\n ws.on(\'message\', function(message) {\n console.log(\'received: %s\', message);\n });\n ws.send(\'something\');\n});\n```\n\n### Error handling best practices ###\n\n```js\n// If the WebSocket is closed before the following send is attempted\nws.send(\'something\');\n\n// Errors (both immediate and async write errors) can be detected in an optional callback.\n// The callback is also the only way of being notified that data has actually been sent.\nws.send(\'something\', function(error) {\n // if error is null, the send has been completed,\n // otherwise the error object will indicate what failed.\n});\n\n// Immediate errors can also be handled with try/catch-blocks, but **note**\n// that since sends are inherently asynchronous, socket write failures will *not*\n// be captured when this technique is used.\ntry {\n ws.send(\'something\');\n}\ncatch (e) {\n // handle error\n}\n```\n\n### demo ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://\', {protocolVersion: 8, origin: \'\'});\nws.on(\'open\', function() {\n console.log(\'connected\');\n ws.send(, {mask: true});\n});\nws.on(\'close\', function() {\n console.log(\'disconnected\');\n});\nws.on(\'message\', function(data, flags) {\n console.log(\'Roundtrip time: \' + ( - parseInt(data)) + \'ms\', flags);\n setTimeout(function() {\n ws.send(, {mask: true});\n }, 500);\n});\n```\n\n### wscat against ###\n\n $ npm install -g ws\n $ wscat -c ws:// -p 8\n connected (press CTRL+C to quit)\n > hi there\n < hi there\n > are you a happy parrot?\n < are you a happy parrot?\n\n### Other examples ###\n\nFor a full example with a browser client communicating with a ws server, see the examples folder.\n\nNote that the usage together with Express 3.0 is quite different from Express 2.x. The difference is expressed in the two different serverstats-examples.\n\nOtherwise, see the test cases.\n\n### Running the tests ###\n\n`make test`\n\n## API Docs ##\n\nSee the doc/ directory for Node.js-like docs for the ws classes.\n\n## License ##\n\n(The MIT License)\n\nCopyright (c) 2011 Einar Otto Stangvik &lt;;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
618 silly resolved _id: 'ws@0.4.22',
618 silly resolved _from: 'ws@0.4.x' },
618 silly resolved { author:
618 silly resolved { name: 'Felix Geisendörfer',
618 silly resolved email: '',
618 silly resolved url: '' },
618 silly resolved name: 'active-x-obfuscator',
618 silly resolved description: 'A module to (safely) obfuscate all occurrences of the string \'ActiveX\' inside any JavaScript code.',
618 silly resolved version: '0.0.1',
618 silly resolved homepage: '',
618 silly resolved repository:
618 silly resolved { type: 'git',
618 silly resolved url: 'git://' },
618 silly resolved main: './index',
618 silly resolved scripts: { test: 'node test.js' },
618 silly resolved engines: { node: '*' },
618 silly resolved dependencies: { zeparser: '0.0.5' },
618 silly resolved devDependencies: {},
618 silly resolved optionalDependencies: {},
618 silly resolved readme: '# active-x-obfuscator\n\nA module to (safely) obfuscate all occurrences of the string \'ActiveX\' inside\nany JavaScript code.\n\n## Why?\n\nSome corporate firewalls /proxies such as Blue Coat block JavaScript files to be\ndownloaded if they contain the word `\'ActiveX\'`. That of course is very annoying\nfor libraries such as [][] that need to use `ActiveXObject` for\nsupporting IE8 and older.\n\n## Install\n\n```\nnpm install active-x-obfuscator\n```\n\n## Usage\n\n```js\nvar activeXObfuscator = require(\'active-x-obfuscator\');\nvar code = \'foo(new ActiveXObject());\';\n\nvar obfuscated = activeXObfuscator(code);\n// -> foo(new window[([\'Active\'].concat(\'Object\').join(\'X\'))])\n```\n\n## License\n\nLicensed under the MIT license.\n\n[]:\n',
618 silly resolved _id: 'active-x-obfuscator@0.0.1',
618 silly resolved _from: 'active-x-obfuscator@0.0.1' } ]
619 info install xmlhttprequest@1.4.2 into /vagrant/sites/all/modules/nodejs/node_modules/
620 info install uglify-js@1.2.5 into /vagrant/sites/all/modules/nodejs/node_modules/
621 info install ws@0.4.22 into /vagrant/sites/all/modules/nodejs/node_modules/
622 info install active-x-obfuscator@0.0.1 into /vagrant/sites/all/modules/nodejs/node_modules/
623 info installOne xmlhttprequest@1.4.2
624 info installOne uglify-js@1.2.5
625 info installOne ws@0.4.22
626 info installOne active-x-obfuscator@0.0.1
627 verbose from cache /home/vagrant/.npm/uglify-js/1.2.5/package/package.json
628 verbose from cache /home/vagrant/.npm/xmlhttprequest/1.4.2/package/package.json
629 verbose from cache /home/vagrant/.npm/ws/0.4.22/package/package.json
630 verbose from cache /home/vagrant/.npm/active-x-obfuscator/0.0.1/package/package.json
631 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
632 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
633 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
634 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
635 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
636 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
637 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
638 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
639 verbose tar unpack /home/vagrant/.npm/uglify-js/1.2.5/package.tgz
640 verbose tar unpack /home/vagrant/.npm/xmlhttprequest/1.4.2/package.tgz
641 verbose tar unpack /home/vagrant/.npm/ws/0.4.22/package.tgz
642 verbose tar unpack /home/vagrant/.npm/active-x-obfuscator/0.0.1/package.tgz
643 silly lockFile a562d70c-io-client-node-modules-uglify-js /vagrant/sites/all/modules/nodejs/node_modules/
644 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/a562d70c-io-client-node-modules-uglify-js.lock
645 silly lockFile 1c37f44e-ient-node-modules-xmlhttprequest /vagrant/sites/all/modules/nodejs/node_modules/
646 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/1c37f44e-ient-node-modules-xmlhttprequest.lock
647 silly lockFile e5f97c12-socket-io-client-node-modules-ws /vagrant/sites/all/modules/nodejs/node_modules/
648 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/e5f97c12-socket-io-client-node-modules-ws.lock
649 silly lockFile 0117ffbf-node-modules-active-x-obfuscator /vagrant/sites/all/modules/nodejs/node_modules/
650 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/0117ffbf-node-modules-active-x-obfuscator.lock
651 silly gunzTarPerm modes [ '755', '644' ]
652 silly gunzTarPerm modes [ '755', '644' ]
653 silly gunzTarPerm modes [ '755', '644' ]
654 silly gunzTarPerm modes [ '755', '644' ]
655 silly gunzTarPerm extractEntry package.json
656 silly gunzTarPerm extractEntry
657 silly gunzTarPerm extractEntry autotest.watchr
658 silly gunzTarPerm extractEntry example/demo.js
659 silly gunzTarPerm extractEntry lib/XMLHttpRequest.js
660 silly gunzTarPerm extractEntry tests/test-constants.js
661 silly gunzTarPerm extractEntry tests/test-request-protocols.js
662 silly gunzTarPerm extractEntry tests/test-request-methods.js
663 silly gunzTarPerm extractEntry tests/test-headers.js
664 silly gunzTarPerm extractEntry package.json
665 silly gunzTarPerm extractEntry package.json
666 silly gunzTarPerm extractEntry package.json
667 silly gunzTarPerm extractEntry tests/test-exceptions.js
668 silly gunzTarPerm extractEntry tests/test-events.js
669 silly gunzTarPerm extractEntry .npmignore
670 silly gunzTarPerm extractEntry
671 silly gunzTarPerm extractEntry .npmignore
672 silly gunzTarPerm extractEntry index.js
673 silly gunzTarPerm extractEntry .npmignore
674 silly gunzTarPerm extractEntry uglify-js.js
675 silly gunzTarPerm extractEntry tests/testdata.txt
676 silly gunzTarPerm extractEntry install.js
677 silly gunzTarPerm extractEntry index.js
678 silly gunzTarPerm extractEntry test.js
679 silly gunzTarPerm extractEntry
680 silly gunzTarPerm extractEntry tmp/269.js
681 silly gunzTarPerm extractEntry tmp/goto2.js
682 silly gunzTarPerm extractEntry lib/Validation.fallback.js
683 silly gunzTarPerm extractEntry lib/BufferPool.js
684 silly gunzTarPerm extractEntry lib/WebSocket.js
685 silly gunzTarPerm extractEntry tmp/goto.js
686 silly gunzTarPerm extractEntry tmp/instrument2.js
687 silly gunzTarPerm extractEntry lib/Sender.js
688 silly gunzTarPerm extractEntry lib/BufferUtil.js
689 silly gunzTarPerm extractEntry lib/BufferUtil.fallback.js
690 silly gunzTarPerm extractEntry lib/ErrorCodes.js
691 silly gunzTarPerm extractEntry lib/Receiver.hixie.js
692 silly gunzTarPerm extractEntry lib/Validation.js
693 silly gunzTarPerm extractEntry lib/WebSocketServer.js
694 silly gunzTarPerm extractEntry lib/Receiver.js
695 silly gunzTarPerm extractEntry tmp/liftvars.js
696 silly gunzTarPerm extractEntry tmp/uglify-hangs2.js
697 silly gunzTarPerm extractEntry lib/Sender.hixie.js
698 silly gunzTarPerm extractEntry binding.gyp
699 silly gunzTarPerm extractEntry bin/wscat
700 silly gunzTarPerm extractEntry tmp/test.js
701 silly gunzTarPerm extractEntry tmp/instrument.js
702 silly gunzTarPerm extractEntry src/
703 silly gunzTarPerm extractEntry src/
704 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
705 silly gunzTarPerm extractEntry tmp/uglify-hangs.js
706 silly gunzTarPerm extractEntry tmp/hoist.js
707 silly gunzTarPerm extractEntry examples/serverstats/package.json
708 silly gunzTarPerm extractEntry examples/serverstats/server.js
709 silly lockFile 0117ffbf-node-modules-active-x-obfuscator /vagrant/sites/all/modules/nodejs/node_modules/
710 silly gunzTarPerm extractEntry tmp/app.js
711 silly gunzTarPerm extractEntry examples/serverstats/public/index.html
712 silly gunzTarPerm extractEntry examples/fileapi/package.json
713 info preinstall active-x-obfuscator@0.0.1
714 silly gunzTarPerm extractEntry examples/fileapi/.npmignore
715 silly gunzTarPerm extractEntry examples/fileapi/server.js
716 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
717 silly gunzTarPerm extractEntry examples/fileapi/public/uploader.js
718 silly gunzTarPerm extractEntry examples/fileapi/public/app.js
719 silly gunzTarPerm extractEntry examples/fileapi/public/index.html
720 silly gunzTarPerm extractEntry examples/serverstats-express_3/package.json
721 silly gunzTarPerm extractEntry examples/serverstats-express_3/server.js
722 silly gunzTarPerm extractEntry examples/serverstats-express_3/public/index.html
723 silly gunzTarPerm extractEntry doc/
724 silly gunzTarPerm extractEntry .travis.yml
725 silly gunzTarPerm extractEntry test/WebSocket.integration.js
726 silly gunzTarPerm extractEntry test/Validation.test.js
727 silly gunzTarPerm extractEntry test/testserver.js
728 silly gunzTarPerm extractEntry test/Sender.test.js
729 silly gunzTarPerm extractEntry test/autobahn-server.js
730 silly gunzTarPerm extractEntry test/Receiver.hixie.test.js
731 silly gunzTarPerm extractEntry test/WebSocketServer.test.js
732 silly gunzTarPerm extractEntry test/hybi-common.js
733 silly gunzTarPerm extractEntry test/Sender.hixie.test.js
734 silly gunzTarPerm extractEntry test/Receiver.test.js
735 silly gunzTarPerm extractEntry test/autobahn.js
736 silly gunzTarPerm extractEntry test/WebSocket.test.js
737 silly gunzTarPerm extractEntry test/BufferPool.test.js
738 silly gunzTarPerm extractEntry test/fixtures/textfile
739 silly gunzTarPerm extractEntry test/fixtures/request.pem
740 silly gunzTarPerm extractEntry test/fixtures/certificate.pem
741 silly gunzTarPerm extractEntry test/fixtures/key.pem
742 silly gunzTarPerm extractEntry Makefile
743 silly gunzTarPerm extractEntry bench/util.js
744 silly gunzTarPerm extractEntry bench/sender.benchmark.js
745 silly gunzTarPerm extractEntry bench/speed.js
746 silly gunzTarPerm extractEntry bench/parser.benchmark.js
747 silly gunzTarPerm extractEntry
748 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
749 silly gunzTarPerm extractEntry tmp/embed-tokens.js
750 silly gunzTarPerm extractEntry test/testparser.js
751 silly lockFile 1c37f44e-ient-node-modules-xmlhttprequest /vagrant/sites/all/modules/nodejs/node_modules/
752 info preinstall xmlhttprequest@1.4.2
753 silly gunzTarPerm extractEntry test/beautify.js
754 silly gunzTarPerm extractEntry test/unit/scripts.js
755 silly gunzTarPerm extractEntry test/unit/compress/test/issue69.js
756 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
757 silly gunzTarPerm extractEntry test/unit/compress/test/issue50.js
758 silly gunzTarPerm extractEntry test/unit/compress/test/issue21.js
759 silly gunzTarPerm extractEntry test/unit/compress/test/issue14.js
760 silly gunzTarPerm extractEntry test/unit/compress/test/issue29.js
761 silly gunzTarPerm extractEntry test/unit/compress/test/issue10.js
762 silly gunzTarPerm extractEntry test/unit/compress/test/strict-equals.js
763 silly gunzTarPerm extractEntry test/unit/compress/test/issue28.js
764 silly gunzTarPerm extractEntry test/unit/compress/test/array3.js
765 silly gunzTarPerm extractEntry test/unit/compress/test/forstatement.js
766 silly gunzTarPerm extractEntry test/unit/compress/test/mangle.js
767 silly gunzTarPerm extractEntry test/unit/compress/test/concatstring.js
768 silly gunzTarPerm extractEntry test/unit/compress/test/issue278.js
769 silly gunzTarPerm extractEntry test/unit/compress/test/empty-blocks.js
770 silly gunzTarPerm extractEntry test/unit/compress/test/issue53.js
771 silly gunzTarPerm extractEntry test/unit/compress/test/issue27.js
772 silly gunzTarPerm extractEntry test/unit/compress/test/issue30.js
773 silly gunzTarPerm extractEntry test/unit/compress/test/issue48.js
774 silly gunzTarPerm extractEntry test/unit/compress/test/issue68.js
775 silly gunzTarPerm extractEntry test/unit/compress/test/issue9.js
776 silly gunzTarPerm extractEntry test/unit/compress/test/assignment.js
777 silly gunzTarPerm extractEntry test/unit/compress/test/array4.js
778 silly gunzTarPerm extractEntry test/unit/compress/test/issue4.js
779 silly gunzTarPerm extractEntry test/unit/compress/test/with.js
780 silly gunzTarPerm extractEntry test/unit/compress/test/whitespace.js
781 silly gunzTarPerm extractEntry test/unit/compress/test/if.js
782 silly gunzTarPerm extractEntry test/unit/compress/test/issue11.js
783 silly gunzTarPerm extractEntry test/unit/compress/test/array1.js
784 silly gunzTarPerm extractEntry test/unit/compress/test/array2.js
785 silly gunzTarPerm extractEntry test/unit/compress/test/issue16.js
786 silly gunzTarPerm extractEntry test/unit/compress/test/issue13.js
787 silly gunzTarPerm extractEntry test/unit/compress/test/issue20.js
788 silly gunzTarPerm extractEntry test/unit/compress/test/ifreturn.js
789 silly gunzTarPerm extractEntry test/unit/compress/test/ifreturn2.js
790 silly gunzTarPerm extractEntry test/unit/compress/test/issue54.1.js
791 silly gunzTarPerm extractEntry test/unit/compress/test/issue17.js
792 silly gunzTarPerm extractEntry test/unit/compress/test/issue34.js
793 silly gunzTarPerm extractEntry test/unit/compress/test/var.js
794 silly gunzTarPerm extractEntry test/unit/compress/test/null_string.js
795 silly gunzTarPerm extractEntry test/unit/compress/test/issue25.js
796 silly gunzTarPerm extractEntry test/unit/compress/test/const.js
797 silly gunzTarPerm extractEntry test/unit/compress/expected/issue69.js
798 silly gunzTarPerm extractEntry test/unit/compress/expected/issue50.js
799 silly gunzTarPerm extractEntry test/unit/compress/expected/issue21.js
800 silly gunzTarPerm extractEntry test/unit/compress/expected/issue14.js
801 silly gunzTarPerm extractEntry test/unit/compress/expected/issue29.js
802 silly gunzTarPerm extractEntry test/unit/compress/expected/issue10.js
803 silly gunzTarPerm extractEntry test/unit/compress/expected/strict-equals.js
804 silly gunzTarPerm extractEntry test/unit/compress/expected/issue28.js
805 silly gunzTarPerm extractEntry test/unit/compress/expected/array3.js
806 silly gunzTarPerm extractEntry test/unit/compress/expected/forstatement.js
807 silly gunzTarPerm extractEntry test/unit/compress/expected/mangle.js
808 silly gunzTarPerm extractEntry test/unit/compress/expected/concatstring.js
809 silly gunzTarPerm extractEntry test/unit/compress/expected/issue278.js
810 silly gunzTarPerm extractEntry test/unit/compress/expected/empty-blocks.js
811 silly gunzTarPerm extractEntry test/unit/compress/expected/issue53.js
812 silly gunzTarPerm extractEntry test/unit/compress/expected/issue27.js
813 silly gunzTarPerm extractEntry test/unit/compress/expected/issue30.js
814 silly gunzTarPerm extractEntry test/unit/compress/expected/issue48.js
815 silly gunzTarPerm extractEntry test/unit/compress/expected/issue68.js
816 silly gunzTarPerm extractEntry test/unit/compress/expected/issue9.js
817 silly gunzTarPerm extractEntry test/unit/compress/expected/assignment.js
818 silly gunzTarPerm extractEntry test/unit/compress/expected/array4.js
819 silly gunzTarPerm extractEntry test/unit/compress/expected/issue4.js
820 silly gunzTarPerm extractEntry test/unit/compress/expected/with.js
821 silly gunzTarPerm extractEntry test/unit/compress/expected/whitespace.js
822 silly gunzTarPerm extractEntry test/unit/compress/expected/if.js
823 silly gunzTarPerm extractEntry test/unit/compress/expected/issue11.js
824 silly gunzTarPerm extractEntry test/unit/compress/expected/array1.js
825 silly gunzTarPerm extractEntry test/unit/compress/expected/array2.js
826 silly gunzTarPerm extractEntry test/unit/compress/expected/issue16.js
827 silly gunzTarPerm extractEntry test/unit/compress/expected/issue13.js
828 silly gunzTarPerm extractEntry test/unit/compress/expected/issue20.js
829 silly gunzTarPerm extractEntry test/unit/compress/expected/ifreturn.js
830 silly gunzTarPerm extractEntry test/unit/compress/expected/ifreturn2.js
831 silly gunzTarPerm extractEntry test/unit/compress/expected/issue54.1.js
832 silly gunzTarPerm extractEntry test/unit/compress/expected/issue17.js
833 silly gunzTarPerm extractEntry test/unit/compress/expected/issue34.js
834 silly gunzTarPerm extractEntry test/unit/compress/expected/var.js
835 silly gunzTarPerm extractEntry test/unit/compress/expected/null_string.js
836 silly gunzTarPerm extractEntry test/unit/compress/expected/issue25.js
837 silly gunzTarPerm extractEntry test/unit/compress/expected/const.js
838 silly gunzTarPerm extractEntry docstyle.css
839 silly gunzTarPerm extractEntry
840 silly gunzTarPerm extractEntry lib/process.js
841 silly gunzTarPerm extractEntry lib/parse-js.js
842 silly gunzTarPerm extractEntry lib/object-ast.js
843 silly gunzTarPerm extractEntry lib/squeeze-more.js
844 silly gunzTarPerm extractEntry bin/uglifyjs
845 silly gunzTarPerm extractEntry package.json~
846 silly gunzTarPerm extractEntry README.html
847 verbose readDependencies using package.json deps
848 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
849 verbose readDependencies using package.json deps
850 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
851 verbose readDependencies using package.json deps
852 verbose readDependencies using package.json deps
853 silly resolved []
854 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
855 info build /vagrant/sites/all/modules/nodejs/node_modules/
856 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
857 verbose linkStuff [ false,
857 verbose linkStuff false,
857 verbose linkStuff false,
857 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
858 info linkStuff xmlhttprequest@1.4.2
859 verbose linkBins xmlhttprequest@1.4.2
860 verbose linkMans xmlhttprequest@1.4.2
861 verbose rebuildBundles xmlhttprequest@1.4.2
862 verbose cache add [ 'zeparser@0.0.5', null ]
863 silly cache add name=undefined spec="zeparser@0.0.5" args=["zeparser@0.0.5",null]
864 verbose parsed url { pathname: 'zeparser@0.0.5',
864 verbose parsed url path: 'zeparser@0.0.5',
864 verbose parsed url href: 'zeparser@0.0.5' }
865 silly cache add name="zeparser" spec="0.0.5" args=["zeparser","0.0.5"]
866 verbose parsed url { pathname: '0.0.5', path: '0.0.5', href: '0.0.5' }
867 verbose addNamed [ 'zeparser', '0.0.5' ]
868 verbose addNamed [ '0.0.5', '0.0.5' ]
869 silly lockFile eb150454-zeparser-0-0-5 zeparser@0.0.5
870 verbose lock zeparser@0.0.5 /home/vagrant/.npm/eb150454-zeparser-0-0-5.lock
871 info install xmlhttprequest@1.4.2
872 info postinstall xmlhttprequest@1.4.2
873 verbose url raw zeparser/0.0.5
874 verbose url resolving [ '', './zeparser/0.0.5' ]
875 verbose url resolved
876 info trying registry request attempt 1 at 18:20:02
877 verbose etag "CWYDVPMUP7BLFCECRQQLX34JX"
878 http GET
879 http 304
880 silly registry.get cb [ 304,
880 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
880 silly registry.get etag: '"CWYDVPMUP7BLFCECRQQLX34JX"',
880 silly registry.get date: 'Fri, 12 Oct 2012 18:20:02 GMT',
880 silly registry.get 'content-length': '0' } ]
881 verbose etag zeparser/0.0.5 from cache
882 verbose read json /home/vagrant/.npm/zeparser/0.0.5/package/package.json
883 silly lockFile eb150454-zeparser-0-0-5 zeparser@0.0.5
884 silly resolved [ { author: { name: 'Peter van der Zee', url: '' },
884 silly resolved name: 'zeparser',
884 silly resolved description: 'My JavaScript parser',
884 silly resolved version: '0.0.5',
884 silly resolved homepage: '',
884 silly resolved repository: { type: 'git', url: 'git://' },
884 silly resolved main: './index',
884 silly resolved engines: { node: '*' },
884 silly resolved dependencies: {},
884 silly resolved devDependencies: {},
884 silly resolved readme: 'This is a JavaScript parser.\n\n(c) Peter van der Zee\n\n\n\nBenchmark\n\n\nThe Tokenizer is used by the parser. The parser tells the tokenizer whether the next token may be a regular expression or not. Without the parser, the tokenizer will fail if regular expression literals are used in the input.\n\nUsage:\nZeParser.parse(input);\n\nReturns a "parse tree" which is a tree of an array of arrays with tokens (regular objects) as leafs. Meta information embedded as properties (of the arrays and the tokens).\n\nZeParser.createParser(input);\n\nReturns a new ZeParser instance which has already parsed the input. Amongst others, the ZeParser instance will have the properties .tree, .wtree and .btree.\n\n.tree is the parse tree mentioned above.\n.wtree ("white" tree) is a regular array with all the tokens encountered (including whitespace, line terminators and comments)\n.btree ("black" tree) is just like .wtree but without the whitespace, line terminators and comments. This is what the specification would call the "token stream".\n\nI\'m aware that the naming convention is a bit awkward. It\'s a tradeoff between short and descriptive. The streams are used quite often in the analysis.\n\nTokens are regular objects with several properties. Amongst them are .tokposw and .tokposw, they correspond with their own position in the .wtree and .btree.\n\nThe parser has two modes for parsing: simple and extended. Simple mode is mainly for just parsing and returning the streams and a simple parse tree. There\'s not so much meta information here and this mode is mainly built for speed. The other mode has everything required for Zeon to do its job. This mode is toggled by the instance property .ast, which is true by default :)\n\nNon-factory example:\n\nvar input = "foo";\nvar tree = []; // this should probably be refactored away some day\nvar tokenizer = new Tokenizer(input); // dito\nvar parser = new ZeParser(input, tokenizer, tree);\nparser.parse(); // returns tree..., should never throw errors\n',
884 silly resolved _id: 'zeparser@0.0.5',
884 silly resolved _from: 'zeparser@0.0.5' } ]
885 info install zeparser@0.0.5 into /vagrant/sites/all/modules/nodejs/node_modules/
886 info installOne zeparser@0.0.5
887 verbose from cache /home/vagrant/.npm/zeparser/0.0.5/package/package.json
888 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
889 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
890 verbose tar unpack /home/vagrant/.npm/zeparser/0.0.5/package.tgz
891 silly lockFile d8d0454d-obfuscator-node-modules-zeparser /vagrant/sites/all/modules/nodejs/node_modules/
892 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/d8d0454d-obfuscator-node-modules-zeparser.lock
893 silly gunzTarPerm modes [ '755', '644' ]
894 silly gunzTarPerm extractEntry package.json
895 silly gunzTarPerm extractEntry .npmignore
896 silly gunzTarPerm extractEntry README
897 silly gunzTarPerm extractEntry LICENSE
898 silly gunzTarPerm extractEntry index.js
899 silly gunzTarPerm extractEntry tests.js
900 silly gunzTarPerm extractEntry Tokenizer.js
901 silly gunzTarPerm extractEntry ZeParser.js
902 silly gunzTarPerm extractEntry unicodecategories.js
903 silly gunzTarPerm extractEntry benchmark.html
904 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
905 silly lockFile e5f97c12-socket-io-client-node-modules-ws /vagrant/sites/all/modules/nodejs/node_modules/
906 info preinstall ws@0.4.22
907 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
908 silly gunzTarPerm extractEntry test-tokenizer.html
909 silly gunzTarPerm extractEntry test-parser.html
910 verbose readDependencies using package.json deps
911 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
912 verbose readDependencies using package.json deps
913 verbose cache add [ 'commander@~0.6.1', null ]
914 silly cache add name=undefined spec="commander@~0.6.1" args=["commander@~0.6.1",null]
915 verbose parsed url { pathname: 'commander@~0.6.1',
915 verbose parsed url path: 'commander@~0.6.1',
915 verbose parsed url href: 'commander@~0.6.1' }
916 silly cache add name="commander" spec="~0.6.1" args=["commander","~0.6.1"]
917 verbose parsed url { pathname: '~0.6.1', path: '~0.6.1', href: '~0.6.1' }
918 verbose addNamed [ 'commander', '~0.6.1' ]
919 verbose addNamed [ null, '>=0.6.1- <0.7.0-' ]
920 silly lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
921 verbose lock commander@~0.6.1 /home/vagrant/.npm/5c53196d-commander-0-6-1.lock
922 verbose cache add [ 'tinycolor@0.x', null ]
923 silly cache add name=undefined spec="tinycolor@0.x" args=["tinycolor@0.x",null]
924 verbose parsed url { pathname: 'tinycolor@0.x',
924 verbose parsed url path: 'tinycolor@0.x',
924 verbose parsed url href: 'tinycolor@0.x' }
925 silly cache add name="tinycolor" spec="0.x" args=["tinycolor","0.x"]
926 verbose parsed url { pathname: '0.x', path: '0.x', href: '0.x' }
927 verbose addNamed [ 'tinycolor', '0.x' ]
928 verbose addNamed [ null, '>=0.0.0- <1.0.0-' ]
929 silly lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
930 verbose lock tinycolor@0.x /home/vagrant/.npm/8f23180d-tinycolor-0-x.lock
931 verbose cache add [ 'options@latest', null ]
932 silly cache add name=undefined spec="options@latest" args=["options@latest",null]
933 verbose parsed url { pathname: 'options@latest',
933 verbose parsed url path: 'options@latest',
933 verbose parsed url href: 'options@latest' }
934 silly cache add name="options" spec="latest" args=["options","latest"]
935 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' }
936 verbose addNamed [ 'options', 'latest' ]
937 verbose addNamed [ null, null ]
938 silly lockFile 479efb46-options-latest options@latest
939 verbose lock options@latest /home/vagrant/.npm/479efb46-options-latest.lock
940 silly addNameRange { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: false }
941 silly addNameRange { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: false }
942 info addNameTag [ 'options', 'latest' ]
943 verbose url raw commander
944 verbose url resolving [ '', './commander' ]
945 verbose url resolved
946 info trying registry request attempt 1 at 18:20:03
947 verbose etag "43KILCKGOVM6GDNL0PMXVWVC5"
948 http GET
949 verbose url raw tinycolor
950 verbose url resolving [ '', './tinycolor' ]
951 verbose url resolved
952 info trying registry request attempt 1 at 18:20:04
953 verbose etag "70U88D2SSX6YPNTHGKAI9PV2D"
954 http GET
955 verbose url raw options
956 verbose url resolving [ '', './options' ]
957 verbose url resolved
958 info trying registry request attempt 1 at 18:20:04
959 verbose etag "EW9FGKND7HXBPO21IYP5S8R6X"
960 http GET
961 http 304
962 silly registry.get cb [ 304,
962 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
962 silly registry.get etag: '"EW9FGKND7HXBPO21IYP5S8R6X"',
962 silly registry.get date: 'Fri, 12 Oct 2012 18:20:04 GMT',
962 silly registry.get 'content-length': '0' } ]
963 verbose etag options from cache
964 http 304
965 silly registry.get cb [ 304,
965 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
965 silly registry.get etag: '"70U88D2SSX6YPNTHGKAI9PV2D"',
965 silly registry.get date: 'Fri, 12 Oct 2012 18:20:04 GMT',
965 silly registry.get 'content-length': '0' } ]
966 verbose etag tinycolor from cache
967 http 304
968 silly registry.get cb [ 304,
968 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
968 silly registry.get etag: '"43KILCKGOVM6GDNL0PMXVWVC5"',
968 silly registry.get date: 'Fri, 12 Oct 2012 18:20:04 GMT',
968 silly registry.get 'content-length': '0' } ]
969 verbose etag commander from cache
970 verbose addNamed [ 'options', '0.0.3' ]
971 verbose addNamed [ '0.0.3', '0.0.3' ]
972 silly lockFile 82d09623-options-0-0-3 options@0.0.3
973 verbose lock options@0.0.3 /home/vagrant/.npm/82d09623-options-0-0-3.lock
974 silly addNameRange number 2 { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: true }
975 silly addNameRange versions [ 'tinycolor', [ '0.0.1' ] ]
976 verbose addNamed [ 'tinycolor', '0.0.1' ]
977 verbose addNamed [ '0.0.1', '0.0.1' ]
978 silly lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
979 verbose lock tinycolor@0.0.1 /home/vagrant/.npm/8ace0652-tinycolor-0-0-1.lock
980 silly addNameRange number 2 { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: true }
981 silly addNameRange versions [ 'commander',
981 silly addNameRange [ '0.0.1',
981 silly addNameRange '0.0.3',
981 silly addNameRange '0.0.4',
981 silly addNameRange '0.0.5',
981 silly addNameRange '0.1.0',
981 silly addNameRange '0.2.0',
981 silly addNameRange '0.2.1',
981 silly addNameRange '0.3.0',
981 silly addNameRange '0.3.1',
981 silly addNameRange '0.3.2',
981 silly addNameRange '0.3.3',
981 silly addNameRange '0.4.0',
981 silly addNameRange '0.4.1',
981 silly addNameRange '0.4.2',
981 silly addNameRange '0.4.3',
981 silly addNameRange '0.5.0',
981 silly addNameRange '0.5.1',
981 silly addNameRange '0.6.0',
981 silly addNameRange '0.6.1',
981 silly addNameRange '0.5.2',
981 silly addNameRange '1.0.0',
981 silly addNameRange '1.0.1',
981 silly addNameRange '1.0.2',
981 silly addNameRange '1.0.3',
981 silly addNameRange '1.0.4',
981 silly addNameRange '1.0.5' ] ]
982 verbose addNamed [ 'commander', '0.6.1' ]
983 verbose addNamed [ '0.6.1', '0.6.1' ]
984 silly lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
985 verbose lock commander@0.6.1 /home/vagrant/.npm/fa16a2ce-commander-0-6-1.lock
986 verbose read json /home/vagrant/.npm/options/0.0.3/package/package.json
987 verbose read json /home/vagrant/.npm/tinycolor/0.0.1/package/package.json
988 verbose read json /home/vagrant/.npm/commander/0.6.1/package/package.json
989 silly lockFile 82d09623-options-0-0-3 options@0.0.3
990 silly lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
991 silly lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
992 silly lockFile 479efb46-options-latest options@latest
993 silly lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
994 silly lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
995 silly resolved [ { author:
995 silly resolved { name: 'Einar Otto Stangvik',
995 silly resolved email: '',
995 silly resolved url: '' },
995 silly resolved name: 'options',
995 silly resolved description: 'A very light-weight in-code option parsers for node.js.',
995 silly resolved version: '0.0.3',
995 silly resolved repository: { type: 'git', url: 'git://' },
995 silly resolved main: 'lib/options',
995 silly resolved scripts: { test: 'make test' },
995 silly resolved engines: { node: '>=0.4.0' },
995 silly resolved dependencies: {},
995 silly resolved devDependencies: { mocha: 'latest', 'expect.js': 'latest' },
995 silly resolved readme: '# options.js #\n\nA very light-weight in-code option parsers for node.js.\n',
995 silly resolved _id: 'options@0.0.3',
995 silly resolved _from: 'options@latest' },
995 silly resolved { author:
995 silly resolved { name: 'Einar Otto Stangvik',
995 silly resolved email: '',
995 silly resolved url: '' },
995 silly resolved name: 'tinycolor',
995 silly resolved description: 'a to-the-point color module for node',
995 silly resolved version: '0.0.1',
995 silly resolved repository: { type: 'git', url: 'git://' },
995 silly resolved engines: { node: '>=0.4.0' },
995 silly resolved dependencies: {},
995 silly resolved devDependencies: {},
995 silly resolved main: 'tinycolor',
995 silly resolved readme: '# tinycolor #\n\nThis is a no-fuzz, barebone, zero muppetry color module for node.js.',
995 silly resolved _id: 'tinycolor@0.0.1',
995 silly resolved _from: 'tinycolor@0.x' },
995 silly resolved { name: 'commander',
995 silly resolved version: '0.6.1',
995 silly resolved description: 'the complete solution for node.js command-line programs',
995 silly resolved keywords: [ 'command', 'option', 'parser', 'prompt', 'stdin' ],
995 silly resolved author: { name: 'TJ Holowaychuk', email: '' },
995 silly resolved repository:
995 silly resolved { type: 'git',
995 silly resolved url: '' },
995 silly resolved dependencies: {},
995 silly resolved devDependencies: { should: '>= 0.0.1' },
995 silly resolved scripts: { test: 'make test' },
995 silly resolved main: 'index',
995 silly resolved engines: { node: '>= 0.4.x' },
995 silly resolved readme: '# Commander.js\n\n The complete solution for [node.js]( command-line interfaces, inspired by Ruby\'s [commander](\n\n [![Build Status](](\n\n## Installation\n\n $ npm install commander\n\n## Option parsing\n\n Options with commander are defined with the `.option()` method, also serving as documentation for the options. The example below parses args and options from `process.argv`, leaving remaining args as the `program.args` array which were not consumed by options.\n\n```js\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'commander\');\n\nprogram\n .version(\'0.0.1\')\n .option(\'-p, --peppers\', \'Add peppers\')\n .option(\'-P, --pineapple\', \'Add pineapple\')\n .option(\'-b, --bbq\', \'Add bbq sauce\')\n .option(\'-c, --cheese [type]\', \'Add the specified type of cheese [marble]\', \'marble\')\n .parse(process.argv);\n\nconsole.log(\'you ordered a pizza with:\');\nif (program.peppers) console.log(\' - peppers\');\nif (program.pineapple) console.log(\' - pineappe\');\nif (program.bbq) console.log(\' - bbq\');\nconsole.log(\' - %s cheese\', program.cheese);\n```\n\n Short flags may be passed as a single arg, for example `-abc` is equivalent to `-a -b -c`. Multi-word options such as "--template-engine" are camel-cased, becoming `program.templateEngine` etc.\n\n## Automated --help\n\n The help information is auto-generated based on the information commander already knows about your program, so the following `--help` info is for free:\n\n``` \n $ ./examples/pizza --help\n\n Usage: pizza [options]\n\n Options:\n\n -V, --version output the version number\n -p, --peppers Add peppers\n -P, --pineapple Add pineappe\n -b, --bbq Add bbq sauce\n -c, --cheese <type> Add the specified type of cheese [marble]\n -h, --help output usage information\n\n```\n\n## Coercion\n\n```js\nfunction range(val) {\n return val.split(\'..\').map(Number);\n}\n\nfunction list(val) {\n return val.split(\',\');\n}\n\nprogram\n .version(\'0.0.1\')\n .usage(\'[options] <file ...>\')\n .option(\'-i, --integer <n>\', \'An integer argument\', parseInt)\n .option(\'-f, --float <n>\', \'A float argument\', parseFloat)\n .option(\'-r, --range <a>..<b>\', \'A range\', range)\n .option(\'-l, --list <items>\', \'A list\', list)\n .option(\'-o, --optional [value]\', \'An optional value\')\n .parse(process.argv);\n\nconsole.log(\' int: %j\', program.integer);\nconsole.log(\' float: %j\', program.float);\nconsole.log(\' optional: %j\', program.optional);\nprogram.range = program.range || [];\nconsole.log(\' range: %j..%j\', program.range[0], program.range[1]);\nconsole.log(\' list: %j\', program.list);\nconsole.log(\' args: %j\', program.args);\n```\n\n## Custom help\n\n You can display arbitrary `-h, --help` information\n by listening for "--help". Commander will automatically\n exit once you are done so that the remainder of your program\n does not execute causing undesired behaviours, for example\n in the following executable "stuff" will not output when\n `--help` is used.\n\n```js\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'../\');\n\nfunction list(val) {\n return val.split(\',\').map(Number);\n}\n\nprogram\n .version(\'0.0.1\')\n .option(\'-f, --foo\', \'enable some foo\')\n .option(\'-b, --bar\', \'enable some bar\')\n .option(\'-B, --baz\', \'enable some baz\');\n\n// must be before .parse() since\n// node\'s emit() is immediate\n\nprogram.on(\'--help\', function(){\n console.log(\' Examples:\');\n console.log(\'\');\n console.log(\' $ custom-help --help\');\n console.log(\' $ custom-help -h\');\n console.log(\'\');\n});\n\nprogram.parse(process.argv);\n\nconsole.log(\'stuff\');\n```\n\nyielding the following help output:\n\n```\n\nUsage: custom-help [options]\n\nOptions:\n\n -h, --help output usage information\n -V, --version output the version number\n -f, --foo enable some foo\n -b, --bar enable some bar\n -B, --baz enable some baz\n\nExamples:\n\n $ custom-help --help\n $ custom-help -h\n\n```\n\n## .prompt(msg, fn)\n\n Single-line prompt:\n\n```js\nprogram.prompt(\'name: \', function(name){\n console.log(\'hi %s\', name);\n});\n```\n\n Multi-line prompt:\n\n```js\nprogram.prompt(\'description:\', function(name){\n console.log(\'hi %s\', name);\n});\n```\n\n Coercion:\n\n```js\nprogram.prompt(\'Age: \', Number, function(age){\n console.log(\'age: %j\', age);\n});\n```\n\n```js\nprogram.prompt(\'Birthdate: \', Date, function(date){\n console.log(\'date: %s\', date);\n});\n```\n\n## .password(msg[, mask], fn)\n\nPrompt for password without echoing:\n\n```js\nprogram.password(\'Password: \', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n```\n\nPrompt for password with mask char "*":\n\n```js\nprogram.password(\'Password: \', \'*\', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n```\n\n## .confirm(msg, fn)\n\n Confirm with the given `msg`:\n\n```js\nprogram.confirm(\'continue? \', function(ok){\n console.log(\' got %j\', ok);\n});\n```\n\n## .choose(list, fn)\n\n Let the user choose from a `list`:\n\n```js\nvar list = [\'tobi\', \'loki\', \'jane\', \'manny\', \'luna\'];\n\nconsole.log(\'Choose the coolest pet:\');\nprogram.choose(list, function(i){\n console.log(\'you chose %d "%s"\', i, list[i]);\n});\n```\n\n## Links\n\n - [API documentation](\n - [ascii tables](\n - [progress bars](\n - [more progress bars](\n - [examples](\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 TJ Holowaychuk &lt;;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.',
995 silly resolved _id: 'commander@0.6.1',
995 silly resolved _from: 'commander@~0.6.1' } ]
996 info install options@0.0.3 into /vagrant/sites/all/modules/nodejs/node_modules/
997 info install tinycolor@0.0.1 into /vagrant/sites/all/modules/nodejs/node_modules/
998 info install commander@0.6.1 into /vagrant/sites/all/modules/nodejs/node_modules/
999 info installOne options@0.0.3
1000 info installOne tinycolor@0.0.1
1001 info installOne commander@0.6.1
1002 verbose from cache /home/vagrant/.npm/options/0.0.3/package/package.json
1003 verbose from cache /home/vagrant/.npm/tinycolor/0.0.1/package/package.json
1004 verbose from cache /home/vagrant/.npm/commander/0.6.1/package/package.json
1005 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1006 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1007 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1008 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1009 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1010 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1011 verbose tar unpack /home/vagrant/.npm/options/0.0.3/package.tgz
1012 verbose tar unpack /home/vagrant/.npm/tinycolor/0.0.1/package.tgz
1013 verbose tar unpack /home/vagrant/.npm/commander/0.6.1/package.tgz
1014 silly lockFile 5f79bee9--modules-ws-node-modules-options /vagrant/sites/all/modules/nodejs/node_modules/
1015 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/5f79bee9--modules-ws-node-modules-options.lock
1016 silly lockFile 1d0e73f0-odules-ws-node-modules-tinycolor /vagrant/sites/all/modules/nodejs/node_modules/
1017 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/1d0e73f0-odules-ws-node-modules-tinycolor.lock
1018 silly lockFile f7268bd6-odules-ws-node-modules-commander /vagrant/sites/all/modules/nodejs/node_modules/
1019 verbose lock /vagrant/sites/all/modules/nodejs/node_modules/ /home/vagrant/.npm/f7268bd6-odules-ws-node-modules-commander.lock
1020 silly gunzTarPerm modes [ '755', '644' ]
1021 silly gunzTarPerm modes [ '755', '644' ]
1022 silly gunzTarPerm modes [ '755', '644' ]
1023 silly gunzTarPerm extractEntry package.json
1024 silly gunzTarPerm extractEntry package.json
1025 silly gunzTarPerm extractEntry package.json
1026 silly gunzTarPerm extractEntry .npmignore
1027 silly gunzTarPerm extractEntry
1028 silly gunzTarPerm extractEntry .npmignore
1029 silly gunzTarPerm extractEntry
1030 silly gunzTarPerm extractEntry .npmignore
1031 silly gunzTarPerm extractEntry index.js
1032 silly gunzTarPerm extractEntry test/options.test.js
1033 silly gunzTarPerm extractEntry test/fixtures/test.conf
1034 silly gunzTarPerm extractEntry tinycolor.js
1035 silly gunzTarPerm extractEntry example.js
1036 silly gunzTarPerm extractEntry
1037 silly gunzTarPerm extractEntry lib/commander.js
1038 silly gunzTarPerm extractEntry lib/options.js
1039 silly gunzTarPerm extractEntry Makefile
1040 silly gunzTarPerm extractEntry .travis.yml
1041 silly gunzTarPerm extractEntry Makefile
1042 silly gunzTarPerm extractEntry
1043 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1044 silly lockFile 1d0e73f0-odules-ws-node-modules-tinycolor /vagrant/sites/all/modules/nodejs/node_modules/
1045 info preinstall tinycolor@0.0.1
1046 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1047 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1048 verbose readDependencies using package.json deps
1049 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1050 silly lockFile 5f79bee9--modules-ws-node-modules-options /vagrant/sites/all/modules/nodejs/node_modules/
1051 info preinstall options@0.0.3
1052 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1053 verbose read json /vagrant/sites/all/modules/nodejs/node_modules/
1054 silly lockFile f7268bd6-odules-ws-node-modules-commander /vagrant/sites/all/modules/nodejs/node_modules/
1055 info preinstall commander@0.6.1
1056 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1057 verbose readDependencies using package.json deps
1058 silly resolved []
1059 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
1060 info build /vagrant/sites/all/modules/nodejs/node_modules/
1061 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1062 verbose readDependencies using package.json deps
1063 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1064 verbose readDependencies using package.json deps
1065 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1066 verbose linkStuff [ false,
1066 verbose linkStuff false,
1066 verbose linkStuff false,
1066 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
1067 info linkStuff tinycolor@0.0.1
1068 verbose linkBins tinycolor@0.0.1
1069 verbose linkMans tinycolor@0.0.1
1070 verbose rebuildBundles tinycolor@0.0.1
1071 info install tinycolor@0.0.1
1072 verbose readDependencies using package.json deps
1073 silly resolved []
1074 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
1075 info build /vagrant/sites/all/modules/nodejs/node_modules/
1076 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1077 verbose readDependencies using package.json deps
1078 silly resolved []
1079 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
1080 info build /vagrant/sites/all/modules/nodejs/node_modules/
1081 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1082 info postinstall tinycolor@0.0.1
1083 verbose linkStuff [ false,
1083 verbose linkStuff false,
1083 verbose linkStuff false,
1083 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
1084 info linkStuff options@0.0.3
1085 verbose linkBins options@0.0.3
1086 verbose linkMans options@0.0.3
1087 verbose rebuildBundles options@0.0.3
1088 verbose linkStuff [ false,
1088 verbose linkStuff false,
1088 verbose linkStuff false,
1088 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
1089 info linkStuff commander@0.6.1
1090 verbose linkBins commander@0.6.1
1091 verbose linkMans commander@0.6.1
1092 verbose rebuildBundles commander@0.6.1
1093 info install commander@0.6.1
1094 info install options@0.0.3
1095 info postinstall commander@0.6.1
1096 info postinstall options@0.0.3
1097 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
1098 info build /vagrant/sites/all/modules/nodejs/node_modules/
1099 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1100 verbose linkStuff [ false,
1100 verbose linkStuff false,
1100 verbose linkStuff false,
1100 verbose linkStuff '/vagrant/sites/all/modules/nodejs/node_modules/' ]
1101 info linkStuff ws@0.4.22
1102 verbose linkBins ws@0.4.22
1103 verbose link bins [ { wscat: './bin/wscat' },
1103 verbose link bins '/vagrant/sites/all/modules/nodejs/node_modules/',
1103 verbose link bins false ]
1104 verbose linkMans ws@0.4.22
1105 verbose rebuildBundles ws@0.4.22
1106 verbose rebuildBundles [ 'commander', 'options', 'tinycolor' ]
1107 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1108 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1109 info preuninstall ws@0.4.22
1110 info uninstall ws@0.4.22
1111 verbose false,/vagrant/sites/all/modules/nodejs/node_modules,/vagrant/sites/all/modules/nodejs/node_modules/ unbuild ws@0.4.22
1112 verbose /vagrant/sites/all/modules/nodejs/node_modules/,[object Object] binRoot
1113 info postuninstall ws@0.4.22
1114 verbose about to build /vagrant/sites/all/modules/nodejs/node_modules/
1115 info /vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1116 verbose from cache /vagrant/sites/all/modules/nodejs/node_modules/
1117 info preuninstall
1118 info uninstall
1119 verbose false,/vagrant/sites/all/modules/nodejs/node_modules,/vagrant/sites/all/modules/nodejs/node_modules/ unbuild
1120 info postuninstall
1121 error Error: ENOENT, open '/vagrant/sites/all/modules/nodejs/node_modules/'
1122 error If you need help, you may report this log at:
1122 error <>
1122 error or email it to:
1122 error <>
1123 error System Linux 3.2.0-23-generic-pae
1124 error command "/home/vagrant/nvm/v0.8.12/bin/node" "/home/vagrant/nvm/v0.8.12/bin/npm" "install" ""
1125 error cwd /vagrant/sites/all/modules/nodejs
1126 error node -v v0.8.12
1127 error npm -v 1.1.63
1128 error path /vagrant/sites/all/modules/nodejs/node_modules/
1129 error code ENOENT
1130 error errno 34
1131 verbose exit [ 34, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment