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
11
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.3.4-2
to
0.4.0-0
+1
-0
lib/error.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudBaseError = void 0;
class CloudBaseError extends Error {

@@ -4,0 +5,0 @@ constructor(message, options = {}) {

+1
-1

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudApiService = exports.nodeFetch = exports.fetchStream = exports.fetch = void 0;
const crypto_1 = __importDefault(require("crypto"));

@@ -104,3 +105,2 @@ const url_1 = require("url");

};
console.log(urlMap);
if (this.service === 'tcb' && process.env.CLOUDBASE_TCB_CLOUDAPI_HOST) {

@@ -107,0 +107,0 @@ return `http://${process.env.CLOUDBASE_TCB_CLOUDAPI_HOST}`;

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchStream = exports.fetch = exports.nodeFetch = void 0;
const url_1 = require("url");

@@ -8,0 +9,0 @@ const node_fetch_1 = __importDefault(require("node-fetch"));

{
"name": "@cloudbase/cloud-api",
"version": "0.3.4-2",
"version": "0.4.0-0",
"description": "The cloud api request package.",

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