Run of fresh-releases for node-is-buffer

Try this locally (using silver-platter):

debian-svp new-upstream node-is-buffer 

Merge these changes:

git pull https://janitor.debian.net/git/node-is-buffer new-upstream

Summary

Merged new upstream version: 2.0.3 (was: 1.1.6).

Diff

=== added file '.airtap.yml'
--- a/.airtap.yml	1970-01-01 00:00:00 +0000
+++ b/.airtap.yml	2018-03-17 11:23:39 +0000
@@ -0,0 +1,15 @@
+sauce_connect: true
+loopback: airtap.local
+browsers:
+  - name: chrome
+    version: latest
+  - name: firefox
+    version: latest
+  - name: safari
+    version: latest
+  - name: microsoftedge
+    version: latest
+  - name: ie
+    version: latest
+  - name: iphone
+    version: latest

=== modified file '.npmignore'
--- a/.npmignore	2017-12-04 04:46:12 +0000
+++ b/.npmignore	2019-06-27 05:22:11 +0000
@@ -1,2 +1,3 @@
+.airtap.yml
 .travis.yml
-.zuul.yml
+test/

=== modified file '.travis.yml'
--- a/.travis.yml	2016-10-16 08:50:22 +0000
+++ b/.travis.yml	2019-06-27 05:22:11 +0000
@@ -1,7 +1,11 @@
-sudo: false
 language: node_js
 node_js:
-  - node
+  - lts/*
+addons:
+  sauce_connect: true
+  hosts:
+    - airtap.local
+sudo: false
 env:
   global:
     - secure: du27W3wTgZ3G183axW7w0I01lOIurx8kilMH9p45VMfNXCu8lo6FLtLIQZxJ1FYMoJLQ1yfJTu2G0rq39SotDfJumsk6tF7BjTY/HKCocZaHqCMgw0W2bcylb5kMAdLhBNPlzejpPoWa1x1axbAHNFOLQNVosG/Bavu3/kuIIps=

=== removed file '.zuul.yml'
--- a/.zuul.yml	2017-12-04 04:46:13 +0000
+++ b/.zuul.yml	1970-01-01 00:00:00 +0000
@@ -1,14 +0,0 @@
-ui: tape
-browsers:
-  - name: chrome
-    version: latest
-  - name: firefox
-    version: latest
-  - name: safari
-    version: latest
-  - name: microsoftedge
-    version: latest
-  - name: ie
-    version: latest
-  - name: android
-    version: latest

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-12-04 05:58:43 +0000
+++ b/debian/changelog	2019-06-27 05:22:11 +0000
@@ -1,3 +1,9 @@
+node-is-buffer (2.0.3-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 27 Jun 2019 05:22:09 +0000
+
 node-is-buffer (1.1.6-1) unstable; urgency=medium
 
   * Team upload

=== modified file 'index.js'
--- a/index.js	2017-12-04 04:46:13 +0000
+++ b/index.js	2019-06-27 05:22:11 +0000
@@ -5,17 +5,7 @@
  * @license  MIT
  */
 
-// The _isBuffer check is for Safari 5-7 support, because it's missing
-// Object.prototype.constructor. Remove this eventually
-module.exports = function (obj) {
-  return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
-}
-
-function isBuffer (obj) {
-  return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
-}
-
-// For Node v0.10 support. Remove this eventually.
-function isSlowBuffer (obj) {
-  return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
+module.exports = function isBuffer (obj) {
+  return obj != null && obj.constructor != null &&
+    typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
 }

=== modified file 'package.json'
--- a/package.json	2017-12-04 04:46:13 +0000
+++ b/package.json	2019-06-27 05:22:11 +0000
@@ -1,37 +1,40 @@
 {
   "name": "is-buffer",
   "description": "Determine if an object is a Buffer",
-  "version": "1.1.6",
+  "version": "2.0.3",
   "author": {
     "name": "Feross Aboukhadijeh",
     "email": "feross@feross.org",
-    "url": "http://feross.org/"
+    "url": "https://feross.org"
   },
   "bugs": {
     "url": "https://github.com/feross/is-buffer/issues"
   },
   "dependencies": {},
   "devDependencies": {
+    "airtap": "0.0.7",
     "standard": "*",
-    "tape": "^4.0.0",
-    "zuul": "^3.0.0"
+    "tape": "^4.0.0"
+  },
+  "engines": {
+    "node": ">=4"
   },
   "keywords": [
+    "arraybuffer",
+    "browser",
+    "browser buffer",
+    "browserify",
     "buffer",
     "buffers",
-    "type",
     "core buffer",
-    "browser buffer",
-    "browserify",
-    "typed array",
-    "uint32array",
+    "dataview",
+    "float32array",
+    "float64array",
     "int16array",
     "int32array",
-    "float32array",
-    "float64array",
-    "browser",
-    "arraybuffer",
-    "dataview"
+    "type",
+    "typed array",
+    "uint32array"
   ],
   "license": "MIT",
   "main": "index.js",
@@ -41,8 +44,8 @@
   },
   "scripts": {
     "test": "standard && npm run test-node && npm run test-browser",
-    "test-browser": "zuul -- test/*.js",
-    "test-browser-local": "zuul --local -- test/*.js",
+    "test-browser": "airtap -- test/*.js",
+    "test-browser-local": "airtap --local -- test/*.js",
     "test-node": "tape test/*.js"
   },
   "testling": {

=== modified file 'test/basic.js'
--- a/test/basic.js	2017-12-04 04:46:13 +0000
+++ b/test/basic.js	2019-06-27 05:22:11 +0000
@@ -2,9 +2,8 @@
 var test = require('tape')
 
 test('is-buffer', function (t) {
-  t.equal(isBuffer(Buffer.alloc(4)), true, 'new Buffer(4)')
-  t.equal(isBuffer(Buffer.allocUnsafeSlow(100)), true, 'SlowBuffer(100)')
-
+  t.equal(isBuffer(Buffer.alloc(4)), true, 'Buffer.alloc(4)')
+  t.equal(isBuffer(Buffer.allocUnsafeSlow(100)), true, 'Buffer.allocUnsafeSlow(100)')
   t.equal(isBuffer(undefined), false, 'undefined')
   t.equal(isBuffer(null), false, 'null')
   t.equal(isBuffer(''), false, 'empty string')

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Full build log Full worker log