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
5
Versions
1741
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.934 to 0.2.935

9

lib/cache.js

@@ -46,2 +46,5 @@ /**

const supportGlobalUsingComponents = process.env.UNI_PLATFORM === 'mp-weixin' ||
process.env.UNI_PLATFORM === 'app-plus'
function updateComponentJson (name, jsonObj, usingComponents = true) {

@@ -51,3 +54,3 @@ const oldJsonStr = getJsonFile(name)

if (usingComponents) { // merge usingComponents
if (process.env.UNI_PLATFORM !== 'mp-weixin') { // 简单处理其他平台全局组件,直接合并到独立 json 中
if (!supportGlobalUsingComponents) { // 简单处理其他平台全局组件,直接合并到独立 json 中
jsonObj.usingComponents = Object.assign({},

@@ -65,3 +68,3 @@ globalUsingComponents,

} else { // add
if (process.env.UNI_PLATFORM !== 'mp-weixin') { // 简单处理其他平台全局组件,直接合并到独立 json 中
if (!supportGlobalUsingComponents) { // 简单处理其他平台全局组件,直接合并到独立 json 中
if (usingComponents) {

@@ -83,3 +86,3 @@ jsonObj.usingComponents = Object.assign({}, globalUsingComponents, jsonObj.usingComponents || {})

if (process.env.UNI_PLATFORM !== 'mp-weixin') { // 简单处理其他平台全局组件,直接合并到独立 json 中
if (!supportGlobalUsingComponents) { // 简单处理其他平台全局组件,直接合并到独立 json 中
usingComponents = Object.assign({}, globalUsingComponents, usingComponents)

@@ -86,0 +89,0 @@ }

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