{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.78UcBmyk/b1/node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.78UcBmyk/b2/node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,2 +1,2 @@\n \n- 0294666066ff3778b8c177a82730be1a 257116 javascript optional node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_all.deb\n+ 2156a8074c5ef251960a5d6789d419b6 257092 javascript optional node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_all.deb\n"}, {"source1": "node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_all.deb", "source2": "node-rollup-plugin-node-polyfills_0.2.1+dfsg+~0.11.0-3_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2024-03-02 04:08:29.000000 debian-binary\n -rw-r--r-- 0 0 0 2476 2024-03-02 04:08:29.000000 control.tar.xz\n--rw-r--r-- 0 0 0 254448 2024-03-02 04:08:29.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 254424 2024-03-02 04:08:29.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -18,15 +18,15 @@\n -rw-r--r-- 0 root (0) root (0) 1386 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/pkgjs-lock.json\n drwxr-xr-x 0 root (0) root (0) 0 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/\n -rw-r--r-- 0 root (0) root (0) 15448 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/assert.js\n -rw-r--r-- 0 root (0) root (0) 503 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/browserify-fs.js\n -rw-r--r-- 0 root (0) root (0) 54557 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/buffer-es6.js\n -rw-r--r-- 0 root (0) root (0) 203 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/console.js\n -rw-r--r-- 0 root (0) root (0) 14471 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/constants.js\n--rw-r--r-- 0 root (0) root (0) 514295 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/crypto-browserify.js\n+-rw-r--r-- 0 root (0) root (0) 514722 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/crypto-browserify.js\n -rw-r--r-- 0 root (0) root (0) 2981 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/domain.js\n -rw-r--r-- 0 root (0) root (0) 19 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/empty.js\n -rw-r--r-- 0 root (0) root (0) 13111 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/events.js\n -rw-r--r-- 0 root (0) root (0) 143 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/global.js\n drwxr-xr-x 0 root (0) root (0) 0 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/http-lib/\n -rw-r--r-- 0 root (0) root (0) 1715 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/http-lib/capability.js\n -rw-r--r-- 0 root (0) root (0) 7526 2024-03-02 04:08:29.000000 ./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/http-lib/request.js\n"}, {"source1": "./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/crypto-browserify.js", "source2": "./usr/share/nodejs/rollup-plugin-node-polyfills/polyfills/crypto-browserify.js", "unified_diff": null, "details": [{"source1": "js-beautify {}", "source2": "js-beautify {}", "unified_diff": "@@ -452,118 +452,127 @@\n }]);\n \n return BufferList;\n }();\n return buffer_list;\n }\n \n-function destroy(err, cb) {\n- var _this = this;\n+var destroy_1;\n+var hasRequiredDestroy;\n \n- var readableDestroyed = this._readableState && this._readableState.destroyed;\n- var writableDestroyed = this._writableState && this._writableState.destroyed;\n+function requireDestroy() {\n+ if (hasRequiredDestroy) return destroy_1;\n+ hasRequiredDestroy = 1;\n \n- if (readableDestroyed || writableDestroyed) {\n- if (cb) {\n- cb(err);\n- } else if (err) {\n- if (!this._writableState) {\n- process.nextTick(emitErrorNT, this, err);\n- } else if (!this._writableState.errorEmitted) {\n- this._writableState.errorEmitted = true;\n- process.nextTick(emitErrorNT, this, err);\n+ function destroy(err, cb) {\n+ var _this = this;\n+\n+ var readableDestroyed = this._readableState && this._readableState.destroyed;\n+ var writableDestroyed = this._writableState && this._writableState.destroyed;\n+\n+ if (readableDestroyed || writableDestroyed) {\n+ if (cb) {\n+ cb(err);\n+ } else if (err) {\n+ if (!this._writableState) {\n+ process.nextTick(emitErrorNT, this, err);\n+ } else if (!this._writableState.errorEmitted) {\n+ this._writableState.errorEmitted = true;\n+ process.nextTick(emitErrorNT, this, err);\n+ }\n }\n- }\n \n- return this;\n- } // we set destroyed to true before firing error callbacks in order\n- // to make it re-entrance safe in case destroy() is called within callbacks\n+ return this;\n+ } // we set destroyed to true before firing error callbacks in order\n+ // to make it re-entrance safe in case destroy() is called within callbacks\n \n \n- if (this._readableState) {\n- this._readableState.destroyed = true;\n- } // if this is a duplex stream mark the writable part as destroyed as well\n+ if (this._readableState) {\n+ this._readableState.destroyed = true;\n+ } // if this is a duplex stream mark the writable part as destroyed as well\n \n \n- if (this._writableState) {\n- this._writableState.destroyed = true;\n- }\n+ if (this._writableState) {\n+ this._writableState.destroyed = true;\n+ }\n \n- this._destroy(err || null, function(err) {\n- if (!cb && err) {\n- if (!_this._writableState) {\n- process.nextTick(emitErrorAndCloseNT, _this, err);\n- } else if (!_this._writableState.errorEmitted) {\n- _this._writableState.errorEmitted = true;\n- process.nextTick(emitErrorAndCloseNT, _this, err);\n+ this._destroy(err || null, function(err) {\n+ if (!cb && err) {\n+ if (!_this._writableState) {\n+ process.nextTick(emitErrorAndCloseNT, _this, err);\n+ } else if (!_this._writableState.errorEmitted) {\n+ _this._writableState.errorEmitted = true;\n+ process.nextTick(emitErrorAndCloseNT, _this, err);\n+ } else {\n+ process.nextTick(emitCloseNT, _this);\n+ }\n+ } else if (cb) {\n+ process.nextTick(emitCloseNT, _this);\n+ cb(err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n- } else if (cb) {\n- process.nextTick(emitCloseNT, _this);\n- cb(err);\n- } else {\n- process.nextTick(emitCloseNT, _this);\n- }\n- });\n+ });\n \n- return this;\n-}\n+ return this;\n+ }\n \n-function emitErrorAndCloseNT(self, err) {\n- emitErrorNT(self, err);\n- emitCloseNT(self);\n-}\n+ function emitErrorAndCloseNT(self, err) {\n+ emitErrorNT(self, err);\n+ emitCloseNT(self);\n+ }\n \n-function emitCloseNT(self) {\n- if (self._writableState && !self._writableState.emitClose) return;\n- if (self._readableState && !self._readableState.emitClose) return;\n- self.emit('close');\n-}\n+ function emitCloseNT(self) {\n+ if (self._writableState && !self._writableState.emitClose) return;\n+ if (self._readableState && !self._readableState.emitClose) return;\n+ self.emit('close');\n+ }\n \n-function undestroy() {\n- if (this._readableState) {\n- this._readableState.destroyed = false;\n- this._readableState.reading = false;\n- this._readableState.ended = false;\n- this._readableState.endEmitted = false;\n- }\n-\n- if (this._writableState) {\n- this._writableState.destroyed = false;\n- this._writableState.ended = false;\n- this._writableState.ending = false;\n- this._writableState.finalCalled = false;\n- this._writableState.prefinished = false;\n- this._writableState.finished = false;\n- this._writableState.errorEmitted = false;\n+ function undestroy() {\n+ if (this._readableState) {\n+ this._readableState.destroyed = false;\n+ this._readableState.reading = false;\n+ this._readableState.ended = false;\n+ this._readableState.endEmitted = false;\n+ }\n+\n+ if (this._writableState) {\n+ this._writableState.destroyed = false;\n+ this._writableState.ended = false;\n+ this._writableState.ending = false;\n+ this._writableState.finalCalled = false;\n+ this._writableState.prefinished = false;\n+ this._writableState.finished = false;\n+ this._writableState.errorEmitted = false;\n+ }\n }\n-}\n \n-function emitErrorNT(self, err) {\n- self.emit('error', err);\n-}\n+ function emitErrorNT(self, err) {\n+ self.emit('error', err);\n+ }\n \n-function errorOrDestroy(stream, err) {\n- // We have tests that rely on errors being emitted\n- // in the same tick, so changing this is semver major.\n- // For now when you opt-in to autoDestroy we allow\n- // the error to be emitted nextTick. In a future\n- // semver major update we should change the default to this.\n- var rState = stream._readableState;\n- var wState = stream._writableState;\n- if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);\n- else stream.emit('error', err);\n-}\n+ function errorOrDestroy(stream, err) {\n+ // We have tests that rely on errors being emitted\n+ // in the same tick, so changing this is semver major.\n+ // For now when you opt-in to autoDestroy we allow\n+ // the error to be emitted nextTick. In a future\n+ // semver major update we should change the default to this.\n+ var rState = stream._readableState;\n+ var wState = stream._writableState;\n+ if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);\n+ else stream.emit('error', err);\n+ }\n \n-var destroy_1 = {\n- destroy: destroy,\n- undestroy: undestroy,\n- errorOrDestroy: errorOrDestroy\n-};\n+ destroy_1 = {\n+ destroy: destroy,\n+ undestroy: undestroy,\n+ errorOrDestroy: errorOrDestroy\n+ };\n+ return destroy_1;\n+}\n \n var errorsBrowser = {};\n \n function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n Object.setPrototypeOf(subClass, superClass);\n@@ -689,39 +698,48 @@\n createErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\n createErrorType('ERR_UNKNOWN_ENCODING', function(arg) {\n return 'Unknown encoding: ' + arg;\n }, TypeError);\n createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\n errorsBrowser.codes = codes;\n \n-var ERR_INVALID_OPT_VALUE = errorsBrowser.codes.ERR_INVALID_OPT_VALUE;\n+var state;\n+var hasRequiredState;\n \n-function highWaterMarkFrom(options, isDuplex, duplexKey) {\n- return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n-}\n+function requireState() {\n+ if (hasRequiredState) return state;\n+ hasRequiredState = 1;\n \n-function getHighWaterMark(state, options, duplexKey, isDuplex) {\n- var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n+ var ERR_INVALID_OPT_VALUE = errorsBrowser.codes.ERR_INVALID_OPT_VALUE;\n \n- if (hwm != null) {\n- if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n- var name = isDuplex ? duplexKey : 'highWaterMark';\n- throw new ERR_INVALID_OPT_VALUE(name, hwm);\n- }\n+ function highWaterMarkFrom(options, isDuplex, duplexKey) {\n+ return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n+ }\n \n- return Math.floor(hwm);\n- } // Default value\n+ function getHighWaterMark(state, options, duplexKey, isDuplex) {\n+ var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n \n+ if (hwm != null) {\n+ if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n+ var name = isDuplex ? duplexKey : 'highWaterMark';\n+ throw new ERR_INVALID_OPT_VALUE(name, hwm);\n+ }\n \n- return state.objectMode ? 16 : 16 * 1024;\n-}\n+ return Math.floor(hwm);\n+ } // Default value\n \n-var state = {\n- getHighWaterMark: getHighWaterMark\n-};\n+\n+ return state.objectMode ? 16 : 16 * 1024;\n+ }\n+\n+ state = {\n+ getHighWaterMark: getHighWaterMark\n+ };\n+ return state;\n+}\n \n var browser$9;\n var hasRequiredBrowser;\n \n function requireBrowser() {\n if (hasRequiredBrowser) return browser$9;\n hasRequiredBrowser = 1;\n@@ -846,17 +864,17 @@\n return Buffer.from(chunk);\n }\n \n function _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n }\n \n- var destroyImpl = destroy_1;\n+ var destroyImpl = requireDestroy();\n \n- var _require = state,\n+ var _require = requireState(),\n getHighWaterMark = _require.getHighWaterMark;\n \n var _require$codes = errorsBrowser.codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\n@@ -1993,17 +2011,17 @@\n debug = function debug() {};\n }\n /**/\n \n \n var BufferList = requireBuffer_list();\n \n- var destroyImpl = destroy_1;\n+ var destroyImpl = requireDestroy();\n \n- var _require = state,\n+ var _require = requireState(),\n getHighWaterMark = _require.getHighWaterMark;\n \n var _require$codes = errorsBrowser.codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\n"}]}]}]}]}]}