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

swup

Package Overview
Dependencies
Maintainers
3
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup - npm Package Versions

1
15

4.0.1

Diff

Changelog

Source

[4.0.1] - 2023-07-28

  • Export additional types to allow augmentation from plugins
gmrchk
published 4.0.0 •

Changelog

Source

[4.0.0] - 2023-07-26

See the release notes and upgrade guide for details.

Features

  • Built-in scroll support
  • New hook system for customizing the page load lifecycle
  • Context object for controlling the transition process
  • Animation scope: add animation classes to html element or to containers
  • Easier customization of official themes
  • Allow pruning cache entries

Breaking changes

  • Hooks replace events: swup.hooks.on()
  • Use the visit argument in hooks instead of swup.transition
  • Container selectors now only match one single element per selector
  • Custom animation attribute renamed to data-swup-animation
  • Swup no longer adds data-swup attributes to containers
  • Navigation method renamed: swup.navigate()
  • Simplified cache API: cache.set()
  • Support for custom payload formats was dropped
gmrchk
published 4.0.0-rc.31 •

gmrchk
published 4.0.0-rc.30 •

gmrchk
published 4.0.0-rc.29 •

gmrchk
published 4.0.0-rc.28 •

gmrchk
published 4.0.0-rc.27 •

gmrchk
published 4.0.0-rc.26 •

gmrchk
published 4.0.0-rc.25 •

gmrchk
published 4.0.0-rc.24 •

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