@nxtedition/nxt-undici 6.3.8 → 6.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +1 -0
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -378,6 +378,7 @@ export function decorateError(err, opts, { statusCode, headers, trailers, body }
378
378
  err.url ??= opts.origin ? new URL(opts.path, opts.origin).href : null
379
379
 
380
380
  err.req = {
381
+ url: err.url,
381
382
  method: opts?.method,
382
383
  headers: opts?.headers,
383
384
  body:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/nxt-undici",
3
- "version": "6.3.8",
3
+ "version": "6.3.9",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "main": "lib/index.js",