Socket
Socket
Sign inDemoInstall

is-buffer

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

index.d.ts

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc