Closed sntran closed 4 years ago
Also, request
generates warnings for all consumers:
warning less > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
This has been replaced with native-request
via this PR: https://github.com/less/less.js/pull/3501
Even though
request
is one of theoptionalDepedencies
, it is still installed through normalnpm install
, and not many people will remember to use the--no-optional
flag.I did a search and
request
is only used inlib/less-node/url-file-manager.js
. In that case, it's probably leaner to switch to something likenode-fetch
.request
is 3.84MB installed whilenode-fetch
is only 153KB installed.I would be happy to create a PR for it if it's worth considering.