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
1736
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.1.9 to 0.2.0

7

lib/platform.js

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

2

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

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