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

ddp.js

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddp.js - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

.nyc_output/08d2158d4ebac257a8b341fed9bf1082.json

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 2.2.1 (October 26, 2017)
PR #38: update dependencies
## 2.2.0 (July 2, 2016)
PR #29: add possibility to specify a subscription id.
## 2.1.0 (February 23, 2016)

@@ -2,0 +10,0 @@

6

lib/ddp.js

@@ -51,3 +51,3 @@ "use strict";

setTimeout((_get2 = _get(Object.getPrototypeOf(DDP.prototype), "emit", this)).bind.apply(_get2, [this].concat(Array.prototype.slice.call(arguments))), 0);
setTimeout((_get2 = _get(DDP.prototype.__proto__ || Object.getPrototypeOf(DDP.prototype), "emit", this)).bind.apply(_get2, [this].concat(Array.prototype.slice.call(arguments))), 0);
}

@@ -59,3 +59,3 @@ }]);

var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(DDP).call(this));
var _this = _possibleConstructorReturn(this, (DDP.__proto__ || Object.getPrototypeOf(DDP)).call(this));

@@ -152,3 +152,3 @@ _this.status = "disconnected";

value: function sub(name, params) {
var id = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;

@@ -155,0 +155,0 @@ id || (id = (0, _utils.uniqueId)());

@@ -27,3 +27,3 @@ "use strict";

var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Socket).call(this));
var _this = _possibleConstructorReturn(this, (Socket.__proto__ || Object.getPrototypeOf(Socket)).call(this));

@@ -30,0 +30,0 @@ _this.SocketConstructor = SocketConstructor;

{
"name": "ddp.js",
"version": "2.2.0",
"version": "2.2.1",
"description": "ddp javascript client",

@@ -9,3 +9,3 @@ "main": "lib/ddp.js",

"clean": "rimraf lib coverage",
"coverage": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- --recursive test/unit",
"coverage": "nyc --require babel-register --reporter=lcov --include src --all npm test",
"coveralls": "cat ./coverage/lcov.info | coveralls",

@@ -15,5 +15,5 @@ "dev": "npm test -- --watch",

"prepublish": "npm run clean && npm run build",
"test": "mocha --compilers js:babel-core/register --recursive test/unit",
"test": "mocha --require babel-register --recursive test/unit",
"start-meteor": "cd test/server/ && meteor",
"e2e-test": "mocha --compilers js:babel-core/register --recursive test/e2e",
"e2e-test": "mocha --require babel-register --recursive test/e2e",
"e2e-dev": "npm run e2e-test -- --watch"

@@ -37,20 +37,20 @@ },

"devDependencies": {
"babel-cli": "^6.5.1",
"babel-core": "^6.5.1",
"babel-eslint": "^4.1.8",
"babel-loader": "^6.2.2",
"babel-preset-es2015": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"chai": "^3.5.0",
"coveralls": "^2.11.6",
"eslint": "^1.10.3",
"faye-websocket": "^0.10.0",
"isparta": "^4.0.0",
"mocha": "^2.4.5",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0"
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.9.0",
"faye-websocket": "^0.11.1",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"sinon": "^4.0.2",
"sinon-chai": "^2.14.0"
},
"dependencies": {
"wolfy87-eventemitter": "^4.3.0"
"wolfy87-eventemitter": "^5.2.3"
}
}

@@ -28,4 +28,10 @@ [![npm version](https://badge.fury.io/js/ddp.js.svg)](https://badge.fury.io/js/ddp.js)

To install ddp.js using `npm`:
npm install ddp.js
or using `yarn`:
yarn add ddp.js
## Example usage

@@ -32,0 +38,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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