@dcloudio/uni-nvue-styler
Advanced tools
Comparing version 0.0.1-nvue3.3040020220207001 to 0.0.1-nvue3.3040020220211001
@@ -44,2 +44,7 @@ 'use strict'; | ||
}); | ||
const hyphenateRE$1 = /\B([A-Z])/g; | ||
/** | ||
* @private | ||
*/ | ||
const hyphenate = cacheStringFunction$1((str) => str.replace(hyphenateRE$1, '-$1').toLowerCase()); | ||
@@ -163,3 +168,3 @@ function createDecl(prop, value, important, raws, source) { | ||
const { prop, value, important, raws, source } = decl; | ||
let property = prop.split('-')[1]; | ||
let property = hyphenate(prop).split('-')[1]; | ||
const splitResult = value.replace(/\s*,\s*/g, ',').split(/\s+/); | ||
@@ -166,0 +171,0 @@ switch (splitResult.length) { |
@@ -1,2 +0,2 @@ | ||
import { capitalize, extend } from '@vue/shared'; | ||
import { hyphenate, capitalize, extend } from '@vue/shared'; | ||
@@ -52,3 +52,3 @@ function createDecl(prop, value, important, raws, source) { | ||
const { prop, value, important, raws, source } = decl; | ||
let property = prop.split('-')[1]; | ||
let property = hyphenate(prop).split('-')[1]; | ||
{ | ||
@@ -55,0 +55,0 @@ property = capitalize(property); |
{ | ||
"name": "@dcloudio/uni-nvue-styler", | ||
"version": "0.0.1-nvue3.3040020220207001", | ||
"version": "0.0.1-nvue3.3040020220211001", | ||
"description": "uni-nvue-styler", | ||
@@ -5,0 +5,0 @@ "main": "./dist/uni-nvue-styler.cjs.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45987
1338
0