@vltpkg/graph
Advanced tools
+16
-16
| { | ||
| "name": "@vltpkg/graph", | ||
| "description": "A library that helps understanding & expressing what happens on an install", | ||
| "version": "0.0.0-3", | ||
| "version": "0.0.0-4", | ||
| "repository": { | ||
@@ -26,17 +26,17 @@ "type": "git", | ||
| "promise-call-limit": "^3.0.2", | ||
| "@vltpkg/dep-id": "0.0.0-3", | ||
| "@vltpkg/error-cause": "0.0.0-3", | ||
| "@vltpkg/package-info": "0.0.0-3", | ||
| "@vltpkg/output": "0.0.0-3", | ||
| "@vltpkg/fast-split": "0.0.0-3", | ||
| "@vltpkg/pick-manifest": "0.0.0-3", | ||
| "@vltpkg/package-json": "0.0.0-3", | ||
| "@vltpkg/registry-client": "0.0.0-3", | ||
| "@vltpkg/rollback-remove": "0.0.0-3", | ||
| "@vltpkg/run": "0.0.0-3", | ||
| "@vltpkg/satisfies": "0.0.0-3", | ||
| "@vltpkg/semver": "0.0.0-3", | ||
| "@vltpkg/types": "0.0.0-3", | ||
| "@vltpkg/workspaces": "0.0.0-3", | ||
| "@vltpkg/spec": "0.0.0-3" | ||
| "@vltpkg/error-cause": "0.0.0-4", | ||
| "@vltpkg/dep-id": "0.0.0-4", | ||
| "@vltpkg/fast-split": "0.0.0-4", | ||
| "@vltpkg/package-info": "0.0.0-4", | ||
| "@vltpkg/package-json": "0.0.0-4", | ||
| "@vltpkg/pick-manifest": "0.0.0-4", | ||
| "@vltpkg/output": "0.0.0-4", | ||
| "@vltpkg/registry-client": "0.0.0-4", | ||
| "@vltpkg/rollback-remove": "0.0.0-4", | ||
| "@vltpkg/run": "0.0.0-4", | ||
| "@vltpkg/semver": "0.0.0-4", | ||
| "@vltpkg/satisfies": "0.0.0-4", | ||
| "@vltpkg/spec": "0.0.0-4", | ||
| "@vltpkg/workspaces": "0.0.0-4", | ||
| "@vltpkg/types": "0.0.0-4" | ||
| }, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
+13
-12
@@ -5,7 +5,6 @@  | ||
| This is the graph library responsible for representing the packages that are involved in a given install. | ||
| This is the graph library responsible for representing the packages | ||
| that are involved in a given install. | ||
| **[API](#api)** | ||
| · | ||
| **[Usage](#usage)** | ||
| **[API](#api)** · **[Usage](#usage)** | ||
@@ -16,10 +15,12 @@ ## API | ||
| Recursively loads the `node_modules` folder found at `projectRoot` in order to | ||
| create a graph representation of the current installed packages. | ||
| Recursively loads the `node_modules` folder found at `projectRoot` in | ||
| order to create a graph representation of the current installed | ||
| packages. | ||
| ### `async ideal.build({ projectRoot: string }): Promise<Graph>` | ||
| This method returns a new `Graph` object, reading from the `package.json` | ||
| file located at `projectRoot` dir and building up the graph representation | ||
| of nodes and edges from the files read from the local file system. | ||
| This method returns a new `Graph` object, reading from the | ||
| `package.json` file located at `projectRoot` dir and building up the | ||
| graph representation of nodes and edges from the files read from the | ||
| local file system. | ||
@@ -32,5 +33,5 @@ ### `lockfile.load({ mainManifest: Manifest, projectRoot: string }): Graph` | ||
| Here's a quick example of how to use the `@vltpkg/graph.ideal.build` method to | ||
| build a graph representation of the install defined at the `projectRoot` | ||
| directory. | ||
| Here's a quick example of how to use the `@vltpkg/graph.ideal.build` | ||
| method to build a graph representation of the install defined at the | ||
| `projectRoot` directory. | ||
@@ -37,0 +38,0 @@ ``` |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
40
2.56%1
-50%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated