New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

docstate

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docstate - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

17

lib/docstate.js
var stately = require("stately");
exports.control = function() {
var safeMachine, safeStates = {}
var me, safeMachine, safeStates = {}
, cautiousMachine, unsafeStates = {}
;
function makeMachines() {
if (me._getType) {
safeStates._getType = me._getType;
unsafeStates._getType = me._getType;
}
if (me._getState) {
safeStates._getState = me._getState;
unsafeStates._getState = me._getState;
}
safeMachine = stately.define(safeStates);

@@ -28,4 +35,3 @@ cautiousMachine = stately.define(unsafeStates);

}
return {
me = {
start : makeMachines,

@@ -35,3 +41,4 @@ safe : registerSafeCallback,

handle : handle
};
}
return me;
};
{
"name" : "docstate"
, "description" : "Couch + Stately equals a reliable state machine"
, "homepage" : "http://github.com/jchris/stately"
, "version" : "0.0.1"
, "homepage" : "http://github.com/jchris/docstate"
, "version" : "0.0.2"
, "author" : "J Chris Anderson <jchris@couchbase.com> (http://jchrisa.net)"

@@ -10,3 +10,3 @@ , "contributors" : []

{ "mail" : "jchris@couchbase.com"
, "web" : "http://github.com/jchris/stately/issues"
, "web" : "http://github.com/jchris/docstate/issues"
}

@@ -13,0 +13,0 @@ , "directories" : { "lib" : "./lib" }

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