@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.1.9 to 0.2.0
@@ -1,4 +0,1 @@ | ||
const fs = require('fs') | ||
const path = require('path') | ||
const PLATFORMS = { | ||
@@ -74,4 +71,2 @@ 'h5': { | ||
const isInHBuilderX = fs.existsSync(path.resolve(__dirname, '../../vue-cli-plugin-hbuilderx')) | ||
const platform = PLATFORMS[process.env.UNI_PLATFORM] | ||
@@ -112,3 +107,3 @@ | ||
module.exports = { | ||
isInHBuilderX, | ||
isInHBuilderX: process.env.UNI_CLI_HOLDER === 'HBuilderX', | ||
jsPreprocessOptions: { | ||
@@ -115,0 +110,0 @@ type: 'js', |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.1.9", | ||
"version": "0.2.0", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
30024
650