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

marionette.toolkit

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marionette.toolkit - npm Package Versions

13

5.0.0-alpha.2

Diff

paulfalgout
published 5.0.0-alpha.1 •

paulfalgout
published 4.0.0 •

Changelog

Source

v4.0.0

  • App

    • Breaking Changes:
      • Inits the state model before before:start and waits until before start to delegate stateEvents
      • Remove getInitState in favor of setting the state in before:start
      • setRegion now returns the set region instance
    • destroy now returns the app instance
    • destroy now calls the Application prototype instead of Object
    • Added ViewEventsMixin
    • Added restart and isRestarting feature
    • start now accepts a view option
    • Added setView / getView feature allowing setting up children with the App's API prior to showView
    • getRegion now accepts an argument of a region name that is sugar for myApp.getView().getRegion('regionName')
    • showView will show the "set" view if not passed a 1st argument
    • Added showChildView / getChildView for interaction with the children of the App's view
  • Component

    • Breaking Changes:
      • viewEventPrefix is now defaulted to false
      • stateEvents is now delegated after initialize this allows for setState in initialize
    • Added ViewEventsMixin
    • destroy now returns the component instance
  • ChildAppMixin

    • Breaking Changes:
      • startChildApp / stopChildApp now return the child app instance
  • StateMixin

    • Add delegateStateEvents / undelegateStateEvents for binding and unbinding stateEvents
  • ViewEventsMixin - This new mixin adds Marionette.View like support for view event proxying The API is analogous to childViewEventPrefix, childViewEvents and childViewTriggers

    • viewEventPrefix defaulting to false allows for auto-proxying events from the view to the app or component
    • viewEvents allows app or component handlers of view events
    • viewTriggers triggers an event on the app or component when an event is triggered on the view
paulfalgout
published 3.1.0 •

Changelog

Source

v3.1.0

  • App
    • Fix stateEvents when passed at App instantiation
    • Fix leaky lingering stateEvents after App stop
    • Add App showChildView / getChildView
paulfalgout
published 3.0.1 •

Changelog

Source

v3.0.1

  • App
    • Revert the stop event is triggered after clearing running events
paulfalgout
published 3.0.0 •

Changelog

Source

v3.0.0

  • App
    • Add setRegion to modify an App's region
      • All region to be passed to App#start
    • start and stop are no longer binded to the App
    • the stop event is triggered after clearing running events
  • General
    • Support lodash v4
    • Fixed an underscore import
paulfalgout
published 2.0.0 •

Changelog

Source

v2.0.0

  • App
    • The App now extends Marionette.Application
      • Breaking Changes:
        • Move initState from App constructor to start
        • Remove restartState functionality
      • Add getInitState functionality to allow user to override and modify state on App start
      • Remove isDestroyed functionality and isDestroyed flag as this is now supported in Marionette.Application
      • Allow user to pass in StateModel during App initialization via ClassOptions
  • Component
    • ViewClass now uses Marionette.View instead of deprecated Marionette.ItemView
    • Add getRegion functionality
  • StateMixin
    • Now uses unbindEvents instead of unbindEntityEvents
  • ChildAppsMixin
    • Add startChildApp/stopChildApp functionality
  • Dependency
    • Update and hard-set various dependencies, including Marionette, Backbone, and underscore
paulfalgout
published 1.0.0 •

Changelog

Source

v1.0.0

  • StateMixin:
    • Replaces StateClass and is now a POJO instead of a Marionette.object
    • Can now be mixed into any Marionette.Object or Marionette.View
    • stateDefaults has been removed in favor of state being passed in options hash
    • initState adds ability to reinitialize state at any point during the life-time of Marionette.object / Marionette.View
    • resetStateDefaults adds ability to reset state defined in defaults
    • destroyState has been replaced by _destoryState to privatize state deletion
  • ChildAppsMixin:
    • Now handles the adding and removing of childApps
    • Adds functionality to share options with all children via childAppsOptions
  • EventListenerMixin now handles App event-listener functionality
  • Marionette.Toolkit.MixinState is a utiltiy function created to make it easy to mix StateMixin into any Marionette.object or Marionette.View
  • AbstractApp has been removed and functionality moved into App
  • App:
    • Now extends Marionette.Object and not StateClass as AbstractApp previously did
    • It now mixes in StateMixin, ChildAppsMixin, and EventListenerMixin
    • An app can now be restarted and have it's state reinitialized via restart
    • _isDestroyed is now the last action of destroy method to align with Marionette v3
  • Component:
    • Now extends a Marionette.Object and not StateClass
    • It now mixes in StateMixin
    • Stop passing entire stateModel to currentView in favor of passing only attributes
  • Improve ES6 usage
  • Dependency:
    • Change dependencies to peerdependencies
    • Update to Node v4 and several other updates
  • Build process updates:
    • Remove _buildPackages and NPM deploy functionality as project will no longer publish packages individually
    • Replace Browserify build process with Rollup
    • Move from JSHint to ESLint
  • Test and Documentation updates
paulfalgout
published 0.4.2 •

Changelog

Source

v0.4.2

  • Deprecate modularized classes.
paulfalgout
published 0.4.1 •

Changelog

Source

v0.4.1

  • Updated underscore and backbone dependencies.
  • Small refactor to defaulting empty passed in options as an object.
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