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

wc-compiler

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wc-compiler - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "wc-compiler",
"version": "0.2.0",
"version": "0.2.1",
"description": "Experimental native Web Components compiler.",

@@ -5,0 +5,0 @@ "main": "src/wcc.js",

@@ -13,3 +13,3 @@ // this must come first

function getParse(html) {
return html.indexOf('<html>') >= 0 || html.indexOf('<body>') || html.indexOf('<head>')
return html.indexOf('<html>') >= 0 || html.indexOf('<body>') >= 0 || html.indexOf('<head>') >= 0
? parse

@@ -135,3 +135,3 @@ : parseFragment;

${serialize(finalTree)}
</${elementTagName}
</${elementTagName}>
`

@@ -138,0 +138,0 @@ : serialize(finalTree);

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