hisco / http2-client

Transparently make http request to both http1 / http2 server.
https://www.npmjs.com/package/http2-client
MIT License
33 stars 14 forks source link

Critical dependency: the request of a dependency is an expression #24

Closed snowdream closed 4 years ago

snowdream commented 4 years ago

warning in ./node_modules/http2-client/lib/request.js

Critical dependency: the request of a dependency is an expression

in request.js

 loadModule(name){
    this[name] = require(name);
  }
hisco commented 4 years ago

This was already fixed in latest version 1.3.4 It will soon be available in NPM.