Socket
Socket
Sign inDemoInstall

flowstate

Package Overview
Dependencies
9
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.6.0

Diff

Changelog

Source

[0.6.0] - 2023-10-18

TODO: Review this for accuracy.

Added

  • Added third preventReturnTo argument to res.redirect (or second, when optional status is not supplied) that prevents adding the return_to query parameter to the URL. Useful when the URL includes that a different parameter set to that value.

Changed

  • Renamed resumeState property of state objects to state.
  • Initializing returnTo property of current state in all cases. This avoids needing to reference the location property of the state to resume, optimizing state store access and allowing state targetting different locations to be stored in different stores.
  • Both returnTo and state parameters are added as query parameters when redirecting.
  • Both returnTo and state variables are set as locals when rendering.
  • Both returnTo and state are set when pushing state.
jaredhanson
published 0.5.1 •

Changelog

Source

[0.5.1] - 2021-12-13

Added

  • Added req.popState().
jaredhanson
published 0.5.0 •

jaredhanson
published 0.4.1 •

jaredhanson
published 0.4.0 •

jaredhanson
published 0.3.2 •

jaredhanson
published 0.3.1 •

jaredhanson
published 0.3.0 •

jaredhanson
published 0.2.0 •

jaredhanson
published 0.1.3 •

2Next
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