[json] don't use md5 (#201971)

pull/201981/head^2
Martin Aeschlimann 2024-01-08 21:50:59 +01:00 committed by GitHub
parent 891a17ab57
commit 851b39876e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -143,5 +143,5 @@ export class JSONSchemaCache {
}
}
function getCacheFileName(uri: string): string {
return `${createHash('MD5').update(uri).digest('hex')}.schema.json`;
return `${createHash('sha256').update(uri).digest('hex')}.schema.json`;
}