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

abstract-state-router

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-state-router - npm Package Versions

1
7

5.12.4

Diff

Changelog

Source

5.12.4

  • bug fix: stateIsActive was doing an extremely naive check #71
tehshrike
published 5.12.3 •

Changelog

Source

5.12.3

  • bug fix: makePath(stateName, params, { inherit: true }) now properly inherits route parameters during the render/activate phases #7617d74b
tehshrike
published 5.12.2 •

Changelog

Source

5.12.2

  • bug fix: fixed Webpack build by changing a JSON file to CommonJS #65
tehshrike
published 5.12.1 •

Changelog

Source

5.12.1

  • bug fix: states that had child states without routes weren't necessarily loading the correct child state when you browsed to them #85112c79
tehshrike
published 5.12.0 •

Changelog

Source

5.12.0

  • documentation: documented the stateChangeError event
  • documentation: documented the stateError event
  • functional: added the routeNotFound event when a route is visited that doesn't have any states associated with it https://github.com/TehShrike/abstract-state-router/commit/f3e2fbda5fa85068df3aa9f9539d61bb95667caf
tehshrike
published 5.11.0 •

Changelog

Source

5.11.0

  • functional: added a parameters property to the context objects emitted with the beforeCreateState, afterCreateState, beforeResetState, and afterResetState events. https://github.com/TehShrike/abstract-state-router/commit/c81228b49d0808fe722cda718598816e3c8ac5b3
tehshrike
published 5.10.0 •

Changelog

Source

5.10.0

  • functional: changed destroy to be emitted to the active states after beforeDestroyState/beforeResetState is emitted on the state router https://github.com/TehShrike/abstract-state-router/commit/8522a300ad23ed45dce0c6be1398bfb3883dd98c
  • documentation: added the event list https://github.com/TehShrike/abstract-state-router/pull/58
  • functional: added an "inherit" option when navigating to a new state https://github.com/TehShrike/abstract-state-router/pull/57
  • added an "inherit" option to makePath
tehshrike
published 5.9.0 •

Changelog

Source

5.9.0

  • functional: added emitting events before and after calling every dom rendering function https://github.com/TehShrike/abstract-state-router/pull/54
tehshrike
published 5.8.1 •

Changelog

Source

5.8.1

  • functional: added console warnings if you call stateRouter.addState passing in an object with unexpected properties https://github.com/TehShrike/abstract-state-router/commit/67618b75e7a4e310cb8c3e15f31e3157e2921f6f
  • tests/documentation: fixed some discrepencies highlighted by the above warnings https://github.com/TehShrike/abstract-state-router/commit/438e0a14ad16181f16881f771d543ccdada8d690
  • documentation: changed params/stateParameters naming to be consistent by changing everything to stateParameters
tehshrike
published 5.8.0 •

Changelog

Source

5.8.0

  • functional: changed parameters objects passed to the DOM rendering functions to be mutable copies instead of being frozen
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