Skip to content

Use a WeakMap for private properties #42

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

Merged
merged 7 commits into from
Jun 6, 2020
Merged

Use a WeakMap for private properties #42

merged 7 commits into from
Jun 6, 2020

Conversation

jimmywarting
Copy link
Contributor

closes #41

@codecov
Copy link

codecov bot commented Jun 5, 2020

Codecov Report

Merging #42 into master will increase coverage by 13.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           master       #42       +/-   ##
============================================
+ Coverage   86.95%   100.00%   +13.04%     
============================================
  Files           1         1               
  Lines          69        62        -7     
  Branches       13        12        -1     
============================================
+ Hits           60        62        +2     
+ Misses          9         0        -9     
Impacted Files Coverage Δ
index.js 100.00% <100.00%> (+13.04%) ⬆️

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 960f7e5...86f69c5. Read the comment docs.

@jimmywarting
Copy link
Contributor Author

jimmywarting commented Jun 5, 2020

not a WIP anymore, merge? review? (want to work on more stuff after this such as adding offset and blob-part sequence #40)

@Richienb Richienb changed the title use weakmap as private properties Use a WeakMap for private properties Jun 5, 2020
@tinovyatkin tinovyatkin merged commit 870be1e into node-fetch:master Jun 6, 2020
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.

make private props really private
3 participants