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

push-huawei

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

push-huawei - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

19

lib/push-huawei.js

@@ -30,3 +30,19 @@ const axios = require('axios');

async push(data) {
const { access_token } = await this.getToken();
const { access_token } = await this.getToken().catch((err) => {
data.fail(err);
return {
access_token: null
}
});
if(!access_token) {
data.finish({
status: 'success',
maxLength: this.options.maxLength,
group: 0,
success_total: 0,
fail_total: data.list.length
});
return;
}
const customize = [];

@@ -122,2 +138,3 @@ let n = 0;

method: 'POST',
timeout: this.options.timeout,
data: querystring.stringify({

@@ -124,0 +141,0 @@ grant_type: this.options.grant_type,

2

package.json
{
"name": "push-huawei",
"version": "0.1.7",
"version": "0.1.8",
"description": "push-huawei",

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