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

@xtdev/bff-request-miniprogram

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xtdev/bff-request-miniprogram - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/index.js

@@ -70,2 +70,4 @@ class BFFRequest {

return new Promise((resolve, reject) => {
if (this.baseURL && !url.startsWith('http'))
url = this.baseURL + url;
const opt = Object.assign(Object.assign({ url, data: params, method, dataType: 'json', responseType: 'text' }, arg), { success: (res) => {

@@ -72,0 +74,0 @@ this.responseInterceptor && this.responseInterceptor(res);

2

package.json
{
"name": "@xtdev/bff-request-miniprogram",
"version": "0.0.3",
"version": "0.0.4",
"description": "a http request for xiantan BFF",

@@ -5,0 +5,0 @@ "keywords": [

@@ -81,2 +81,3 @@ /// <reference path="node_modules/wechat-miniprogram/index.d.ts"

return new Promise((resolve, reject) => {
if(this.baseURL && !url.startsWith('http')) url = this.baseURL + url
const opt = {

@@ -83,0 +84,0 @@ url,

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