npm / minipass-fetch

An implementation of window.fetch in Node.js using Minipass streams
Other
54 stars 11 forks source link

[QUESTION] Encoding used as dependency ? #10

Closed fraxken closed 3 years ago

fraxken commented 3 years ago

What / Why

The dependency encoding appear as dependency and optionalDependencies whereas it seems to be used only in the tests.

Expected

It should be tagged as devDependencies (but maybe i miss something).

isaacs commented 3 years ago

It's an optional dependency that is used here: https://github.com/npm/minipass-fetch/blob/main/lib/body.js#L10-L13

(edit: wrong link!)