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

attodom

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

attodom - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

8

el.js

@@ -41,7 +41,7 @@ var EVENTS = require('./src/events')

}
else {
var kids = arg == null ? [] : Array.isArray(arg) ? arg : [arg]
for (var k=0; k<kids.length; ++k) node.appendChild(
kids[k].nodeType ? kids[k] : document.createTextNode(kids[k])
else if (arg !== null) {
if (Array.isArray(arg)) for (var k=0; k<arg.length; ++k) node.appendChild(
arg[k].nodeType ? arg[k] : document.createTextNode(arg[k])
)
else node.appendChild(arg.nodeType ? arg : document.createTextNode(arg))
}

@@ -48,0 +48,0 @@ }

{
"name": "attodom",
"version": "0.11.2",
"version": "0.11.3",
"main": "./index.js",

@@ -5,0 +5,0 @@ "description": "yet another small DOM component library",

@@ -18,3 +18,3 @@ # attodom

* multiple dynamic lists within the same parent
* svg and namespace support
* svg support
* no virtual DOM, all operations are done on actual nodes

@@ -21,0 +21,0 @@ * synthetic events available

@@ -30,7 +30,7 @@ var EVENTS = require('./src/events')

}
else {
var kids = arg == null ? [] : Array.isArray(arg) ? arg : [arg]
for (var k=0; k<kids.length; ++k) node.appendChild(
kids[k].nodeType ? kids[k] : document.createTextNode(kids[k])
else if (arg !== null) {
if (Array.isArray(arg)) for (var k=0; k<arg.length; ++k) node.appendChild(
arg[k].nodeType ? arg[k] : document.createTextNode(arg[k])
)
else node.appendChild(arg.nodeType ? arg : document.createTextNode(arg))
}

@@ -37,0 +37,0 @@ }

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