Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2 to 1.2.3

8

dist/main.cjs.js

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

function _iterableToArrayLimit(arr, i) {
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
return;
}
var _arr = [];

@@ -122,3 +126,3 @@ var _n = true;

while (target && target !== document) {
if (target.matches('a')) {
if (target.matches('a') && target.getAttribute('download') == null) {
var href = target.getAttribute('href');

@@ -316,3 +320,3 @@

_this3.isLoading = false;
}).catch(function (err) {
})["catch"](function (err) {
console.log(err);

@@ -319,0 +323,0 @@ });

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

function _iterableToArrayLimit(arr, i) {
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
return;
}
var _arr = [];

@@ -120,3 +124,3 @@ var _n = true;

while (target && target !== document) {
if (target.matches('a')) {
if (target.matches('a') && target.getAttribute('download') == null) {
var href = target.getAttribute('href');

@@ -314,3 +318,3 @@

_this3.isLoading = false;
}).catch(function (err) {
})["catch"](function (err) {
console.log(err);

@@ -317,0 +321,0 @@ });

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

@@ -14,8 +14,8 @@ "repository": "modularorg/modularload",

"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"rollup": "^1.4.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^4.0.1"
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"rollup": "^1.27.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0"
}
}

@@ -52,3 +52,3 @@ export default class {

while (target && target !== document) {
if (target.matches('a')) {
if (target.matches('a') && target.getAttribute('download') == null) {
const href = target.getAttribute('href');

@@ -55,0 +55,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