diff --git a/dist/index.js b/dist/index.js index 71050f58..c4baefd5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32611,7 +32611,7 @@ class RequestError extends Error { if (options.request.headers.authorization) { requestCopy.headers = Object.assign({}, options.request.headers, { authorization: options.request.headers.authorization.replace( - / .*$/, + /(?]+)>;\s*rel="next"/ + /<([^<>]+)>;\s*rel="next"/ ) || [])[1]; return { value: normalizedResponse }; } catch (error) { diff --git a/report.txt b/report.txt new file mode 100644 index 00000000..437c2d54 --- /dev/null +++ b/report.txt @@ -0,0 +1 @@ +1739561245