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.957 to 0.2.958

1

lib/cache.js

@@ -199,2 +199,3 @@ /**

module.exports = {
getJsonFile,
getComponentSet,

@@ -201,0 +202,0 @@ getWXComponents,

6

lib/index.js

@@ -48,5 +48,6 @@ const tags = require('./tags')

getPlatformCompiler,
getPlatformCss,
getShadowCss,
getPlatformCssVars,
getPlatformCssnano,
getShadowTemplate,
jsPreprocessOptions,

@@ -88,6 +89,7 @@ cssPreprocessOptions,

getPlatformGlobal,
getPlatformCss,
getShadowCss,
getPlatformCssVars,
getPlatformCssnano,
getPlatformCompiler,
getShadowTemplate,
parsePagesJson,

@@ -94,0 +96,0 @@ parseManifestJson,

@@ -225,5 +225,12 @@ const fs = require('fs')

},
getPlatformCss () {
return `.border-image-1px {border-bottom: none;border-width: 0 0 1px 0;-webkit-border-image: url(https://cdn.dcloud.net.cn/img/border-image-1px.png) 0 0 2 0 stretch;border-image: url(https://cdn.dcloud.net.cn/img/border-image-1px.png) 0 0 2 0 stretch;}`
getShadowCss () {
let tagName = 'page'
if (process.env.UNI_PLATFORM === 'h5') {
tagName = 'body'
}
return `${tagName}::after{position: fixed;left: -1000px;top: -1000px;content: url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}`
},
getShadowTemplate (colorType = 'grey') {
return `<cover-image src="https://cdn.dcloud.net.cn/img/shadow-${colorType}.png" style="z-index:998;position:fixed;left:0;top:0;width:100%;height:3px;"/>`
},
getPlatformScss () {

@@ -230,0 +237,0 @@ return `

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