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

weex-vdom-tester

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weex-vdom-tester - npm Package Compare versions

Comparing version 0.1.4 to 0.2.0

10

lib/instance.js

@@ -84,3 +84,3 @@ var ref = require('./document');

Instance.prototype.$create = function $create (code, config, data) {
Instance.prototype.$create = function $create (code, callbacks, config, data) {
var this$1 = this;

@@ -120,3 +120,3 @@

return (function (callNative) {
return target.createInstance(this$1.id, code, config, data)
return target.createInstance(this$1.id, code, config, data, { config: config, callbacks: callbacks })
})(this.callNative.bind(this))

@@ -191,3 +191,3 @@ };

timestamp: Date.now(),
args: clonePlainObject([ref, type, data, domChanges])
args: clonePlainObject([ref, type, data, domChanges])
})

@@ -217,5 +217,5 @@ target.receiveTasks(this.id, [{

method: 'callback',
timestamp: Date.now(),
timestamp: Date.now(),
args: clonePlainObject([funcId, data, ifLast])
})
})
target.receiveTasks(this.id, [{

@@ -222,0 +222,0 @@ method: 'callback',

{
"name": "weex-vdom-tester",
"version": "0.1.4",
"version": "0.2.0",
"description": "Virtual-DOM test driver for Weex",

@@ -5,0 +5,0 @@ "main": "index.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