Socket
Socket
Sign inDemoInstall

capsule

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capsule - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

.gitignore

14

capsule.js

@@ -7,3 +7,8 @@ (function(){

// namespace. Exported for both CommonJS and the browser.
var Capsule, Backbone, _, uuid, server = false;
var Capsule,
server = false,
Backbone,
_,
uuid;
if (typeof exports !== 'undefined') {

@@ -18,2 +23,3 @@ Backbone = require('backbone');

_ = this._;
Capsule = this.Capsule || (this.Capsule = {});

@@ -165,4 +171,4 @@ }

_.each(collection.models, function (modelData, index) {
var newObj = targetObj[name]._add({}, {silent: silent});
process(newObj, modelData);
var nextObject = targetObj[name].get(modelData.attrs.id) || targetObj[name]._add({}, {silent: silent});
process(nextObject, modelData);
});

@@ -275,3 +281,3 @@ });

// Our server version of the normal `set` method. Takes a hash of attributes
setServer: function(attrs, options) {
setServer: function(attrs) {
socket.send({

@@ -278,0 +284,0 @@ event: 'set',

{
"name": "capsule",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "https://github.com/andyet/Capsule",

@@ -5,0 +5,0 @@ "repository": {

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