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

motx

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

motx - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

24

dist/motx-vue.js

@@ -19,17 +19,15 @@ "use strict";

_this.connections = {};
if (options.hooks && options.hooks.didSetState) {
var didSetState_1 = _this.hooks.didSetState;
var connections_1 = _this.connections;
_this.hooks.didSetState = function (fieldName, newState, isolate, store) {
didSetState_1(fieldName, newState, isolate, store);
var cnns = connections_1[fieldName];
if (cnns && cnns.length) {
for (var i = 0, l = cnns.length; i < l; i++) {
if (cnns[i]) {
cnns[i].comp[cnns[i].propName] = _this.getState(cnns[i].statePath);
}
var didSetState = _this.hooks.didSetState;
var connections = _this.connections;
_this.hooks.didSetState = function (fieldName, newState, isolate, store) {
didSetState(fieldName, newState, isolate, store);
var cnns = connections[fieldName];
if (cnns && cnns.length) {
for (var i = 0, l = cnns.length; i < l; i++) {
if (cnns[i]) {
cnns[i].comp[cnns[i].propName] = _this.getState(cnns[i].statePath);
}
}
};
}
}
};
_this.options = tslib_1.__assign({}, options);

@@ -36,0 +34,0 @@ return _this;

{
"name": "motx",
"version": "3.0.4",
"version": "3.0.5",
"description": "A lightweight application state transfer and storage tool based on the mediator pattern and provides efficient solutions to communication problems between multiple processes or closed modules",

@@ -5,0 +5,0 @@ "main": "dist/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