Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dcloudio/uni-cli-shared

Package Overview
Dependencies
Maintainers
4
Versions
1739
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcloudio/uni-cli-shared - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

2

lib/index.js

@@ -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',

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc