Skip to content
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

Fix crash when http/https libraries use getters #434

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

christophgysin
Copy link
Contributor

Issue: #433

Description of changes:

This works around an issue when using esbuild to bundle (e.g. using aws-lambda-nodejs)

The fix is adapted from:
follow-redirects/follow-redirects#146

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

fixes #433

fixes aws#433

This works around an issue when using esbuild to bundle (e.g. using aws-lambda-nodejs)

The fix is adapted from:
follow-redirects/follow-redirects#146
@codecov-commenter
Copy link

Codecov Report

Merging #434 (93490f5) into master (b6f18c6) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
- Coverage   82.71%   82.70%   -0.01%     
==========================================
  Files          36       36              
  Lines        1741     1740       -1     
==========================================
- Hits         1440     1439       -1     
  Misses        301      301              
Impacted Files Coverage Δ
lib/patchers/http_p.js 92.13% <0.00%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6f18c6...93490f5. Read the comment docs.

Copy link
Contributor

@srprash srprash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @willarmiros Can you take a quick look as well?

Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@willarmiros willarmiros merged commit 85b75d1 into aws:master Jun 1, 2021
@cnuss
Copy link

cnuss commented Nov 5, 2021

@willarmiros can we get a release soon that includes this? thanks!

@willarmiros
Copy link
Contributor

Sorry for the delay on this @cnuss - should have a release out soon!

@cnuss
Copy link

cnuss commented Nov 10, 2021

thanks @willarmiros !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

captureHTTPsGlobal fails when bundled with esbuild
5 participants