Preheat the oven to 350 degrees F. Prepare a 9x9 baking dish with parchment paper.
Melt the butter. Add into a mixing bowl along with the brown sugar, vanilla and almond extract. Whisk together.
Then add the egg and egg yolk, whisking again until smooth. Add the grated carrots and fold the mixture together until thoroughly combined.
Add the flour, cinnamon, nutmeg, ginger, and salt. Fold this into the mixture with a rubber scraper until all the ingredients are completely blended together.
Fold in the chopped pecans.
Pour the batter into the prepared baking dish and spread evenly.
Bake in the oven for about 30-35 minutes or until the edges are a light brown and the center has set.
When they are done, be sure to let them fully cool before slicing into bars and adding frosting.
To prepare the frosting: add the butter, cream cheese and salt to a mixing bowl. Beat together with a hand mixer until combined and fluffy.
Add in the vanilla and mix once more. Now add in the powdered sugar once cup at a time, mixing in between.
Once they are cooled, frost them with the icing and sprinkle with the extra chopped pecans if desired.
Remove them from the pan with the parchment paper, cut into bars and serve!