Cooking with fruit and less sugar will also make your carrot cake safer for people with diabetes or who struggle with severe weight problems since diet risks can be threatening to one's life. Eating Well also suggests trying raisins, applesauce, and prune pureé in your cake or cupcake recipe as alternatives to processed sugar.