Doesn't this PR https://github.com/googleapis/google-api-nodejs-client/pull/... , linked in the article, address this issue (its only ~1.5 years old).
It's not mentioned in the article, but we also added an eslint rule to ban importing `googleapis` so that this won't happen again in the future.