Preheat the oven to 180C/350F/Gas 4. Grease and line a 13x9-inch pan with parchment paper, and set aside.
Whisk together the flour, baking soda, salt, and spices. Set aside.
In a separate large mixing bowl, mix together the grated carrots, sugars, cream cheese, eggs, and vanilla until combined.
Add the dry ingredients and mix until completely combined. Pour the batter into the prepared pan, and spread out evenly.
For the Cream Cheese Swirl
Mix together the cream cheese and sugar until smooth and combined. Add the eggs, vanilla, and flour, and mix until completely combined.
Spoon dollops of the mixture on top of the cake batter, and create swirls using a knife or toothpick.
Bake for 30 - 40 minutes or until the centre is no longer jiggly and a toothpick inserted comes out clean.
Allow to cool completely in the pan on a wire rack before cutting into bars.
Video
Notes
These bars can be stored in an airtight container at room temperature or in the fridge for up to 3 days. They also freeze well for up to 3 months. Thaw overnight the in fridge before serving.