leancloud-log-middleware
Advanced tools
Comparing version 1.4.2 to 1.4.3
var request = require('request'); | ||
var AV = require('leanengine'); | ||
var BASE_URL = (process.env.isUS === 'true') ? 'http://us-api.leancloud.cn/1.1/classes' : 'https://api.leancloud.cn/1.1/classes'; | ||
var BASE_URL = (process.env.isUS === 'true') ? 'http://us-api.leancloud.cn/1.1/classes' : 'http://api.leancloud.cn/1.1/classes'; | ||
var CLASS = process.env.LOG_SYSTEM_CLASS; | ||
@@ -10,2 +10,3 @@ | ||
appKey: process.env.LEANCLOUD_APP_KEY, | ||
masterKey: process.env.LEANCLOUD_APP_MASTER_KEY, | ||
region: 'us' | ||
@@ -17,2 +18,3 @@ }); | ||
appKey: process.env.LEANCLOUD_APP_KEY, | ||
masterKey: process.env.LEANCLOUD_APP_MASTER_KEY | ||
}); | ||
@@ -19,0 +21,0 @@ } |
{ | ||
"name": "leancloud-log-middleware", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Middleware of creating Leancloud object, by configuring LOG_SYSTEM_APP_ID, LOG_SYSTEM_APP_KEY and LOG_SYSTEM_CLASS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9552
211
13