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.6.2 to 0.6.3

text.js

7

CHANGELOG.md

@@ -9,2 +9,9 @@ # Change Log

## [0.6.3] - 2018-08-26
### Added
- text for TextNodes
### Fixed
- updateChildren optimisation
## [0.6.0] - 2018-01-21

@@ -11,0 +18,0 @@ ### Removed

1

index.js

@@ -6,2 +6,3 @@ // @ts-check

svg: require('./svg'),
text: require('./text'),
list: require('./list'),

@@ -8,0 +9,0 @@ update: require('./update'),

2

list.js

@@ -62,3 +62,3 @@ var core = require('./core')

//place kid
if (kid === spot.nextSibling) kin.insertBefore(spot, list.tail)
if (kid === spot.nextSibling) kin.removeChild(spot)
else if (kid !== spot) kin.insertBefore(kid, spot)

@@ -65,0 +65,0 @@ spot = kid.nextSibling

{
"name": "attodom",
"version": "0.6.2",
"version": "0.6.3",
"main": "./index.js",

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

@@ -34,6 +34,7 @@ # attodom

### Elements (hyperscript)
### Elements and Nodes (hyperscript)
* `el(tagName [, attributes[, updater [,children]]] ): HTMLElement`
* `svg(tagName [, attributes[, updater [,children]]] ): SVGElement`
* `text(content [, properties[, updater]]] ): TextNode`

@@ -40,0 +41,0 @@ where

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