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

hyperx

Package Overview
Dependencies
Maintainers
6
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.4.1 to 2.0.0

8

example/deku/main.js

@@ -1,8 +0,6 @@

var dom = require('deku').dom
var element = require('deku').element
var createRenderer = dom.createRenderer
var deku = require('deku')
var hyperx = require('../..')
var hx = hyperx(element)
var hx = hyperx(deku.element)
var render = createRenderer(document.querySelector('#content'))
var render = deku.createApp(document.querySelector('#content'))

@@ -9,0 +7,0 @@ var state = {

@@ -0,1 +1,3 @@

var attrToProp = require('hyperscript-attribute-to-property')
var VAR = 0, TEXT = 1, OPEN = 2, CLOSE = 3, ATTR = 4

@@ -7,2 +9,3 @@ var ATTR_KEY = 5, ATTR_KEY_W = 6

module.exports = function (h, opts) {
h = attrToProp(h)
if (!opts) opts = {}

@@ -9,0 +12,0 @@ var concat = opts.concat || function (a, b) {

{
"name": "hyperx",
"version": "1.4.1",
"version": "2.0.0",
"description": "tagged template string virtual dom builder",

@@ -26,3 +26,5 @@ "main": "index.js",

},
"dependencies": {},
"dependencies": {
"hyperscript-attribute-to-property": "^1.0.0"
},
"directories": {

@@ -29,0 +31,0 @@ "example": "example",

Sorry, the diff of this file is not supported yet

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