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
3
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.1.4 to 0.1.5

2

lib/index.js

@@ -33,2 +33,3 @@ const tags = require('./tags')

const {
getPlatforms,
getPlatformScss,

@@ -64,2 +65,3 @@ isInHBuilderX,

isInHBuilderX,
getPlatforms,
getPlatformScss,

@@ -66,0 +68,0 @@ getPlatformExts,

@@ -86,2 +86,5 @@ const fs = require('fs')

preprocessContext['MP'] = false
preprocessContext['APP'] = false
if (process.env.UNI_PLATFORM.indexOf('mp-') === 0) {

@@ -124,2 +127,5 @@ preprocessContext['MP'] = true

},
getPlatforms () {
return Object.keys(PLATFORMS)
},
getPlatformExts () {

@@ -126,0 +132,0 @@ return platform.exts

3

package.json
{
"name": "@dcloudio/uni-cli-shared",
"version": "0.1.4",
"version": "0.1.5",
"description": "uni-cli-shared",

@@ -12,3 +12,2 @@ "main": "lib/index.js",

"dependencies": {
"crypto": "^1.0.1",
"hash-sum": "^1.0.2",

@@ -15,0 +14,0 @@ "strip-json-comments": "^2.0.1"

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