is-buffer
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"name": "is-buffer", | ||
"description": "Determine if an object is a Buffer", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"author": { | ||
@@ -15,5 +15,5 @@ "name": "Feross Aboukhadijeh", | ||
"devDependencies": { | ||
"airtap": "0.0.7", | ||
"airtap": "^2.0.3", | ||
"standard": "*", | ||
"tape": "^4.0.0" | ||
"tape": "^4.11.0" | ||
}, | ||
@@ -51,6 +51,3 @@ "engines": { | ||
"test-node": "tape test/*.js" | ||
}, | ||
"testling": { | ||
"files": "test/*.js" | ||
} | ||
} |
@@ -31,2 +31,4 @@ # is-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] | ||
[Get supported is-buffer with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-is-buffer?utm_source=npm-is-buffer&utm_medium=referral&utm_campaign=readme) | ||
## usage | ||
@@ -38,2 +40,3 @@ | ||
isBuffer(new Buffer(4)) // true | ||
isBuffer(Buffer.alloc(4)) //true | ||
@@ -40,0 +43,0 @@ isBuffer(undefined) // false |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4491
5
12
57
0