Merge pull request #254690 from madskristensen/schemastore-subdomain-fix

Updated references to schemastore.org
This commit is contained in:
Martin Aeschlimann 2025-07-11 12:10:29 +02:00 committed by GitHub
commit 6dd2b84fa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 17 additions and 17 deletions

View File

@ -83,7 +83,7 @@
"fileMatch": [
"cgmanifest.json"
],
"url": "https://json.schemastore.org/component-detection-manifest.json",
"url": "https://www.schemastore.org/component-detection-manifest.json",
},
{
"fileMatch": [

View File

@ -158,7 +158,7 @@ async function getSchemaRequestService(context: ExtensionContext, log: LogOutput
return {
getContent: async (uri: string) => {
if (cache && /^https?:\/\/json\.schemastore\.org\//.test(uri)) {
if (cache && /^https?:\/\/(json|www)\.schemastore\.org\//.test(uri)) {
const content = await cache.getSchemaIfUpdatedSince(uri, retryTimeoutInHours);
if (content) {
if (log.logLevel === LogLevel.Trace) {

View File

@ -90,7 +90,7 @@ The server supports the following settings:
"foo.json",
"*.superfoo.json"
],
"url": "http://json.schemastore.org/foo",
"url": "http://www.schemastore.org/foo",
"schema": {
"type": "array"
}

View File

@ -336,11 +336,11 @@
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "https://json.schemastore.org/package"
"url": "https://www.schemastore.org/package"
},
{
"fileMatch": "bower.json",
"url": "https://json.schemastore.org/bower"
"url": "https://www.schemastore.org/bower"
}
],
"taskDefinitions": [

View File

@ -81,7 +81,7 @@
},
{
"fileMatch": "tsconfig.json",
"url": "https://json.schemastore.org/tsconfig"
"url": "https://www.schemastore.org/tsconfig"
},
{
"fileMatch": "tsconfig.json",
@ -89,7 +89,7 @@
},
{
"fileMatch": "tsconfig.*.json",
"url": "https://json.schemastore.org/tsconfig"
"url": "https://www.schemastore.org/tsconfig"
},
{
"fileMatch": "tsconfig-*.json",
@ -97,7 +97,7 @@
},
{
"fileMatch": "tsconfig-*.json",
"url": "https://json.schemastore.org/tsconfig"
"url": "https://www.schemastore.org/tsconfig"
},
{
"fileMatch": "tsconfig.*.json",
@ -105,27 +105,27 @@
},
{
"fileMatch": "typings.json",
"url": "https://json.schemastore.org/typings"
"url": "https://www.schemastore.org/typings"
},
{
"fileMatch": ".bowerrc",
"url": "https://json.schemastore.org/bowerrc"
"url": "https://www.schemastore.org/bowerrc"
},
{
"fileMatch": ".babelrc",
"url": "https://json.schemastore.org/babelrc"
"url": "https://www.schemastore.org/babelrc"
},
{
"fileMatch": ".babelrc.json",
"url": "https://json.schemastore.org/babelrc"
"url": "https://www.schemastore.org/babelrc"
},
{
"fileMatch": "babel.config.json",
"url": "https://json.schemastore.org/babelrc"
"url": "https://www.schemastore.org/babelrc"
},
{
"fileMatch": "jsconfig.json",
"url": "https://json.schemastore.org/jsconfig"
"url": "https://www.schemastore.org/jsconfig"
},
{
"fileMatch": "jsconfig.json",
@ -133,7 +133,7 @@
},
{
"fileMatch": "jsconfig.*.json",
"url": "https://json.schemastore.org/jsconfig"
"url": "https://www.schemastore.org/jsconfig"
},
{
"fileMatch": "jsconfig.*.json",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://json.schemastore.org/mocharc",
"$schema": "https://www.schemastore.org/mocharc",
"ui": "tdd",
"timeout": 10000
}

View File

@ -1,5 +1,5 @@
{
"$schema": "https://json.schemastore.org/mocharc",
"$schema": "https://www.schemastore.org/mocharc",
"ui": "bdd",
"timeout": 10000
}