{ "diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/tmp.2OAAauM59d/b1/ejs.js_1.0.0+dfsg1-2_armhf.changes", "source2": "/srv/reproducible-results/rbuild-debian/tmp.2OAAauM59d/b2/ejs.js_1.0.0+dfsg1-2_armhf.changes", "unified_diff": null, "details": [ { "source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- a79101c93d435479ee5e2ab0cefc2bf8 13140 javascript optional libjs-ejs_1.0.0+dfsg1-2_all.deb\n+ 47908edbf263dc974af715f56251d105 13124 javascript optional libjs-ejs_1.0.0+dfsg1-2_all.deb\n d178c69c75fe4372796c167022ffa19d 14860 javascript optional node-ejs_1.0.0+dfsg1-2_all.deb\n" }, { "source1": "libjs-ejs_1.0.0+dfsg1-2_all.deb", "source2": "libjs-ejs_1.0.0+dfsg1-2_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 2019-02-15 02:21:53.000000 debian-binary\n -rw-r--r-- 0 0 0 1016 2019-02-15 02:21:53.000000 control.tar.xz\n--rw-r--r-- 0 0 0 11932 2019-02-15 02:21:53.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 11916 2019-02-15 02:21:53.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": "./usr/share/javascript/ejs/ejs.js", "source2": "./usr/share/javascript/ejs/ejs.js", "unified_diff": null, "details": [ { "source1": "js-beautify {}", "source2": "js-beautify {}", "unified_diff": "@@ -45,42 +45,14 @@\n }\n \n return require(path.join('/'));\n };\n };\n \n \n- require.register(\"utils.js\", function(module, exports, require) {\n-\n- /*!\n- * EJS\n- * Copyright(c) 2010 TJ Holowaychuk \n- * MIT Licensed\n- */\n-\n- /**\n- * Escape the given string of `html`.\n- *\n- * @param {String} html\n- * @return {String}\n- * @api private\n- */\n-\n- exports.escape = function(html) {\n- return String(html)\n- .replace(/&/g, '&')\n- .replace(//g, '>')\n- .replace(/'/g, ''')\n- .replace(/\"/g, '"');\n- };\n-\n-\n- }); // module: utils.js\n-\n require.register(\"ejs.js\", function(module, exports, require) {\n \n /*!\n * EJS\n * Copyright(c) 2012 TJ Holowaychuk \n * MIT Licensed\n */\n@@ -447,14 +419,42 @@\n require.registerExtension('.ejs', function(src) {\n return compile(src, {});\n });\n }\n \n }); // module: ejs.js\n \n+ require.register(\"utils.js\", function(module, exports, require) {\n+\n+ /*!\n+ * EJS\n+ * Copyright(c) 2010 TJ Holowaychuk \n+ * MIT Licensed\n+ */\n+\n+ /**\n+ * Escape the given string of `html`.\n+ *\n+ * @param {String} html\n+ * @return {String}\n+ * @api private\n+ */\n+\n+ exports.escape = function(html) {\n+ return String(html)\n+ .replace(/&/g, '&')\n+ .replace(//g, '>')\n+ .replace(/'/g, ''')\n+ .replace(/\"/g, '"');\n+ };\n+\n+\n+ }); // module: utils.js\n+\n require.register(\"filters.js\", function(module, exports, require) {\n /*!\n * EJS - Filters\n * Copyright(c) 2010 TJ Holowaychuk \n * MIT Licensed\n */\n \n" } ] }, { "source1": "./usr/share/javascript/ejs/ejs.min.js", "source2": "./usr/share/javascript/ejs/ejs.min.js", "unified_diff": null, "details": [ { "source1": "js-beautify {}", "source2": "js-beautify {}", "unified_diff": "@@ -31,19 +31,14 @@\n var seg = segs[i];\n if (\"..\" == seg) path.pop();\n else if (\".\" != seg) path.push(seg)\n }\n return require(path.join(\"/\"))\n }\n };\n- require.register(\"utils.js\", function(module, exports, require) {\n- exports.escape = function(html) {\n- return String(html).replace(/&/g, \"&\").replace(//g, \">\").replace(/'/g, \"'\").replace(/\"/g, \""\")\n- }\n- });\n require.register(\"ejs.js\", function(module, exports, require) {\n var utils = require(\"./utils\"),\n path = require(\"path\"),\n dirname = path.dirname,\n extname = path.extname,\n join = path.join,\n fs = require(\"fs\"),\n@@ -240,14 +235,19 @@\n }\n } else if (require.registerExtension) {\n require.registerExtension(\".ejs\", function(src) {\n return compile(src, {})\n })\n }\n });\n+ require.register(\"utils.js\", function(module, exports, require) {\n+ exports.escape = function(html) {\n+ return String(html).replace(/&/g, \"&\").replace(//g, \">\").replace(/'/g, \"'\").replace(/\"/g, \""\")\n+ }\n+ });\n require.register(\"filters.js\", function(module, exports, require) {\n exports.first = function(obj) {\n return obj[0]\n };\n exports.last = function(obj) {\n return obj[obj.length - 1]\n };\n" } ] } ] } ] } ] } ] }