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

virtual-dom

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

virtual-dom - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

index.js

2

create-element.js

@@ -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")

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