UNPKG

get-dep-tree

Version:

Use npm's Arborist to get a dependency tree for a package.

71 lines (50 loc) 5.7 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v2.0.0](https://github.com/ljharb/get-dep-tree/compare/v1.0.4...v2.0.0) - 2024-07-30 ### Commits - [Breaking] update `@npmcli/arborist`, `pacote`; drop node < 16.13 [`676df63`](https://github.com/ljharb/get-dep-tree/commit/676df63f4ef2a54ea5380b51e94274801936e292) - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`3161deb`](https://github.com/ljharb/get-dep-tree/commit/3161debed8bf549e5e2a22ea94a34994e2071735) - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`2c77dc4`](https://github.com/ljharb/get-dep-tree/commit/2c77dc453fd423dcc64fad095646a5b3a503d028) - [Deps] update `@npmcli/arborist`, `array.prototype.flat`, `pacote` [`29c3031`](https://github.com/ljharb/get-dep-tree/commit/29c30313b0a8993b8d998b8557ba186282d52548) - [meta] allow node 18-18.11, fix 14.18 threshold [`b2ce981`](https://github.com/ljharb/get-dep-tree/commit/b2ce98181ae641028e30c9f372bd1afc1d2f1cc8) - [Deps] update `arborist`, `pacote` [`3c4cd63`](https://github.com/ljharb/get-dep-tree/commit/3c4cd6384388f06ffdf2c1bda942a95e2f4e8d99) - [Deps] update arborist, `pacote` [`2ee521c`](https://github.com/ljharb/get-dep-tree/commit/2ee521c49ff86fe9c912caf542a314647b2add04) - [Dev Deps] update `@ljharb/eslint-config`, `tape` [`733e553`](https://github.com/ljharb/get-dep-tree/commit/733e553ab0c3009439c6843ed4b4c4b89a6ee181) - [Deps] update `@npmcli/arborist` [`8b71507`](https://github.com/ljharb/get-dep-tree/commit/8b715078e5fc9d916302701daf97f2b8ba798efc) - [Deps] update arborist [`4833548`](https://github.com/ljharb/get-dep-tree/commit/48335483d68ed6aca1e3d8ad7af7b34228033c65) ## [v1.0.4](https://github.com/ljharb/get-dep-tree/compare/v1.0.3...v1.0.4) - 2022-12-19 ### Commits - [actions] update checkout action [`ec968a2`](https://github.com/ljharb/get-dep-tree/commit/ec968a265167fd8e37c6d8d5e59f90311539a0b0) - [Deps] unpin arborist, `pacote`; update `array.prototype.flat` [`78098e4`](https://github.com/ljharb/get-dep-tree/commit/78098e4fd900a35a0189b15aa76402604762d851) - [Dev Deps] update `aud` [`7225fed`](https://github.com/ljharb/get-dep-tree/commit/7225fedac4a5bf1d4692b30af311fe4431398ceb) ## [v1.0.3](https://github.com/ljharb/get-dep-tree/compare/v1.0.2...v1.0.3) - 2022-09-27 ### Commits - [meta] use `npmignore` to autogenerate an npmignore file [`e452e1e`](https://github.com/ljharb/get-dep-tree/commit/e452e1ee9b7de5dfc5c503a2919dc1e0e835a331) - [Deps] update `@npmcli/arborist`, `array.prototype.flat`, `pacote` [`93921de`](https://github.com/ljharb/get-dep-tree/commit/93921de6151b31967388e97fe96694b2eedeab98) - [Deps] update `@npmcli/arborist`, `pacote` [`6492202`](https://github.com/ljharb/get-dep-tree/commit/649220275e0e407649e68ab0ef88c7ac0be3db50) - [Dev Deps] update `aud`, `tape` [`d35e7d0`](https://github.com/ljharb/get-dep-tree/commit/d35e7d09ee8b5d6f6146ff57cf1571a53a02aad4) - [Dev Deps] update `@ljharb/eslint-config`, `tape` [`a35640c`](https://github.com/ljharb/get-dep-tree/commit/a35640cfe81e334f5b1a1fcda9a624164fe99c31) - [Deps] update `@npmcli/arborist` [`93bb682`](https://github.com/ljharb/get-dep-tree/commit/93bb68236c16ac60da33315af27114b2956df1c8) ## [v1.0.2](https://github.com/ljharb/get-dep-tree/compare/v1.0.1...v1.0.2) - 2022-02-26 ### Commits - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `tape` [`a5c10d2`](https://github.com/ljharb/get-dep-tree/commit/a5c10d274f32729cae62f0ffb617fd76c8c6a88f) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`fd29727`](https://github.com/ljharb/get-dep-tree/commit/fd297273f93d1b46496cacf6512e8657ddcfd0d4) - [Deps] update `@npmcli/arborist`, `pacote` [`c63b858`](https://github.com/ljharb/get-dep-tree/commit/c63b858f1827f0a4d2c1255dc77e10067c138b82) - [Deps] update `@npmcli/arborist`, `pacote` [`b68cb53`](https://github.com/ljharb/get-dep-tree/commit/b68cb53f1b674944a01ebf0a97843f7098133237) ## [v1.0.1](https://github.com/ljharb/get-dep-tree/compare/v1.0.0...v1.0.1) - 2022-01-09 ### Commits - [Fix] pin `colors` [`04d7241`](https://github.com/ljharb/get-dep-tree/commit/04d72415f2b71ff2e267205c5985fad71aa85cf4) ## v1.0.0 - 2022-01-08 ### Commits - Initial implementation, tests [`b52e661`](https://github.com/ljharb/get-dep-tree/commit/b52e661f79d000e34a7544e4605507788721b8ac) - Initial commit [`becaa28`](https://github.com/ljharb/get-dep-tree/commit/becaa28a1700235ad49916df2da24d1069de76d1) - [meta] do not publish workflow files [`164a9ed`](https://github.com/ljharb/get-dep-tree/commit/164a9ed494ba27a75f607c2fdba457ac7f59322c) - read me [`afba6aa`](https://github.com/ljharb/get-dep-tree/commit/afba6aa834fce18c5825d6360ebf0b7283bd8f89) - npm init [`c0be10d`](https://github.com/ljharb/get-dep-tree/commit/c0be10dc1fd282fff8219d6b11cc5febcb5068b6) - [meta] add `auto-changelog` [`cfe4820`](https://github.com/ljharb/get-dep-tree/commit/cfe482013531643b8341a57f228a9ef827342974) - [Refactor] use `array.prototype.flat` instead of relying on `.concat` [`1d63028`](https://github.com/ljharb/get-dep-tree/commit/1d630284da8d8ede72432ea1ecde7d0ad8f6216e) - Only apps should have lockfiles [`24a4209`](https://github.com/ljharb/get-dep-tree/commit/24a420954b7cbeb209bf88750e26fce6c1cb90f4) - [meta] add `safe-publish-latest` [`f97e030`](https://github.com/ljharb/get-dep-tree/commit/f97e030b6c6cce2f9dbf9a7680c42d79956abdcc) - [meta] add `sideEffects` flag [`cedb9e2`](https://github.com/ljharb/get-dep-tree/commit/cedb9e2916fc7edcf8f11a107a4d2adde4fcfdc1)