Bring a large pot of salted water to a boil. Cook the ravioli according to the package instructions. Drain and set aside.
Meanwhile, heat half of the butter and olive oil in a large skillet over medium-high heat. When hot, add the shrimp and cook on both sides until just starting to turn opaque, 2 minutes per side. Remove to a plate and set aside.
Return the skillet to the heat and add the remaining butter and olive oil. Add the garlic and onions, stir to combine and cook until the onions have softened slightly, about 3 minutes.
Deglaze with the wine, scraping the bottom of the skillet, and simmer until reduced by half, about 45 seconds. Add the tomato sauce, cream and pepper and stir to combine. Bring to a simmer, then reduce the heat to low.
Chop the shrimp into bite-size chunks and stir back into the skillet. Add the parsley and basil and stir. Add the ravioli to the sauce and top with more parsley and basil.