Add --*-deprecation node flags (close #1217)