-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from ruromero/npm-pkg
fix: npm package ns parsing and enhance logs
- Loading branch information
Showing
4 changed files
with
18 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ public void testNamespace() { | |
ref = new PackageRef("pkg:npm/[email protected]"); | ||
assertEquals("foobar", ref.name()); | ||
|
||
ref = new PackageRef("pkg:npm/%40babel/[email protected]"); | ||
assertEquals("@babel/helper-compilation-targets", ref.name()); | ||
|
||
ref = new PackageRef("pkg:maven/org.apache.xmlgraphics/[email protected]?packaging=sources"); | ||
assertEquals("org.apache.xmlgraphics:batik-anim", ref.name()); | ||
} | ||
|
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