New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cape-firebase

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cape-firebase - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

10

lib/actionHandlers.js

@@ -28,4 +28,4 @@ 'use strict';

exports.handleEntityPut = handleEntityPut;
exports.handleEntityUpdate = handleEntityUpdate;
exports.handleTriplePut = handleTriplePut;
exports.handleEntityUpdate = handleEntityUpdate;

@@ -91,3 +91,3 @@ var _capeLodash = require('cape-lodash');

}
function handleTriplePut(_ref5) {
function handleEntityUpdate(_ref5) {
var firebase = _ref5.firebase,

@@ -98,5 +98,5 @@ action = _ref5.action,

next(action);
return (0, _util.triplePut)(firebase, action);
return (0, _util.entityUpdate)(firebase, action.payload);
}
function handleEntityUpdate(_ref6) {
function handleTriplePut(_ref6) {
var firebase = _ref6.firebase,

@@ -107,3 +107,3 @@ action = _ref6.action,

next(action);
return (0, _util.entityUpdate)(firebase, action.payload);
return (0, _util.triplePut)(firebase, action);
}

@@ -124,2 +124,3 @@ 'use strict';

}
function triplePut(_ref2, _ref3) {

@@ -133,2 +134,3 @@ var _updateObj;

// Payload needs to be a have triple style object props.
var triple = (0, _reduxGraph.buildTriple)(payload);

@@ -141,3 +143,4 @@ var subject = triple.subject,

var updateObj = (_updateObj = {}, _defineProperty(_updateObj, entityPath(subject, path), object), _defineProperty(_updateObj, entityPath(subject, 'dateModified'), TIMESTAMP), _updateObj);
if (meta.previousSubject) {
// Allow a previously linked subject to change.
if (meta && meta.previousSubject) {
var prevSubj = meta.previousSubject;

@@ -144,0 +147,0 @@ updateObj[entityPath(prevSubj, path)] = null;

{
"name": "cape-firebase",
"version": "0.4.0",
"version": "0.4.1",
"description": "Help integrate CAPE redux projects with Firebase.",

@@ -5,0 +5,0 @@ "main": "lib/index",

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