Guest User

Installing socket.io

a guest
Oct 16th, 2012
602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 211.22 KB | None | 0 0
  1. 0 info it worked if it ends with ok
  2. 1 verbose cli [ 'nodejs', '/usr/bin/npm', 'install', 'socket.io' ]
  3. 2 info using npm@1.1.63
  4. 3 info using node@v0.8.12
  5. 4 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/package.json
  6. 5 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  7. 6 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/package.json
  8. 7 verbose cache add [ 'socket.io', null ]
  9. 8 silly cache add name=undefined spec="socket.io" args=["socket.io",null]
  10. 9 verbose parsed url { pathname: 'socket.io', path: 'socket.io', href: 'socket.io' }
  11. 10 silly lockFile 71475bfd-socket-io socket.io
  12. 11 verbose lock socket.io /home/tnewhook/.npm/71475bfd-socket-io.lock
  13. 12 silly lockFile 71475bfd-socket-io socket.io
  14. 13 verbose addNamed [ 'socket.io', '' ]
  15. 14 verbose addNamed [ null, '' ]
  16. 15 silly lockFile c03de861-socket-io socket.io@
  17. 16 verbose lock socket.io@ /home/tnewhook/.npm/c03de861-socket-io.lock
  18. 17 silly addNameRange { name: 'socket.io', range: '', hasData: false }
  19. 18 verbose url raw socket.io
  20. 19 verbose url resolving [ 'https://registry.npmjs.org/', './socket.io' ]
  21. 20 verbose url resolved https://registry.npmjs.org/socket.io
  22. 21 info trying registry request attempt 1 at 10:42:39
  23. 22 verbose etag "1LBMLXQFNNK4Y979ZKCV65760"
  24. 23 http GET https://registry.npmjs.org/socket.io
  25. 24 http 304 https://registry.npmjs.org/socket.io
  26. 25 silly registry.get cb [ 304,
  27. 25 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  28. 25 silly registry.get     etag: '"1LBMLXQFNNK4Y979ZKCV65760"',
  29. 25 silly registry.get     date: 'Wed, 17 Oct 2012 02:42:46 GMT',
  30. 25 silly registry.get     'content-length': '0' } ]
  31. 26 verbose etag socket.io from cache
  32. 27 silly addNameRange number 2 { name: 'socket.io', range: '', hasData: true }
  33. 28 silly addNameRange versions [ 'socket.io',
  34. 28 silly addNameRange   [ '0.3.8',
  35. 28 silly addNameRange     '0.4.0',
  36. 28 silly addNameRange     '0.4.1',
  37. 28 silly addNameRange     '0.5.1',
  38. 28 silly addNameRange     '0.5.3',
  39. 28 silly addNameRange     '0.6.0',
  40. 28 silly addNameRange     '0.6.1',
  41. 28 silly addNameRange     '0.6.3',
  42. 28 silly addNameRange     '0.6.4',
  43. 28 silly addNameRange     '0.6.5',
  44. 28 silly addNameRange     '0.6.6',
  45. 28 silly addNameRange     '0.6.7',
  46. 28 silly addNameRange     '0.6.8',
  47. 28 silly addNameRange     '0.6.9',
  48. 28 silly addNameRange     '0.6.10',
  49. 28 silly addNameRange     '0.6.11',
  50. 28 silly addNameRange     '0.6.12',
  51. 28 silly addNameRange     '0.6.14',
  52. 28 silly addNameRange     '0.6.15',
  53. 28 silly addNameRange     '0.6.16',
  54. 28 silly addNameRange     '0.6.17',
  55. 28 silly addNameRange     '0.6.18',
  56. 28 silly addNameRange     '0.7.0',
  57. 28 silly addNameRange     '0.7.1',
  58. 28 silly addNameRange     '0.7.2',
  59. 28 silly addNameRange     '0.7.3',
  60. 28 silly addNameRange     '0.7.4',
  61. 28 silly addNameRange     '0.7.5',
  62. 28 silly addNameRange     '0.7.6',
  63. 28 silly addNameRange     '0.7.7',
  64. 28 silly addNameRange     '0.7.8',
  65. 28 silly addNameRange     '0.7.9',
  66. 28 silly addNameRange     '0.7.10',
  67. 28 silly addNameRange     '0.7.11',
  68. 28 silly addNameRange     '0.8.0',
  69. 28 silly addNameRange     '0.8.1',
  70. 28 silly addNameRange     '0.8.2',
  71. 28 silly addNameRange     '0.8.3',
  72. 28 silly addNameRange     '0.8.4',
  73. 28 silly addNameRange     '0.8.5',
  74. 28 silly addNameRange     '0.8.6',
  75. 28 silly addNameRange     '0.8.7',
  76. 28 silly addNameRange     '0.9.0',
  77. 28 silly addNameRange     '0.9.1',
  78. 28 silly addNameRange     '0.9.1-1',
  79. 28 silly addNameRange     '0.9.2',
  80. 28 silly addNameRange     '0.9.3',
  81. 28 silly addNameRange     '0.9.4',
  82. 28 silly addNameRange     '0.9.5',
  83. 28 silly addNameRange     '0.9.6',
  84. 28 silly addNameRange     '0.9.7',
  85. 28 silly addNameRange     '0.9.8',
  86. 28 silly addNameRange     '0.9.9',
  87. 28 silly addNameRange     '0.9.10' ] ]
  88. 29 verbose addNamed [ 'socket.io', '0.9.10' ]
  89. 30 verbose addNamed [ '0.9.10', '0.9.10' ]
  90. 31 silly lockFile 5127d080-socket-io-0-9-10 socket.io@0.9.10
  91. 32 verbose lock socket.io@0.9.10 /home/tnewhook/.npm/5127d080-socket-io-0-9-10.lock
  92. 33 verbose read json /home/tnewhook/.npm/socket.io/0.9.10/package/package.json
  93. 34 silly lockFile 5127d080-socket-io-0-9-10 socket.io@0.9.10
  94. 35 silly lockFile c03de861-socket-io socket.io@
  95. 36 silly resolved [ { name: 'socket.io',
  96. 36 silly resolved     version: '0.9.10',
  97. 36 silly resolved     description: 'Real-time apps made cross-browser & easy with a WebSocket-like API',
  98. 36 silly resolved     homepage: 'http://socket.io',
  99. 36 silly resolved     keywords: [ 'websocket', 'socket', 'realtime', 'socket.io', 'comet', 'ajax' ],
  100. 36 silly resolved     author: { name: 'Guillermo Rauch', email: 'guillermo@learnboost.com' },
  101. 36 silly resolved     contributors: [ [Object], [Object], [Object], [Object] ],
  102. 36 silly resolved     repository:
  103. 36 silly resolved      { type: 'git',
  104. 36 silly resolved        url: 'https://github.com/LearnBoost/socket.io.git' },
  105. 36 silly resolved     dependencies:
  106. 36 silly resolved      { 'socket.io-client': '0.9.10',
  107. 36 silly resolved        policyfile: '0.0.4',
  108. 36 silly resolved        redis: '0.7.2' },
  109. 36 silly resolved     devDependencies:
  110. 36 silly resolved      { expresso: '0.9.2',
  111. 36 silly resolved        should: '*',
  112. 36 silly resolved        benchmark: '0.2.2',
  113. 36 silly resolved        microtime: '0.1.3-1',
  114. 36 silly resolved        colors: '0.5.1' },
  115. 36 silly resolved     main: 'index',
  116. 36 silly resolved     engines: { node: '>= 0.4.0' },
  117. 36 silly resolved     scripts: { test: 'make test' },
  118. 36 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 socket.io\n```\n\n## How to use\n\nFirst, require `socket.io`:\n\n```js\nvar io = require(\'socket.io\');\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="/socket.io/socket.io.js"></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(\'socket.io\').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(\'socket.io\').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,\nsocket.io provides a way of namespacing a `socket`.\n\nThis has the benefit of `multiplexing` a single connection. Instead of\nsocket.io 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(\'socket.io\').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(\'socket.io\').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(\'socket.io\').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(\'socket.io\').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(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n  socket.join(\'justin bieber fans\');\n  socket.broadcast.to(\'justin bieber fans\').emit(\'new fan\');\n  io.sockets.in(\'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(\'socket.io\').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 socket.io is TJ-style:\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').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;guillermo@learnboost.com&gt;\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',
  119. 36 silly resolved     readmeFilename: 'Readme.md',
  120. 36 silly resolved     _id: 'socket.io@0.9.10',
  121. 36 silly resolved     _from: 'socket.io' } ]
  122. 37 info install socket.io@0.9.10 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat
  123. 38 info installOne socket.io@0.9.10
  124. 39 verbose from cache /home/tnewhook/.npm/socket.io/0.9.10/package/package.json
  125. 40 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io unbuild
  126. 41 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  127. 42 verbose tar unpack /home/tnewhook/.npm/socket.io/0.9.10/package.tgz
  128. 43 silly lockFile a69186d0-lang-chat-node-modules-socket-io /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  129. 44 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io /home/tnewhook/.npm/a69186d0-lang-chat-node-modules-socket-io.lock
  130. 45 silly gunzTarPerm modes [ '755', '644' ]
  131. 46 silly gunzTarPerm extractEntry package.json
  132. 47 silly gunzTarPerm extractEntry .npmignore
  133. 48 silly gunzTarPerm extractEntry LICENSE
  134. 49 silly gunzTarPerm extractEntry index.js
  135. 50 silly gunzTarPerm extractEntry History.md
  136. 51 silly gunzTarPerm extractEntry lib/client.js
  137. 52 silly gunzTarPerm extractEntry lib/namespace.js
  138. 53 silly gunzTarPerm extractEntry lib/store.js
  139. 54 silly gunzTarPerm extractEntry lib/parser.js
  140. 55 silly gunzTarPerm extractEntry lib/logger.js
  141. 56 silly gunzTarPerm extractEntry lib/util.js
  142. 57 silly gunzTarPerm extractEntry lib/manager.js
  143. 58 silly gunzTarPerm extractEntry lib/static.js
  144. 59 silly gunzTarPerm extractEntry lib/socket.io.js
  145. 60 silly gunzTarPerm extractEntry lib/socket.js
  146. 61 silly gunzTarPerm extractEntry lib/transport.js
  147. 62 silly gunzTarPerm extractEntry lib/transports/xhr-polling.js
  148. 63 silly gunzTarPerm extractEntry lib/transports/flashsocket.js
  149. 64 silly gunzTarPerm extractEntry lib/transports/index.js
  150. 65 silly gunzTarPerm extractEntry lib/transports/websocket.js
  151. 66 silly gunzTarPerm extractEntry lib/transports/http-polling.js
  152. 67 silly gunzTarPerm extractEntry lib/transports/jsonp-polling.js
  153. 68 silly gunzTarPerm extractEntry lib/transports/htmlfile.js
  154. 69 silly gunzTarPerm extractEntry lib/transports/http.js
  155. 70 silly gunzTarPerm extractEntry lib/transports/websocket/default.js
  156. 71 silly gunzTarPerm extractEntry lib/transports/websocket/index.js
  157. 72 silly gunzTarPerm extractEntry lib/transports/websocket/hybi-07-12.js
  158. 73 silly gunzTarPerm extractEntry lib/transports/websocket/hybi-16.js
  159. 74 silly gunzTarPerm extractEntry lib/stores/redis.js
  160. 75 silly gunzTarPerm extractEntry lib/stores/memory.js
  161. 76 silly gunzTarPerm extractEntry Readme.md
  162. 77 silly gunzTarPerm extractEntry benchmarks/runner.js
  163. 78 silly gunzTarPerm extractEntry benchmarks/encode.bench.js
  164. 79 silly gunzTarPerm extractEntry benchmarks/decode.bench.js
  165. 80 silly gunzTarPerm extractEntry Makefile
  166. 81 silly gunzTarPerm extractEntry .travis.yml
  167. 82 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  168. 83 silly lockFile a69186d0-lang-chat-node-modules-socket-io /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  169. 84 info preinstall socket.io@0.9.10
  170. 85 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  171. 86 verbose readDependencies using package.json deps
  172. 87 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  173. 88 verbose readDependencies using package.json deps
  174. 89 verbose cache add [ 'socket.io-client@0.9.10', null ]
  175. 90 silly cache add name=undefined spec="socket.io-client@0.9.10" args=["socket.io-client@0.9.10",null]
  176. 91 verbose parsed url { pathname: 'socket.io-client@0.9.10',
  177. 91 verbose parsed url   path: 'socket.io-client@0.9.10',
  178. 91 verbose parsed url   href: 'socket.io-client@0.9.10' }
  179. 92 silly cache add name="socket.io-client" spec="0.9.10" args=["socket.io-client","0.9.10"]
  180. 93 verbose parsed url { pathname: '0.9.10', path: '0.9.10', href: '0.9.10' }
  181. 94 verbose addNamed [ 'socket.io-client', '0.9.10' ]
  182. 95 verbose addNamed [ '0.9.10', '0.9.10' ]
  183. 96 silly lockFile 147e2402-socket-io-client-0-9-10 socket.io-client@0.9.10
  184. 97 verbose lock socket.io-client@0.9.10 /home/tnewhook/.npm/147e2402-socket-io-client-0-9-10.lock
  185. 98 verbose cache add [ 'policyfile@0.0.4', null ]
  186. 99 silly cache add name=undefined spec="policyfile@0.0.4" args=["policyfile@0.0.4",null]
  187. 100 verbose parsed url { pathname: 'policyfile@0.0.4',
  188. 100 verbose parsed url   path: 'policyfile@0.0.4',
  189. 100 verbose parsed url   href: 'policyfile@0.0.4' }
  190. 101 silly cache add name="policyfile" spec="0.0.4" args=["policyfile","0.0.4"]
  191. 102 verbose parsed url { pathname: '0.0.4', path: '0.0.4', href: '0.0.4' }
  192. 103 verbose addNamed [ 'policyfile', '0.0.4' ]
  193. 104 verbose addNamed [ '0.0.4', '0.0.4' ]
  194. 105 silly lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
  195. 106 verbose lock policyfile@0.0.4 /home/tnewhook/.npm/8b99131a-policyfile-0-0-4.lock
  196. 107 verbose cache add [ 'redis@0.7.2', null ]
  197. 108 silly cache add name=undefined spec="redis@0.7.2" args=["redis@0.7.2",null]
  198. 109 verbose parsed url { pathname: 'redis@0.7.2',
  199. 109 verbose parsed url   path: 'redis@0.7.2',
  200. 109 verbose parsed url   href: 'redis@0.7.2' }
  201. 110 silly cache add name="redis" spec="0.7.2" args=["redis","0.7.2"]
  202. 111 verbose parsed url { pathname: '0.7.2', path: '0.7.2', href: '0.7.2' }
  203. 112 verbose addNamed [ 'redis', '0.7.2' ]
  204. 113 verbose addNamed [ '0.7.2', '0.7.2' ]
  205. 114 silly lockFile b62421fe-redis-0-7-2 redis@0.7.2
  206. 115 verbose lock redis@0.7.2 /home/tnewhook/.npm/b62421fe-redis-0-7-2.lock
  207. 116 verbose url raw socket.io-client/0.9.10
  208. 117 verbose url resolving [ 'https://registry.npmjs.org/', './socket.io-client/0.9.10' ]
  209. 118 verbose url resolved https://registry.npmjs.org/socket.io-client/0.9.10
  210. 119 info trying registry request attempt 1 at 10:42:46
  211. 120 verbose etag "758OZHJRDHRVFGJQAY8UJEEJJ"
  212. 121 http GET https://registry.npmjs.org/socket.io-client/0.9.10
  213. 122 verbose url raw policyfile/0.0.4
  214. 123 verbose url resolving [ 'https://registry.npmjs.org/', './policyfile/0.0.4' ]
  215. 124 verbose url resolved https://registry.npmjs.org/policyfile/0.0.4
  216. 125 info trying registry request attempt 1 at 10:42:46
  217. 126 verbose etag "2KV6P04UH9SRH9PRJ2MA8QY9H"
  218. 127 http GET https://registry.npmjs.org/policyfile/0.0.4
  219. 128 verbose url raw redis/0.7.2
  220. 129 verbose url resolving [ 'https://registry.npmjs.org/', './redis/0.7.2' ]
  221. 130 verbose url resolved https://registry.npmjs.org/redis/0.7.2
  222. 131 info trying registry request attempt 1 at 10:42:46
  223. 132 verbose etag "A5NS05BENTWS3L7A8FBVBDECE"
  224. 133 http GET https://registry.npmjs.org/redis/0.7.2
  225. 134 http 304 https://registry.npmjs.org/redis/0.7.2
  226. 135 silly registry.get cb [ 304,
  227. 135 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  228. 135 silly registry.get     etag: '"A5NS05BENTWS3L7A8FBVBDECE"',
  229. 135 silly registry.get     date: 'Wed, 17 Oct 2012 02:42:51 GMT',
  230. 135 silly registry.get     'content-length': '0' } ]
  231. 136 verbose etag redis/0.7.2 from cache
  232. 137 verbose read json /home/tnewhook/.npm/redis/0.7.2/package/package.json
  233. 138 silly lockFile b62421fe-redis-0-7-2 redis@0.7.2
  234. 139 http 304 https://registry.npmjs.org/policyfile/0.0.4
  235. 140 silly registry.get cb [ 304,
  236. 140 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  237. 140 silly registry.get     etag: '"2KV6P04UH9SRH9PRJ2MA8QY9H"',
  238. 140 silly registry.get     date: 'Wed, 17 Oct 2012 02:42:51 GMT',
  239. 140 silly registry.get     'content-length': '0' } ]
  240. 141 verbose etag policyfile/0.0.4 from cache
  241. 142 verbose read json /home/tnewhook/.npm/policyfile/0.0.4/package/package.json
  242. 143 silly lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
  243. 144 http 304 https://registry.npmjs.org/socket.io-client/0.9.10
  244. 145 silly registry.get cb [ 304,
  245. 145 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  246. 145 silly registry.get     etag: '"758OZHJRDHRVFGJQAY8UJEEJJ"',
  247. 145 silly registry.get     date: 'Wed, 17 Oct 2012 02:42:52 GMT',
  248. 145 silly registry.get     'content-length': '0' } ]
  249. 146 verbose etag socket.io-client/0.9.10 from cache
  250. 147 verbose read json /home/tnewhook/.npm/socket.io-client/0.9.10/package/package.json
  251. 148 silly lockFile 147e2402-socket-io-client-0-9-10 socket.io-client@0.9.10
  252. 149 silly resolved [ { name: 'redis',
  253. 149 silly resolved     version: '0.7.2',
  254. 149 silly resolved     description: 'Redis client library',
  255. 149 silly resolved     author: { name: 'Matt Ranney', email: 'mjr@ranney.com' },
  256. 149 silly resolved     maintainers: [ [Object] ],
  257. 149 silly resolved     main: './index.js',
  258. 149 silly resolved     scripts: { test: 'node ./test.js' },
  259. 149 silly resolved     devDependencies: { metrics: '>=0.1.5' },
  260. 149 silly resolved     optionalDependencies: { hiredis: '*' },
  261. 149 silly resolved     repository: { type: 'git', url: 'git://github.com/mranney/node_redis.git' },
  262. 149 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    // client.select(3, 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](http://redis.io/commands)\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 `127.0.0.1`.  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](https://github.com/aivopaas)\n* [Andy Ray](https://github.com/DelvarWorld)\n* Daniele\n* [Dave Hoover](https://github.com/redsquirrel)\n* [David Trejo](https://github.com/DTrejo)\n* Dayananda Nanjundappa\n* [Felix Geisendörfer](https://github.com/felixge)\n* [Hank Sims](https://github.com/hanksims)\n* [Ian Babrou](https://github.com/bobrik)\n* [Isaac Z. Schlueter](https://github.com/isaacs)\n* [Louis-Philippe Perron](https://github.com/lp)\n* [Maksim Lin](https://github.com/maks)\n* [Marcus Westin](https://github.com/marcuswestin)\n* [Mark Dawson](https://github.com/markdaws)\n* [Nithesh Chandra Gupta Mittapally](https://github.com/nithesh)\n* [Orion Henry](https://github.com/orionz)\n* [Owen Smith](https://github.com/orls)\n* [Paul Carey](https://github.com/paulcarey)\n* [Philip Tellis](https://github.com/bluesmoon)\n* [Pieter Noordhuis](https://github.com/pietern)\n* [Rick Olson](https://github.com/technoweenie)\n* [Tim Smart](https://github.com/Tim-Smart)\n* [TJ Holowaychuk](https://github.com/visionmedia)\n* [Umair Siddique](https://github.com/umairsiddique)\n* [Vladimir Dronnikov](https://github.com/dvv)\n* [Zachary Scott](https://github.com/zzak)\n\nThanks.\n\n## LICENSE - "MIT License"\n\nCopyright (c) 2010 Matthew Ranney, http://ranney.com/\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](http://ranney.com/1px.gif)\n',
  263. 149 silly resolved     readmeFilename: 'README.md',
  264. 149 silly resolved     _id: 'redis@0.7.2',
  265. 149 silly resolved     dependencies: { hiredis: '*' },
  266. 149 silly resolved     _from: 'redis@0.7.2' },
  267. 149 silly resolved   { name: 'policyfile',
  268. 149 silly resolved     version: '0.0.4',
  269. 149 silly resolved     author: { name: 'Arnout Kazemier' },
  270. 149 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.',
  271. 149 silly resolved     main: 'index',
  272. 149 silly resolved     keywords:
  273. 149 silly resolved      [ 'flash',
  274. 149 silly resolved        'socket',
  275. 149 silly resolved        'policy',
  276. 149 silly resolved        'file',
  277. 149 silly resolved        'server',
  278. 149 silly resolved        'Flash Socket Policy File Server',
  279. 149 silly resolved        'cross domain' ],
  280. 149 silly resolved     directories: { lib: './lib' },
  281. 149 silly resolved     maintainers: [ [Object] ],
  282. 149 silly resolved     licenses: [ [Object] ],
  283. 149 silly resolved     repositories: [ [Object] ],
  284. 149 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([\'google.com:80\']);\npf.listen();\npf.add(\'blog.3rd-Eden.com:80\', \'blog.3rd-Eden.com:8080\'); // 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([\'blog.3rd-Eden.com:80\', \'blog.3rd-Eden.com:8080\']);\npf.listen();\npf.remove(\'blog.3rd-Eden.com:8080\'); // 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\nhttp://3rd-eden.com/FlashPolicyFileServer/\n\n## Examples\nSee https://github.com/3rd-Eden/FlashPolicyFileServer/tree/master/examples for examples\n\n## Licence\n\nMIT see LICENSE file in the repository',
  285. 149 silly resolved     readmeFilename: 'README.md',
  286. 149 silly resolved     _id: 'policyfile@0.0.4',
  287. 149 silly resolved     _from: 'policyfile@0.0.4' },
  288. 149 silly resolved   { name: 'socket.io-client',
  289. 149 silly resolved     description: 'Socket.IO client for the browser and node.js',
  290. 149 silly resolved     version: '0.9.10',
  291. 149 silly resolved     main: './lib/io.js',
  292. 149 silly resolved     browserify: './dist/socket.io.js',
  293. 149 silly resolved     homepage: 'http://socket.io',
  294. 149 silly resolved     keywords: [ 'websocket', 'socket', 'realtime', 'socket.io', 'comet', 'ajax' ],
  295. 149 silly resolved     author: { name: 'Guillermo Rauch', email: 'guillermo@learnboost.com' },
  296. 149 silly resolved     contributors: [ [Object], [Object], [Object], [Object] ],
  297. 149 silly resolved     repository:
  298. 149 silly resolved      { type: 'git',
  299. 149 silly resolved        url: 'https://github.com/LearnBoost/socket.io-client.git' },
  300. 149 silly resolved     dependencies:
  301. 149 silly resolved      { 'uglify-js': '1.2.5',
  302. 149 silly resolved        ws: '0.4.x',
  303. 149 silly resolved        xmlhttprequest: '1.4.2',
  304. 149 silly resolved        'active-x-obfuscator': '0.0.1' },
  305. 149 silly resolved     devDependencies:
  306. 149 silly resolved      { expresso: '*',
  307. 149 silly resolved        express: '2.5.x',
  308. 149 silly resolved        jade: '*',
  309. 149 silly resolved        stylus: '*',
  310. 149 silly resolved        'socket.io': '0.9.10',
  311. 149 silly resolved        'socket.io-client': '0.9.10' },
  312. 149 silly resolved     engines: { node: '>= 0.4.0' },
  313. 149 silly resolved     readme: 'socket.io\n=========\n\n#### Sockets for the rest of us\n\nThe `socket.io` 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(\'http://domain.com\');\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    socket.io\n\n  The resource is what allows the `socket.io` server to identify incoming connections by `socket.io` clients. In other words, any HTTP server can implement socket.io 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;guillermo@learnboost.com&gt;\n\nArnout Kazemier &lt;info@3rd-eden.com&gt;\n\n### License \n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.com&gt;\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',
  314. 149 silly resolved     readmeFilename: 'README.md',
  315. 149 silly resolved     _id: 'socket.io-client@0.9.10',
  316. 149 silly resolved     _from: 'socket.io-client@0.9.10' } ]
  317. 150 info install redis@0.7.2 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  318. 151 info install policyfile@0.0.4 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  319. 152 info install socket.io-client@0.9.10 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  320. 153 info installOne redis@0.7.2
  321. 154 info installOne policyfile@0.0.4
  322. 155 info installOne socket.io-client@0.9.10
  323. 156 verbose from cache /home/tnewhook/.npm/redis/0.7.2/package/package.json
  324. 157 verbose from cache /home/tnewhook/.npm/socket.io-client/0.9.10/package/package.json
  325. 158 verbose from cache /home/tnewhook/.npm/policyfile/0.0.4/package/package.json
  326. 159 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis unbuild
  327. 160 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/package.json
  328. 161 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client unbuild
  329. 162 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/package.json
  330. 163 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/policyfile unbuild
  331. 164 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/policyfile/package.json
  332. 165 verbose tar unpack /home/tnewhook/.npm/redis/0.7.2/package.tgz
  333. 166 verbose tar unpack /home/tnewhook/.npm/socket.io-client/0.9.10/package.tgz
  334. 167 verbose tar unpack /home/tnewhook/.npm/policyfile/0.0.4/package.tgz
  335. 168 silly lockFile 9f100b9e-les-socket-io-node-modules-redis /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis
  336. 169 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis /home/tnewhook/.npm/9f100b9e-les-socket-io-node-modules-redis.lock
  337. 170 silly lockFile 28c3821e-io-node-modules-socket-io-client /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  338. 171 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client /home/tnewhook/.npm/28c3821e-io-node-modules-socket-io-client.lock
  339. 172 silly lockFile 1470dc83-ocket-io-node-modules-policyfile /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/policyfile
  340. 173 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/policyfile /home/tnewhook/.npm/1470dc83-ocket-io-node-modules-policyfile.lock
  341. 174 silly gunzTarPerm modes [ '755', '644' ]
  342. 175 silly gunzTarPerm modes [ '755', '644' ]
  343. 176 silly gunzTarPerm modes [ '755', '644''/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules' ]
  344. 392 info linkStuff policyfile@0.0.4
  345. 393 verbose linkBins policyfile@0.0.4
  346. 394 verbose linkMans policyfile@0.0.4
  347. 395 verbose rebuildBundles policyfile@0.0.4
  348. 396 info install policyfile@0.0.4
  349. 397 info postinstall policyfile@0.0.4
  350. 398 silly gunzTarPerm extractEntry dist/WebSocketMain.swf
  351. 399 silly gunzTarPerm extractEntry Makefile
  352. 400 silly gunzTarPerm extractEntry bin/builder.js
  353. 401 silly gunzTarPerm extractEntry test/worker.js
  354. 402 silly gunzTarPerm extractEntry test/socket.test.js
  355. 403 silly gunzTarPerm extractEntry test/parser.test.js
  356. 404 silly gunzTarPerm extractEntry test/io.test.js
  357. 405 silly gunzTarPerm extractEntry test/events.test.js
  358. 406 silly gunzTarPerm extractEntry test/util.test.js
  359. 407 silly gunzTarPerm extractEntry test/node/builder.test.js
  360. 408 silly gunzTarPerm extractEntry test/node/builder.common.js
  361. 409 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/package.json
  362. 410 silly lockFile 9f100b9e-les-socket-io-node-modules-redis /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis
  363. 411 info preinstall redis@0.7.2
  364. 412 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/package.json
  365. 413 verbose readDependencies using package.json deps
  366. 414 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/package.json
  367. 415 verbose readDependencies using package.json deps
  368. 416 verbose cache add [ 'hiredis@*', null ]
  369. 417 silly cache add name=undefined spec="hiredis@*" args=["hiredis@*",null]
  370. 418 verbose parsed url { pathname: 'hiredis@*', path: 'hiredis@*', href: 'hiredis@*' }
  371. 419 silly cache add name="hiredis" spec="*" args=["hiredis","*"]
  372. 420 verbose parsed url { pathname: '*', path: '*', href: '*' }
  373. 421 verbose addNamed [ 'hiredis', '*' ]
  374. 422 verbose addNamed [ null, '' ]
  375. 423 silly lockFile 0a034785-hiredis hiredis@*
  376. 424 verbose lock hiredis@* /home/tnewhook/.npm/0a034785-hiredis.lock
  377. 425 silly addNameRange { name: 'hiredis', range: '', hasData: false }
  378. 426 verbose url raw hiredis
  379. 427 verbose url resolving [ 'https://registry.npmjs.org/', './hiredis' ]
  380. 428 verbose url resolved https://registry.npmjs.org/hiredis
  381. 429 info trying registry request attempt 1 at 10:42:55
  382. 430 verbose etag "AX8BLG3CQT93DXS1FS85LCNNS"
  383. 431 http GET https://registry.npmjs.org/hiredis
  384. 432 http 304 https://registry.npmjs.org/hiredis
  385. 433 silly registry.get cb [ 304,
  386. 433 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  387. 433 silly registry.get     etag: '"AX8BLG3CQT93DXS1FS85LCNNS"',
  388. 433 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:02 GMT',
  389. 433 silly registry.get     'content-length': '0' } ]
  390. 434 verbose etag hiredis from cache
  391. 435 silly addNameRange number 2 { name: 'hiredis', range: '', hasData: true }
  392. 436 silly addNameRange versions [ 'hiredis',
  393. 436 silly addNameRange   [ '0.1.0',
  394. 436 silly addNameRange     '0.1.1',
  395. 436 silly addNameRange     '0.1.2',
  396. 436 silly addNameRange     '0.1.3',
  397. 436 silly addNameRange     '0.1.4',
  398. 436 silly addNameRange     '0.1.5',
  399. 436 silly addNameRange     '0.1.6',
  400. 436 silly addNameRange     '0.1.8',
  401. 436 silly addNameRange     '0.1.9',
  402. 436 silly addNameRange     '0.1.10',
  403. 436 silly addNameRange     '0.1.12',
  404. 436 silly addNameRange     '0.1.13',
  405. 436 silly addNameRange     '0.1.14' ] ]
  406. 437 verbose addNamed [ 'hiredis', '0.1.14' ]
  407. 438 verbose addNamed [ '0.1.14', '0.1.14' ]
  408. 439 silly lockFile e9c5aa12-hiredis-0-1-14 hiredis@0.1.14
  409. 440 verbose lock hiredis@0.1.14 /home/tnewhook/.npm/e9c5aa12-hiredis-0-1-14.lock
  410. 441 verbose read json /home/tnewhook/.npm/hiredis/0.1.14/package/package.json
  411. 442 warn package.json hiredis@0.1.14 No README.md file found!
  412. 443 silly lockFile e9c5aa12-hiredis-0-1-14 hiredis@0.1.14
  413. 444 silly lockFile 0a034785-hiredis hiredis@*
  414. 445 silly resolved [ { name: 'hiredis',
  415. 445 silly resolved     description: 'Wrapper for reply processing code in hiredis',
  416. 445 silly resolved     version: '0.1.14',
  417. 445 silly resolved     homepage: 'http://github.com/pietern/hiredis-node',
  418. 445 silly resolved     author: { name: 'Pieter Noordhuis', email: 'pcnoordhuis@gmail.com' },
  419. 445 silly resolved     main: 'hiredis',
  420. 445 silly resolved     directories: { lib: '.' },
  421. 445 silly resolved     scripts: { preinstall: 'make || gmake', test: 'node test/reader.js' },
  422. 445 silly resolved     engines: { node: '*' },
  423. 445 silly resolved     readme: 'ERROR: No README.md file found!',
  424. 445 silly resolved     readmeFilename: 'README',
  425. 445 silly resolved     _id: 'hiredis@0.1.14',
  426. 445 silly resolved     _from: 'hiredis@*' } ]
  427. 446 info install hiredis@0.1.14 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis
  428. 447 info installOne hiredis@0.1.14
  429. 448 verbose from cache /home/tnewhook/.npm/hiredis/0.1.14/package/package.json
  430. 449 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis unbuild
  431. 450 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis/package.json
  432. 451 verbose tar unpack /home/tnewhook/.npm/hiredis/0.1.14/package.tgz
  433. 452 silly lockFile 4b6faf21-dules-redis-node-modules-hiredis /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  434. 453 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis /home/tnewhook/.npm/4b6faf21-dules-redis-node-modules-hiredis.lock
  435. 454 silly gunzTarPerm modes [ '755', '644' ]
  436. 455 silly gunzTarPerm extractEntry package.json
  437. 456 silly gunzTarPerm extractEntry README
  438. 457 silly gunzTarPerm extractEntry bench.js
  439. 458 silly gunzTarPerm extractEntry hiredis.js
  440. 459 silly gunzTarPerm extractEntry parser_bench.js
  441. 460 silly gunzTarPerm extractEntry deps/hiredis/README.md
  442. 461 silly gunzTarPerm extractEntry deps/hiredis/example-libevent.c
  443. 462 silly gunzTarPerm extractEntry deps/hiredis/hiredis.h
  444. 463 silly gunzTarPerm extractEntry deps/hiredis/dict.c
  445. 464 silly gunzTarPerm extractEntry deps/hiredis/adapters/libev.h
  446. 465 silly gunzTarPerm extractEntry deps/hiredis/adapters/libevent.h
  447. 466 silly gunzTarPerm extractEntry deps/hiredis/adapters/ae.h
  448. 467 silly gunzTarPerm extractEntry deps/hiredis/sds.h
  449. 468 silly gunzTarPerm extractEntry deps/hiredis/test.c
  450. 469 silly gunzTarPerm extractEntry deps/hiredis/hiredis.c
  451. 470 silly gunzTarPerm extractEntry deps/hiredis/fmacros.h
  452. 471 silly gunzTarPerm extractEntry deps/hiredis/net.h
  453. 472 silly gunzTarPerm extractEntry deps/hiredis/example.c
  454. 473 silly gunzTarPerm extractEntry deps/hiredis/example-libev.c
  455. 474 silly gunzTarPerm extractEntry deps/hiredis/net.c
  456. 475 silly gunzTarPerm extractEntry deps/hiredis/example-ae.c
  457. 476 silly gunzTarPerm extractEntry deps/hiredis/Makefile
  458. 477 silly gunzTarPerm extractEntry deps/hiredis/async.c
  459. 478 silly gunzTarPerm extractEntry deps/hiredis/COPYING
  460. 479 silly gunzTarPerm extractEntry deps/hiredis/dict.h
  461. 480 silly gunzTarPerm extractEntry deps/hiredis/sds.c
  462. 481 silly gunzTarPerm extractEntry deps/hiredis/CHANGELOG.md
  463. 482 silly gunzTarPerm extractEntry deps/hiredis/async.h
  464. 483 silly gunzTarPerm extractEntry test/reader.js
  465. 484 silly gunzTarPerm extractEntry Makefile
  466. 485 silly gunzTarPerm extractEntry hiredis.cc
  467. 486 silly gunzTarPerm extractEntry reader.cc
  468. 487 silly gunzTarPerm extractEntry wscript
  469. 488 silly gunzTarPerm extractEntry reader.h
  470. 489 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis/package.json
  471. 490 silly lockFile 4b6faf21-dules-redis-node-modules-hiredis /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  472. 491 info preinstall hiredis@0.1.14
  473. 492 verbose unsafe-perm in lifecycle true
  474. 493 silly exec sh "-c" "make || gmake"
  475. 494 silly sh,-c,make || gmake,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis spawning
  476. 495 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/package.json
  477. 496 silly lockFile 28c3821e-io-node-modules-socket-io-client /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  478. 497 info preinstall socket.io-client@0.9.10
  479. 498 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/package.json
  480. 499 verbose readDependencies using package.json deps
  481. 500 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/package.json
  482. 501 verbose readDependencies using package.json deps
  483. 502 verbose cache add [ 'uglify-js@1.2.5', null ]
  484. 503 silly cache add name=undefined spec="uglify-js@1.2.5" args=["uglify-js@1.2.5",null]
  485. 504 verbose parsed url { pathname: 'uglify-js@1.2.5',
  486. 504 verbose parsed url   path: 'uglify-js@1.2.5',
  487. 504 verbose parsed url   href: 'uglify-js@1.2.5' }
  488. 505 silly cache add name="uglify-js" spec="1.2.5" args=["uglify-js","1.2.5"]
  489. 506 verbose parsed url { pathname: '1.2.5', path: '1.2.5', href: '1.2.5' }
  490. 507 verbose addNamed [ 'uglify-js', '1.2.5' ]
  491. 508 verbose addNamed [ '1.2.5', '1.2.5' ]
  492. 509 silly lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
  493. 510 verbose lock uglify-js@1.2.5 /home/tnewhook/.npm/7bec4d6c-uglify-js-1-2-5.lock
  494. 511 verbose cache add [ 'ws@0.4.x', null ]
  495. 512 silly cache add name=undefined spec="ws@0.4.x" args=["ws@0.4.x",null]
  496. 513 verbose parsed url { pathname: 'ws@0.4.x', path: 'ws@0.4.x', href: 'ws@0.4.x' }
  497. 514 silly cache add name="ws" spec="0.4.x" args=["ws","0.4.x"]
  498. 515 verbose parsed url { pathname: '0.4.x', path: '0.4.x', href: '0.4.x' }
  499. 516 verbose addNamed [ 'ws', '0.4.x' ]
  500. 517 verbose addNamed [ null, '>=0.4.0- <0.5.0-' ]
  501. 518 silly lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
  502. 519 verbose lock ws@0.4.x /home/tnewhook/.npm/5d9e9ce0-ws-0-4-x.lock
  503. 520 verbose cache add [ 'xmlhttprequest@1.4.2', null ]
  504. 521 silly cache add name=undefined spec="xmlhttprequest@1.4.2" args=["xmlhttprequest@1.4.2",null]
  505. 522 verbose parsed url { pathname: 'xmlhttprequest@1.4.2',
  506. 522 verbose parsed url   path: 'xmlhttprequest@1.4.2',
  507. 522 verbose parsed url   href: 'xmlhttprequest@1.4.2' }
  508. 523 silly cache add name="xmlhttprequest" spec="1.4.2" args=["xmlhttprequest","1.4.2"]
  509. 524 verbose parsed url { pathname: '1.4.2', path: '1.4.2', href: '1.4.2' }
  510. 525 verbose addNamed [ 'xmlhttprequest', '1.4.2' ]
  511. 526 verbose addNamed [ '1.4.2', '1.4.2' ]
  512. 527 silly lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
  513. 528 verbose lock xmlhttprequest@1.4.2 /home/tnewhook/.npm/55d2242a-xmlhttprequest-1-4-2.lock
  514. 529 verbose cache add [ 'active-x-obfuscator@0.0.1', null ]
  515. 530 silly cache add name=undefined spec="active-x-obfuscator@0.0.1" args=["active-x-obfuscator@0.0.1",null]
  516. 531 verbose parsed url { pathname: 'active-x-obfuscator@0.0.1',
  517. 531 verbose parsed url   path: 'active-x-obfuscator@0.0.1',
  518. 531 verbose parsed url   href: 'active-x-obfuscator@0.0.1' }
  519. 532 silly cache add name="active-x-obfuscator" spec="0.0.1" args=["active-x-obfuscator","0.0.1"]
  520. 533 verbose parsed url { pathname: '0.0.1', path: '0.0.1', href: '0.0.1' }
  521. 534 verbose addNamed [ 'active-x-obfuscator', '0.0.1' ]
  522. 535 verbose addNamed [ '0.0.1', '0.0.1' ]
  523. 536 silly lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
  524. 537 verbose lock active-x-obfuscator@0.0.1 /home/tnewhook/.npm/8a542afc-active-x-obfuscator-0-0-1.lock
  525. 538 silly addNameRange { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: false }
  526. 539 verbose url raw uglify-js/1.2.5
  527. 540 verbose url resolving [ 'https://registry.npmjs.org/', './uglify-js/1.2.5' ]
  528. 541 verbose url resolved https://registry.npmjs.org/uglify-js/1.2.5
  529. 542 info trying registry request attempt 1 at 10:43:05
  530. 543 verbose etag "B18OS8AFCCHMY2O3HEDQCV46C"
  531. 544 http GET https://registry.npmjs.org/uglify-js/1.2.5
  532. 545 verbose url raw ws
  533. 546 verbose url resolving [ 'https://registry.npmjs.org/', './ws' ]
  534. 547 verbose url resolved https://registry.npmjs.org/ws
  535. 548 info trying registry request attempt 1 at 10:43:05
  536. 549 verbose etag "DHL3GDT3MP0RQAS2WISOYXY69"
  537. 550 http GET https://registry.npmjs.org/ws
  538. 551 verbose url raw xmlhttprequest/1.4.2
  539. 552 verbose url resolving [ 'https://registry.npmjs.org/', './xmlhttprequest/1.4.2' ]
  540. 553 verbose url resolved https://registry.npmjs.org/xmlhttprequest/1.4.2
  541. 554 info trying registry request attempt 1 at 10:43:05
  542. 555 verbose etag "24FJFJIX5JPU2U69GU1IJ1ONJ"
  543. 556 http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
  544. 557 verbose url raw active-x-obfuscator/0.0.1
  545. 558 verbose url resolving [ 'https://registry.npmjs.org/', './active-x-obfuscator/0.0.1' ]
  546. 559 verbose url resolved https://registry.npmjs.org/active-x-obfuscator/0.0.1
  547. 560 info trying registry request attempt 1 at 10:43:05
  548. 561 verbose etag "5M9A642L9VWRWUP4U50RAZNYH"
  549. 562 http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
  550. 563 http 304 https://registry.npmjs.org/uglify-js/1.2.5
  551. 564 silly registry.get cb [ 304,
  552. 564 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  553. 564 silly registry.get     etag: '"B18OS8AFCCHMY2O3HEDQCV46C"',
  554. 564 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:10 GMT',
  555. 564 silly registry.get     'content-length': '0' } ]
  556. 565 verbose etag uglify-js/1.2.5 from cache
  557. 566 verbose read json /home/tnewhook/.npm/uglify-js/1.2.5/package/package.json
  558. 567 silly lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
  559. 568 http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
  560. 569 silly registry.get cb [ 304,
  561. 569 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  562. 569 silly registry.get     etag: '"5M9A642L9VWRWUP4U50RAZNYH"',
  563. 569 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:10 GMT',
  564. 569 silly registry.get     'content-length': '0' } ]
  565. 570 verbose etag active-x-obfuscator/0.0.1 from cache
  566. 571 verbose read json /home/tnewhook/.npm/active-x-obfuscator/0.0.1/package/package.json
  567. 572 silly lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
  568. 573 http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
  569. 574 silly registry.get cb [ 304,
  570. 574 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  571. 574 silly registry.get     etag: '"24FJFJIX5JPU2U69GU1IJ1ONJ"',
  572. 574 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:11 GMT',
  573. 574 silly registry.get     'content-length': '0' } ]
  574. 575 verbose etag xmlhttprequest/1.4.2 from cache
  575. 576 verbose read json /home/tnewhook/.npm/xmlhttprequest/1.4.2/package/package.json
  576. 577 silly lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
  577. 578 http 304 https://registry.npmjs.org/ws
  578. 579 silly registry.get cb [ 304,
  579. 579 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  580. 579 silly registry.get     etag: '"DHL3GDT3MP0RQAS2WISOYXY69"',
  581. 579 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:11 GMT',
  582. 579 silly registry.get     'content-length': '0' } ]
  583. 580 verbose etag ws from cache
  584. 581 silly addNameRange number 2 { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: true }
  585. 582 silly addNameRange versions [ 'ws',
  586. 582 silly addNameRange   [ '0.2.6',
  587. 582 silly addNameRange     '0.2.8',
  588. 582 silly addNameRange     '0.2.9',
  589. 582 silly addNameRange     '0.3.0',
  590. 582 silly addNameRange     '0.3.1',
  591. 582 silly addNameRange     '0.3.2',
  592. 582 silly addNameRange     '0.3.3',
  593. 582 silly addNameRange     '0.3.4',
  594. 582 silly addNameRange     '0.3.4-2',
  595. 582 silly addNameRange     '0.3.5',
  596. 582 silly addNameRange     '0.3.5-2',
  597. 582 silly addNameRange     '0.3.5-3',
  598. 582 silly addNameRange     '0.3.5-4',
  599. 582 silly addNameRange     '0.3.6',
  600. 582 silly addNameRange     '0.3.7',
  601. 582 silly addNameRange     '0.3.8',
  602. 582 silly addNameRange     '0.3.9',
  603. 582 silly addNameRange     '0.4.0',
  604. 582 silly addNameRange     '0.4.1',
  605. 582 silly addNameRange     '0.4.2',
  606. 582 silly addNameRange     '0.4.3',
  607. 582 silly addNameRange     '0.4.5',
  608. 582 silly addNameRange     '0.4.6',
  609. 582 silly addNameRange     '0.4.7',
  610. 582 silly addNameRange     '0.4.8',
  611. 582 silly addNameRange     '0.4.9',
  612. 582 silly addNameRange     '0.4.10',
  613. 582 silly addNameRange     '0.4.11',
  614. 582 silly addNameRange     '0.4.12',
  615. 582 silly addNameRange     '0.4.13',
  616. 582 silly addNameRange     '0.4.14',
  617. 582 silly addNameRange     '0.4.15',
  618. 582 silly addNameRange     '0.4.16',
  619. 582 silly addNameRange     '0.4.17',
  620. 582 silly addNameRange     '0.4.18',
  621. 582 silly addNameRange     '0.4.19',
  622. 582 silly addNameRange     '0.4.20',
  623. 582 silly addNameRange     '0.4.21',
  624. 582 silly addNameRange     '0.4.22' ] ]
  625. 583 verbose addNamed [ 'ws', '0.4.22' ]
  626. 584 verbose addNamed [ '0.4.22', '0.4.22' ]
  627. 585 silly lockFile 8e559077-ws-0-4-22 ws@0.4.22
  628. 586 verbose lock ws@0.4.22 /home/tnewhook/.npm/8e559077-ws-0-4-22.lock
  629. 587 verbose read json /home/tnewhook/.npm/ws/0.4.22/package/package.json
  630. 588 silly lockFile 8e559077-ws-0-4-22 ws@0.4.22
  631. 589 silly lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
  632. 590 silly resolved [ { name: 'uglify-js',
  633. 590 silly resolved     description: 'JavaScript parser and compressor/beautifier toolkit',
  634. 590 silly resolved     author:
  635. 590 silly resolved      { name: 'Mihai Bazon',
  636. 590 silly resolved        email: 'mihai.bazon@gmail.com',
  637. 590 silly resolved        url: 'http://mihai.bazon.net/blog' },
  638. 590 silly resolved     version: '1.2.5',
  639. 590 silly resolved     main: './uglify-js.js',
  640. 590 silly resolved     bin: { uglifyjs: './bin/uglifyjs' },
  641. 590 silly resolved     repository: { type: 'git', url: 'git@github.com:mishoo/UglifyJS.git' },
  642. 590 silly resolved     readme: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\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  th.center { text-align:center; }\n  td.right  { text-align:right;  }\n  td.left   { text-align:left;   }\n  td.center { 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="http://nodejs.org/">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="http://marijn.haverbeke.nl/parse-js/">parse-js</a> Common Lisp library from <a href="http://marijn.haverbeke.nl/">Marijn Haverbeke</a>.\n</p>\n<p>\n( See <a href="http://github.com/mishoo/cl-uglify-js">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;  foo.bar\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://github.com/mishoo/UglifyJS.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  =\'https://github.com\'<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> = device.name;\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="http://groups.google.com/group/uglifyjs">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="http://twitter.com/UglifyJS">@UglifyJS</a>\n</li>\n<li>Project at GitHub: <a href="http://github.com/mishoo/UglifyJS">http://github.com/mishoo/UglifyJS</a>\n</li>\n<li>Google Group: <a href="http://groups.google.com/group/uglifyjs">http://groups.google.com/group/uglifyjs</a>\n</li>\n<li>Common Lisp JS parser: <a href="http://marijn.haverbeke.nl/parse-js/">http://marijn.haverbeke.nl/parse-js/</a>\n</li>\n<li>JS-to-Lisp compiler: <a href="http://github.com/marijnh/js">http://github.com/marijnh/js</a>\n</li>\n<li>Common Lisp JS uglifier: <a href="http://github.com/mishoo/cl-uglify-js">http://github.com/mishoo/cl-uglify-js</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;mihai.bazon@gmail.com&gt;\nBased on parse-js (http://marijn.haverbeke.nl/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="http://marijn.haverbeke.nl/parse-js/">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="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>\n\n</div>\n</body>\n</html>\n',
  643. 590 silly resolved     readmeFilename: 'README.html',
  644. 590 silly resolved     _id: 'uglify-js@1.2.5',
  645. 590 silly resolved     _from: 'uglify-js@1.2.5' },
  646. 590 silly resolved   { author:
  647. 590 silly resolved      { name: 'Felix Geisendörfer',
  648. 590 silly resolved        email: 'felix@debuggable.com',
  649. 590 silly resolved        url: 'http://debuggable.com/' },
  650. 590 silly resolved     name: 'active-x-obfuscator',
  651. 590 silly resolved     description: 'A module to (safely) obfuscate all occurrences of the string \'ActiveX\' inside any JavaScript code.',
  652. 590 silly resolved     version: '0.0.1',
  653. 590 silly resolved     homepage: 'https://github.com/felixge/node-active-x-obfuscator',
  654. 590 silly resolved     repository:
  655. 590 silly resolved      { type: 'git',
  656. 590 silly resolved        url: 'git://github.com/felixge/node-active-x-obfuscator.git' },
  657. 590 silly resolved     main: './index',
  658. 590 silly resolved     scripts: { test: 'node test.js' },
  659. 590 silly resolved     engines: { node: '*' },
  660. 590 silly resolved     dependencies: { zeparser: '0.0.5' },
  661. 590 silly resolved     devDependencies: {},
  662. 590 silly resolved     optionalDependencies: {},
  663. 590 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 [socket.io][] 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[socket.io]: http://socket.io/\n',
  664. 590 silly resolved     readmeFilename: 'Readme.md',
  665. 590 silly resolved     _id: 'active-x-obfuscator@0.0.1',
  666. 590 silly resolved     _from: 'active-x-obfuscator@0.0.1' },
  667. 590 silly resolved   { name: 'xmlhttprequest',
  668. 590 silly resolved     description: 'XMLHttpRequest for Node',
  669. 590 silly resolved     version: '1.4.2',
  670. 590 silly resolved     author: { name: 'Dan DeFelippi', url: 'http://driverdan.com' },
  671. 590 silly resolved     keywords: [ 'xhr', 'ajax' ],
  672. 590 silly resolved     licenses: [ [Object] ],
  673. 590 silly resolved     repository:
  674. 590 silly resolved      { type: 'git',
  675. 590 silly resolved        url: 'git://github.com/driverdan/node-XMLHttpRequest.git' },
  676. 590 silly resolved     bugs: 'http://github.com/driverdan/node-XMLHttpRequest/issues',
  677. 590 silly resolved     engines: { node: '>=0.4.0' },
  678. 590 silly resolved     directories: { lib: './lib', example: './example' },
  679. 590 silly resolved     main: './lib/XMLHttpRequest.js',
  680. 590 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](http://www.w3.org/TR/XMLHttpRequest/). Version 2.0 will target [XMLHttpRequest Level 2](http://www.w3.org/TR/XMLHttpRequest2/).\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](https://github.com/driverdan/node-XMLHttpRequest/issues).\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',
  681. 590 silly resolved     readmeFilename: 'README.md',
  682. 590 silly resolved     _id: 'xmlhttprequest@1.4.2',
  683. 590 silly resolved     _from: 'xmlhttprequest@1.4.2' },
  684. 590 silly resolved   { author:
  685. 590 silly resolved      { name: 'Einar Otto Stangvik',
  686. 590 silly resolved        email: 'einaros@gmail.com',
  687. 590 silly resolved        url: 'http://2x.io' },
  688. 590 silly resolved     name: 'ws',
  689. 590 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',
  690. 590 silly resolved     version: '0.4.22',
  691. 590 silly resolved     repository: { type: 'git', url: 'git://github.com/einaros/ws.git' },
  692. 590 silly resolved     bin: { wscat: './bin/wscat' },
  693. 590 silly resolved     scripts: { test: 'make test', install: 'node install.js' },
  694. 590 silly resolved     engines: { node: '>=0.4.0' },
  695. 590 silly resolved     config: { verbose: false },
  696. 590 silly resolved     dependencies: { commander: '~0.6.1', tinycolor: '0.x', options: 'latest' },
  697. 590 silly resolved     devDependencies:
  698. 590 silly resolved      { mocha: '~1.2.1',
  699. 590 silly resolved        should: '0.6.x',
  700. 590 silly resolved        'expect.js': '0.1.x',
  701. 590 silly resolved        benchmark: '0.3.x',
  702. 590 silly resolved        ansi: 'latest' },
  703. 590 silly resolved     readme: '[![Build Status](https://secure.travis-ci.org/einaros/ws.png)](http://travis-ci.org/einaros/ws)\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](http://hobbycoding.posterous.com/the-fastest-websocket-module-for-nodejs).\n\nPasses the quite extensive Autobahn test suite. See http://einaros.github.com/ws 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 echo.websocket.org 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://www.host.com/path\');\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://www.host.com/path\');\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### echo.websocket.org demo ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://echo.websocket.org/\', {protocolVersion: 8, origin: \'http://websocket.org\'});\nws.on(\'open\', function() {\n    console.log(\'connected\');\n    ws.send(Date.now().toString(), {mask: true});\n});\nws.on(\'close\', function() {\n    console.log(\'disconnected\');\n});\nws.on(\'message\', function(data, flags) {\n    console.log(\'Roundtrip time: \' + (Date.now() - parseInt(data)) + \'ms\', flags);\n    setTimeout(function() {\n        ws.send(Date.now().toString(), {mask: true});\n    }, 500);\n});\n```\n\n### wscat against echo.websocket.org ###\n\n    $ npm install -g ws\n    $ wscat -c ws://echo.websocket.org -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;einaros@gmail.com&gt;\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',
  704. 590 silly resolved     readmeFilename: 'README.md',
  705. 590 silly resolved     _id: 'ws@0.4.22',
  706. 590 silly resolved     _from: 'ws@0.4.x' } ]
  707. 591 info install uglify-js@1.2.5 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  708. 592 info install active-x-obfuscator@0.0.1 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  709. 593 info install xmlhttprequest@1.4.2 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  710. 594 info install ws@0.4.22 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  711. 595 info installOne uglify-js@1.2.5
  712. 596 info installOne active-x-obfuscator@0.0.1
  713. 597 info installOne xmlhttprequest@1.4.2
  714. 598 info installOne ws@0.4.22
  715. 599 verbose from cache /home/tnewhook/.npm/uglify-js/1.2.5/package/package.json
  716. 600 verbose from cache /home/tnewhook/.npm/active-x-obfuscator/0.0.1/package/package.json
  717. 601 verbose from cache /home/tnewhook/.npm/xmlhttprequest/1.4.2/package/package.json
  718. 602 verbose from cache /home/tnewhook/.npm/ws/0.4.22/package/package.json
  719. 603 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js unbuild
  720. 604 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
  721. 605 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator unbuild
  722. 606 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
  723. 607 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest unbuild
  724. 608 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
  725. 609 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws unbuild
  726. 610 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  727. 611 verbose tar unpack /home/tnewhook/.npm/uglify-js/1.2.5/package.tgz
  728. 612 verbose tar unpack /home/tnewhook/.npm/active-x-obfuscator/0.0.1/package.tgz
  729. 613 verbose tar unpack /home/tnewhook/.npm/xmlhttprequest/1.4.2/package.tgz
  730. 614 verbose tar unpack /home/tnewhook/.npm/ws/0.4.22/package.tgz
  731. 615 silly lockFile 178707cd-io-client-node-modules-uglify-js /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
  732. 616 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js /home/tnewhook/.npm/178707cd-io-client-node-modules-uglify-js.lock
  733. 617 silly lockFile de89bf8a-node-modules-active-x-obfuscator /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
  734. 618 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator /home/tnewhook/.npm/de89bf8a-node-modules-active-x-obfuscator.lock
  735. 619 silly lockFile a536a433-ient-node-modules-xmlhttprequest /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
  736. 620 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest /home/tnewhook/.npm/a536a433-ient-node-modules-xmlhttprequest.lock
  737. 621 silly lockFile 788c199e-socket-io-client-node-modules-ws /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  738. 622 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws /home/tnewhook/.npm/788c199e-socket-io-client-node-modules-ws.lock
  739. 623 silly gunzTarPerm modes [ '755', '644' ]
  740. 624 silly gunzTarPerm modes [ '755', '644' ]
  741. 625 silly gunzTarPerm modes [ '755', '644' ]
  742. 626 silly gunzTarPerm modes [ '755', '644' ]
  743. 627 silly gunzTarPerm extractEntry package.json
  744. 628 silly gunzTarPerm extractEntry package.json
  745. 629 silly gunzTarPerm extractEntry package.json
  746. 630 silly gunzTarPerm extractEntry package.json
  747. 631 silly gunzTarPerm extractEntry .npmignore
  748. 632 silly gunzTarPerm extractEntry uglify-js.js
  749. 633 silly gunzTarPerm extractEntry .npmignore
  750. 634 silly gunzTarPerm extractEntry README.md
  751. 635 silly gunzTarPerm extractEntry README.md
  752. 636 silly gunzTarPerm extractEntry lib/XMLHttpRequest.js
  753. 637 silly gunzTarPerm extractEntry .npmignore
  754. 638 silly gunzTarPerm extractEntry test.js
  755. 639 silly gunzTarPerm extractEntry index.js
  756. 640 silly gunzTarPerm extractEntry install.js
  757. 641 silly gunzTarPerm extractEntry README.html
  758. 642 silly gunzTarPerm extractEntry lib/parse-js.js
  759. 643 silly gunzTarPerm extractEntry tests/test-headers.js
  760. 644 silly gunzTarPerm extractEntry tests/test-request-protocols.js
  761. 645 silly gunzTarPerm extractEntry tests/test-events.js
  762. 646 silly gunzTarPerm extractEntry tests/test-request-methods.js
  763. 647 silly gunzTarPerm extractEntry index.js
  764. 648 silly gunzTarPerm extractEntry Readme.md
  765. 649 silly gunzTarPerm extractEntry lib/squeeze-more.js
  766. 650 silly gunzTarPerm extractEntry lib/object-ast.js
  767. 651 silly gunzTarPerm extractEntry bench/util.js
  768. 652 silly gunzTarPerm extractEntry bench/parser.benchmark.js
  769. 653 silly gunzTarPerm extractEntry bench/speed.js
  770. 654 silly gunzTarPerm extractEntry bench/sender.benchmark.js
  771. 655 silly gunzTarPerm extractEntry tests/test-constants.js
  772. 656 silly gunzTarPerm extractEntry tests/test-exceptions.js
  773. 657 silly gunzTarPerm extractEntry binding.gyp
  774. 658 silly gunzTarPerm extractEntry src/bufferutil.cc
  775. 659 silly gunzTarPerm extractEntry tests/testdata.txt
  776. 660 silly gunzTarPerm extractEntry src/validation.cc
  777. 661 silly gunzTarPerm extractEntry example/demo.js
  778. 662 silly gunzTarPerm extractEntry History.md
  779. 663 silly gunzTarPerm extractEntry autotest.watchr
  780. 664 silly gunzTarPerm extractEntry examples/fileapi/package.json
  781. 665 silly gunzTarPerm extractEntry examples/fileapi/.npmignore
  782. 666 silly gunzTarPerm extractEntry lib/process.js
  783. 667 silly gunzTarPerm extractEntry examples/fileapi/server.js
  784. 668 silly gunzTarPerm extractEntry README.org
  785. 669 silly gunzTarPerm extractEntry docstyle.css
  786. 670 silly gunzTarPerm extractEntry tmp/goto.js
  787. 671 silly gunzTarPerm extractEntry tmp/goto2.js
  788. 672 silly gunzTarPerm extractEntry tmp/embed-tokens.js
  789. 673 silly gunzTarPerm extractEntry tmp/hoist.js
  790. 674 silly gunzTarPerm extractEntry tmp/uglify-hangs.js
  791. 675 silly gunzTarPerm extractEntry examples/fileapi/public/app.js
  792. 676 silly gunzTarPerm extractEntry examples/fileapi/public/uploader.js
  793. 677 silly gunzTarPerm extractEntry tmp/test.js
  794. 678 silly gunzTarPerm extractEntry tmp/liftvars.js
  795. 679 silly gunzTarPerm extractEntry tmp/instrument.js
  796. 680 silly gunzTarPerm extractEntry tmp/269.js
  797. 681 silly gunzTarPerm extractEntry tmp/app.js
  798. 682 silly gunzTarPerm extractEntry examples/fileapi/public/index.html
  799. 683 silly gunzTarPerm extractEntry examples/serverstats/package.json
  800. 684 silly gunzTarPerm extractEntry examples/serverstats/server.js
  801. 685 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
  802. 686 silly gunzTarPerm extractEntry examples/serverstats/public/index.html
  803. 687 silly gunzTarPerm extractEntry examples/serverstats-express_3/package.json
  804. 688 silly gunzTarPerm extractEntry examples/serverstats-express_3/server.js
  805. 689 silly lockFile de89bf8a-node-modules-active-x-obfuscator /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
  806. 690 silly gunzTarPerm extractEntry examples/serverstats-express_3/public/index.html
  807. 691 silly gunzTarPerm extractEntry Makefile
  808. 692 info preinstall active-x-obfuscator@0.0.1
  809. 693 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
  810. 694 verbose readDependencies using package.json deps
  811. 695 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
  812. 696 verbose readDependencies using package.json deps
  813. 697 verbose cache add [ 'zeparser@0.0.5', null ]
  814. 698 silly cache add name=undefined spec="zeparser@0.0.5" args=["zeparser@0.0.5",null]
  815. 699 verbose parsed url { pathname: 'zeparser@0.0.5',
  816. 699 verbose parsed url   path: 'zeparser@0.0.5',
  817. 699 verbose parsed url   href: 'zeparser@0.0.5' }
  818. 700 silly cache add name="zeparser" spec="0.0.5" args=["zeparser","0.0.5"]
  819. 701 verbose parsed url { pathname: '0.0.5', path: '0.0.5', href: '0.0.5' }
  820. 702 verbose addNamed [ 'zeparser', '0.0.5' ]
  821. 703 verbose addNamed [ '0.0.5', '0.0.5' ]
  822. 704 silly lockFile eb150454-zeparser-0-0-5 zeparser@0.0.5
  823. 705 verbose lock zeparser@0.0.5 /home/tnewhook/.npm/eb150454-zeparser-0-0-5.lock
  824. 706 silly gunzTarPerm extractEntry doc/ws.md
  825. 707 silly gunzTarPerm extractEntry bin/wscat
  826. 708 silly gunzTarPerm extractEntry .travis.yml
  827. 709 verbose url raw zeparser/0.0.5
  828. 710 verbose url resolving [ 'https://registry.npmjs.org/', './zeparser/0.0.5' ]
  829. 711 verbose url resolved https://registry.npmjs.org/zeparser/0.0.5
  830. 712 info trying registry request attempt 1 at 10:43:10
  831. 713 verbose etag "CWYDVPMUP7BLFCECRQQLX34JX"
  832. 714 http GET https://registry.npmjs.org/zeparser/0.0.5
  833. 715 silly gunzTarPerm extractEntry lib/Validation.fallback.js
  834. 716 silly gunzTarPerm extractEntry lib/BufferUtil.js
  835. 717 silly gunzTarPerm extractEntry lib/Receiver.hixie.js
  836. 718 silly gunzTarPerm extractEntry lib/Receiver.js
  837. 719 silly gunzTarPerm extractEntry lib/Sender.hixie.js
  838. 720 silly gunzTarPerm extractEntry lib/Sender.js
  839. 721 silly gunzTarPerm extractEntry lib/ErrorCodes.js
  840. 722 silly gunzTarPerm extractEntry lib/WebSocket.js
  841. 723 silly gunzTarPerm extractEntry lib/WebSocketServer.js
  842. 724 silly gunzTarPerm extractEntry tmp/uglify-hangs2.js
  843. 725 silly gunzTarPerm extractEntry tmp/instrument2.js
  844. 726 silly gunzTarPerm extractEntry bin/uglifyjs
  845. 727 silly gunzTarPerm extractEntry test/beautify.js
  846. 728 silly gunzTarPerm extractEntry test/testparser.js
  847. 729 silly gunzTarPerm extractEntry lib/Validation.js
  848. 730 silly gunzTarPerm extractEntry lib/BufferPool.js
  849. 731 silly gunzTarPerm extractEntry test/unit/scripts.js
  850. 732 silly gunzTarPerm extractEntry test/unit/compress/expected/if.js
  851. 733 silly gunzTarPerm extractEntry test/unit/compress/expected/issue29.js
  852. 734 silly gunzTarPerm extractEntry lib/BufferUtil.fallback.js
  853. 735 silly gunzTarPerm extractEntry test/unit/compress/expected/with.js
  854. 736 silly gunzTarPerm extractEntry test/unit/compress/expected/issue50.js
  855. 737 silly gunzTarPerm extractEntry test/unit/compress/expected/issue278.js
  856. 738 silly gunzTarPerm extractEntry test/unit/compress/expected/issue68.js
  857. 739 silly gunzTarPerm extractEntry test/unit/compress/expected/issue13.js
  858. 740 silly gunzTarPerm extractEntry test/unit/compress/expected/issue34.js
  859. 741 silly gunzTarPerm extractEntry test/unit/compress/expected/null_string.js
  860. 742 silly gunzTarPerm extractEntry test/unit/compress/expected/issue28.js
  861. 743 silly gunzTarPerm extractEntry test/unit/compress/expected/issue54.1.js
  862. 744 silly gunzTarPerm extractEntry test/unit/compress/expected/ifreturn2.js
  863. 745 silly gunzTarPerm extractEntry test/unit/compress/expected/strict-equals.js
  864. 746 silly gunzTarPerm extractEntry test/unit/compress/expected/forstatement.js
  865. 747 silly gunzTarPerm extractEntry test/WebSocketServer.test.js
  866. 748 silly gunzTarPerm extractEntry test/hybi-common.js
  867. 749 silly gunzTarPerm extractEntry test/unit/compress/expected/issue48.js
  868. 750 silly gunzTarPerm extractEntry test/unit/compress/expected/array3.js
  869. 751 silly gunzTarPerm extractEntry test/unit/compress/expected/issue30.js
  870. 752 silly gunzTarPerm extractEntry test/unit/compress/expected/issue16.js
  871. 753 silly gunzTarPerm extractEntry test/unit/compress/expected/issue17.js
  872. 754 silly gunzTarPerm extractEntry test/unit/compress/expected/empty-blocks.js
  873. 755 silly gunzTarPerm extractEntry test/unit/compress/expected/issue25.js
  874. 756 silly gunzTarPerm extractEntry test/unit/compress/expected/var.js
  875. 757 silly gunzTarPerm extractEntry test/unit/compress/expected/issue10.js
  876. 758 silly gunzTarPerm extractEntry test/unit/compress/expected/issue11.js
  877. 759 silly gunzTarPerm extractEntry test/unit/compress/expected/array2.js
  878. 760 silly gunzTarPerm extractEntry test/unit/compress/expected/whitespace.js
  879. 761 silly gunzTarPerm extractEntry test/unit/compress/expected/issue14.js
  880. 762 silly gunzTarPerm extractEntry test/autobahn-server.js
  881. 763 silly gunzTarPerm extractEntry test/autobahn.js
  882. 764 silly gunzTarPerm extractEntry test/unit/compress/expected/issue53.js
  883. 765 silly gunzTarPerm extractEntry test/unit/compress/expected/ifreturn.js
  884. 766 silly gunzTarPerm extractEntry test/Sender.hixie.test.js
  885. 767 silly gunzTarPerm extractEntry test/unit/compress/expected/issue20.js
  886. 768 silly gunzTarPerm extractEntry test/WebSocket.test.js
  887. 769 silly gunzTarPerm extractEntry test/unit/compress/expected/issue4.js
  888. 770 silly gunzTarPerm extractEntry test/testserver.js
  889. 771 silly gunzTarPerm extractEntry test/unit/compress/expected/assignment.js
  890. 772 silly gunzTarPerm extractEntry test/unit/compress/expected/issue21.js
  891. 773 silly gunzTarPerm extractEntry test/unit/compress/expected/mangle.js
  892. 774 silly gunzTarPerm extractEntry test/BufferPool.test.js
  893. 775 silly gunzTarPerm extractEntry test/Receiver.hixie.test.js
  894. 776 silly gunzTarPerm extractEntry test/unit/compress/expected/array1.js
  895. 777 silly gunzTarPerm extractEntry test/unit/compress/expected/array4.js
  896. 778 silly gunzTarPerm extractEntry test/unit/compress/expected/issue27.js
  897. 779 silly gunzTarPerm extractEntry test/unit/compress/expected/const.js
  898. 780 silly gunzTarPerm extractEntry test/unit/compress/expected/issue69.js
  899. 781 silly gunzTarPerm extractEntry test/unit/compress/expected/issue9.js
  900. 782 silly gunzTarPerm extractEntry test/unit/compress/expected/concatstring.js
  901. 783 silly gunzTarPerm extractEntry test/unit/compress/test/if.js
  902. 784 silly gunzTarPerm extractEntry test/unit/compress/test/issue29.js
  903. 785 silly gunzTarPerm extractEntry test/unit/compress/test/with.js
  904. 786 silly gunzTarPerm extractEntry test/unit/compress/test/issue50.js
  905. 787 silly gunzTarPerm extractEntry test/unit/compress/test/issue278.js
  906. 788 silly gunzTarPerm extractEntry test/unit/compress/test/issue68.js
  907. 789 silly gunzTarPerm extractEntry test/unit/compress/test/issue13.js
  908. 790 silly gunzTarPerm extractEntry test/unit/compress/test/issue34.js
  909. 791 silly gunzTarPerm extractEntry test/unit/compress/test/null_string.js
  910. 792 silly gunzTarPerm extractEntry test/unit/compress/test/issue28.js
  911. 793 silly gunzTarPerm extractEntry test/unit/compress/test/issue54.1.js
  912. 794 silly gunzTarPerm extractEntry test/unit/compress/test/ifreturn2.js
  913. 795 silly gunzTarPerm extractEntry test/unit/compress/test/strict-equals.js
  914. 796 silly gunzTarPerm extractEntry test/unit/compress/test/forstatement.js
  915. 797 silly gunzTarPerm extractEntry test/unit/compress/test/issue48.js
  916. 798 silly gunzTarPerm extractEntry test/unit/compress/test/array3.js
  917. 799 silly gunzTarPerm extractEntry test/unit/compress/test/issue30.js
  918. 800 silly gunzTarPerm extractEntry test/unit/compress/test/issue16.js
  919. 801 silly gunzTarPerm extractEntry test/unit/compress/test/issue17.js
  920. 802 silly gunzTarPerm extractEntry test/Sender.test.js
  921. 803 silly gunzTarPerm extractEntry test/WebSocket.integration.js
  922. 804 silly gunzTarPerm extractEntry test/unit/compress/test/empty-blocks.js
  923. 805 silly gunzTarPerm extractEntry test/unit/compress/test/issue25.js
  924. 806 silly gunzTarPerm extractEntry test/Receiver.test.js
  925. 807 silly gunzTarPerm extractEntry test/unit/compress/test/var.js
  926. 808 silly gunzTarPerm extractEntry test/Validation.test.js
  927. 809 silly gunzTarPerm extractEntry test/unit/compress/test/issue10.js
  928. 810 silly gunzTarPerm extractEntry test/fixtures/request.pem
  929. 811 silly gunzTarPerm extractEntry test/unit/compress/test/issue11.js
  930. 812 silly gunzTarPerm extractEntry test/fixtures/certificate.pem
  931. 813 silly gunzTarPerm extractEntry test/unit/compress/test/array2.js
  932. 814 silly gunzTarPerm extractEntry test/fixtures/key.pem
  933. 815 silly gunzTarPerm extractEntry test/unit/compress/test/whitespace.js
  934. 816 silly gunzTarPerm extractEntry test/fixtures/textfile
  935. 817 silly gunzTarPerm extractEntry test/unit/compress/test/issue14.js
  936. 818 silly gunzTarPerm extractEntry test/unit/compress/test/issue53.js
  937. 819 silly gunzTarPerm extractEntry test/unit/compress/test/ifreturn.js
  938. 820 silly gunzTarPerm extractEntry test/unit/compress/test/issue20.js
  939. 821 silly gunzTarPerm extractEntry test/unit/compress/test/issue4.js
  940. 822 silly gunzTarPerm extractEntry test/unit/compress/test/assignment.js
  941. 823 silly gunzTarPerm extractEntry test/unit/compress/test/issue21.js
  942. 824 silly gunzTarPerm extractEntry test/unit/compress/test/mangle.js
  943. 825 silly gunzTarPerm extractEntry test/unit/compress/test/array1.js
  944. 826 silly gunzTarPerm extractEntry test/unit/compress/test/array4.js
  945. 827 silly gunzTarPerm extractEntry test/unit/compress/test/issue27.js
  946. 828 silly gunzTarPerm extractEntry test/unit/compress/test/const.js
  947. 829 silly gunzTarPerm extractEntry test/unit/compress/test/issue69.js
  948. 830 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
  949. 831 silly gunzTarPerm extractEntry test/unit/compress/test/issue9.js
  950. 832 silly gunzTarPerm extractEntry test/unit/compress/test/concatstring.js
  951. 833 silly gunzTarPerm extractEntry package.json~
  952. 834 silly lockFile a536a433-ient-node-modules-xmlhttprequest /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
  953. 835 info preinstall xmlhttprequest@1.4.2
  954. 836 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
  955. 837 verbose readDependencies using package.json deps
  956. 838 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
  957. 839 verbose readDependencies using package.json deps
  958. 840 silly resolved []
  959. 841 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
  960. 842 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
  961. 843 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
  962. 844 verbose linkStuff [ false,
  963. 844 verbose linkStuff   false,
  964. 844 verbose linkStuff   false,
  965. 844 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
  966. 845 info linkStuff xmlhttprequest@1.4.2
  967. 846 verbose linkBins xmlhttprequest@1.4.2
  968. 847 verbose linkMans xmlhttprequest@1.4.2
  969. 848 verbose rebuildBundles xmlhttprequest@1.4.2
  970. 849 info install xmlhttprequest@1.4.2
  971. 850 info postinstall xmlhttprequest@1.4.2
  972. 851 http 304 https://registry.npmjs.org/zeparser/0.0.5
  973. 852 silly registry.get cb [ 304,
  974. 852 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  975. 852 silly registry.get     etag: '"CWYDVPMUP7BLFCECRQQLX34JX"',
  976. 852 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:16 GMT',
  977. 852 silly registry.get     'content-length': '0' } ]
  978. 853 verbose etag zeparser/0.0.5 from cache
  979. 854 verbose read json /home/tnewhook/.npm/zeparser/0.0.5/package/package.json
  980. 855 silly lockFile eb150454-zeparser-0-0-5 zeparser@0.0.5
  981. 856 silly resolved [ { author: { name: 'Peter van der Zee', url: 'http://qfox.nl/' },
  982. 856 silly resolved     name: 'zeparser',
  983. 856 silly resolved     description: 'My JavaScript parser',
  984. 856 silly resolved     version: '0.0.5',
  985. 856 silly resolved     homepage: 'https://github.com/qfox/ZeParser/',
  986. 856 silly resolved     repository: { type: 'git', url: 'git://github.com/qfox/ZeParser.git' },
  987. 856 silly resolved     main: './index',
  988. 856 silly resolved     engines: { node: '*' },
  989. 856 silly resolved     dependencies: {},
  990. 856 silly resolved     devDependencies: {},
  991. 856 silly resolved     readme: 'This is a JavaScript parser.\nhttp://github.com/qfox/ZeParser\n(c) Peter van der Zee\nhttp://qfox.nl\n\n\nBenchmark\nhttp://qfox.github.com/ZeParser/benchmark.html\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',
  992. 856 silly resolved     readmeFilename: 'README',
  993. 856 silly resolved     _id: 'zeparser@0.0.5',
  994. 856 silly resolved     _from: 'zeparser@0.0.5' } ]
  995. 857 info install zeparser@0.0.5 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
  996. 858 info installOne zeparser@0.0.5
  997. 859 verbose from cache /home/tnewhook/.npm/zeparser/0.0.5/package/package.json
  998. 860 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser unbuild
  999. 861 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/package.json
  1000. 862 verbose tar unpack /home/tnewhook/.npm/zeparser/0.0.5/package.tgz
  1001. 863 silly lockFile f64c3e05-obfuscator-node-modules-zeparser /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser
  1002. 864 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser /home/tnewhook/.npm/f64c3e05-obfuscator-node-modules-zeparser.lock
  1003. 865 silly gunzTarPerm modes [ '755', '644' ]
  1004. 866 silly gunzTarPerm extractEntry package.json
  1005. 867 silly gunzTarPerm extractEntry .npmignore
  1006. 868 silly gunzTarPerm extractEntry README
  1007. 869 silly gunzTarPerm extractEntry LICENSE
  1008. 870 silly gunzTarPerm extractEntry tests.js
  1009. 871 silly gunzTarPerm extractEntry ZeParser.js
  1010. 872 silly gunzTarPerm extractEntry Tokenizer.js
  1011. 873 silly gunzTarPerm extractEntry unicodecategories.js
  1012. 874 silly gunzTarPerm extractEntry index.js
  1013. 875 silly gunzTarPerm extractEntry test-parser.html
  1014. 876 silly gunzTarPerm extractEntry test-tokenizer.html
  1015. 877 silly gunzTarPerm extractEntry benchmark.html
  1016. 878 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  1017. 879 silly lockFile 788c199e-socket-io-client-node-modules-ws /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1018. 880 info preinstall ws@0.4.22
  1019. 881 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  1020. 882 verbose readDependencies using package.json deps
  1021. 883 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  1022. 884 verbose readDependencies using package.json deps
  1023. 885 verbose cache add [ 'commander@~0.6.1', null ]
  1024. 886 silly cache add name=undefined spec="commander@~0.6.1" args=["commander@~0.6.1",null]
  1025. 887 verbose parsed url { pathname: 'commander@~0.6.1',
  1026. 887 verbose parsed url   path: 'commander@~0.6.1',
  1027. 887 verbose parsed url   href: 'commander@~0.6.1' }
  1028. 888 silly cache add name="commander" spec="~0.6.1" args=["commander","~0.6.1"]
  1029. 889 verbose parsed url { pathname: '~0.6.1', path: '~0.6.1', href: '~0.6.1' }
  1030. 890 verbose addNamed [ 'commander', '~0.6.1' ]
  1031. 891 verbose addNamed [ null, '>=0.6.1- <0.7.0-' ]
  1032. 892 silly lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
  1033. 893 verbose lock commander@~0.6.1 /home/tnewhook/.npm/5c53196d-commander-0-6-1.lock
  1034. 894 verbose cache add [ 'tinycolor@0.x', null ]
  1035. 895 silly cache add name=undefined spec="tinycolor@0.x" args=["tinycolor@0.x",null]
  1036. 896 verbose parsed url { pathname: 'tinycolor@0.x',
  1037. 896 verbose parsed url   path: 'tinycolor@0.x',
  1038. 896 verbose parsed url   href: 'tinycolor@0.x' }
  1039. 897 silly cache add name="tinycolor" spec="0.x" args=["tinycolor","0.x"]
  1040. 898 verbose parsed url { pathname: '0.x', path: '0.x', href: '0.x' }
  1041. 899 verbose addNamed [ 'tinycolor', '0.x' ]
  1042. 900 verbose addNamed [ null, '>=0.0.0- <1.0.0-' ]
  1043. 901 silly lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
  1044. 902 verbose lock tinycolor@0.x /home/tnewhook/.npm/8f23180d-tinycolor-0-x.lock
  1045. 903 verbose cache add [ 'options@latest', null ]
  1046. 904 silly cache add name=undefined spec="options@latest" args=["options@latest",null]
  1047. 905 verbose parsed url { pathname: 'options@latest',
  1048. 905 verbose parsed url   path: 'options@latest',
  1049. 905 verbose parsed url   href: 'options@latest' }
  1050. 906 silly cache add name="options" spec="latest" args=["options","latest"]
  1051. 907 verbose parsed url { pathname: 'latest', path: 'latest', href: 'latest' }
  1052. 908 verbose addNamed [ 'options', 'latest' ]
  1053. 909 verbose addNamed [ null, null ]
  1054. 910 silly lockFile 479efb46-options-latest options@latest
  1055. 911 verbose lock options@latest /home/tnewhook/.npm/479efb46-options-latest.lock
  1056. 912 silly addNameRange { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: false }
  1057. 913 silly addNameRange { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: false }
  1058. 914 info addNameTag [ 'options', 'latest' ]
  1059. 915 verbose url raw commander
  1060. 916 verbose url resolving [ 'https://registry.npmjs.org/', './commander' ]
  1061. 917 verbose url resolved https://registry.npmjs.org/commander
  1062. 918 info trying registry request attempt 1 at 10:43:18
  1063. 919 verbose etag "43KILCKGOVM6GDNL0PMXVWVC5"
  1064. 920 http GET https://registry.npmjs.org/commander
  1065. 921 verbose url raw tinycolor
  1066. 922 verbose url resolving [ 'https://registry.npmjs.org/', './tinycolor' ]
  1067. 923 verbose url resolved https://registry.npmjs.org/tinycolor
  1068. 924 info trying registry request attempt 1 at 10:43:18
  1069. 925 verbose etag "70U88D2SSX6YPNTHGKAI9PV2D"
  1070. 926 http GET https://registry.npmjs.org/tinycolor
  1071. 927 verbose url raw options
  1072. 928 verbose url resolving [ 'https://registry.npmjs.org/', './options' ]
  1073. 929 verbose url resolved https://registry.npmjs.org/options
  1074. 930 info trying registry request attempt 1 at 10:43:18
  1075. 931 verbose etag "EW9FGKND7HXBPO21IYP5S8R6X"
  1076. 932 http GET https://registry.npmjs.org/options
  1077. 933 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis/package.json
  1078. 934 verbose readDependencies using package.json deps
  1079. 935 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis/package.json
  1080. 936 verbose readDependencies using package.json deps
  1081. 937 silly resolved []
  1082. 938 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  1083. 939 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  1084. 940 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules/hiredis/package.json
  1085. 941 verbose linkStuff [ false,
  1086. 941 verbose linkStuff   false,
  1087. 941 verbose linkStuff   false,
  1088. 941 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/node_modules' ]
  1089. 942 info linkStuff hiredis@0.1.14
  1090. 943 verbose linkBins hiredis@0.1.14
  1091. 944 verbose linkMans hiredis@0.1.14
  1092. 945 verbose rebuildBundles hiredis@0.1.14
  1093. 946 info install hiredis@0.1.14
  1094. 947 info postinstall hiredis@0.1.14
  1095. 948 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis
  1096. 949 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis
  1097. 950 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/redis/package.json
  1098. 951 verbose linkStuff [ false,
  1099. 951 verbose linkStuff   false,
  1100. 951 verbose linkStuff   false,
  1101. 951 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules' ]
  1102. 952 info linkStuff redis@0.7.2
  1103. 953 verbose linkBins redis@0.7.2
  1104. 954 verbose linkMans redis@0.7.2
  1105. 955 verbose rebuildBundles redis@0.7.2
  1106. 956 verbose rebuildBundles [ 'hiredis' ]
  1107. 957 info install redis@0.7.2
  1108. 958 info postinstall redis@0.7.2
  1109. 959 http 304 https://registry.npmjs.org/tinycolor
  1110. 960 silly registry.get cb [ 304,
  1111. 960 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  1112. 960 silly registry.get     etag: '"70U88D2SSX6YPNTHGKAI9PV2D"',
  1113. 960 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:25 GMT',
  1114. 960 silly registry.get     'content-length': '0' } ]
  1115. 961 verbose etag tinycolor from cache
  1116. 962 silly addNameRange number 2 { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: true }
  1117. 963 silly addNameRange versions [ 'tinycolor', [ '0.0.1' ] ]
  1118. 964 verbose addNamed [ 'tinycolor', '0.0.1' ]
  1119. 965 verbose addNamed [ '0.0.1', '0.0.1' ]
  1120. 966 silly lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
  1121. 967 verbose lock tinycolor@0.0.1 /home/tnewhook/.npm/8ace0652-tinycolor-0-0-1.lock
  1122. 968 verbose read json /home/tnewhook/.npm/tinycolor/0.0.1/package/package.json
  1123. 969 silly lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
  1124. 970 silly lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
  1125. 971 http 304 https://registry.npmjs.org/commander
  1126. 972 silly registry.get cb [ 304,
  1127. 972 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  1128. 972 silly registry.get     etag: '"43KILCKGOVM6GDNL0PMXVWVC5"',
  1129. 972 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:25 GMT',
  1130. 972 silly registry.get     'content-length': '0' } ]
  1131. 973 verbose etag commander from cache
  1132. 974 silly addNameRange number 2 { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: true }
  1133. 975 silly addNameRange versions [ 'commander',
  1134. 975 silly addNameRange   [ '0.0.1',
  1135. 975 silly addNameRange     '0.0.3',
  1136. 975 silly addNameRange     '0.0.4',
  1137. 975 silly addNameRange     '0.0.5',
  1138. 975 silly addNameRange     '0.1.0',
  1139. 975 silly addNameRange     '0.2.0',
  1140. 975 silly addNameRange     '0.2.1',
  1141. 975 silly addNameRange     '0.3.0',
  1142. 975 silly addNameRange     '0.3.1',
  1143. 975 silly addNameRange     '0.3.2',
  1144. 975 silly addNameRange     '0.3.3',
  1145. 975 silly addNameRange     '0.4.0',
  1146. 975 silly addNameRange     '0.4.1',
  1147. 975 silly addNameRange     '0.4.2',
  1148. 975 silly addNameRange     '0.4.3',
  1149. 975 silly addNameRange     '0.5.0',
  1150. 975 silly addNameRange     '0.5.1',
  1151. 975 silly addNameRange     '0.6.0',
  1152. 975 silly addNameRange     '0.6.1',
  1153. 975 silly addNameRange     '0.5.2',
  1154. 975 silly addNameRange     '1.0.0',
  1155. 975 silly addNameRange     '1.0.1',
  1156. 975 silly addNameRange     '1.0.2',
  1157. 975 silly addNameRange     '1.0.3',
  1158. 975 silly addNameRange     '1.0.4',
  1159. 975 silly addNameRange     '1.0.5' ] ]
  1160. 976 verbose addNamed [ 'commander', '0.6.1' ]
  1161. 977 verbose addNamed [ '0.6.1', '0.6.1' ]
  1162. 978 silly lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
  1163. 979 verbose lock commander@0.6.1 /home/tnewhook/.npm/fa16a2ce-commander-0-6-1.lock
  1164. 980 verbose read json /home/tnewhook/.npm/commander/0.6.1/package/package.json
  1165. 981 silly lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
  1166. 982 silly lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
  1167. 983 http 304 https://registry.npmjs.org/options
  1168. 984 silly registry.get cb [ 304,
  1169. 984 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
  1170. 984 silly registry.get     etag: '"EW9FGKND7HXBPO21IYP5S8R6X"',
  1171. 984 silly registry.get     date: 'Wed, 17 Oct 2012 02:43:27 GMT',
  1172. 984 silly registry.get     'content-length': '0' } ]
  1173. 985 verbose etag options from cache
  1174. 986 verbose addNamed [ 'options', '0.0.3' ]
  1175. 987 verbose addNamed [ '0.0.3', '0.0.3' ]
  1176. 988 silly lockFile 82d09623-options-0-0-3 options@0.0.3
  1177. 989 verbose lock options@0.0.3 /home/tnewhook/.npm/82d09623-options-0-0-3.lock
  1178. 990 verbose read json /home/tnewhook/.npm/options/0.0.3/package/package.json
  1179. 991 silly lockFile 82d09623-options-0-0-3 options@0.0.3
  1180. 992 silly lockFile 479efb46-options-latest options@latest
  1181. 993 silly resolved [ { author:
  1182. 993 silly resolved      { name: 'Einar Otto Stangvik',
  1183. 993 silly resolved        email: 'einaros@gmail.com',
  1184. 993 silly resolved        url: 'http://2x.io' },
  1185. 993 silly resolved     name: 'tinycolor',
  1186. 993 silly resolved     description: 'a to-the-point color module for node',
  1187. 993 silly resolved     version: '0.0.1',
  1188. 993 silly resolved     repository: { type: 'git', url: 'git://github.com/einaros/tinycolor.git' },
  1189. 993 silly resolved     engines: { node: '>=0.4.0' },
  1190. 993 silly resolved     dependencies: {},
  1191. 993 silly resolved     devDependencies: {},
  1192. 993 silly resolved     main: 'tinycolor',
  1193. 993 silly resolved     readme: '# tinycolor #\n\nThis is a no-fuzz, barebone, zero muppetry color module for node.js.',
  1194. 993 silly resolved     readmeFilename: 'README.md',
  1195. 993 silly resolved     _id: 'tinycolor@0.0.1',
  1196. 993 silly resolved     _from: 'tinycolor@0.x' },
  1197. 993 silly resolved   { name: 'commander',
  1198. 993 silly resolved     version: '0.6.1',
  1199. 993 silly resolved     description: 'the complete solution for node.js command-line programs',
  1200. 993 silly resolved     keywords: [ 'command', 'option', 'parser', 'prompt', 'stdin' ],
  1201. 993 silly resolved     author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
  1202. 993 silly resolved     repository:
  1203. 993 silly resolved      { type: 'git',
  1204. 993 silly resolved        url: 'https://github.com/visionmedia/commander.js.git' },
  1205. 993 silly resolved     dependencies: {},
  1206. 993 silly resolved     devDependencies: { should: '>= 0.0.1' },
  1207. 993 silly resolved     scripts: { test: 'make test' },
  1208. 993 silly resolved     main: 'index',
  1209. 993 silly resolved     engines: { node: '>= 0.4.x' },
  1210. 993 silly resolved     readme: '# Commander.js\n\n  The complete solution for [node.js](http://nodejs.org) command-line interfaces, inspired by Ruby\'s [commander](https://github.com/visionmedia/commander).\n\n [![Build Status](https://secure.travis-ci.org/visionmedia/commander.js.png)](http://travis-ci.org/visionmedia/commander.js)\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](http://visionmedia.github.com/commander.js/)\n - [ascii tables](https://github.com/LearnBoost/cli-table)\n - [progress bars](https://github.com/visionmedia/node-progress)\n - [more progress bars](https://github.com/substack/node-multimeter)\n - [examples](https://github.com/visionmedia/commander.js/tree/master/examples)\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 TJ Holowaychuk &lt;tj@vision-media.ca&gt;\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.',
  1211. 993 silly resolved     readmeFilename: 'Readme.md',
  1212. 993 silly resolved     _id: 'commander@0.6.1',
  1213. 993 silly resolved     _from: 'commander@~0.6.1' },
  1214. 993 silly resolved   { author:
  1215. 993 silly resolved      { name: 'Einar Otto Stangvik',
  1216. 993 silly resolved        email: 'einaros@gmail.com',
  1217. 993 silly resolved        url: 'http://2x.io' },
  1218. 993 silly resolved     name: 'options',
  1219. 993 silly resolved     description: 'A very light-weight in-code option parsers for node.js.',
  1220. 993 silly resolved     version: '0.0.3',
  1221. 993 silly resolved     repository: { type: 'git', url: 'git://github.com/einaros/options.js.git' },
  1222. 993 silly resolved     main: 'lib/options',
  1223. 993 silly resolved     scripts: { test: 'make test' },
  1224. 993 silly resolved     engines: { node: '>=0.4.0' },
  1225. 993 silly resolved     dependencies: {},
  1226. 993 silly resolved     devDependencies: { mocha: 'latest', 'expect.js': 'latest' },
  1227. 993 silly resolved     readme: '# options.js #\n\nA very light-weight in-code option parsers for node.js.\n',
  1228. 993 silly resolved     readmeFilename: 'README.md',
  1229. 993 silly resolved     _id: 'options@0.0.3',
  1230. 993 silly resolved     _from: 'options@latest' } ]
  1231. 994 info install tinycolor@0.0.1 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1232. 995 info install commander@0.6.1 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1233. 996 info install options@0.0.3 into /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1234. 997 info installOne tinycolor@0.0.1
  1235. 998 info installOne commander@0.6.1
  1236. 999 info installOne options@0.0.3
  1237. 1000 verbose from cache /home/tnewhook/.npm/tinycolor/0.0.1/package/package.json
  1238. 1001 verbose from cache /home/tnewhook/.npm/commander/0.6.1/package/package.json
  1239. 1002 verbose from cache /home/tnewhook/.npm/options/0.0.3/package/package.json
  1240. 1003 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor unbuild
  1241. 1004 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
  1242. 1005 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander unbuild
  1243. 1006 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
  1244. 1007 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options unbuild
  1245. 1008 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json
  1246. 1009 verbose tar unpack /home/tnewhook/.npm/tinycolor/0.0.1/package.tgz
  1247. 1010 silly lockFile e0a4d306-odules-ws-node-modules-tinycolor /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
  1248. 1011 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor /home/tnewhook/.npm/e0a4d306-odules-ws-node-modules-tinycolor.lock
  1249. 1012 verbose tar unpack /home/tnewhook/.npm/options/0.0.3/package.tgz
  1250. 1013 silly lockFile e16dd96d--modules-ws-node-modules-options /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options
  1251. 1014 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options /home/tnewhook/.npm/e16dd96d--modules-ws-node-modules-options.lock
  1252. 1015 silly gunzTarPerm modes [ '755', '644' ]
  1253. 1016 silly gunzTarPerm modes [ '755', '644' ]
  1254. 1017 verbose tar unpack /home/tnewhook/.npm/commander/0.6.1/package.tgz
  1255. 1018 silly lockFile 156a0e0f-odules-ws-node-modules-commander /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
  1256. 1019 verbose lock /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander /home/tnewhook/.npm/156a0e0f-odules-ws-node-modules-commander.lock
  1257. 1020 silly gunzTarPerm extractEntry package.json
  1258. 1021 silly gunzTarPerm modes [ '755', '644' ]
  1259. 1022 silly gunzTarPerm extractEntry .npmignore
  1260. 1023 silly gunzTarPerm extractEntry README.md
  1261. 1024 silly gunzTarPerm extractEntry package.json
  1262. 1025 silly gunzTarPerm extractEntry package.json
  1263. 1026 silly gunzTarPerm extractEntry .npmignore
  1264. 1027 silly gunzTarPerm extractEntry README.md
  1265. 1028 silly gunzTarPerm extractEntry .npmignore
  1266. 1029 silly gunzTarPerm extractEntry index.js
  1267. 1030 silly gunzTarPerm extractEntry tinycolor.js
  1268. 1031 silly gunzTarPerm extractEntry example.js
  1269. 1032 silly gunzTarPerm extractEntry lib/options.js
  1270. 1033 silly gunzTarPerm extractEntry Makefile
  1271. 1034 silly gunzTarPerm extractEntry History.md
  1272. 1035 silly gunzTarPerm extractEntry lib/commander.js
  1273. 1036 silly gunzTarPerm extractEntry Readme.md
  1274. 1037 silly gunzTarPerm extractEntry Makefile
  1275. 1038 silly gunzTarPerm extractEntry test/options.test.js
  1276. 1039 silly gunzTarPerm extractEntry test/fixtures/test.conf
  1277. 1040 silly gunzTarPerm extractEntry .travis.yml
  1278. 1041 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
  1279. 1042 silly lockFile e0a4d306-odules-ws-node-modules-tinycolor /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
  1280. 1043 info preinstall tinycolor@0.0.1
  1281. 1044 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
  1282. 1045 verbose readDependencies using package.json deps
  1283. 1046 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
  1284. 1047 verbose readDependencies using package.json deps
  1285. 1048 silly resolved []
  1286. 1049 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
  1287. 1050 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
  1288. 1051 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
  1289. 1052 verbose linkStuff [ false,
  1290. 1052 verbose linkStuff   false,
  1291. 1052 verbose linkStuff   false,
  1292. 1052 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules' ]
  1293. 1053 info linkStuff tinycolor@0.0.1
  1294. 1054 verbose linkBins tinycolor@0.0.1
  1295. 1055 verbose linkMans tinycolor@0.0.1
  1296. 1056 verbose rebuildBundles tinycolor@0.0.1
  1297. 1057 info install tinycolor@0.0.1
  1298. 1058 info postinstall tinycolor@0.0.1
  1299. 1059 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json
  1300. 1060 silly lockFile e16dd96d--modules-ws-node-modules-options /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options
  1301. 1061 info preinstall options@0.0.3
  1302. 1062 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json
  1303. 1063 verbose readDependencies using package.json deps
  1304. 1064 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json
  1305. 1065 verbose readDependencies using package.json deps
  1306. 1066 silly resolved []
  1307. 1067 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options
  1308. 1068 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options
  1309. 1069 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/options/package.json
  1310. 1070 verbose linkStuff [ false,
  1311. 1070 verbose linkStuff   false,
  1312. 1070 verbose linkStuff   false,
  1313. 1070 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules' ]
  1314. 1071 info linkStuff options@0.0.3
  1315. 1072 verbose linkBins options@0.0.3
  1316. 1073 verbose linkMans options@0.0.3
  1317. 1074 verbose rebuildBundles options@0.0.3
  1318. 1075 info install options@0.0.3
  1319. 1076 info postinstall options@0.0.3
  1320. 1077 verbose read json /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
  1321. 1078 silly lockFile 156a0e0f-odules-ws-node-modules-commander /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
  1322. 1079 info preinstall commander@0.6.1
  1323. 1080 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
  1324. 1081 verbose readDependencies using package.json deps
  1325. 1082 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
  1326. 1083 verbose readDependencies using package.json deps
  1327. 1084 silly resolved []
  1328. 1085 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
  1329. 1086 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
  1330. 1087 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
  1331. 1088 verbose linkStuff [ false,
  1332. 1088 verbose linkStuff   false,
  1333. 1088 verbose linkStuff   false,
  1334. 1088 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules' ]
  1335. 1089 info linkStuff commander@0.6.1
  1336. 1090 verbose linkBins commander@0.6.1
  1337. 1091 verbose linkMans commander@0.6.1
  1338. 1092 verbose rebuildBundles commander@0.6.1
  1339. 1093 info install commander@0.6.1
  1340. 1094 info postinstall commander@0.6.1
  1341. 1095 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1342. 1096 info build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  1343. 1097 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  1344. 1098 verbose linkStuff [ false,
  1345. 1098 verbose linkStuff   false,
  1346. 1098 verbose linkStuff   false,
  1347. 1098 verbose linkStuff   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
  1348. 1099 info linkStuff ws@0.4.22
  1349. 1100 verbose linkBins ws@0.4.22
  1350. 1101 verbose link bins [ { wscat: './bin/wscat' },
  1351. 1101 verbose link bins   '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin',
  1352. 1101 verbose link bins   false ]
  1353. 1102 verbose linkMans ws@0.4.22
  1354. 1103 verbose rebuildBundles ws@0.4.22
  1355. 1104 verbose rebuildBundles [ 'commander', 'options', 'tinycolor' ]
  1356. 1105 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws unbuild
  1357. 1106 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
  1358. 1107 info preuninstall ws@0.4.22
  1359. 1108 info uninstall ws@0.4.22
  1360. 1109 verbose false,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules unbuild ws@0.4.22
  1361. 1110 verbose /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin,[object Object] binRoot
  1362. 1111 info postuninstall ws@0.4.22
  1363. 1112 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client
  1364. 1113 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client unbuild
  1365. 1114 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/package.json
  1366. 1115 info preuninstall socket.io-client@0.9.10
  1367. 1116 info uninstall socket.io-client@0.9.10
  1368. 1117 verbose false,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules unbuild socket.io-client@0.9.10
  1369. 1118 info postuninstall socket.io-client@0.9.10
  1370. 1119 error error rolling back Error: UNKNOWN, unlink '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html'
  1371. 1119 error error rolling back  socket.io-client@0.9.10 { [Error: UNKNOWN, unlink '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html']
  1372. 1119 error error rolling back   errno: -1,
  1373. 1119 error error rolling back   code: 'UNKNOWN',
  1374. 1119 error error rolling back   path: '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html' }
  1375. 1120 verbose about to build /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io
  1376. 1121 info /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io unbuild
  1377. 1122 verbose from cache /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/package.json
  1378. 1123 info preuninstall socket.io@0.9.10
  1379. 1124 info uninstall socket.io@0.9.10
  1380. 1125 verbose true,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules,/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules unbuild socket.io@0.9.10
  1381. 1126 info postuninstall socket.io@0.9.10
  1382. 1127 error error rolling back Error: UNKNOWN, unlink '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html'
  1383. 1127 error error rolling back  socket.io@0.9.10 { [Error: UNKNOWN, unlink '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html']
  1384. 1127 error error rolling back   errno: -1,
  1385. 1127 error error rolling back   code: 'UNKNOWN',
  1386. 1127 error error rolling back   path: '/media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html' }
  1387. 1128 error Error: EROFS, symlink '../ws/bin/wscat'
  1388. 1129 error If you need help, you may report this log at:
  1389. 1129 error     <http://github.com/isaacs/npm/issues>
  1390. 1129 error or email it to:
  1391. 1129 error     <npm-@googlegroups.com>
  1392. 1130 error System Linux 3.2.0-32-generic-pae
  1393. 1131 error command "nodejs" "/usr/bin/npm" "install" "socket.io"
  1394. 1132 error cwd /media/sf_Data/webSites/exoLang/sites/all/modules/exoticlang_chat
  1395. 1133 error node -v v0.8.12
  1396. 1134 error npm -v 1.1.63
  1397. 1135 error path ../ws/bin/wscat
  1398. 1136 error code EROFS
  1399. 1137 error errno 56
  1400. 1138 verbose exit [ 56, true ]
Add Comment
Please, Sign In to add comment