@volar/shared
Advanced tools
Comparing version 1.1.0-alpha.1 to 1.1.0-alpha.2
@@ -9,4 +9,4 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
function uriToFileName(uri) { | ||
if (uri.startsWith('https://cdn.jsdelivr.net/npm/')) { | ||
return '/__uri__/node_modules/' + uri.replace('https://cdn.jsdelivr.net/npm/', ''); | ||
if (uri.startsWith('https://unpkg.com/')) { | ||
return '/__uri__/node_modules/' + uri.replace('https://unpkg.com/', ''); | ||
} | ||
@@ -24,3 +24,3 @@ const _uri = vscode_uri_1.URI.parse(uri); | ||
if (path.startsWith('/__uri__/node_modules/')) { | ||
return path.replace('/__uri__/node_modules/', 'https://cdn.jsdelivr.net/npm/'); | ||
return path.replace('/__uri__/node_modules/', 'https://unpkg.com/'); | ||
} | ||
@@ -27,0 +27,0 @@ if (path.startsWith('/__uri__/')) { |
{ | ||
"name": "@volar/shared", | ||
"version": "1.1.0-alpha.1", | ||
"version": "1.1.0-alpha.2", | ||
"main": "out/index.js", | ||
@@ -12,3 +12,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/volarjs/framework.git", | ||
"url": "https://github.com/volarjs/volar.js.git", | ||
"directory": "packages/shared" | ||
@@ -20,3 +20,3 @@ }, | ||
}, | ||
"gitHead": "85666d83fafb0be442c55defb64fb0128b73bc0b" | ||
"gitHead": "2a5ff13854187a26c1b5e36c5eab8b94cbd08375" | ||
} |
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
3925