Skip to content

use Symbol.hasInstance #46

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 2 commits into from
Jun 11, 2020
Merged

use Symbol.hasInstance #46

merged 2 commits into from
Jun 11, 2020

Conversation

tinovyatkin
Copy link
Member

@tinovyatkin tinovyatkin commented Jun 11, 2020

By moving isBlob into Symbol.hasInstance on Blob class we will be able to reuse this functionality safely and easily from node-fetch

@tinovyatkin tinovyatkin changed the title use-has-instance use Symbol.hasInstance Jun 11, 2020
@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #46   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           70        72    +2     
  Branches        20        21    +1     
=========================================
+ Hits            70        72    +2     
Impacted Files Coverage Δ
index.js 100.00% <100.00%> (ø)

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 38639ec...f9d6548. Read the comment docs.

@jimmywarting
Copy link
Contributor

Oh! learned something new today :)

thanks for this pr. LGTM

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.

2 participants