Socket
Socket
Sign inDemoInstall

kea-localstorage

Package Overview
Dependencies
9
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

3.1.0

Diff

Changelog

Source

3.1.0 - 2022-12-13

  • Make logic.props mutable, and store props input immutably in logic.lastProps. This fixes a bug:
const propValues = []
const logic = kea([
  actions({ doStuff: true }),
  listeners(({ props }) => ({
    doStuff: () => {
      propValues.push(props.value)
    },
  })),
])

logic({ value: 0 }).mount()
logic({ value: 1 }).actions.doStuff()
logic({ value: 2 }).actions.doStuff()

Previously propValues would contain [0, 0], but now it contains [1, 2].

mariusandra
published 3.0.0 •

Changelog

Source

3.0.0 - 2022-05-12

  • Read more here: https://keajs.org/blog/kea-3.0
mariusandra
published 3.0.0-alpha.2 •

mariusandra
published 3.0.0-alpha.1 •

mariusandra
published 3.0.0-alpha.0 •

mariusandra
published 1.1.2 •

mariusandra
published 1.1.1 •

mariusandra
published 1.1.0 •

mariusandra
published 1.0.2 •

mariusandra
published 1.0.1 •

23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc