Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyperx-to-snabbdom

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

hyperx-to-snabbdom - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

index.js
module.exports = function (h) {
return function (tagName, attrs, children) {
var data = {
class: {},
props: {},

@@ -9,3 +8,4 @@ style: {},

hook: {},
on: {}
on: {},
"class": {},
}

@@ -22,3 +22,3 @@

for (var i = 0; i < cls.length; i++) {
data.class[cls[i]] = true
data["class"][cls[i]] = true
}

@@ -25,0 +25,0 @@ } else if (key === "style") {

{
"name": "hyperx-to-snabbdom",
"version": "0.2.1",
"version": "0.2.2",
"description": "Hyperx to Snabbdom transform function.",

@@ -20,2 +20,2 @@ "main": "index.js",

"license": "MIT"
}
}
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