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.0.6 to 1.0.7

4

dist/main.cjs.js

@@ -296,6 +296,6 @@ 'use strict';

if (xhref) {
svg.setAttribute('xlink:href', xhref);
svg.parentNode.innerHTML = '<use xlink:href="' + xhref + '"></use>';
} else {
var href = svg.getAttribute('href');
if (href) svg.setAttribute('href', href);
if (href) svg.parentNode.innerHTML = '<use href="' + href + '"></use>';
}

@@ -302,0 +302,0 @@ });

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

if (xhref) {
svg.setAttribute('xlink:href', xhref);
svg.parentNode.innerHTML = '<use xlink:href="' + xhref + '"></use>';
} else {
var href = svg.getAttribute('href');
if (href) svg.setAttribute('href', href);
if (href) svg.parentNode.innerHTML = '<use href="' + href + '"></use>';
}

@@ -300,0 +300,0 @@ });

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

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

@@ -215,6 +215,6 @@ export default class {

if (xhref) {
svg.setAttribute('xlink:href', xhref);
svg.parentNode.innerHTML = '<use xlink:href="' + xhref + '"></use>';
} else {
const href = svg.getAttribute('href');
if (href) svg.setAttribute('href', href);
if (href) svg.parentNode.innerHTML = '<use href="' + href + '"></use>';
}

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