A person responsible for dumping a litter of newborn puppies has been condemned for a "deliberate act of cruelty".