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

digirati-annotation-redux

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digirati-annotation-redux - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

6

es/reducers/annotationReducer.js

@@ -13,6 +13,6 @@ import { ANNOTATIONS_ADD } from '../actions/annotations';

if (action.type === ANNOTATIONS_ADD) {
var _list;
var _Object$assign;
return update(state, {
list: (_list = {}, _list[action.payload.id] = { $set: action.payload.annotation }, _list)
return Object.assign(state, {
list: Object.assign(state.list, (_Object$assign = {}, _Object$assign[action.payload.id] = action.payload.annotation, _Object$assign))
});

@@ -19,0 +19,0 @@ }

@@ -23,6 +23,6 @@ 'use strict';

if (action.type === _annotations.ANNOTATIONS_ADD) {
var _list;
var _Object$assign;
return (0, _immutabilityHelper2.default)(state, {
list: (_list = {}, _list[action.payload.id] = { $set: action.payload.annotation }, _list)
return Object.assign(state, {
list: Object.assign(state.list, (_Object$assign = {}, _Object$assign[action.payload.id] = action.payload.annotation, _Object$assign))
});

@@ -29,0 +29,0 @@ }

{
"name": "digirati-annotation-redux",
"version": "0.1.18",
"version": "0.1.19",
"description": "Describe annotation-redux here",

@@ -5,0 +5,0 @@ "main": "es/index.js",

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