Socket
Socket
Sign inDemoInstall

swup

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup - npm Package Versions

23
15

4.7.0

Diff

Changelog

Source

[4.7.0] - 2024-07-18

  • Inherit data-swup-* attributes from parent elements
  • Store current location as object at swup.location
  • Deprecate swup.currentPageUrl in favor of swup.location.url
  • Make previous page's hash available at visit.from.hash
gmrchk
published 4.6.1 •

Changelog

Source

[4.6.1] - 2024-03-26

  • Reduce bundle size by eliminating unused code paths
gmrchk
published 4.6.0 •

Changelog

Source

[4.6.0] - 2024-02-09

  • Provide access to the parsed document through visit.to.document
gmrchk
published 4.5.2 •

Changelog

Source

[4.5.2] - 2024-01-27

  • Fix reflow helper being optimized away during build step
gmrchk
published 4.5.1 •

Changelog

Source

[4.5.1] - 2024-01-08

  • Wait with transition class mutations when pausing before content:replace
  • Ignore errors in user hooks
gmrchk
published 4.5.0 •

Changelog

Source

[4.5.0] - 2023-12-01

  • Support View Transitions API in new native mode
  • Handle rapid link clicks to achieve smooth transitions
  • Abort superseded visits with new visit:abort hook
gmrchk
published 4.4.4 •

Changelog

Source

[4.4.4] - 2023-11-17

  • Dispatch DOM event swup:any every time a hook is run
  • Allow listening to DOM events from the window
  • Improve working with DOM events in TypeScript
gmrchk
published 4.4.3 •

Changelog

Source

[4.4.3] - 2023-11-16

  • Improve compatibility with older Safari versions
gmrchk
published 4.4.2 •

Changelog

Source

[4.4.2] - 2023-09-28

  • Export types for hook handlers and return values
gmrchk
published 4.4.1 •

Changelog

Source

[4.4.1] - 2023-09-25

  • Fix multiple rapid clicks on links
23
15
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