@vscode/vsce
Advanced tools
Comparing version 2.22.1-0 to 2.22.1-1
@@ -525,3 +525,3 @@ "use strict"; | ||
contents = contents.replace(/<(?:img|video)[^>]+src=["']([/.\w\s#-]+)['"][^>]*>/gm, (all, link) => { | ||
const isLinkRelative = !/^\w+:\/\//.test(link) && link[0] !== '#'; | ||
const isLinkRelative = !/^\w+:\/\//.test(link) && link[0] !== '#' && !link.startsWith('data:'); | ||
if (!this.baseImagesUrl && isLinkRelative) { | ||
@@ -528,0 +528,0 @@ throw new Error(`Couldn't detect the repository where this extension is published. The image will be broken in ${this.name}. GitHub/GitLab repositories will be automatically detected. Otherwise, please provide the repository URL in package.json or use the --baseContentUrl and --baseImagesUrl options.`); |
{ | ||
"name": "@vscode/vsce", | ||
"version": "2.22.1-0", | ||
"version": "2.22.1-1", | ||
"description": "VS Code Extensions Manager", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
156639