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

html-demo-element

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-demo-element - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

html-demo-element.js

@@ -57,3 +57,3 @@ import "https://unpkg.com/prismjs@1.23.0/components/prism-core.min.js";

this[name] = newValue;
this.render();
this.isInitialized && this.render();
}

@@ -75,3 +75,3 @@ }

return template ? template.parentElement.insertBefore( slot, template )
: this.append( slot );
: this.appendChild( slot );
};

@@ -92,2 +92,3 @@

demoDom.map( el=> this.demoSlot.append(el));
this.isInitialized = 1;
this.render();

@@ -94,0 +95,0 @@ }

2

package.json
{
"name": "html-demo-element",
"version": "1.0.4",
"version": "1.0.5",
"description": "Webcomponent inserts prism JS syntax colored HTML in html-demo-element before actual dom",

@@ -5,0 +5,0 @@ "author": "Sasha Firsov",

@@ -54,4 +54,4 @@ # html-demo-element

# Live demo
* https://unpkg.com/html-demo-element@1.0.4/demo/index.html
* https://unpkg.com/html-demo-element@1.0.4/demo/advanced.html
* https://unpkg.com/html-demo-element@1.0.5/demo/index.html
* https://unpkg.com/html-demo-element@1.0.5/demo/advanced.html
* https://unpkg.com/slotted-element@1.0.2/demo/index.html

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