Run of fresh-snapshots for node-crc32

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot node-crc32 

Merge these changes:

git pull https://janitor.debian.net/git/node-crc32 fresh-snapshots/main

Summary

Merged new upstream version: 0.2.2+git20130426.874eecb (was: 0.2.2).

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-12-31 10:25:33 +0000
+++ b/debian/changelog	2019-05-09 09:17:57 +0000
@@ -1,3 +1,9 @@
+node-crc32 (0.2.2+git20130426.874eecb-1) UNRELEASED; urgency=medium
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 09 May 2019 09:17:56 +0000
+
 node-crc32 (0.2.2-2) unstable; urgency=medium
 
   * Use && instead of ; for multiple commands

=== modified file 'debian/patches/fix-command.patch'
--- a/debian/patches/fix-command.patch	2017-12-31 10:27:52 +0000
+++ b/debian/patches/fix-command.patch	2019-05-09 09:17:59 +0000
@@ -1,8 +1,10 @@
 debian package has renamed the binary to avoid name conflict.
 
---- a/test/genCheckValues.sh
-+++ b/test/genCheckValues.sh
-@@ -15,7 +15,7 @@
+Index: node-crc32/test/genCheckValues.sh
+===================================================================
+--- node-crc32.orig/test/genCheckValues.sh
++++ node-crc32/test/genCheckValues.sh
+@@ -15,7 +15,7 @@ do
  		echo ,
  	fi
  

=== modified file 'lib/crc32.js'
--- a/lib/crc32.js	2017-09-14 15:20:15 +0000
+++ b/lib/crc32.js	2019-05-09 09:17:57 +0000
@@ -1,4 +1,12 @@
-(function () {
+void function(global, callback) {
+	if (typeof module === 'object') {
+		module.exports = callback();
+	} else if (typeof define === 'function') {
+		define(callback);
+	} else {
+		global.crc32 = callback();
+	}
+}(this, function() {
 	'use strict';
 
 	var table = [],
@@ -89,13 +97,15 @@
 	// this isn't that costly, and most uses will be for table assisted mode
 	makeTable();
 
-	module.exports = function (val, direct) {
+	var exports = function (val, direct) {
 		var val = (typeof val === 'string') ? strToArr(val) : val,
 			ret = direct ? crcDirect(val) : crcTable(val);
 
 		// convert to 2's complement hex
 		return (ret >>> 0).toString(16);
 	};
-	module.exports.direct = crcDirect;
-	module.exports.table = crcTable;
-}());
+	exports.direct = crcDirect;
+	exports.table = crcTable;
+
+	return exports;
+});
\ No newline at end of file

Full build log Full worker log