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.0 to 0.1.1

2

lib/index.js

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

const {
isInHBuilderX,
getPlatformExts,

@@ -57,2 +58,3 @@ getPlatformTarget,

getNetworkTimeout,
isInHBuilderX,
getPlatformExts,

@@ -59,0 +61,0 @@ getPlatformTarget,

@@ -0,1 +1,4 @@

const fs = require('fs')
const path = require('path')
const EXTS = {

@@ -63,3 +66,5 @@ 'app-plus': {

const isInHBuilderX = fs.existsSync(path.resolve(__dirname, '../../vue-cli-plugin-hbuilderx'))
module.exports = {
isInHBuilderX,
getPlatformExts () {

@@ -66,0 +71,0 @@ return EXTS[process.env.UNI_PLATFORM]

2

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