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

23
7

0.18.6

Diff

Changelog

Source

0.18.6

  • Fixes inheritance for actions #678
goatslacker
published 0.18.5 •

Changelog

Source

0.18.5

  • Updates transmitter which fixes #665
goatslacker
published 0.18.4 •

Changelog

Source

0.18.4

  • Upgrades babel and enables loose mode so IE10 can work again.
goatslacker
published 0.18.3 •

Changelog

Source

0.18.3

  • Removes cannot push while pushing error from transmitter.
goatslacker
published 0.18.2 •

Changelog

Source

0.18.2

  • Added jsnext:main so you can use rollup to bundle Alt. commit.
  • Fix returning promises from an action. commit.
goatslacker
published 0.18.1 •

goatslacker
published 0.18.0 •

Changelog

Source

0.18.0

Breaking Changes

  • Removed this.dispatch from Actions commit.

    Upgrade Guide

    • Use the included codemod to convert your actions.

    • You will need jscodeshift to run the codemod.

    • npm install jscodeshift -g

    • jscodeshift -t scripts/this-dispatch-to-return.js your_file.js

    • I recommend you use some source control like git this way you can git diff your changes and make sure everything is ok.

    • You can manually upgrade by removing this.dispatch from your actions and instead return your payload directly.

    • If you have an async action then you can return a function.

    // from this
    class MyActions {
      someAction() {
        this.dispatch(13)
      }
    }
    
    // to this
    class MyActions {
      someAction() {
        return 13
      }
    }
    

    or

    // from this
    class MyActions {
      asyncThings() {
        xhr('foo', () => {
          this.dispatch(42)
        })
      }
    }
    
    // to this
    class MyActions {
      asyncThings() {
        return (dispatch) => {
          xhr('foo', () => {
            dispatch(42)
          })
        }
      }
    }
    
  • Deleted all of utils, mixins, components, and addons from alt package.

    Upgrade Guide

    • Use the utils found here.
    • You can install these from npm.

Changed

  • isMutableObject checks for frozen Objects before updating them commit.
goatslacker
published 0.17.9 •

Changelog

Source

0.17.9

Changed

  • Fixes multiple actions from registering to the same handler commit.
goatslacker
published 0.17.8 •

Changelog

Source

0.17.8

Changed

  • Fix FSA dispatching commit
  • Stores created using an Object will now have a config. This gets rid of this issue. commit
goatslacker
published 0.17.7 •

Changelog

Source

0.17.7

Changed

  • isPojo renamed to isMutableObject. commit
  • This now checks if an object is frozen or not before attempting to delete keys from it.
23
7
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