free-ui-tool
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -75,3 +75,3 @@ const _ = require("lodash"); | ||
const lastIndex = content.slice(index).indexOf(">"); | ||
const tagReg = new RegExp(`${old}-[a-z]+`, "i"); | ||
const tagReg = new RegExp(`${old}-[a-z-]+`, "i"); | ||
let component = content.slice(index, index + lastIndex); | ||
@@ -78,0 +78,0 @@ const tag = _.get(component.match(tagReg), [0], ""); |
@@ -41,3 +41,3 @@ const path = require("path"); | ||
fs.writeFileSync( | ||
path.resolve("./logger.js"), | ||
path.resolve("./logger.txt"), | ||
transformLog(logger) | ||
@@ -44,0 +44,0 @@ ); |
{ | ||
"name": "free-ui-tool", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "组件替换工具", | ||
@@ -5,0 +5,0 @@ "main": "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
21237