weixin_39678426
weixin_39678426
2021-01-07 09:40

Replace util.inherits

Hello,

I replaced require("util").inherits by require("inherits") which is more consistent with readable-stream usage and produce a smaller browserify build.

inherits is already a readable-stream dependency.

Thank for your job on this lib ;)

该提问来源于开源项目:fb55/htmlparser2

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答