A state judge had invalidated the package, saying shareholders were not properly informed about it. Friday’s ruling cleared the plan, now worth $139 billion.
The Chinese-owned video app formalized commitments from the software giant Oracle and two investment firms as part of a deal to keep operating in the United States.