Run of fresh-snapshots for node-modern-syslog

Merge these changes:

git pull https://janitor.debian.net/git/node-modern-syslog fresh-snapshots/main
git pull https://janitor.debian.net/git/node-modern-syslog fresh-snapshots/pristine-tar
git pull https://janitor.debian.net/git/node-modern-syslog fresh-snapshots/upstream

Summary

Merged new upstream version: 1.2.0+git20190506.1.d5822e6 (was: 1.2.0).

Diff

Branch: main

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..87bcdc1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+language: node_js
+node_js:
+  - '8'
+  - '10'
+  - '11'
+  - '12'
+sudo: false
+addons:
+  apt:
+    sources:
+      - ubuntu-toolchain-r-test
+    packages:
+      - g++-4.8
+env:
+  - "CXX=g++-4.8"
diff --git a/debian/changelog b/debian/changelog
index 63e17ab..7155316 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-modern-syslog (1.2.0+git20190506.1.d5822e6-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 08 Sep 2022 03:26:14 -0000
+
 node-modern-syslog (1.2.0-4) unstable; urgency=medium
 
   * Drop build-dependency to nodejs
diff --git a/package.json b/package.json
index 7cf1158..33e032f 100644
--- a/package.json
+++ b/package.json
@@ -20,8 +20,8 @@
   },
   "license": "MIT",
   "devDependencies": {
-    "debug": "^2.1.2",
-    "tap": "^1.3.2"
+    "debug": "^4.1.1",
+    "tap": "^13.1.2"
   },
   "dependencies": {
     "nan": "^2.13.2"
diff --git a/test/test-core.js b/test/test-core.js
index cc263db..d3e1ddc 100644
--- a/test/test-core.js
+++ b/test/test-core.js
@@ -39,7 +39,7 @@ function accept(m) {
 }
 
 accept('string');
-accept(Buffer('buffer'));
+accept(Buffer.from('buffer'));
 accept(undefined);
 accept(null);
 accept({some: 5});
diff --git a/test/test-openlog.js b/test/test-openlog.js
index d01750e..dac70f2 100644
--- a/test/test-openlog.js
+++ b/test/test-openlog.js
@@ -13,12 +13,10 @@ tap.test(function(t) {
   t.doesNotThrow(function() {
     syslog.open('June', o.LOG_PERROR + o.LOG_PID, f.LOG_LOCAL1);
     syslog.upto('LOG_DEBUG');
-    t.comment('Expect on stderr a greeting to June with a PID:');
-    syslog.log('LOG_DEBUG', 'Hi, June', function() {
+    syslog.log('LOG_DEBUG', 'expected on stderr with a PID', function() {
       syslog.open('Leonie', o.LOG_PERROR, f.LOG_LOCAL2);
       syslog.upto('LOG_DEBUG');
-      t.comment('Expect on stderr a greeting to Leonie without a PID:');
-      syslog.debug('Hi, %s', 'Leonie');
+      syslog.debug('Expected on stderr %s a PID', 'without');
     });
   }, 'open and log');
   t.end();
diff --git a/test/test-syslog.js b/test/test-syslog.js
index d7b9dc2..4b99fa2 100644
--- a/test/test-syslog.js
+++ b/test/test-syslog.js
@@ -39,7 +39,7 @@ function expect(l, m) {
                      currentMask, ++count, l, Buffer.isBuffer(m) ? 'buf' : 'str');
 
     if (Buffer.isBuffer(m)) {
-      m = Buffer(prefix + m);
+      m = Buffer.from(prefix + m);
     } else {
       m = prefix + m;
     }
@@ -62,9 +62,9 @@ function masked(l, m) {
 setmask(0xff);
 
 expect('LOG_CRIT', 'message');
-expect('LOG_CRIT', Buffer('message'));
+expect('LOG_CRIT', Buffer.from('message'));
 expect(l.LOG_CRIT, 'message');
-expect(l.LOG_CRIT, Buffer('message'));
+expect(l.LOG_CRIT, Buffer.from('message'));
 expect(l.LOG_DEBUG, 'debug');
 
 setmask(syslog.logUpto('LOG_INFO'));

Branch: pristine-tar

diff --git a/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.delta b/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.delta
new file mode 100644
index 0000000..793d8cb
Binary files /dev/null and b/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.delta differ
diff --git a/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.id b/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.id
new file mode 100644
index 0000000..c35040b
--- /dev/null
+++ b/node-modern-syslog_1.2.0+git20190506.1.d5822e6.orig.tar.gz.id
@@ -0,0 +1 @@
+4c5c52f4ce1e1ed49a45797d5e4368551f35e414

Branch: upstream

Tag: upstream/1.2.0+git20190506.1.d5822e6
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..87bcdc1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+language: node_js
+node_js:
+  - '8'
+  - '10'
+  - '11'
+  - '12'
+sudo: false
+addons:
+  apt:
+    sources:
+      - ubuntu-toolchain-r-test
+    packages:
+      - g++-4.8
+env:
+  - "CXX=g++-4.8"
diff --git a/package.json b/package.json
index 7cf1158..33e032f 100644
--- a/package.json
+++ b/package.json
@@ -20,8 +20,8 @@
   },
   "license": "MIT",
   "devDependencies": {
-    "debug": "^2.1.2",
-    "tap": "^1.3.2"
+    "debug": "^4.1.1",
+    "tap": "^13.1.2"
   },
   "dependencies": {
     "nan": "^2.13.2"
diff --git a/test/test-core.js b/test/test-core.js
index cc263db..d3e1ddc 100644
--- a/test/test-core.js
+++ b/test/test-core.js
@@ -39,7 +39,7 @@ function accept(m) {
 }
 
 accept('string');
-accept(Buffer('buffer'));
+accept(Buffer.from('buffer'));
 accept(undefined);
 accept(null);
 accept({some: 5});
diff --git a/test/test-openlog.js b/test/test-openlog.js
index d01750e..dac70f2 100644
--- a/test/test-openlog.js
+++ b/test/test-openlog.js
@@ -13,12 +13,10 @@ tap.test(function(t) {
   t.doesNotThrow(function() {
     syslog.open('June', o.LOG_PERROR + o.LOG_PID, f.LOG_LOCAL1);
     syslog.upto('LOG_DEBUG');
-    t.comment('Expect on stderr a greeting to June with a PID:');
-    syslog.log('LOG_DEBUG', 'Hi, June', function() {
+    syslog.log('LOG_DEBUG', 'expected on stderr with a PID', function() {
       syslog.open('Leonie', o.LOG_PERROR, f.LOG_LOCAL2);
       syslog.upto('LOG_DEBUG');
-      t.comment('Expect on stderr a greeting to Leonie without a PID:');
-      syslog.debug('Hi, %s', 'Leonie');
+      syslog.debug('Expected on stderr %s a PID', 'without');
     });
   }, 'open and log');
   t.end();
diff --git a/test/test-syslog.js b/test/test-syslog.js
index d7b9dc2..4b99fa2 100644
--- a/test/test-syslog.js
+++ b/test/test-syslog.js
@@ -39,7 +39,7 @@ function expect(l, m) {
                      currentMask, ++count, l, Buffer.isBuffer(m) ? 'buf' : 'str');
 
     if (Buffer.isBuffer(m)) {
-      m = Buffer(prefix + m);
+      m = Buffer.from(prefix + m);
     } else {
       m = prefix + m;
     }
@@ -62,9 +62,9 @@ function masked(l, m) {
 setmask(0xff);
 
 expect('LOG_CRIT', 'message');
-expect('LOG_CRIT', Buffer('message'));
+expect('LOG_CRIT', Buffer.from('message'));
 expect(l.LOG_CRIT, 'message');
-expect(l.LOG_CRIT, Buffer('message'));
+expect(l.LOG_CRIT, Buffer.from('message'));
 expect(l.LOG_DEBUG, 'debug');
 
 setmask(syslog.logUpto('LOG_INFO'));

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far.not currently attempting to back off
  • ☒ merge proposals for the package maintainer are currently being rate-limited (open: 1383, max open: 300)
  • ☑ change set c69d971f-56f3-42b3-b11b-1b78aea3e7b4 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots node-modern-syslog-dbgsymapt install -t fresh-snapshots node-modern-syslog

Lintian Result

Full worker log Full build log