It doesn't becaus God was speaking to Moses and did not want anything added to his commandments. John's warning in revealations makes a reference to a book.
you theorized earlier in another post that John's warning may not extend to the entire bible. I dont agree with that. In this case the same reasoning applies to Deut.