Socket
Socket
Sign inDemoInstall

ddp

Package Overview
Dependencies
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddp - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

0.9.1 - 2014-11-11
- Collection elements now have _id field.
0.9.0 - 2014-11-05

@@ -2,0 +6,0 @@

@@ -169,2 +169,4 @@ "use strict";

self.collections[name][id]._id = id;
if (data.fields) {

@@ -171,0 +173,0 @@ _.each(data.fields, function(value, key) {

2

package.json
{
"name": "ddp",
"version": "0.9.0",
"version": "0.9.1",
"description": "Node.js module to connect to servers using DDP protocol.",

@@ -5,0 +5,0 @@ "author": "Tom Coleman <tom@thesnail.org> (http://tom.thesnail.org)",

@@ -172,2 +172,3 @@ var assert = require('assert'),

ddpclient._message(addedMessage);
assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco']._id, "2trpvcQ4pn32ZYXco");
assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco'].text, "A cat was here");

@@ -213,3 +214,3 @@ assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco'].value, true);

observer = ddpclient.observe("posts");
observer.removed = function(id, oldValue) { oldval = oldValue; /* console.log("FOO: ", oldValue) */ };
observer.removed = function(id, oldValue) { oldval = oldValue; };

@@ -216,0 +217,0 @@ ddpclient._message(addedMessage);

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