statetransition-mixin
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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" | ||
} |
@@ -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(() => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17846
9
197
79
1