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

@mpxjs/api-proxy

Package Overview
Dependencies
Maintainers
3
Versions
167
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 1.0.2 to 1.0.3

9

package.json
{
"name": "@mpxjs/api-proxy",
"version": "1.0.2",
"version": "1.0.3",
"description": "convert miniprogram API at each end",
"main": "index.js",
"main": "./src/index.js",
"scripts": {

@@ -18,3 +18,6 @@ "test": "echo \"Error: no test specified\" && exit 1"

"keywords": [
"api-proxy",
"mpx",
"api",
"proxy",
"transform",
"promisify"

@@ -21,0 +24,0 @@ ],

@@ -22,3 +22,3 @@ import { proxyWxToAliApi } from './platform'

// 代理所有 api
proxyAll()
proxyAll(target)

@@ -25,0 +25,0 @@ // 转换各端 api

@@ -8,5 +8,7 @@ import { getEnvObj } from './utils'

if (typeof envObj[key] === 'function') {
traget[key] = envObj[key]
traget[key] = function (...args) {
envObj[key].apply(envObj, args)
}
}
})
}
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