Files
react-native-devtools-frontend/node_modules/read-installed
Nikolay Vitkov 17794eed93 Update TypeScript to v5.7.3
https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/
Some changes to the ArrayBuffer types was needed. And TypeScript started
"panicking" if we included a bundle multiple times, so updated the
BUILD.gn files.

Bug: none
Change-Id: I3277c191c83ea773ef88765ff89a4f4103b5757c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6210862
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Nikolay Vitkov <nvitkov@chromium.org>
2025-01-30 03:58:33 -08:00
..
2025-01-30 03:58:33 -08:00
2021-02-17 12:08:49 +00:00
2019-12-02 14:54:54 +00:00
2019-12-02 14:54:54 +00:00
2019-12-02 14:54:54 +00:00
2021-02-17 12:08:49 +00:00
2019-12-02 14:54:54 +00:00
2019-12-02 14:54:54 +00:00

read-installed

Read all the installed packages in a folder, and return a tree structure with all the data.

npm uses this.

2.0.0

Breaking changes in 2.0.0:

The second argument is now an Object that contains the following keys:

  • depth optional, defaults to Infinity
  • log optional log Function
  • dev optional, default false, set to true to include devDependencies

Usage

var readInstalled = require("read-installed")
// optional options
var options = { dev: false, log: fn, depth: 2 }
readInstalled(folder, options, function (er, data) {
  ...
})