-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Release 0.15.0-0 🚀 #201
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
01a4f4c
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] 8103e92
fix: #186 avoid infinite recursion in filter method (#187)
miquelbeltran 8747189
chore(deps-dev): bump typescript-eslint from 7.7.1 to 7.8.0 (#189)
dependabot[bot] 0962cee
chore(deps-dev): bump @eslint/js from 9.1.1 to 9.2.0 (#190)
dependabot[bot] 0c0f76e
chore(deps-dev): bump @types/node from 20.12.7 to 20.12.8 (#191)
dependabot[bot] 7956869
Express sample app documentation improvements and renames to README.m…
TheRealAgentK 3448946
chore: Update issue templates (#195)
sumitramanga 6441240
feat: #146 async send support (#181)
miquelbeltran 42d8a6c
chore: prepare pre-release 0.15.0-0 (#202)
miquelbeltran f55da01
fix: fix develop branch (#203)
miquelbeltran ad719b4
refactor: #184 Cleanup debug/log messages and styles (#194)
TheRealAgentK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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,32 @@ | ||
# Raygun + ExpressJS sample | ||
|
||
This is a sample Express application to show how to use Raygun4Node and ExpressJS together. | ||
|
||
This example uses the local `raygun4node` package in the project root directory by simply pointing to the root directory as a dependency in package.json: | ||
|
||
``` | ||
"raygun": "file:../..", | ||
``` | ||
|
||
## Run the sample | ||
|
||
First, install the `raygun4node` package. | ||
|
||
To do so, navigate to the project root directory, then: | ||
|
||
npm install | ||
|
||
Once the package is installed, set your API key in the sample's `config/default.json` and run: | ||
|
||
npm install && npm start | ||
|
||
in the subdirectory where you found this README.md file. | ||
|
||
## Interesting files to look | ||
|
||
- `app.js` | ||
- Setup of Raygun (lines 9-12) | ||
- Sets the user (lines 27-29) | ||
- Attaches Raygun to Express (line 60) | ||
- `routes/index.js` | ||
- Tries to use a fake object, which bounces up to the Express handler (lines 11-15) |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we delete from the set? It could happen that a parent reference has two backwards references to it? I think the if side here should be a nop, so just execute the else part with the condition negated.
In other words, to avoid recursive cycles, an ancestor object could be referenced by more than one descend objects. So, always keep the ancestor object in the explored set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, looking back into this, I see now that we do not delete the _explored set. All good, I will approve