@cloudbase/cloud-api
Advanced tools
+1
-0
| "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}`; |
+1
-0
@@ -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")); |
+1
-1
| { | ||
| "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", |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
35296
0.46%826
0.24%23
9.52%