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

alt

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt - npm Package Versions

1
7

0.13.13

Diff

goatslacker
published 0.14.1 •

Changelog

Source

0.14.1

Dependencies

  • es-symbol has been updated to 1.1.1 commit
goatslacker
published 0.13.11 •

Changelog

Source

0.13.11

Added

  • Added access to the internal EventEmitter used by the store. This can be access on the store instance by using getEventEmitter() and can be used for custom events. commit
  • Added a setState method for syntactic sugar which sets the state in the instance variables inside your store and then emits a change event. commit
  • Added emitChange method. No more this.getInstance().emitChange, now you can just this.emitChange() from inside a store. commit
  • Added syntactic sugar for waitFor. waitFor now takes in a splat or array of stores or dispatch tokens. commit
  • The alt instance now gets passed to the store constructor as well as the actions constructor. commit
  • ActionListener is a util that allows you to listen in on specific actions. Now it's even more lightweight if you want to listen in on a specific action but don't want the weight of a store. This comes as a util meaning it doesn't increase the size of core alt. Use it if you need it. commit

Fixed

  • addStore now has the saveStore parameter as well. commit
goatslacker
published 0.14.0 •

Changelog

Source

0.14.0

Changed

  • createStore no longer throws when it encounters a store with the same name. Instead if generates a new name for you and warns you in the console. If a store name is not specified due to using anonymous functions then a warning is also logged. commit

Dependencies

  • es-symbol has been updated to 1.1.0 for better IE8 compatibility. commit
goatslacker
published 0.13.10 •

Changelog

Source

0.13.10

Added

  • DispatcherRecorder is a util that allows you to record and replay a series of actions. commit
  • FinalStore is a util Store that emits a change once all other stores have emitted. commit
  • Added a saveStore parameter to alt.createStore. This parameter controls whether we should save the store internally (for snapshots, bootstraps) or not. Default is true. commit

Fixed

  • All the mixins in the mixins folder don't make React complain about binding. commit
goatslacker
published 0.13.9 •

goatslacker
published 0.13.8 •

Changelog

Source

0.13.8

Added

  • Create context on add in Subscribe mixin. commit

Fixed

  • Change lifecycle hook for Listener mixin to ComponentWillMount so that it functions are identical between server rendering and client rendering. commit
goatslacker
published 0.13.7 •

Changelog

Source

0.13.7

Added

  • Add bindListeners method to Store. This is the inverse of bindActions. commit
  • Create shorthand form of createActions, generateActions. commit
  • Add/update several helpful mixins: FluxyMixin, ReactStateMagicMixin, and Subscribe. commit
goatslacker
published 0.13.5 •

Changelog

Source

0.13.5

Added

  • Add bower.json to enable Alt with Bower. commit
  • Initial mixin pack addition. commit
  • ListenerMixin updated to listenTo various stores. commit
goatslacker
published 0.13.4 •

Changelog

Source

0.13.4

Added

  • Add tests.
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