Socket
Socket
Sign inDemoInstall

reactivity

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactivity - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

lib/Base.js

@@ -32,6 +32,5 @@ // Generated by CoffeeScript 1.6.3

Base.prototype.transition = function(state, f) {
var handler, t;
t = "" + this.state + " -> " + state;
var handler;
if (!(state in this.states)) {
throw new Error('Invalid Transition ' + t);
throw new Error('Invalid Transition ' + ("" + this.state + " -> " + state));
}

@@ -38,0 +37,0 @@ if (this.state === 'ready') {

@@ -33,7 +33,9 @@ // Generated by CoffeeScript 1.6.3

Evaluation.prototype.monitor = function() {
return this.m != null ? this.m : this.m = new Monitor;
};
Evaluation.prototype.notifier = function() {
return (function(m) {
var _ref;
return (_ref = m.evaluation$create_notifier()) != null ? _ref.public_api : void 0;
})(this.m != null ? this.m : this.m = new Monitor);
var _ref;
return (_ref = this.monitor().evaluation$create_notifier()) != null ? _ref.public_api : void 0;
};

@@ -40,0 +42,0 @@

1

lib/Notifier.js

@@ -51,3 +51,2 @@ // Generated by CoffeeScript 1.6.3

f.fire = this.user$fire;
f;
}

@@ -54,0 +53,0 @@

@@ -7,6 +7,6 @@ // Generated by CoffeeScript 1.6.3

return function(func, cb) {
var current_monitor, iter, stopper;
current_monitor = null;
var iter, mon, stopper;
mon = null;
stopper = function() {
return current_monitor != null ? current_monitor.removeListener('change', iter) : void 0;
return mon != null ? mon.removeListener('change', iter) : void 0;
};

@@ -19,4 +19,4 @@ (iter = function() {

}
current_monitor = r.monitor;
return current_monitor != null ? current_monitor.once('change', iter) : void 0;
mon = r.monitor;
return mon != null ? mon.once('change', iter) : void 0;
})();

@@ -23,0 +23,0 @@ return stopper;

{
"name": "reactivity",
"version": "1.2.0",
"version": "1.2.1",
"description": "Native Reactivity for Javascript",

@@ -5,0 +5,0 @@ "author": "Aldo Bucchi <aldo.bucchi@gmail.com>",

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