Socket
Socket
Sign inDemoInstall

swup

Package Overview
Dependencies
Maintainers
1
Versions
142
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 0.3.5 to 0.3.6

6

lib/modules/loadPage.js

@@ -29,3 +29,7 @@ 'use strict';

var promise = new Promise(function (resolve) {
element.addEventListener(_this.transitionEndEvent, resolve);
element.addEventListener(_this.transitionEndEvent, function (event) {
if (element == event.target) {
resolve();
}
});
});

@@ -32,0 +36,0 @@ animationPromises.push(promise);

@@ -57,3 +57,7 @@ 'use strict';

var promise = new Promise(function (resolve) {
element.addEventListener(_this.transitionEndEvent, resolve);
element.addEventListener(_this.transitionEndEvent, function (event) {
if (element == event.target) {
resolve();
}
});
});

@@ -60,0 +64,0 @@ promises.push(promise);

2

package.json
{
"name": "swup",
"version": "0.3.5",
"version": "0.3.6",
"description": "Animated page transitions with css.",

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

Sorry, the diff of this file is not supported yet

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