New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@cloudbase/cloud-api

Package Overview
Dependencies
Maintainers
13
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudbase/cloud-api - npm Package Compare versions

Comparing version
0.4.1-alpha.7
to
0.4.1-alpha.8
+1
-1
lib/weda-api-request.js

@@ -72,4 +72,4 @@ "use strict";

try {
console.warn('request to target', commonConfig.url);
const data = await request_1.fetch(commonConfig.url, requestConfig, commonConfig.proxy);
console.log('[wedaRequest] requestId:', data.Response.RequestId, 'action:', params.action, 'target: ', commonConfig.url);
if (data.Response.Error) {

@@ -76,0 +76,0 @@ const tcError = new error_1.CloudBaseError(data.Response.Error.Message, {

{
"name": "@cloudbase/cloud-api",
"version": "0.4.1-alpha.7",
"version": "0.4.1-alpha.8",
"description": "The cloud api request package.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -58,3 +58,3 @@ interface ICredentials {

/**
* 请求目标, 与 url 意义相同, 优先使用 target
* 请求目标, 与 url 意义类似, 但可通过设置为 prod/pre 来指定地址, 优先使用 target
* 可以是下边三个值

@@ -61,0 +61,0 @@ * 'prod' 正式地址