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

extes

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extes - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

6

html-element.esm.js

@@ -20,3 +20,7 @@ /**

return this;
}
};
HTMLElement.prototype.setContentHtml = function(html) {
this.innerHTML = html;
return this;
};
}

@@ -9,3 +9,26 @@ /**

return ( this instanceof DocumentFragment ) ? new DocumentFragment() : child;
}
};
Node.prototype.insertNeighborBefore = function(child) {
if ( !this.parentNode ) {
throw new RangeError( "Reference element is currently in detached mode! No way to add neighbors!" );
}
this.parentNode.insertBefore(child, this);
return ( this instanceof DocumentFragment ) ? new DocumentFragment() : child;
};
Node.prototype.insertNeighborAfter = function(child) {
if ( !this.parentNode ) {
throw new RangeError( "Reference element is currently in detached mode! No way to add neighbors!" );
}
this.parentNode.insertBefore(child, this.nextSibling);
return ( this instanceof DocumentFragment ) ? new DocumentFragment() : child;
};
Node.prototype.setContentText = function(text) {
this.textContent = text;
return this;
};
}

2

package.json
{
"name": "extes",
"version": "1.3.3",
"version": "1.4.0",
"description": "A tiny library that extends native js with some handy tools",

@@ -5,0 +5,0 @@ "main": "index.mjs",

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