Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
0dee5c2
chore(deps-dev): bump prettier from 3.4.1 to 3.4.2 (#354)
dependabot[bot] Feb 2, 2025
56872be
chore(deps-dev): bump typescript from 5.7.2 to 5.7.3 (#356)
dependabot[bot] Feb 2, 2025
ae6096f
chore(deps-dev): bump eslint-plugin-tsdoc from 0.3.0 to 0.4.0 (#355)
dependabot[bot] Feb 2, 2025
3680047
chore(deps-dev): bump @types/node from 22.0.2 to 22.13.0 (#357)
dependabot[bot] Feb 2, 2025
3f472d5
chore(deps-dev): bump nock from 13.5.6 to 14.0.0 (#358)
dependabot[bot] Feb 7, 2025
78b5384
chore(deps-dev): bump semver from 7.6.3 to 7.7.1 (#363)
dependabot[bot] Mar 1, 2025
18be3cf
chore(deps-dev): bump tap from 21.0.1 to 21.1.0 (#361)
dependabot[bot] Mar 1, 2025
8812e18
chore(deps): bump uuid from 11.0.2 to 11.1.0 (#359)
dependabot[bot] Mar 1, 2025
50fcb3c
chore(deps-dev): bump typescript-eslint from 8.19.0 to 8.25.0 (#360)
dependabot[bot] Mar 1, 2025
d676b5d
chore(deps-dev): bump @stylistic/eslint-plugin-ts from 2.11.0 to 4.1.…
dependabot[bot] Mar 3, 2025
82b3974
chore(deps-dev): bump prismjs from 1.29.0 to 1.30.0 (#364)
dependabot[bot] Mar 11, 2025
8d83e31
docs: add Releasing and Contributing (#365)
miquelbeltran Mar 21, 2025
7cf3108
chore(deps): bump body-parser in /examples/express-sample (#366)
dependabot[bot] Apr 1, 2025
73223b7
chore(deps-dev): bump eslint from 9.17.0 to 9.23.0 (#367)
dependabot[bot] Apr 1, 2025
5f6cff6
chore(deps-dev): bump @eslint/js from 9.17.0 to 9.23.0 (#368)
dependabot[bot] Apr 1, 2025
fe1d6fe
chore(deps): bump express and @types/express (#369)
dependabot[bot] Apr 1, 2025
b4fc352
chore(deps-dev): bump prettier from 3.4.2 to 3.5.3 (#370)
dependabot[bot] Apr 1, 2025
ed65b9a
chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 (#371)
dependabot[bot] Apr 4, 2025
b7a9afe
fix(sdk): Add host to headers if specified (#373)
tomdenosix Apr 8, 2025
022ab45
chore: release 2.1.2 (#374)
miquelbeltran Apr 8, 2025
68aefa9
chore(deps-dev): bump eslint from 9.23.0 to 9.25.1 (#376)
dependabot[bot] May 1, 2025
0586402
chore(deps-dev): bump @stylistic/eslint-plugin-ts from 4.1.0 to 4.2.0…
dependabot[bot] May 1, 2025
e3f4ab4
chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 (#379)
dependabot[bot] May 1, 2025
abadfcb
chore(deps-dev): bump typescript-eslint from 8.29.0 to 8.31.1 (#377)
dependabot[bot] May 1, 2025
1e819d4
chore(deps): bump creyD/prettier_action from 4.3 to 4.5 (#380)
dependabot[bot] Jun 1, 2025
96dd08a
chore(deps-dev): bump @types/node from 22.13.0 to 22.15.29 (#386)
dependabot[bot] Jun 1, 2025
c705efd
chore(deps-dev): bump @stylistic/eslint-plugin-ts from 4.2.0 to 4.4.0…
dependabot[bot] Jun 1, 2025
eaad521
chore(deps-dev): bump typescript-eslint from 8.31.1 to 8.33.0 (#383)
dependabot[bot] Jun 1, 2025
92675a8
chore(deps): bump debug from 4.4.0 to 4.4.1 (#382)
dependabot[bot] Jun 1, 2025
ab2cb55
chore(deps-dev): bump @stylistic/eslint-plugin from 2.11.0 to 4.4.0 (…
dependabot[bot] Jun 1, 2025
b1c180a
chore(deps): bump config in /examples/express-sample (#381)
dependabot[bot] Jun 1, 2025
7e4e518
chore(deps): bump config from 3.3.12 to 4.0.0 in /examples/using-doma…
dependabot[bot] Jun 1, 2025
44e6201
chore(deps-dev): bump @stylistic/eslint-plugin-ts from 4.4.0 to 4.4.1…
dependabot[bot] Jul 1, 2025
8b14790
chore(deps): bump serve-favicon in /examples/express-sample (#389)
dependabot[bot] Jul 1, 2025
c764414
chore(deps-dev): bump nock from 14.0.0 to 14.0.5 (#390)
dependabot[bot] Jul 1, 2025
35cf6bb
chore(deps-dev): bump @stylistic/eslint-plugin from 4.4.0 to 5.1.0 (#…
dependabot[bot] Jul 1, 2025
de3046b
chore(deps-dev): bump @eslint/js from 9.25.1 to 9.30.0 (#392)
dependabot[bot] Jul 1, 2025
9adb034
chore(deps): bump creyD/prettier_action from 4.5 to 4.6 (#394)
dependabot[bot] Jul 1, 2025
79a63e4
chore(deps-dev): bump eslint from 9.25.1 to 9.30.0 (#393)
dependabot[bot] Jul 1, 2025
4a24bec
chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 (#395)
dependabot[bot] Jul 1, 2025
30464cd
chore(deps): bump @types/express from 5.0.1 to 5.0.3 (#396)
dependabot[bot] Jul 1, 2025
d907324
chore(deps-dev): bump semver from 7.7.1 to 7.7.2 (#397)
dependabot[bot] Jul 1, 2025
6ea93c2
chore(deps-dev): bump @types/node from 22.15.29 to 24.0.8 (#398)
dependabot[bot] Jul 1, 2025
4054cb5
chore(deps-dev): bump typescript-eslint from 8.33.0 to 8.35.1 (#399)
dependabot[bot] Jul 1, 2025
a6b1734
chore(deps): bump on-headers and morgan in /examples/express-sample (…
dependabot[bot] Jul 22, 2025
086f5b0
chore(deps): bump config from 4.0.0 to 4.1.0 in /examples/using-domai…
dependabot[bot] Aug 1, 2025
9275eb2
chore(deps): bump config from 4.0.0 to 4.1.0 in /examples/express-sam…
dependabot[bot] Aug 1, 2025
354bc18
chore(deps-dev): bump typescript-eslint from 8.35.1 to 8.38.0 (#405)
dependabot[bot] Aug 1, 2025
36b208f
chore(deps-dev): bump nock from 14.0.5 to 14.0.7 (#402)
dependabot[bot] Aug 1, 2025
fdc0e36
chore(deps-dev): bump @stylistic/eslint-plugin from 5.1.0 to 5.2.2 (#…
dependabot[bot] Aug 1, 2025
9df9926
chore(deps-dev): bump @eslint/js from 9.30.0 to 9.32.0 (#403)
dependabot[bot] Aug 1, 2025
f827859
chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 (#404)
dependabot[bot] Aug 5, 2025
0fab8c7
chore(deps): bump actions/checkout from 4 to 5 (#416)
dependabot[bot] Sep 2, 2025
fcf57a8
chore(deps-dev): bump @eslint/js from 9.32.0 to 9.34.0 (#408)
dependabot[bot] Sep 2, 2025
7d96e52
chore(deps-dev): bump @types/node from 24.0.8 to 24.3.0 (#409)
dependabot[bot] Sep 2, 2025
c3b6ac4
chore(deps-dev): bump typescript-eslint from 8.39.0 to 8.41.0 (#411)
dependabot[bot] Sep 2, 2025
6372b42
chore(deps-dev): bump eslint from 9.30.0 to 9.34.0 (#410)
dependabot[bot] Sep 2, 2025
562374d
chore(deps): bump amannn/action-semantic-pull-request from 5 to 6 (#415)
dependabot[bot] Sep 2, 2025
f1750ef
chore(deps): bump config from 4.1.0 to 4.1.1 in /examples/express-sam…
dependabot[bot] Sep 2, 2025
dfa7b07
chore(deps-dev): bump @stylistic/eslint-plugin from 5.2.2 to 5.2.3 (#…
dependabot[bot] Sep 2, 2025
1afd995
chore(deps): bump config from 4.1.0 to 4.1.1 in /examples/using-domai…
dependabot[bot] Sep 2, 2025
956393b
chore(deps-dev): bump @stylistic/eslint-plugin from 5.2.3 to 5.4.0 (#…
dependabot[bot] Oct 1, 2025
a485ec6
chore(deps-dev): bump typescript-eslint from 8.41.0 to 8.45.0 (#420)
dependabot[bot] Oct 1, 2025
82f2d43
chore(deps-dev): bump @types/node from 24.3.0 to 24.6.1 (#421)
dependabot[bot] Oct 1, 2025
1274b89
chore(deps): bump actions/setup-node from 4 to 5 (#422)
dependabot[bot] Oct 1, 2025
ab86909
chore(deps-dev): bump typescript from 5.9.2 to 5.9.3 (#418)
dependabot[bot] Oct 1, 2025
5d082ad
chore(deps): bump uuid from 11.1.0 to 13.0.0 (#417)
dependabot[bot] Oct 1, 2025
333c7c1
chore(deps): bump @types/express from 5.0.3 to 5.0.5 (#423)
dependabot[bot] Nov 1, 2025
0469ef1
chore(deps-dev): bump semver from 7.7.2 to 7.7.3 (#424)
dependabot[bot] Nov 1, 2025
b2fc324
chore(deps-dev): bump tap from 21.1.0 to 21.1.1 (#426)
dependabot[bot] Nov 1, 2025
2edfb84
chore(deps-dev): bump eslint from 9.34.0 to 9.39.0 (#425)
dependabot[bot] Nov 1, 2025
8dfac52
chore(deps-dev): bump @types/node from 24.6.1 to 24.9.2 (#427)
dependabot[bot] Nov 1, 2025
7ec99f6
chore(deps): bump actions/setup-node from 5 to 6 (#428)
dependabot[bot] Nov 1, 2025
1e93a7f
chore(deps-dev): bump express from 5.1.0 to 5.2.0 (#436)
dependabot[bot] Dec 2, 2025
90a219e
chore(deps): bump actions/checkout from 5 to 6 (#435)
dependabot[bot] Dec 2, 2025
8348ed5
chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#437)
dependabot[bot] Dec 8, 2025
79b3a09
chore(deps): bump body-parser in /examples/express-sample (#434)
dependabot[bot] Dec 8, 2025
903470e
chore(deps-dev): bump eslint from 9.39.0 to 9.39.1 (#429)
dependabot[bot] Dec 8, 2025
284dfa8
chore(deps-dev): bump prettier from 3.6.2 to 3.7.3 (#430)
dependabot[bot] Dec 8, 2025
0d6606c
chore(deps-dev): bump @types/node from 24.9.2 to 24.10.1 (#431)
dependabot[bot] Dec 8, 2025
4fa4bbf
chore(deps-dev): bump @stylistic/eslint-plugin from 5.4.0 to 5.6.1 (#…
dependabot[bot] Dec 8, 2025
0b615d5
chore(deps-dev): bump qs from 6.14.0 to 6.14.1 (#443)
dependabot[bot] Jan 7, 2026
602dc81
chore(deps-dev): bump typescript-eslint from 8.45.0 to 8.51.0 (#442)
dependabot[bot] Jan 7, 2026
27639f6
chore(deps-dev): bump prettier from 3.7.3 to 3.7.4 (#441)
dependabot[bot] Jan 7, 2026
62cdb3c
chore(deps-dev): bump eslint from 9.39.1 to 9.39.2 (#440)
dependabot[bot] Jan 7, 2026
38241eb
chore(deps-dev): bump eslint-plugin-tsdoc from 0.4.0 to 0.5.0 (#439)
dependabot[bot] Jan 7, 2026
b3957fb
chore(deps-dev): bump tar from 7.5.2 to 7.5.3 (#444)
dependabot[bot] Jan 19, 2026
70110ca
chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#446)
dependabot[bot] Jan 21, 2026
7a387d0
chore(deps-dev): bump tar from 7.5.3 to 7.5.6 (#445)
dependabot[bot] Jan 21, 2026
ced2c9c
Adding AGENTS.md for better working with AI (#447)
TheRealAgentK Jan 23, 2026
ba6b2ac
fix: broken express-sample and dependency updates in domains sample (…
TheRealAgentK Jan 23, 2026
78d1b63
chore: Fix/92 94 glob issue (#449)
TheRealAgentK Jan 23, 2026
1aa55f6
chore: Release 2.2.0 (#450)
TheRealAgentK Jan 25, 2026
94e6951
fix: replace uuid with crypto.randomUUID() for CommonJS compatibility…
TheRealAgentK Jan 27, 2026
14b2bbd
chore: Release 2.2.1 (#453)
miquelbeltran Jan 27, 2026
69d91bf
chore(deps-dev): bump tar from 7.5.6 to 7.5.7 (#455)
dependabot[bot] Jan 29, 2026
96b4ece
chore: Release 2.2.2 (#456)
TheRealAgentK Jan 29, 2026
7887b24
chore(deps-dev): bump @stylistic/eslint-plugin from 5.6.1 to 5.7.1 (#…
dependabot[bot] Feb 1, 2026
d8666cf
chore(deps-dev): bump typescript-eslint from 8.51.0 to 8.54.0 (#457)
dependabot[bot] Feb 1, 2026
ba08dfe
chore(deps-dev): bump nock from 14.0.7 to 14.0.10 (#458)
dependabot[bot] Feb 1, 2026
86cbca7
chore(deps-dev): bump @types/node from 24.10.1 to 25.1.0 (#459)
dependabot[bot] Feb 1, 2026
6ce4035
chore(deps-dev): bump prettier from 3.7.4 to 3.8.1 (#460)
dependabot[bot] Feb 1, 2026
e073b96
chore(deps): bump config from 4.1.1 to 4.2.0 in /examples/using-domai…
dependabot[bot] Feb 1, 2026
95db2c0
chore(deps): bump ejs from 3.1.10 to 4.0.1 in /examples/express-sampl…
dependabot[bot] Feb 1, 2026
44b217f
chore: Release 2.2.3 (#464)
TheRealAgentK Feb 1, 2026
6a63dd2
chore(deps-dev): bump qs from 6.14.1 to 6.14.2 (#465)
dependabot[bot] Feb 16, 2026
db05d97
chore(deps-dev): bump tar from 7.5.7 to 7.5.9 (#466)
dependabot[bot] Feb 19, 2026
785ad91
chore: Release 2.2.4 (#467)
TheRealAgentK Feb 20, 2026
4f766ba
fix: update stale example lockfiles to resolve tar vulnerability (CVE…
TheRealAgentK Feb 21, 2026
020cf06
chore(deps-dev): bump minimatch from 3.1.2 to 3.1.5 (#469)
dependabot[bot] Feb 28, 2026
c83f07c
fix: update minimatch in example lock files to resolve ReDoS vulnerab…
TheRealAgentK Feb 28, 2026
c1904fd
chore(deps): bump config from 4.2.0 to 4.4.1 in /examples/using-domai…
dependabot[bot] Mar 1, 2026
aeff100
chore(deps): bump config from 4.2.0 to 4.4.1 in /examples/express-sam…
dependabot[bot] Mar 1, 2026
b82534b
chore(deps-dev): bump @types/node from 25.1.0 to 25.3.3 (#471)
dependabot[bot] Mar 1, 2026
7803a8a
chore(deps-dev): bump semver from 7.7.3 to 7.7.4 (#472)
dependabot[bot] Mar 1, 2026
4cbfff1
chore(deps-dev): bump eslint-plugin-tsdoc from 0.5.0 to 0.5.2 (#474)
dependabot[bot] Mar 1, 2026
a2d9f29
Merge remote-tracking branch 'origin/develop' into develop
TheRealAgentK Mar 1, 2026
7cb494b
chore: regenerate lockfiles to resolve transitive vulnerabilities (#478)
TheRealAgentK Mar 1, 2026
508c0ae
chore: Release 2.2.5 (#479)
TheRealAgentK Mar 3, 2026
3598dd8
chore(deps-dev): bump tar from 7.5.9 to 7.5.10 (#480)
dependabot[bot] Mar 7, 2026
f8f41de
chore(deps-dev): bump tar from 7.5.10 to 7.5.11 (#481)
dependabot[bot] Mar 12, 2026
f66c67c
chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#482)
dependabot[bot] Mar 24, 2026
1c4ec66
chore(deps): bump picomatch from 4.0.3 to 4.0.4 (#483)
dependabot[bot] Mar 26, 2026
fb9b65f
chore(deps): bump marocchino/sticky-pull-request-comment from 2 to 3 …
dependabot[bot] Apr 1, 2026
2f592b8
chore(deps-dev): bump @types/node from 25.3.3 to 25.5.0 (#485)
dependabot[bot] Apr 1, 2026
845672c
chore(deps): bump ejs from 4.0.1 to 5.0.1 in /examples/express-sample…
dependabot[bot] Apr 2, 2026
d16457b
chore(deps-dev): bump @stylistic/eslint-plugin from 5.9.0 to 5.10.0 (…
dependabot[bot] Apr 2, 2026
c66d335
chore(deps-dev): bump typescript-eslint from 8.56.1 to 8.58.0 (#484)
dependabot[bot] Apr 2, 2026
fae483a
chore: upgrade to ESLint 10 and unify stylistic plugins (#490)
TheRealAgentK Apr 2, 2026
6d6ad7d
chore(deps): address dependabot security updates (#499)
TheRealAgentK May 11, 2026
57d13e6
chore(deps-dev): update dev tooling dependencies (#500)
TheRealAgentK May 11, 2026
4c9671d
chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#495)
dependabot[bot] May 11, 2026
a1e5b5d
chore: Release 2.2.6 (#501)
TheRealAgentK May 11, 2026
89066f1
chore(deps-dev): bump qs from 6.15.0 to 6.15.2 (#502)
dependabot[bot] May 24, 2026
22e7084
chore(ci): make prettier check deterministic (#519)
TheRealAgentK Jul 20, 2026
189177c
chore(deps-dev): bump ws from 8.20.0 to 8.21.1 (#520)
dependabot[bot] Jul 20, 2026
008c729
chore(deps-dev): bump sigstore from 4.1.0 to 4.1.1 (#518)
dependabot[bot] Jul 20, 2026
e442f6c
chore(deps-dev): bump undici from 6.25.0 to 6.27.0 (#510)
dependabot[bot] Jul 20, 2026
92c1e14
chore(deps-dev): bump tar from 7.5.15 to 7.5.20 (#509)
dependabot[bot] Jul 20, 2026
88e7be7
chore(deps): bump morgan in /examples/express-sample (#516)
dependabot[bot] Jul 20, 2026
5046bc0
chore(deps): bump body-parser in /examples/express-sample (#513)
dependabot[bot] Jul 20, 2026
10603a6
chore(deps): bump config from 4.4.1 to 4.4.2 in /examples/express-sam…
dependabot[bot] Jul 20, 2026
758738f
chore(deps): update Express example to 4.22.2 (#521)
TheRealAgentK Jul 20, 2026
8464b81
chore(deps): bump actions/checkout from 6 to 7 (#512)
dependabot[bot] Jul 20, 2026
46d1c18
chore(deps): bump config from 4.4.1 to 4.4.2 in /examples/using-domai…
dependabot[bot] Jul 20, 2026
1c31cab
chore(deps): bump ejs from 5.0.2 to 6.0.1 in /examples/express-sample…
dependabot[bot] Jul 20, 2026
d2d1643
chore(deps-dev): refresh development tooling (#522)
TheRealAgentK Jul 20, 2026
0d450d7
chore(ci): make lint checks non-mutating (#523)
TheRealAgentK Jul 20, 2026
30d699b
chore(deps): clean up security lockfiles (#524)
TheRealAgentK Jul 20, 2026
532b68c
chore: Release 2.2.7 (#525)
TheRealAgentK Jul 21, 2026
2dd6c1b
chore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4 (#527)
dependabot[bot] Aug 1, 2026
27b07c7
chore(deps): bump actions/setup-node from 6 to 7
dependabot[bot] Aug 1, 2026
92dd3ef
chore(deps-dev): bump tap from 21.7.2 to 21.7.5
dependabot[bot] Aug 1, 2026
9a8903e
chore(deps-dev): bump eslint from 10.7.0 to 10.8.0
dependabot[bot] Aug 1, 2026
8d927f5
chore(deps-dev): bump @types/node from 25.9.5 to 26.1.2
dependabot[bot] Aug 1, 2026
53ea8e6
chore(deps): bump actions/setup-node from 6 to 7
TheRealAgentK Aug 3, 2026
0a1e619
chore(deps-dev): bump tap from 21.7.2 to 21.7.5
TheRealAgentK Aug 3, 2026
f515875
Merge branch 'develop' into dependabot/npm_and_yarn/eslint-10.8.0
TheRealAgentK Aug 3, 2026
2145b9d
chore(deps-dev): bump eslint from 10.7.0 to 10.8.0
TheRealAgentK Aug 3, 2026
5c53c63
Merge branch 'develop' into dependabot/npm_and_yarn/types/node-26.1.2
TheRealAgentK Aug 3, 2026
b1ea8a0
chore(deps-dev): bump @types/node from 25.9.5 to 26.1.2
TheRealAgentK Aug 3, 2026
d50588a
chore(deps-dev): bump fast-uri from 3.1.4 to 3.1.5 (#534)
dependabot[bot] Aug 3, 2026
9f02ab0
chore(deps-dev): bump body-parser to 2.3.0 (#537)
TheRealAgentK Aug 4, 2026
7cc0d41
chore: Release 2.2.8 (#540)
TheRealAgentK Aug 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 13 additions & 20 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,36 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
# Run CommonJS compatibility test
- run: npm run test:cjs
# Run static analysis on JS files
- run: npm run eslint
# Run static analysis on TS files
- run: npm run tseslint

# Checks code formatting, fails if there are changes after applying prettier.
# Based on this example here:
# https://github.com/creyD/prettier_action?tab=readme-ov-file#example-4-dry-run
# Checks code formatting using the version pinned in package-lock.json.
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Use Node.js 24.x
uses: actions/setup-node@v7
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false

- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
# "dry" causes that if any file is modified, the job fails
dry: True
# "write" performs changes in place
prettier_options: --write lib/*.ts test/*.js examples/**/*.js
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
node-version: 24.x
cache: 'npm'
- run: npm ci
- run: npm exec -- prettier --check "lib/*.ts" "test/*.js" "examples/**/*.js"
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
- uses: amannn/action-semantic-pull-request@v6
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: marocchino/sticky-pull-request-comment@v2
- uses: marocchino/sticky-pull-request-comment@v3
# When the previous steps fails, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: always() && (steps.lint_pr_title.outputs.error_message != null)
Expand All @@ -31,7 +31,7 @@ jobs:
```
# Delete a previous comment when the issue has been resolved
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
with:
header: pr-title-lint-error
delete: true
2 changes: 0 additions & 2 deletions .jshintignore

This file was deleted.

15 changes: 0 additions & 15 deletions .jshintrc

This file was deleted.

9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

111 changes: 111 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# AGENTS.md

## Project Overview

**raygun4node** is the official Raygun.com Node.js SDK, written in TypeScript. It enables Node.js applications to send crash reports and error data to the Raygun error monitoring service.

### Key Features

- Error reporting to Raygun API
- Express.js middleware integration
- Breadcrumbs for debugging context
- Batched error transport for high-volume apps
- Offline caching with disk or custom storage providers
- Source map support for stack traces
- Custom error grouping and tagging
- User tracking for affected customer counts

## Repository Structure

```
lib/ # TypeScript source files
raygun.ts # Main Client class
raygun.transport.ts # HTTP transport for sending errors
raygun.batch.ts # Batched transport mode
raygun.offline.ts # Offline caching provider
raygun.breadcrumbs.ts # Breadcrumb tracking
raygun.messageBuilder.ts # Error payload builder
types.ts # TypeScript type definitions
build/ # Compiled JavaScript output
test/ # Test files (tap test framework)
examples/ # Usage examples
```

## Commands

### Build

```bash
npm run prepare # Compiles TypeScript to build/
```

### Test

```bash
npm test # Runs tests using tap with ts-node
```

### Lint

```bash
npm run eslint # Lint JS files (test/*.js, examples/)
npm run tseslint # Lint TS files (lib/*.ts)
npm run prettier # Format all source files
```

## Tech Stack

- **Language**: TypeScript (compiled to ES5 CommonJS)
- **Runtime**: Node.js (>= 0.10.0)
- **Test Framework**: tap
- **Linting**: ESLint + TypeScript ESLint
- **Formatting**: Prettier

## Key Dependencies

- `stack-trace`: Stack trace parsing
- `debug`: Debug logging (enabled via `DEBUG=raygun`)

## Examples

Two example applications are provided in `examples/`:

### Express Sample (`examples/express-sample/`)

Demonstrates Express.js integration with Raygun middleware and breadcrumbs.

```bash
# From project root, build the package first
npm install

# Configure API key in examples/express-sample/config/default.json
# Then run the example
cd examples/express-sample
npm install && npm start
```

Key files:
- `raygun.client.js` - Raygun client setup
- `app.js` - Express middleware configuration
- `routes/index.js` - `/send` and `/error` endpoints

### Using Domains (`examples/using-domains/`)

Shows how to use Raygun with Node.js domains (legacy, prefer `reportUncaughtExceptions` for Node 12+).

```bash
# From project root, build the package first
npm install

# Configure API key in examples/using-domains/config/default.json
# Then run the example
cd examples/using-domains
npm install && node app
```

## Code Conventions

- Source files are in `lib/` as `.ts` files
- Tests are in `test/` as `.js` files
- Entry point: `build/raygun.js` with types at `build/raygun.d.ts`
- Use strict TypeScript (`"strict": true`)
Loading