Allow hooks to be installed in node_modules
merge from upstream
reformatting codes
reformatting codes
reformatting codes
reformatting codes