Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the obsolete
needle
dependency
The `needle` dependency originally got introduced in mozilla#12024, almost four years ago, to be able to use pre-built binaries for the `canvas` dependency on macOS. However, nowadays the `needle` dependency isn't used by `canvas` anymore, or any other package we use for that matter, as shown by the empty NPM dependency tree: ``` $ npm ls needle pdf.js └── [email protected] ``` Investigation showed that the `canvas` package depends on the `node-pre-gyp` package which in turn depended on `needle` (see Automattic/node-canvas#1110 (comment)), but in version 1.0.0 of `node-pre-gyp` from three years ago the `needle` dependency got dropped in favor of `node-fetch`. This explains why the NPM dependency tree is empty now and proves that we can safely get rid of this dependency.
- Loading branch information