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

alipay-sdk

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alipay-sdk - npm Package Compare versions

Comparing version 1.0.14 to 1.0.16

6

lib/alipay.js

@@ -126,4 +126,8 @@ 'use strict';

const payload = this.getOrderedParamString(this.decamelize(params, needEncode));
return this.signOriginal(payload);
}
signOriginal(params) {
const sig = crypto.createSign('RSA-SHA1');
sig.update(new Buffer('' + payload));
sig.update(new Buffer(params));
return sig.sign(this.config.privateKey, 'base64');

@@ -130,0 +134,0 @@ }

3

package.json
{
"name": "alipay-sdk",
"version": "1.0.14",
"version": "1.0.16",
"description": "",

@@ -11,2 +11,3 @@ "main": "index.js",

},
"author": "",
"license": "ISC",

@@ -13,0 +14,0 @@ "dependencies": {

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