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

reactive-function

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactive-function - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

4

package.json
{
"name": "reactive-function",
"version": "0.7.0",
"version": "0.8.0",
"description": "A library for managing data flows and changing state.",

@@ -34,3 +34,3 @@ "main": "index.js",

"graph-data-structure": "^0.5.0",
"reactive-property": "^0.7.0"
"reactive-property": "^0.8.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {

@@ -293,2 +293,17 @@ // Unit tests for reactive-function.

it("Should invoke if a single input is null.", function (){
var numInvocations = 0;
var a = ReactiveProperty(null);
ReactiveFunction({
inputs: [a],
callback: function (a, b){
numInvocations++;
}
});
ReactiveFunction.digest();
assert.equal(numInvocations, 1);
});
it("Should be able to implement unidirectional data binding.", function (){

@@ -295,0 +310,0 @@

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