diff -Nru node-d3-5.16.0/debian/changelog node-d3-5.16.0/debian/changelog --- node-d3-5.16.0/debian/changelog 2020-12-29 15:15:38.000000000 +0000 +++ node-d3-5.16.0/debian/changelog 2021-01-02 09:08:54.000000000 +0000 @@ -1,3 +1,11 @@ +node-d3 (5.16.0-4) unstable; urgency=medium + + * Update minimum version of node-rollup-plugin-node-resolve + * Add forwarded info in patch + * Replace deprecacted node-resolve plugin option in rollup.config.js + + -- Pirate Praveen Sat, 02 Jan 2021 14:38:54 +0530 + node-d3 (5.16.0-3) unstable; urgency=medium [ Nilesh Patra ] diff -Nru node-d3-5.16.0/debian/control node-d3-5.16.0/debian/control --- node-d3-5.16.0/debian/control 2020-12-29 15:15:38.000000000 +0000 +++ node-d3-5.16.0/debian/control 2021-01-02 09:08:54.000000000 +0000 @@ -9,7 +9,7 @@ debhelper-compat (= 13) , nodejs (>= 6) , pkg-js-tools (>= 0.9.6~) - , node-rollup-plugin-node-resolve + , node-rollup-plugin-node-resolve (>= 11~) , node-rollup-plugin-commonjs , node-rollup-plugin-buble (>= 0.19.4~) , node-rollup-plugin-terser diff -Nru node-d3-5.16.0/debian/patches/drop-legacy-node-resolve-plugin.patch node-d3-5.16.0/debian/patches/drop-legacy-node-resolve-plugin.patch --- node-d3-5.16.0/debian/patches/drop-legacy-node-resolve-plugin.patch 2020-12-29 15:15:38.000000000 +0000 +++ node-d3-5.16.0/debian/patches/drop-legacy-node-resolve-plugin.patch 2021-01-02 09:08:54.000000000 +0000 @@ -1,3 +1,6 @@ + +Forwarded: https://github.com/d3/d3/pull/3454 + --- a/rollup.config.js +++ b/rollup.config.js @@ -1,5 +1,5 @@ @@ -7,3 +10,29 @@ import {terser} from "rollup-plugin-terser"; import * as meta from "./package.json"; +@@ -24,10 +24,8 @@ + input: "index.js", + plugins: [ + node({ +- customResolveOptions: { +- moduleDirectory: ['/usr/share/nodejs', '/usr/lib/nodejs'], +- preferBuiltins: false +- } ++ moduleDirectories: ['/usr/share/nodejs', '/usr/lib/nodejs'], ++ preferBuiltins: false + }), + ascii() + ], +@@ -45,10 +43,8 @@ + input: "index.js", + plugins: [ + node({ +- customResolveOptions: { +- moduleDirectory: ['/usr/share/nodejs', '/usr/lib/nodejs'], +- preferBuiltins: false +- } ++ moduleDirectories: ['/usr/share/nodejs', '/usr/lib/nodejs'], ++ preferBuiltins: false + }), + ascii(), + terser({output: {preamble: copyright}})