This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: can record files with external urls
Previously, only files whose urls could be expressed relatively to the url of the project (which was always a file url) could be represented in the appmap. Now we are able to include files of any url. The relative representation if it exists is still preferred. If the relative representation does not exists, the origin of the external url will be displayed as a top-level package. I moved some pure functions in `components/classmap/default/loc.mjs` and `components/classmpa/default/specifier.mjs` to ease testing. There is a small breaking change which does not warrant a major version bump imo: the relative paths in the appmaps are always start with `./` or `../`. This is to match node module specifier.
- Loading branch information
Showing
21 changed files
with
336 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
specifier.mjs | ||
position.mjs | ||
loc.mjs | ||
entity.mjs | ||
digest.mjs | ||
exclusion.mjs | ||
|
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
Oops, something went wrong.