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

deku

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deku - npm Package Compare versions

Comparing version 0.4.6 to 0.4.8

12

History.md
0.4.8 / 2015-07-01
==================
* Merge branch 'master' of ssh://github.com/dekujs/deku
* Merge pull request #188 from xdissent/fix-remove-null-el
* Handle null element in isElement(). fixes #180
0.4.7 / 2015-07-01
==================
* Not pooling select elements
0.4.6 / 2015-06-29

@@ -3,0 +15,0 @@ ==================

6

lib/render.js

@@ -25,3 +25,3 @@ /**

var avoidPooling = ['input', 'textarea'];
var avoidPooling = ['input', 'textarea', 'select', 'option'];

@@ -744,3 +744,3 @@ /**

// Just remove the text node
if (!isElement(el)) return el.parentNode.removeChild(el)
if (!isElement(el)) return el && el.parentNode.removeChild(el)

@@ -929,3 +929,3 @@ // Then we need to find any components within this

function isElement (el) {
return !!el.tagName
return !!(el && el.tagName)
}

@@ -932,0 +932,0 @@

{
"name": "deku",
"version": "0.4.6",
"version": "0.4.8",
"repository": "segmentio/deku",

@@ -5,0 +5,0 @@ "description": "Create view components using a virtual DOM",

Sorry, the diff of this file is too big to display

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