]> zoso.dev Git - buffer.git/commitdiff
Use isarray instead of is-array
authorJan Schär <jscissr@gmail.com>
Sat, 5 Dec 2015 16:28:33 +0000 (17:28 +0100)
committerJan Schär <jscissr@gmail.com>
Sat, 5 Dec 2015 16:28:33 +0000 (17:28 +0100)
Because isarray is 10x more popular

index.js
package.json

index 485705477a7d3cbe6801a5089cbbebf8729cf70b..1abc8df6f26c68aeb235957726db4452d24035f1 100644 (file)
--- a/index.js
+++ b/index.js
@@ -8,7 +8,7 @@
 
 var base64 = require('base64-js')
 var ieee754 = require('ieee754')
-var isArray = require('is-array')
+var isArray = require('isarray')
 
 exports.Buffer = Buffer
 exports.SlowBuffer = SlowBuffer
index 393f93151617b5dd946e8ca92a05d48b1adba492..311f4b7f4076795cc10e59e0784f869e5fa512f7 100644 (file)
@@ -17,7 +17,7 @@
   "dependencies": {
     "base64-js": "0.0.8",
     "ieee754": "^1.1.4",
-    "is-array": "^1.0.1"
+    "isarray": "^0.0.1"
   },
   "devDependencies": {
     "benchmark": "^1.0.0",