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

@mpxjs/api-proxy

Package Overview
Dependencies
Maintainers
0
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mpxjs/api-proxy - npm Package Compare versions

Comparing version 2.9.39 to 2.9.40

4

package.json
{
"name": "@mpxjs/api-proxy",
"version": "2.9.39",
"version": "2.9.40",
"description": "convert miniprogram API at each end",

@@ -42,3 +42,3 @@ "module": "src/index.js",

},
"gitHead": "87957d360b18806f16d169612d924d383ac043c4"
"gitHead": "af534454668449ab020db3566cc5af98049286fb"
}

@@ -75,3 +75,9 @@ import axios from 'axios'

}).catch(err => {
const res = { errMsg: `request:fail ${err}` }
const response = err?.response || {}
const res = {
errMsg: `request:fail ${err}`,
statusCode: response.status,
header: response.headers,
data: response.data
}
webHandleFail(res, fail, complete)

@@ -78,0 +84,0 @@ if (!fail) {

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