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

@insertish/mutable

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@insertish/mutable - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

dist/index.js

@@ -32,2 +32,3 @@ "use strict";

this.emit('create', state);
this.emit('update', state._id);
}

@@ -41,2 +42,3 @@ mutation(target, property, value, receiver) {

return false;
this.emit('update', target._id);
this.emit('mutation', target, property);

@@ -83,2 +85,3 @@ (_a = this.collection) === null || _a === void 0 ? void 0 : _a.update({ _id: target._id }, { $set: { [property]: value } });

(_a = this.collection) === null || _a === void 0 ? void 0 : _a.remove({ _id });
this.emit('update', _id);
this.emit('delete', _id);

@@ -85,0 +88,0 @@ }

2

package.json
{
"name": "@insertish/mutable",
"version": "1.0.3",
"version": "1.0.4",
"description": "Mutable object utilities.",

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

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