@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -18,2 +18,3 @@ const tags = require('./tags') | ||
hashify, | ||
camelize, | ||
hyphenate, | ||
@@ -36,2 +37,3 @@ removeExt, | ||
hashify, | ||
camelize, | ||
hyphenate, | ||
@@ -38,0 +40,0 @@ removeExt, |
@@ -46,2 +46,8 @@ const path = require('path') | ||
const camelizeRE = /-(\w)/g | ||
const camelize = cached((str) => { | ||
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : '') | ||
}) | ||
const hyphenateRE = /\B([A-Z])/g | ||
@@ -95,2 +101,3 @@ | ||
removeExt, | ||
camelize, | ||
hyphenate, | ||
@@ -97,0 +104,0 @@ normalizePath, |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22693
387