Socket
Socket
Sign inDemoInstall

eventuate

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventuate - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

.zuul.yml

3

index.js

@@ -23,2 +23,5 @@ var copy = require('shallow-copy'),

}
eventuate.removeAllConsumers = function () {
for (var i = consumers.length - 1; i >= 0; i--) eventuate.removeConsumer(consumers[i])
}
eventuate.produce = function (data) {

@@ -25,0 +28,0 @@ if (options.requireConsumption && !eventuate.hasConsumer)

15

package.json
{
"name": "eventuate",
"version": "3.1.0",
"version": "3.2.0",
"description": "Handle events without emitters",
"main": "index.js",
"scripts": {
"test": "make npm-test",
"coverage": "make npm-coverage"
},
"repository": {

@@ -39,3 +35,5 @@ "type": "git",

"tap-spec": "~4.0.2",
"tape": "~4.0.1"
"tape": "~4.1.0",
"phantomjs": "~1.9.18",
"zuul": "~3.2.0"
},

@@ -45,3 +43,8 @@ "dependencies": {

"shallow-copy": "0.0.1"
},
"scripts": {
"test": "make npm-test",
"coverage": "make npm-coverage",
"browser-test": "make browser-test"
}
}

@@ -6,2 +6,3 @@ # eventuate

[![Coverage Status](https://coveralls.io/repos/jasonpincin/eventuate/badge.png?branch=master)](https://coveralls.io/r/jasonpincin/eventuate?branch=master)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/jp-eventuate.svg)](https://saucelabs.com/u/jp-eventuate)

@@ -67,2 +68,6 @@ Handle events without emitters. If we had to do it all over again, we might do it this way...

### event.removeAllConsumers()
Remove all consumers from the eventuate `event`.
### event.hasConsumer

@@ -104,3 +109,15 @@

### event.factory
Exposes the factory function used to create the eventuate. Example:
```javascript
var eventuate = require('eventuate'),
assert = require('assert')
var event = eventuate()
assert(event.factory === eventuate)
```
## unmonitored eventuate

@@ -123,13 +140,18 @@

## testing
`npm test [--dot | --spec] [--grep=pattern]`
`npm test [--dot | --spec] [--phantom] [--grep=pattern]`
Specifying `--dot` or `--spec` will change the output from the default TAP style.
Specifying `--phantom` will cause the tests to run in the headless phantom browser instead of node.
Specifying `--grep` will only run the test files that match the given pattern.
### browser test
## coverage
`npm run browser-test`
This will run the tests in all browsers (specified in .zuul.yml). Be sure to [educate zuul](https://github.com/defunctzombie/zuul/wiki/cloud-testing#2-educate-zuul) first.
### coverage
`npm run coverage [--html]`

@@ -136,0 +158,0 @@

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