package: update "debug" to v1.0.2 and "ref" to v0.3.2