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.9 to 0.2.91

6

lib/platform.js

@@ -171,3 +171,4 @@ const fs = require('fs')

getPlatformVue () {
if (process.env.UNI_PLATFORM !== 'h5' && process.env.UNI_USING_COMPONENTS) {
if (process.env.UNI_USING_COMPONENTS &&
(process.env.UNI_PLATFORM === 'mp-weixin' || process.env.UNI_PLATFORM === 'app-plus')) {
return uniRuntime

@@ -178,3 +179,4 @@ }

getPlatformCompiler () {
if (process.env.UNI_PLATFORM !== 'h5' && process.env.UNI_USING_COMPONENTS) {
if (process.env.UNI_USING_COMPONENTS &&
(process.env.UNI_PLATFORM === 'mp-weixin' || process.env.UNI_PLATFORM === 'app-plus')) {
return require(uniCompiler)

@@ -181,0 +183,0 @@ }

{
"name": "@dcloudio/uni-cli-shared",
"version": "0.2.9",
"version": "0.2.91",
"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