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
4
Versions
1736
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.8 to 0.1.9

2

lib/index.js

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

md5,
hasModule,
hashify,

@@ -56,2 +57,3 @@ camelize,

hashify,
hasModule,
camelize,

@@ -58,0 +60,0 @@ hyphenate,

@@ -82,2 +82,9 @@ const path = require('path')

function hasModule (name) {
try {
return !!require.resolve(name)
} catch (e) {}
return false
}
module.exports = {

@@ -88,2 +95,3 @@ md5,

},
hasModule,
parseStyle (style = {}) {

@@ -90,0 +98,0 @@ Object.keys(style).forEach(name => {

2

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