-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test with empty resolved fields for link
- Loading branch information
1 parent
70a3287
commit a2d1871
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkg/dependency/parser/nodejs/npm/testdata/package-lock_v3_broken_link.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "node_v3_without_direct_deps", | ||
"version": "1.0.0", | ||
"lockfileVersion": 3, | ||
"requires": true, | ||
"packages": { | ||
"": { | ||
"name": "node_v3_without_direct_deps", | ||
"version": "1.0.0", | ||
"license": "ISC" | ||
}, | ||
"functions/func1": { | ||
"version": "1.0.0", | ||
"license": "ISC", | ||
"dependencies": { | ||
"debug": "^2.6.9" | ||
} | ||
}, | ||
"node_modules/func1": { | ||
"resolved": "", | ||
"link": true | ||
} | ||
} | ||
} |