src/vs/platform/extensions/common/extensionValidator.ts/isValidExtensionVersion
export function isValidExtensionVersion(version: string, date: ProductDate, extensionDesc: IReducedExtensionDescription, notices: string[]): boolean {

	if (extensionDesc.isBuiltin || typeof extensionDesc.main === 'undefined') {
		// No version check for builtin or declarative extensions
		return true;
	}

	return isVersionValid(version, date, extensionDesc.engines.vscode, notices);
}