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

diode

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

diode - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

4

karma.conf.js

@@ -7,3 +7,3 @@ module.exports = function(config) {

browsers: [ isIntegration ? 'Firefox' : 'Chrome' ],
browsers: [ 'Firefox' ],

@@ -42,3 +42,3 @@ singleRun: isIntegration,

exclude : /node_modules/,
loader : 'babel?stage=1'
loader : 'babel?stage=1&loose'
}

@@ -45,0 +45,0 @@ ],

{
"name": "diode",
"version": "4.1.1",
"version": "4.2.0",
"description": "A simple, eventually consistent, state propagation tool for Flux/React apps",

@@ -33,5 +33,4 @@ "main": "src/diode.js",

"karma": "^0.12.32",
"karma-chrome-launcher": "^0.1.7",
"karma-cli": "0.0.4",
"karma-coverage": "^0.2.7",
"karma-coverage": "^0.3.1",
"karma-firefox-launcher": "^0.1.4",

@@ -45,4 +44,4 @@ "karma-mocha": "^0.1.10",

"sinon": "^1.14.1",
"webpack": "^1.5.3"
"webpack": "^1.x.x"
}
}

@@ -71,3 +71,3 @@ var Diode = require('../diode')

it ('passes arguments to children', function(done) {
let target = Diode.decorate({ prop: 'test' })
let target = Diode.decorate({})

@@ -82,2 +82,14 @@ target.listen(function(name) {

describe('chaining api', function() {
it ('returns to the target context', function() {
let target = Diode.decorate({})
let mock = sinon.mock()
target.listen(mock).should.equal(target)
target.ignore(mock).should.equal(target)
target.emit().should.equal(target)
target.volley().should.equal(target)
})
})
})

@@ -33,2 +33,4 @@ /**

_callbacks = _callbacks.concat(callback)
return target
}

@@ -44,2 +46,4 @@

})
return target
}

@@ -52,2 +56,4 @@

_flush.apply(target, arguments)
return target
}

@@ -67,2 +73,4 @@

}
return target
}

@@ -69,0 +77,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