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

modularload

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modularload - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

10

dist/main.cjs.js

@@ -299,2 +299,6 @@ 'use strict';

}).then(function (data) {
if (push) {
history.pushState(_this3.transition, null, href);
}
var parser = new DOMParser();

@@ -326,8 +330,4 @@ _this3.data = parser.parseFromString(data, 'text/html');

})["catch"](function (err) {
console.log(err);
window.location = href;
});
if (push) {
history.pushState(this.transition, null, href);
}
}

@@ -334,0 +334,0 @@ }, {

@@ -297,2 +297,6 @@ function _classCallCheck(instance, Constructor) {

}).then(function (data) {
if (push) {
history.pushState(_this3.transition, null, href);
}
var parser = new DOMParser();

@@ -324,8 +328,4 @@ _this3.data = parser.parseFromString(data, 'text/html');

})["catch"](function (err) {
console.log(err);
window.location = href;
});
if (push) {
history.pushState(this.transition, null, href);
}
}

@@ -332,0 +332,0 @@ }, {

{
"name": "modularload",
"version": "1.2.4",
"version": "1.2.5",
"description": "Dead simple page transitions and lazy loading.",

@@ -5,0 +5,0 @@ "repository": "modularorg/modularload",

@@ -216,2 +216,6 @@ export default class {

.then(data => {
if (push) {
history.pushState(this.transition, null, href);
}
const parser = new DOMParser();

@@ -241,8 +245,4 @@ this.data = parser.parseFromString(data, 'text/html');

.catch(err => {
console.log(err);
window.location = href;
})
if (push) {
history.pushState(this.transition, null, href);
}
}

@@ -249,0 +249,0 @@

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