2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Use is-buffer instead of Buffer.isBuffer

The is-buffer module checks if an object is a Buffer without causing
Webpack or Browserify to include the whole Buffer module in the bundle.
This commit is contained in:
Felix Gnass
2017-05-04 23:41:52 +02:00
parent f31317aeca
commit c82753ce54
2 changed files with 3 additions and 11 deletions
+2 -1
View File
@@ -72,6 +72,7 @@
},
"typings": "./index.d.ts",
"dependencies": {
"follow-redirects": "^1.2.3"
"follow-redirects": "^1.2.3",
"is-buffer": "^1.1.5"
}
}