Huge News!Announcing our $40M Series B led by Abstract Ventures.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.6 to 0.0.7

6

lib/session.js

@@ -17,2 +17,8 @@ var util = require('./util.js');

this.incomingMessage = util.stripXmlJson(this.req.body);
if (!this.incomingMessage) {
var err = new Error();
err.statusCode = 500;
err.message = 'req.body is not correctly parse to message object.';
this.err = err;
}
}

@@ -19,0 +25,0 @@ Session.prototype.replyMessage = function(outgoingMessage) {

4

package.json
{
"name": "nodejs-wechat",
"version": "0.0.6",
"version": "0.0.7",
"description": "nodejs wrapper of wechat(weixin) api - well tested and bug-free",
"main": "index.js",
"scripts": {
"test": "mocha test"
"test": "mocha test -R spec"
},

@@ -9,0 +9,0 @@ "repository": {

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