@cloudbase/cloud-api
Advanced tools
+2
-2
@@ -91,4 +91,4 @@ "use strict"; | ||
| }; | ||
| if (this.service === 'tcb' && process.env.CLOUDBASE_TCB_CLOUDAPI_IP) { | ||
| return `http://${process.env.CLOUDBASE_TCB_CLOUDAPI_IP}`; | ||
| if (this.service === 'tcb' && process.env.CLOUDBASE_TCB_CLOUDAPI_HOST) { | ||
| return `http://${process.env.CLOUDBASE_TCB_CLOUDAPI_HOST}`; | ||
| } | ||
@@ -95,0 +95,0 @@ if (urlMap[this.service]) { |
+1
-1
| { | ||
| "name": "@cloudbase/cloud-api", | ||
| "version": "0.1.7", | ||
| "version": "0.1.8", | ||
| "description": "The cloud api request package.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
+2
-2
@@ -148,4 +148,4 @@ import crypto from 'crypto' | ||
| if (this.service === 'tcb' && process.env.CLOUDBASE_TCB_CLOUDAPI_IP) { | ||
| return `http://${process.env.CLOUDBASE_TCB_CLOUDAPI_IP}` | ||
| if (this.service === 'tcb' && process.env.CLOUDBASE_TCB_CLOUDAPI_HOST) { | ||
| return `http://${process.env.CLOUDBASE_TCB_CLOUDAPI_HOST}` | ||
| } | ||
@@ -152,0 +152,0 @@ |
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 2 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 2 instances in 1 package
30880
0.03%