Both parties have their fair share of anti personal liberty per issues these days.
The Republicans are not the party of liberty. Among senators, only Rand Paul, and Democrat Ron Wyden, voted against FOSTA for example:
https://www.senate.gov/legislative/LIS/roll_call_votes/vote1...
National security and suspicion of foreign nations is also why the restrictions Republicans support often relate to how people interact with non-Americans. This can be seen in Republican support for sanctions and tariffs.
But I was commenting about raw milk and how the Democrats' philosophy on personal rights to consume commercial products relates to it.