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

swup

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup - npm Package Compare versions

Comparing version 1.7.9 to 1.7.10

2

package.json
{
"name": "swup",
"version": "1.7.9",
"version": "1.7.10",
"description": "Complete, flexible, easy to use page transition library.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -193,3 +193,3 @@ # swup

If cache is disabled, swup still preloads pages on hovered links, but the content of cache is removed after each page transition.
In case you want to preload some page automatically without any trigger by the user, `data-swup-preload` on the link will do the trick.
In case you want to preload some page automatically without any trigger by the user, `data-swup-preload` on the link will do the trick. By default, preload is set to `true`.
```javascript

@@ -244,3 +244,3 @@ preload: true

Swup instance is also accessible globally as `window.swup` in debug mode. Option defaults to false.
```javasrripts
```javascript
debugMode: false

@@ -269,3 +269,3 @@ ```

This means that position of scroll on previous page(s) is not preserved (but [can be implemented manually](https://github.com/gmrchk/swup/issues/48#issuecomment-423854819) based on use case).
Otherwise swup scrolls to top/#element on popstate as it does with normal browsing.
Otherwise swup scrolls to top/#element on popstate as it does with normal browsing. Default value is `false`.
```javascript

@@ -272,0 +272,0 @@ animateHistoryBrowsing: false

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