virtual-dom
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -1,3 +0,3 @@ | ||
var createElement = require("./vdom/create-element") | ||
var createElement = require("vdom/create-element") | ||
module.exports = createElement |
@@ -1,3 +0,3 @@ | ||
var diff = require("./vtree/diff") | ||
var diff = require("vtree/diff") | ||
module.exports = diff |
var isArray = require("x-is-array") | ||
var isString = require("x-is-string") | ||
var VNode = require("../vtree/vnode.js") | ||
var VText = require("../vtree/vtext.js") | ||
var isVNode = require("../vtree/is-vnode") | ||
var isVText = require("../vtree/is-vtext") | ||
var isWidget = require("../vtree/is-widget") | ||
var VNode = require("vtree/vnode.js") | ||
var VText = require("vtree/vtext.js") | ||
var isVNode = require("vtree/is-vnode") | ||
var isVText = require("vtree/is-vtext") | ||
var isWidget = require("vtree/is-widget") | ||
@@ -10,0 +10,0 @@ var parseTag = require("./parse-tag") |
{ | ||
"name": "virtual-dom", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A batched diff-based DOM rendering strategy", | ||
@@ -21,6 +21,7 @@ "keywords": [], | ||
"browser-split": "0.0.1", | ||
"global": "^4.2.1", | ||
"is-object": "^0.1.2", | ||
"x-is-array": "^0.1.0", | ||
"x-is-string": "^0.1.0" | ||
"is-object": "0.1.2", | ||
"vdom": "0.0.3", | ||
"vtree": "0.0.3", | ||
"x-is-array": "0.1.0", | ||
"x-is-string": "0.1.0" | ||
}, | ||
@@ -31,4 +32,4 @@ "devDependencies": { | ||
"tap-dot": "^0.2.1", | ||
"tap-spec": "^0.1.8", | ||
"tape": "^2.12.3" | ||
"tap-spec": "^0.2.0", | ||
"tape": "^2.13.1" | ||
}, | ||
@@ -48,3 +49,4 @@ "licenses": [ | ||
"browser": "run-browser test/index.js", | ||
"phantom": "run-browser test/index.js -b | tap-spec" | ||
"phantom": "run-browser test/index.js -b | tap-spec", | ||
"dist": "browserify --standalone virtual-dom index.js > dist/virtual-dom.js" | ||
}, | ||
@@ -51,0 +53,0 @@ "testling": { |
@@ -1,3 +0,3 @@ | ||
var patch = require("./vdom/patch") | ||
var patch = require("vdom/patch") | ||
module.exports = patch |
var test = require("tape") | ||
var h = require("../h.js") | ||
var Node = require("../vtree/vnode.js") | ||
var Node = require("vtree/vnode.js") | ||
var create = require("../create-element.js") | ||
@@ -6,0 +6,0 @@ var diff = require("../diff.js") |
@@ -7,5 +7,5 @@ var test = require("tape") | ||
var render = require("../create-element.js") | ||
var Node = require("../vtree/vnode") | ||
var TextNode = require("../vtree/vtext") | ||
var version = require("../vtree/version") | ||
var Node = require("vtree/vnode") | ||
var TextNode = require("vtree/vtext") | ||
var version = require("vtree/version") | ||
var assertEqualDom = require("./lib/assert-equal-dom.js") | ||
@@ -19,2 +19,3 @@ var patchCount = require("./lib/patch-count.js") | ||
require("./thunk.js") | ||
require("./style.js") | ||
@@ -21,0 +22,0 @@ // VirtualNode tests |
@@ -93,3 +93,3 @@ var test = require("tape") | ||
test("loose properties", function (assert) { | ||
test("null properties", function (assert) { | ||
var prev = h("div", { propA: "bar" }) | ||
@@ -100,3 +100,3 @@ var curr = h("div", { propB: "apples" }) | ||
assert.equal(elem.propA, "bar") | ||
assert.equal(elem.propA, null) | ||
assert.equal(elem.propB, "apples") | ||
@@ -103,0 +103,0 @@ |
var test = require("tape") | ||
var isThunk = require("../vtree/is-thunk") | ||
var isVNode = require("../vtree/is-vnode") | ||
var VNode = require("../vtree/vnode") | ||
var diff = require("../vtree/diff") | ||
var isThunk = require("vtree/is-thunk") | ||
var isVNode = require("vtree/is-vnode") | ||
var VNode = require("vtree/vnode") | ||
var diff = require("vtree/diff") | ||
@@ -8,0 +8,0 @@ var patchCount = require("./lib/patch-count.js") |
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
65903
6
20
1676
+ Addedvdom@0.0.3
+ Addedvtree@0.0.3
+ Addedglobal@4.2.1(transitive)
+ Addedprocess@0.5.2(transitive)
+ Addedvdom@0.0.3(transitive)
+ Addedvtree@0.0.3(transitive)
- Removedglobal@^4.2.1
- Removedglobal@4.4.0(transitive)
- Removedprocess@0.11.10(transitive)
Updatedis-object@0.1.2
Updatedx-is-array@0.1.0
Updatedx-is-string@0.1.0