@volar/shared
Advanced tools
Comparing version 1.0.24 to 1.1.0-1.2.0-alpha.1.0
@@ -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.0.24", | ||
"version": "1.1.0-1.2.0-alpha.1.0", | ||
"main": "out/index.js", | ||
@@ -12,3 +12,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/johnsoncodehk/volar.git", | ||
"url": "https://github.com/volarjs/volar.js.git", | ||
"directory": "packages/shared" | ||
@@ -20,3 +20,3 @@ }, | ||
}, | ||
"gitHead": "46da609e8914e29642f4707dec31507ad51b03fc" | ||
"gitHead": "ffc1267f2766722751551182ce1e717be661247a" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
3933
2