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

machina

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machina - npm Package Versions

134

1.0.1

Diff

Changelog

Source

v1.0.1

  • Added JSCS, visited formatting overall
  • Updated package.json to include only essential files when published to npm
  • Added gulp tasks for jshint, jscs & showing coverage
ifandelse
published 1.0.0 •

Changelog

Source

v1.0.0

  • Updated lodash dependency version to 3.x
ifandelse
published 1.0.0-2 •

Changelog

Source

v1.0.0-2 (pre-release)

  • Updated README with note about handler return values & fixed strict markdown parsing
  • Updated name in bower.json
  • Updated lodash to v3.3.1
ifandelse
published 1.0.0-1 •

Changelog

Source

v1.0.0-1 (pre-release)

  • Added the BehavioralFsm constructor function/prototype.
  • Refactored the Fsm constructor to extend BehavioralFsm.
  • Hierarchical FSM trees are now possible. Child FSMs can be placed on the _child property of a state object (the instance directly, or a factory method that returns the child FSM instance).
  • Added the _reset input. This is optionally handled by any child FSM when the parent's _onEnter action has completed execution. (Provides a way for the child FSM to reset, effectively).
  • Converted all tests to use should.js (instead of expect.js).
  • Added istanbul code coverage.
  • Removed the internal deepExtend function in favor of using lodash's merge method.
  • The following instance properties were re-named on Fsm instances:
    • _priorAction is now priorAction.
    • _currentAction is now currentAction.
    • eventQueue is now inputQueue.
  • The trigger alias to the emit method has been removed.
  • The deferUntilNextHandler method on the Fsm.prototype has been removed.
  • The machina.utils.getDefaultOptions only returns the following properties by default:
    • initialState
    • eventListeners
    • states
    • namespace
    • useSafeEmit
    • hierarchy
    • pendingDelegations
  • Added machina.utils.getDefaultClientMeta, which returns the following properties:
    • inputQueue
    • targetReplayState
    • state:
    • priorState
    • priorAction
    • currentAction
    • currentActionArgs
    • inExitHandler
  • Added deferAndTransition to the BehavioralFsm prototype.
ifandelse
published 0.4.3 •

Changelog

Source

v0.4.3

  • Apparently I fail at component.json spec-fulness. Removing ~ prefix on version number in component.json.
ifandelse
published 0.4.2 •

Changelog

Source

v0.4.2

  • The lodash dep for component.json was using a wildcard instead of locking at supported version(s).
ifandelse
published 0.4.1 •

Changelog

Source

v0.4.1

  • If an exception is thrown in an event handler, machina now logs exception.stack rather than the exception message only.
ifandelse
published 0.4.0 •

Changelog

Source

v0.4.0

  • No changes from v0.4.0-2 other than making this the official v0.4 release
ifandelse
published 0.4.0-2 •

Changelog

Source

v0.4.0-2

  • Input handlers now support returning a value (thanks to @Codelica for the PR)
ifandelse
published 0.4.0-1 •

Changelog

Source

v0.4.0-1 (first v0.4 pre-release of many)

  • Adjusted UMD to check for AMD before CommonJS.
  • CommonJS wrapper no longer returns a factory function, instead it returns the module value. BREAKING CHANGE (for node.js users, at least).
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