Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

engine.io-client

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

engine.io-client - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

8

dist/engine.io-dev.js

@@ -130,3 +130,3 @@ (function(){var global = this;

exports.version = '0.1.2';
exports.version = '0.2.0';

@@ -1927,3 +1927,3 @@ /**

total++;
this.once('poll', function () {
this.once('pollComplete', function () {
// debug: pre-pause polling complete

@@ -1957,2 +1957,3 @@ --total || pause();

this.doPoll();
this.emit('poll');
};

@@ -1989,3 +1990,3 @@

this.polling = false;
this.emit('poll');
this.emit('pollComplete');

@@ -2133,3 +2134,2 @@ if ('open' == this.readyState) {

* @param {Array} array of packets.
* @param {Function} drain callback.
* @api private

@@ -2136,0 +2136,0 @@ */

@@ -9,3 +9,3 @@ (function(){var global = this;function debug(){return debug};function require(p, parent){ var path = require.resolve(p) , mod = require.modules[path]; if (!mod) throw new Error('failed to require "' + p + '" from ' + parent); if (!mod.exports) { mod.exports = {}; mod.call(mod.exports, mod, mod.exports, require.relative(path), global); } return mod.exports;}require.modules = {};require.resolve = function(path){ var orig = path , reg = path + '.js' , index = path + '/index.js'; return require.modules[reg] && reg || require.modules[index] && index || orig;};require.register = function(path, fn){ require.modules[path] = fn;};require.relative = function(parent) { return function(p){ if ('debug' == p) return debug; if ('.' != p.charAt(0)) return require(p); var path = parent.split('/') , segs = p.split('/'); path.pop(); for (var i = 0; i < segs.length; i++) { var seg = segs[i]; if ('..' == seg) path.pop(); else if ('.' != seg) path.push(seg); } return require(path.join('/'), parent); };};require.register("engine.io-client.js", function(module, exports, require, global){

exports.version = '0.1.2';
exports.version = '0.2.0';

@@ -1806,3 +1806,3 @@ /**

total++;
this.once('poll', function () {
this.once('pollComplete', function () {
// debug: pre-pause polling complete

@@ -1836,2 +1836,3 @@ --total || pause();

this.doPoll();
this.emit('poll');
};

@@ -1868,3 +1869,3 @@

this.polling = false;
this.emit('poll');
this.emit('pollComplete');

@@ -2012,3 +2013,2 @@ if ('open' == this.readyState) {

* @param {Array} array of packets.
* @param {Function} drain callback.
* @api private

@@ -2015,0 +2015,0 @@ */

0.2.0 / 2012-08-06
==================
* polling: introduced `poll` and `pollComplete` (formerly `poll`) events
0.1.2 / 2012-08-02

@@ -3,0 +8,0 @@ ==================

@@ -8,3 +8,3 @@

exports.version = '0.1.2';
exports.version = '0.2.0';

@@ -11,0 +11,0 @@ /**

@@ -74,3 +74,3 @@ /**

total++;
this.once('poll', function () {
this.once('pollComplete', function () {
// debug: pre-pause polling complete

@@ -104,2 +104,3 @@ --total || pause();

this.doPoll();
this.emit('poll');
};

@@ -136,3 +137,3 @@

this.polling = false;
this.emit('poll');
this.emit('pollComplete');

@@ -139,0 +140,0 @@ if ('open' == this.readyState) {

@@ -74,3 +74,2 @@

* @param {Array} array of packets.
* @param {Function} drain callback.
* @api private

@@ -77,0 +76,0 @@ */

@@ -5,3 +5,3 @@ {

, "main": "./lib/engine.io-client"
, "version": "0.1.2"
, "version": "0.2.0"
, "contributors": [

@@ -8,0 +8,0 @@ { "name": "Guillermo Rauch", "email": "rauchg@gmail.com" }

@@ -114,2 +114,12 @@

### Transport
The transport class. Private. _Inherits from EventEmitter_.
#### Events
- `poll`: emitted by polling transports upon starting a new request
- `pollComplete`: emitted by polling transports upon completing a request
- `drain`: emitted by polling transports upon a buffer drain
## Flash transport

@@ -116,0 +126,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc