New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dcloudio/uni-cli-shared

Package Overview
Dependencies
Maintainers
6
Versions
1750
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.982 to 0.2.983

14

lib/platform.js

@@ -151,2 +151,12 @@ const fs = require('fs')

preprocessContext['APP-VUE'] = false
preprocessContext['APP_VUE'] = false
preprocessContext['APP-NVUE'] = false
preprocessContext['APP_NVUE'] = false
if (process.env.UNI_PLATFORM === 'app-plus') {
preprocessContext['APP-VUE'] = true
preprocessContext['APP_VUE'] = true
}
if (process.env.UNI_PLATFORM.indexOf('mp-') === 0) {

@@ -173,2 +183,6 @@ preprocessContext['MP'] = true

const nvuePreprocessContext = Object.assign({}, preprocessContext, {
'APP-VUE': false,
'APP_VUE': false,
'APP-NVUE': true,
'APP_NVUE': true,
'APP-PLUS-NVUE': true,

@@ -175,0 +189,0 @@ 'APP_PLUS_NVUE': true

2

package.json
{
"name": "@dcloudio/uni-cli-shared",
"version": "0.2.982",
"version": "0.2.983",
"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