@riotjs/dom-bindings
Advanced tools
Comparing version 0.11.3 to 1.0.0
@@ -8,3 +8,3 @@ /** | ||
const children = node.childNodes; | ||
children.forEach(n => node.removeChild(n)); | ||
Array.from(children).forEach(n => node.removeChild(n)); | ||
} | ||
@@ -816,4 +816,4 @@ | ||
case mustUnmount: | ||
this.unmount(scope); | ||
swap(this.placeholder, this.node); | ||
this.unmount(scope); | ||
break | ||
@@ -1390,2 +1390,3 @@ default: | ||
this.bindings.forEach(b => b.unmount(scope)); | ||
cleanNode(this.el); | ||
@@ -1392,0 +1393,0 @@ |
@@ -14,3 +14,3 @@ (function (global, factory) { | ||
const children = node.childNodes; | ||
children.forEach(n => node.removeChild(n)); | ||
Array.from(children).forEach(n => node.removeChild(n)); | ||
} | ||
@@ -822,4 +822,4 @@ | ||
case mustUnmount: | ||
this.unmount(scope); | ||
swap(this.placeholder, this.node); | ||
this.unmount(scope); | ||
break | ||
@@ -1396,2 +1396,3 @@ default: | ||
this.bindings.forEach(b => b.unmount(scope)); | ||
cleanNode(this.el); | ||
@@ -1398,0 +1399,0 @@ |
{ | ||
"name": "@riotjs/dom-bindings", | ||
"version": "0.11.3", | ||
"version": "1.0.0", | ||
"description": "Riot.js DOM bindings", | ||
@@ -42,13 +42,13 @@ "main": "dist/umd.dom-bindings.js", | ||
"coveralls": "^3.0.3", | ||
"eslint": "^5.15.3", | ||
"eslint": "^5.16.0", | ||
"eslint-config-riot": "^2.0.0", | ||
"esm": "^3.2.20", | ||
"esm": "^3.2.22", | ||
"jsdom": "14.0.0", | ||
"jsdom-global": "3.0.2", | ||
"mocha": "^6.0.2", | ||
"nyc": "^13.3.0", | ||
"rollup": "^1.7.3", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.0.0", | ||
"rollup": "^1.10.0", | ||
"rollup-plugin-alias": "^1.5.1", | ||
"rollup-plugin-node-resolve": "^4.0.1", | ||
"sinon": "^7.3.1", | ||
"rollup-plugin-node-resolve": "^4.2.3", | ||
"sinon": "^7.3.2", | ||
"sinon-chai": "^3.3.0" | ||
@@ -55,0 +55,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
91288
1