New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dhtml-weixin

Package Overview
Dependencies
Maintainers
1
Versions
463
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dhtml-weixin - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

27

document.js
import HTMLElement from "./HTMLElement"
module.exports = {
createElement(nodeName){
createElement(nodeName){
switch ( nodeName ) {

@@ -30,27 +30,4 @@

getElementById(id) {
switch ( nodeName ) {
case 'canvas':
return new Promise( ( callback )=>{
const query = wx.createSelectorQuery();
query.select( `#${id}` )
.fields( { node: true } )
.exec( ( res ) => {
const canvas = res[ 0 ].node;
callback( canvas );
} );
} );
default:
return new Promise( ( callback )=>{
callback( new HTMLElement())
})
}
return new HTMLElement()
}
}

2

package.json
{
"name": "dhtml-weixin",
"version": "0.0.6",
"version": "0.0.7",
"description": "",

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