In a separate large bowl, mix together the shredded carrots, sugar, brown sugar, eggs, and vegetable oil. Whisk until the eggs are broken up and the ingredients are well combined.
Bake in a preheated oven for 20–25 minutes, or until a toothpick inserted into the center comes out clean. Remove the cupcakes from the oven and let them cool to room temperature.