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

nodejs-wechat

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-wechat - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

lib/wechat.js

@@ -11,2 +11,3 @@ var events = require('events');

this.token = opt.token;
this.url = opt.url;
}

@@ -13,0 +14,0 @@ nodeutil.inherits(Wechat, events.EventEmitter);

2

package.json
{
"name": "nodejs-wechat",
"version": "0.0.2",
"version": "0.0.3",
"description": "wechat api",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,9 +24,13 @@ # Nodejs Wechat

var server = http.createServer(function(req, res) {
parse(req, res, function(err) {
if (err) {
res.end();
return;
}
wechat.handleRequest(req, res);
});
if (req.method === 'GET') {
wechat.verifyRequest(req, res);
} else {
parse(req, res, function(err) {
if (err) {
res.end();
return;
}
wechat.handleRequest(req, res);
});
}
});

@@ -33,0 +37,0 @@ server.listen(80);

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