diff -Nru node-livescript-1.6.1+dfsg/debian/changelog node-livescript-1.6.1+dfsg/debian/changelog --- node-livescript-1.6.1+dfsg/debian/changelog 2021-11-16 11:31:52.000000000 +0000 +++ node-livescript-1.6.1+dfsg/debian/changelog 2022-06-01 10:26:12.000000000 +0000 @@ -1,3 +1,18 @@ +node-livescript (1.6.1+dfsg-3) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * Remove constraints unnecessary since buster: + + livescript: Drop versioned constraint on node-source-map and + node-source-map-support in Depends. + + [ Yadd ] + * Declare compliance with policy 4.6.1 + * Fix test for nodejs >= 16, error strings changed (Closes: #1011806) + + -- Yadd Wed, 01 Jun 2022 12:26:12 +0200 + node-livescript (1.6.1+dfsg-2) unstable; urgency=medium * Team upload diff -Nru node-livescript-1.6.1+dfsg/debian/control node-livescript-1.6.1+dfsg/debian/control --- node-livescript-1.6.1+dfsg/debian/control 2021-11-16 11:31:09.000000000 +0000 +++ node-livescript-1.6.1+dfsg/debian/control 2022-06-01 10:20:23.000000000 +0000 @@ -10,7 +10,7 @@ , jison , livescript , node-source-map-support -Standards-Version: 4.6.0 +Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/js-team/node-livescript Vcs-Git: https://salsa.debian.org/js-team/node-livescript.git Homepage: https://livescript.net @@ -21,8 +21,8 @@ Depends: ${misc:Depends} , node-optionator , node-prelude-ls - , node-source-map (>= 0.6.1~) - , node-source-map-support (>= 0.5.6~) + , node-source-map + , node-source-map-support , nodejs:any Provides: node-livescript Description: language which compiles to JavaScript diff -Nru node-livescript-1.6.1+dfsg/debian/patches/fix-test-for-nodejs-16.patch node-livescript-1.6.1+dfsg/debian/patches/fix-test-for-nodejs-16.patch --- node-livescript-1.6.1+dfsg/debian/patches/fix-test-for-nodejs-16.patch 1970-01-01 00:00:00.000000000 +0000 +++ node-livescript-1.6.1+dfsg/debian/patches/fix-test-for-nodejs-16.patch 2022-06-01 10:25:30.000000000 +0000 @@ -0,0 +1,19 @@ +Description: fix error output for nodejs >= 16 +Author: Yadd +Bug-Debian: https://bugs.debian.org/1011806 +Forwarded: no +Last-Update: 2022-06-01 + +--- a/test/loop.ls ++++ b/test/loop.ls +@@ -754,8 +754,8 @@ + # silly or otherwise. + deep-equal [] [0 for x in 42] + deep-equal [] [0 for x in -42] +-throws "Cannot read property 'length' of null" -> [0 for x in null] +-throws "Cannot read property 'length' of undefined" -> [0 for x in void] ++throws "Cannot read properties of null (reading 'length')" -> [0 for x in null] ++throws "Cannot read properties of undefined (reading 'length')" -> [0 for x in void] + + # [LiveScript#1035](https://github.com/gkz/LiveScript/issues/1035) + for [1 2 3] then 1 else 0 diff -Nru node-livescript-1.6.1+dfsg/debian/patches/series node-livescript-1.6.1+dfsg/debian/patches/series --- node-livescript-1.6.1+dfsg/debian/patches/series 2020-11-01 15:31:32.000000000 +0000 +++ node-livescript-1.6.1+dfsg/debian/patches/series 2022-06-01 10:24:48.000000000 +0000 @@ -1,3 +1,4 @@ use_nodejs.patch use-system-libs.patch disable-npm.patch +fix-test-for-nodejs-16.patch