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

This commit is contained in:
Martin Aeschlimann
2024-01-08 21:50:59 +01:00
committed by GitHub
parent 891a17ab57
commit 851b39876e

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`;
}