For the first time , the United States is explicitly committing not to use nuclear weapons against non-nuclear states that are in compliance with the Nuclear Non-Proliferation Treaty , even if they attacked the United States with biological or chemical weapons , or launched a crippling cyberattack .