-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nodejs): add support for include-dev-deps flag for yarn (#4812)
* add support for include-dev-deps flag * remove go.mod replace * refactor * bump go-dep-parser --------- Co-authored-by: knqyf263 <[email protected]>
- Loading branch information
1 parent
a7bd7bb
commit 24a3e54
Showing
9 changed files
with
139 additions
and
30 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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -77,6 +77,36 @@ func Test_yarnLibraryAnalyzer_Analyze(t *testing.T) { | |
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "prop-types", | ||
Version: "15.7.2", | ||
Dev: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 27, | ||
EndLine: 34, | ||
}, | ||
}, | ||
DependsOn: []string{ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "react-is", | ||
Version: "16.13.1", | ||
Dev: true, | ||
Indirect: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 36, | ||
EndLine: 39, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "scheduler", | ||
|
@@ -310,6 +340,61 @@ func Test_yarnLibraryAnalyzer_Analyze(t *testing.T) { | |
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "object-assign", | ||
Version: "4.1.1", | ||
Indirect: true, | ||
Dev: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 64, | ||
EndLine: 69, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "prettier", | ||
Version: "2.8.8", | ||
Dev: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 87, | ||
EndLine: 94, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "prop-types", | ||
Version: "15.8.1", | ||
Dev: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 96, | ||
EndLine: 105, | ||
}, | ||
}, | ||
DependsOn: []string{ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "react-is", | ||
Version: "16.13.1", | ||
Dev: true, | ||
Indirect: true, | ||
Locations: []types.Location{ | ||
{ | ||
StartLine: 107, | ||
EndLine: 112, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ID: "[email protected]", | ||
Name: "scheduler", | ||
|
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