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

statetransition-mixin

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

statetransition-mixin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

doc/start-stop.graffle

5

package.json

@@ -29,3 +29,4 @@ {

"keywords": [
"loglevel"
"state",
"mixin"
],

@@ -38,3 +39,3 @@ "author": "Markus Felten <markus.felten@gmx.de>",

"homepage": "https://github.com/arlac77/statetransition-mixin#readme",
"version": "1.0.0"
"version": "1.0.1"
}

2

README.md

@@ -6,2 +6,4 @@ statetransition-mixin

![start stop](doc/start-stop.svg)
usage

@@ -8,0 +10,0 @@ =====

@@ -75,3 +75,3 @@ /* jslint node: true, esnext: true */

module.exports.defineActionMethods = function (object, actions) {
console.log(`${JSON.stringify(actions,undefined,1)}`);
//console.log(`${JSON.stringify(actions,undefined,1)}`);

@@ -78,0 +78,0 @@ Object.keys(actions).forEach(actionName => {

@@ -55,2 +55,9 @@ /* global describe, it, xit */

it('has action methods', function () {
assert.isDefined(o1.stop());
assert.isDefined(o1.start());
assert.isDefined(o1._start());
assert.isDefined(o1._stop());
});
it('can be started', function (done) {

@@ -57,0 +64,0 @@ o1.start().then(() => {

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