vue-docgen-cli
Advanced tools
Comparing version 4.34.3 to 4.34.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.34.4](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.34.3...v4.34.4) (2021-01-09) | ||
### Bug Fixes | ||
* **cli:** replace all instances of sep on windows ([7a76b92](https://github.com/vue-styleguidist/vue-styleguidist/commit/7a76b920219ac1fb650738459c177c19cf04dfa6)) | ||
## [4.34.3](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.34.2...v4.34.3) (2021-01-07) | ||
@@ -8,0 +19,0 @@ |
@@ -114,4 +114,5 @@ "use strict"; | ||
exports.default = getDocsBlocks; | ||
var separatorRE = new RegExp("\\" + path_1.sep, 'g'); | ||
function relativeUrl(rootPath, docFilePath) { | ||
return path_1.relative(rootPath, docFilePath).replace(path_1.sep, '/'); | ||
return path_1.relative(rootPath, docFilePath).replace(separatorRE, '/'); | ||
} | ||
@@ -118,0 +119,0 @@ function isParamTag(tag) { |
{ | ||
"name": "vue-docgen-cli", | ||
"version": "4.34.3", | ||
"version": "4.34.4", | ||
"scripts": { | ||
@@ -31,3 +31,3 @@ "compile": "tsc -p ./tsconfig.build.json", | ||
}, | ||
"gitHead": "f1965e2c745bb967caa7a32a4cf59cc12f952d69" | ||
"gitHead": "abca2c475e843a496ae0487beafbd8e96b6f89b9" | ||
} |
@@ -74,4 +74,6 @@ import { dirname, join, relative, sep } from 'path' | ||
const separatorRE = new RegExp(`\\${sep}`, 'g') | ||
function relativeUrl(rootPath: string, docFilePath: string): string { | ||
return relative(rootPath, docFilePath).replace(sep, '/') | ||
return relative(rootPath, docFilePath).replace(separatorRE, '/') | ||
} | ||
@@ -78,0 +80,0 @@ |
Sorry, the diff of this file is not supported yet
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
187084
3012