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

awesome-wechat-sdk

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-wechat-sdk - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

lib/wechat.js

@@ -249,3 +249,3 @@ "use strict";

}
if (token.scope.indexOf('snsapi_userinfo') >= 0) {
if (!/snsapi_userinfo/.test(token.scope)) {
return {

@@ -252,0 +252,0 @@ openid,

{
"name": "awesome-wechat-sdk",
"version": "1.3.0",
"version": "1.3.1",
"description": "an awesome sdk for wechat oauth and api",

@@ -5,0 +5,0 @@ "scripts": {

@@ -306,3 +306,3 @@ import * as urllib from 'urllib';

}
if (token.scope.indexOf('snsapi_userinfo') >= 0) {
if (!/snsapi_userinfo/.test(token.scope)) {
return {

@@ -309,0 +309,0 @@ openid,

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