Probably a mixed bag for Japan. This gives them an extra year before the essex class starts impacting the war, and means that the American edge in carrier based fighter aircraft is delayed, which probably helps. OTOH, Japan is going to be missing Shokaku and Zuikaku for the first few months of the war, which will seriously hamper their operations. In fact, Pearl harbour may not even happen (at least, as we know it) if there isnt time to digest the lessons of taranto. American advance may be slower, but by 1945 the war is going to effectivly be over.
For germany, it is a far more clearcut case. Every year that they delay gives the red army one more year to rearm, and makes Barbarossa that much harder. However, things do get interesting if Hitler declares war on the US as he did IOTL. May result in the western allies being more successful in europe, given extra time.