0.3.0 • Published 3 years ago
dpan v0.3.0
DPAN, a DePendency ANalyzer
Table of Contents generated with DocToc
What It Is
DePendancy ANalyzer, an SQLite-based database of your projects' npm dependency trees
Notes
- DB file created and re-used by default
- most
insertsareupserts/on conflict do nothing, so faster on updates - unclear how to deal with deletions though
To Do
- – implement
- – document
- – add property
dbatoDpan::constructor()to pass configuration directly to ICQL/DBA - – fetch data from
https://registry.npmjs.cf/$pkg_name - – provide info about vulnerabilities
- – package manager used (npm/pnpm/yarn...)
- – circular dependencies
– try to handle spurious changes caused by Unicode Normalization on some file systems (e.g. APFS); case in point is dbay-rustybuzz which has some filenames with
ä; originally entered as single codepoint, theäis turned into a sequence of base letter plus combining diacritic. This change is not reported bygit status, butgit-utilsrepo.getStatus()returns an object like this:{ 'fonts/schäffel.ch/1455_gutenberg_b42.otf': 128, 'fonts/schäffel.ch/1458_gutenberg_b36.otf': 128, 'fonts/schäffel.ch/2002_horatius.otf': 128, 'fonts/schäffel.ch/LICENSE.txt': 128, 'fonts/schäffel.ch/1455_gutenberg_b42.otf': 512, 'fonts/schäffel.ch/1458_gutenberg_b36.otf': 512, 'fonts/schäffel.ch/2002_horatius.otf': 512, 'fonts/schäffel.ch/LICENSE.txt': 512 }where the files in question both have a
deletedand anewmarker. One should suspect this being a flaw in eithergitor ingit-utils; also check hownodegitdeals with this situation.