New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bjornlu/svelte-router

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bjornlu/svelte-router - npm Package Versions

2

0.5.0

Diff

Changelog

Source

0.5.0 - 2021-09-10

Added

  • Use location API for hash navigation (#15)
bjornlu
published 0.4.1 •

Changelog

Source

0.4.1 - 2021-01-31

Fixed

  • Don't remount component when enter nested routes (again)
bjornlu
published 0.4.0 •

Changelog

Source

0.4.0 - 2021-01-30

Fixed

  • Don't remount component when enter nested routes
bjornlu
published 0.3.2 •

Changelog

Source

0.3.2 - 2020-10-11

Fixed

  • Keep navigate and createLink reference when initializing router
bjornlu
published 0.3.1 •

Changelog

Source

0.3.1 - 2020-09-22

Added

  • Support component dynamic import
bjornlu
published 0.3.0 •

Changelog

Source

0.3.0 - 2020-09-04

Added

  • Improve component typing

Changed

  • route only update if url change
  • Replace initRouter with initHashRouter and initPathRouter to improve tree-shaking

Removed

  • Remove RedirectOption type export
bjornlu
published 0.2.1 •

Changelog

Source

0.2.1 - 2020-09-01

Fixed

  • <Link /> will work properly with special key clicks, e.g. ctrl-click
bjornlu
published 0.2.0 •

Changelog

Source

0.2.0 - 2020-08-30

Added

  • Add createLink function to enable custom link creation
  • Format URL on page load

Changed

  • Rename history mode to path
  • All router options need to be defined
  • All public APIs, except for route, will now throw error if called before initRouter
  • initRouter will throw error if called more than once
  • LocationInput's path, search and hash will treat empty string as undefined

Removed

  • Remove link action, use createLink instead

Fixed

  • Fix synchronous redirect rendering
bjornlu
published 0.1.2 •

Changelog

Source

0.1.2 - 2020-08-26

Fixed

  • Route store is always defined even before initRouter
  • navigate will not throw error if called before initRouter
  • Fix base path detection
bjornlu
published 0.1.1 •

Changelog

Source

0.1.1 - 2020-08-25

Fixed

  • Fix unexpected slot "default" warning
2
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