diff -Nru node-babel-eslint-10.1.0/debian/changelog node-babel-eslint-10.1.0/debian/changelog --- node-babel-eslint-10.1.0/debian/changelog 2021-11-25 11:17:02.000000000 +0000 +++ node-babel-eslint-10.1.0/debian/changelog 2021-12-22 16:26:40.000000000 +0000 @@ -1,3 +1,10 @@ +node-babel-eslint (10.1.0-4) unstable; urgency=medium + + * Team upload + * Disable more tests: error strings changed with babel 7.16 + + -- Yadd Wed, 22 Dec 2021 17:26:40 +0100 + node-babel-eslint (10.1.0-3) unstable; urgency=medium * Team upload diff -Nru node-babel-eslint-10.1.0/debian/patches/disable-test-incompatible-with-recent-espree.diff node-babel-eslint-10.1.0/debian/patches/disable-test-incompatible-with-recent-espree.diff --- node-babel-eslint-10.1.0/debian/patches/disable-test-incompatible-with-recent-espree.diff 2020-05-09 07:29:00.000000000 +0000 +++ node-babel-eslint-10.1.0/debian/patches/disable-test-incompatible-with-recent-espree.diff 2021-12-22 16:24:40.000000000 +0000 @@ -1,11 +1,27 @@ Description: disable tests incompatible with espree ≥ 6 Author: Xavier Guimard Forwarded: not-needed -Last-Update: 2020-05-09 +Last-Update: 2021-12-22 --- a/test/babel-eslint.js +++ b/test/babel-eslint.js -@@ -216,6 +216,7 @@ +@@ -148,6 +148,7 @@ + `); + }); + ++ /* + it("template with destructuring #31", () => { + parseAndAssertSame(` + module.exports = { +@@ -158,6 +159,7 @@ + }; + `); + }); ++ */ + + it("template with arrow returning template #603", () => { + parseAndAssertSame(` +@@ -216,6 +218,7 @@ parseAndAssertSame(""); }); @@ -13,15 +29,81 @@ it("jsx text with content", () => { parseAndAssertSame("Hello, world!"); }); -@@ -223,6 +224,7 @@ - it("nested jsx", () => { - parseAndAssertSame("
\n

Wat

\n
"); +@@ -235,6 +238,7 @@ + it("import specifier with name", () => { + parseAndAssertSame('import { foo as bar } from "foo";'); + }); ++ */ + + it("import bare", () => { + parseAndAssertSame('import "foo";'); +@@ -256,17 +260,21 @@ + parseAndAssertSame("export default function () {}"); + }); + ++ /* + it("export all", () => { + parseAndAssertSame('export * from "foo";'); + }); ++ */ + + it("export named", () => { + parseAndAssertSame("const foo = 1; export { foo };"); + }); + ++ /* + it("export named alias", () => { + parseAndAssertSame("const foo = 1; export { foo as bar };"); + }); ++ */ + + // Espree doesn't support the optional chaining operator yet + it("optional chaining operator (token)", () => { +@@ -375,27 +383,16 @@ + parseAndAssertSame('`${/\\d/.exec("1")[0]}`'); + }); + ++ /* + it("first line is empty", () => { + parseAndAssertSame('\nimport Immutable from "immutable";'); }); + */ - it("default import", () => { - parseAndAssertSame('import foo from "foo";'); -@@ -480,9 +482,11 @@ + it("empty", () => { + parseAndAssertSame(""); + }); + +- it("jsdoc", () => { +- parseAndAssertSame(` +- /** +- * @param {object} options +- * @return {number} +- */ +- const test = function({ a, b, c }) { +- return a + b + c; +- }; +- module.exports = test; +- `); +- }); +- + it("empty block with comment", () => { + parseAndAssertSame(` + function a () { +@@ -417,11 +414,13 @@ + `); + }); + ++ /* + it("MethodDefinition 2", () => { + parseAndAssertSame( + "export default class Bar { get bar() { return 42; }}" + ); + }); ++ */ + + it("ClassMethod", () => { + parseAndAssertSame(` +@@ -480,9 +479,11 @@ parseAndAssertSame("return;"); }); @@ -33,22 +115,32 @@ it("StringLiteral", () => { parseAndAssertSame(""); -@@ -523,6 +527,7 @@ +@@ -490,6 +491,7 @@ + parseAndAssertSame("a"); + }); + ++ /* + it("getters and setters", () => { + parseAndAssertSame("class A { get x ( ) { ; } }"); + parseAndAssertSame(` +@@ -522,7 +524,9 @@ + }; `); }); ++ */ + /* it("RestOperator", () => { parseAndAssertSame("var { a, ...b } = c"); parseAndAssertSame("var [ a, ...b ] = c"); -@@ -534,6 +539,7 @@ - parseAndAssertSame("var a = [ a, ...b ]"); - parseAndAssertSame("var a = sum(...b)"); +@@ -542,6 +546,7 @@ + } + `); }); + */ + }); + }); - it("Async/Await", () => { - parseAndAssertSame(` --- a/test/z_parser-for-eslint-after-patched.js +++ b/test/z_parser-for-eslint-after-patched.js @@ -21,6 +21,7 @@