@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -38,2 +38,3 @@ const tags = require('./tags') | ||
getPlatformScss, | ||
runByHBuilderX, | ||
isInHBuilderX, | ||
@@ -70,2 +71,3 @@ getPlatformExts, | ||
getNetworkTimeout, | ||
runByHBuilderX, | ||
isInHBuilderX, | ||
@@ -72,0 +74,0 @@ isSupportSubPackages, |
@@ -0,1 +1,4 @@ | ||
const fs = require('fs') | ||
const path = require('path') | ||
const PLATFORMS = { | ||
@@ -123,3 +126,4 @@ 'h5': { | ||
module.exports = { | ||
isInHBuilderX: process.env.UNI_CLI_HOLDER === 'HBuilderX', | ||
runByHBuilderX: !!process.env.UNI_HBUILDERX_PLUGINS, | ||
isInHBuilderX: fs.existsSync(path.resolve(process.env.UNI_CLI_CONTEXT, 'bin/uniapp-cli.js')), | ||
jsPreprocessOptions: { | ||
@@ -126,0 +130,0 @@ type: 'js', |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"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 2 instances 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
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
30543
670
24