Socket
Socket
Sign inDemoInstall

hyperx

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperx - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

test/multi_elem_error.js

6

index.js

@@ -84,2 +84,8 @@ var VAR = 0, TEXT = 1, OPEN = 2, CLOSE = 3, ATTR = 4

}
if (tree[2].length > 2
|| (tree[2].length === 2 && /\S/.test(tree[2][1]))) {
throw new Error(
'multiple root elements must be wrapped in an enclosing tag'
)
}
return tree[2][0]

@@ -86,0 +92,0 @@

2

package.json
{
"name": "hyperx",
"version": "1.0.3",
"version": "1.0.4",
"description": "tagged template string virtual dom builder",

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

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