This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var server = require('http').createServer(); | |
server.listen(8083, function () { | |
var Primus = require('primus') | |
, primus = new Primus(server); | |
primus.destroy(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/primus.js b/primus.js | |
index e63e6ff..83ee3e2 100644 | |
--- a/primus.js | |
+++ b/primus.js | |
@@ -277,6 +277,7 @@ function Primus(url, options) { | |
primus.attempt = null; // Current back off attempt. | |
primus.socket = null; // Reference to the internal connection. | |
primus.latency = 0; // Latency between messages. | |
+ primus.disconnect = false; // We didn't receive a disconnect packet. | |
primus.transport = options.transport; // Transport options. |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18009 info retry fetch attempt 1 at 11:49:51 | |
18010 verbose fetch to= /var/folders/jw/3kbgnvwn607glnpd78gpz8_m0000gn/T/npm-15699-ApHjv9je/1399628991362-0.5015599667094648/tmp.tgz | |
18011 silly gunzTarPerm extractEntry .travis.yml | |
18012 silly gunzTarPerm extractEntry test/parse.js | |
18013 http GET https://registry.npmjs.org/sanitizer/-/sanitizer-0.1.1.tgz | |
18014 silly gunzTarPerm extractEntry tests/crc.test.js | |
18015 silly gunzTarPerm extractEntry licenses/licenses/zlib.txt | |
18016 silly gunzTarPerm extractEntry debug/package.json | |
18017 silly lockFile 665c423a-s-shrinkwrap-node-modules-fusing tar:///Users/V1/Projects/nodejitsu/browsenpm.org/node_modules/packages-pagelet/node_modules/shrinkwrap/node_modules/fusing | |
18018 silly lockFile 665c423a-s-shrinkwrap-node-modules-fusing tar:///Users/V1/Projects/nodejitsu/browsenpm.org/node_modules/packages-pagelet/node_modules/shrinkwrap/node_modules/fusing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:V1 | |
npm http 409 https://registry.npmjs.org/-/user/org.couchdb.user:V1 | |
npm http GET https://registry.npmjs.org/-/user/org.couchdb.user:V1?write=true | |
npm http 200 https://registry.npmjs.org/-/user/org.couchdb.user:V1?write=true | |
npm http PUT https://registry.npmjs.org/-/user/org.couchdb.user:V1/-rev/5-<rev> | |
npm http 403 https://registry.npmjs.org/-/user/org.couchdb.user:V1/-rev/5-<rev> | |
npm WARN adduser Incorrect username or password | |
npm WARN adduser You can reset your account by visiting: | |
npm WARN adduser | |
npm WARN adduser https://npmjs.org/forgot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/node_modules/pagelet/node_modules/temper/index.js:196 | |
throw new Error('No compatible template engine installed, please run: npm in | |
^ | |
Error: No compatible template engine installed, please run: npm install --save ejs | |
at Temper.discover (/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/node_modules/pagelet/node_modules/temper/index.js:196:9) | |
at Temper.prefetch (/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/node_modules/pagelet/node_modules/temper/index.js:114:27) | |
at Function.optimize (/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/node_modules/pagelet/index.js:633:12) | |
at Pipe.map (/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/example/node_modules/bigpipe/page.js:938:26) | |
at Array.map (native) | |
at Pipe.resolve (/Users/V1/Projects/nodejitsu/npm-package-json-pagelet/example/node_modules/bigpipe/index.js:286:13) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path.js:313 | |
throw new TypeError('Arguments to path.resolve must be strings'); | |
^ | |
TypeError: Arguments to path.resolve must be strings | |
at Object.exports.resolve (path.js:313:15) | |
at map (/Users/V1/Projects/nodejitsu/browsenpm.org/node_modules/contour/node_modules/pagelet/index.js:670:19) | |
at Array.map (native) | |
at each (/Users/V1/Projects/nodejitsu/browsenpm.org/node_modules/contour/node_modules/pagelet/index.js:668:28) | |
at Array.forEach (native) | |
at Function.resolve (/Users/V1/Projects/nodejitsu/browsenpm.org/node_modules/contour/node_modules/pagelet/index.js:661:8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:55:01 PM <omnidan> hi | |
12:55:58 PM ⇐ therealkoopa quit (~therealko@pool-108-52-202-109.phlapa.fios.verizon.net) Ping timeout: 255 seconds | |
12:56:07 PM <omnidan> is it possible to get the query in the authorization middleware without having a http server running? e.g. directly connecting from a nodejs primus client to a primus server | |
12:56:29 PM <omnidan> also, is it possible to connect with a socket.io-client to primus with socket.io in the backend? | |
1:06:03 PM → __quim_ and Kullt2 joined ⇐ __quim and Kullt quit ↔ therealkoopa popped in | |
1:34:29 PM <_3rdEden> hi | |
1:35:05 PM <_3rdEden> How would you get a request to your server when there isn't a server running omnidan ? | |
1:35:51 PM <_3rdEden> omnidan: it should be possible to connect with a socket.io-client to a primus + socket.io backend | |
1:36:00 PM <omnidan> _3rdEden: well there is a http server running, but I'm connecting via nodejs directly to primus, so it doesn't /use/ the server | |
1:36:13 PM <omnidan> at least I think so, I'm not familiar with the inter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = new Blob(['var loc = location; if (location.protocol === "blob:") loc = new URL(unescape(loc.pathname)); console.log(new URL("/foo", loc)); '], { type: 'text/javascript' }) | |
, y = URL.createObjectURL(x) | |
, w = new Worker(y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^(?:(?:(([^:\/#\?]+:)?(?:(?:\/\/)(?:(?:(?:([^:@\/#\?]+)(?:\:([^:@\/#\?]*))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/.exec('https://www.mozilla.org/en-US/firefox/34.0/whatsnew/?oldversion=33.1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', '/Users/V1/.nvm/v0.10.35/bin/npm', 'install', '.' ] | |
2 info using npm@2.3.0 | |
3 info using node@v0.10.35 | |
4 warn package.json utf-8-validate@1.0.0 No README data | |
5 verbose install where, deps [ '/Users/V1/Projects/websockets/utf-8-validate', | |
5 verbose install [ 'bindings', 'nan' ] ] | |
6 verbose install where, peers [ '/Users/V1/Projects/websockets/utf-8-validate', [] ] | |
7 info preinstall utf-8-validate@1.0.0 | |
8 silly cache add args [ 'bindings@1.2.x', null ] |
OlderNewer