issues
search
jonschlinkert
/
kind-of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
https://github.com/jonschlnkert
MIT License
347
stars
38
forks
source link
add support for 'bigint', fix deprecated Buffer constructor call
#39
Open
julianjensen
opened
3 years ago
julianjensen
commented
3 years ago
add check for type being 'bigint'
add test for 'bigint' if
BigInt
constructor exists (Node version 10+, I think)
change
new Buffer()
to
Buffer.from('')
in
test.js
and
.verb.md
since the constructor call has been deprecated
BigInt
constructor exists (Node version 10+, I think)new Buffer()
toBuffer.from('')
intest.js
and.verb.md
since the constructor call has been deprecated