Skip to content

Commit

Permalink
tools: bump eslint version
Browse files Browse the repository at this point in the history
Bumps the eslint group in /tools/eslint with 5 updates:

| Package | From | To |
| --- | --- | --- |
| `@babel/core` | `7.26.0` | `7.26.7` |
| `@babel/eslint-parser` | `7.25.9` | `7.26.5` |
| `@stylistic/eslint-plugin-js` | `2.12.1` | `3.0.1` |
| `eslint` | `9.17.0` | `9.19.0` |
| `eslint-plugin-jsdoc` | `50.6.1` | `50.6.3` |

Signed-off-by: dependabot[bot] <support@github.com>
PR-URL: #56869
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
dependabot[bot] authored and targos committed Feb 11, 2025
1 parent cfea53e commit b5a8a81
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 100 deletions.
8 changes: 5 additions & 3 deletions lib/internal/test_runner/reporter/junit.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ function treeToXML(tree) {
if (comment) {
return `${indent}<!-- ${escapeComment(comment)} -->\n`;
}
const attrsString = ArrayPrototypeJoin(ArrayPrototypeMap(ObjectEntries(attrs)
, ({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`)
, ' ');
const attrsString = ArrayPrototypeJoin(
ArrayPrototypeMap(
ObjectEntries(attrs),
({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`),
' ');
if (!children?.length) {
return `${indent}<${tag} ${attrsString}/>\n`;
}
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-stream-reduce.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function sum(p, c) {
throw new Error('boom');
}
return c;
}, 0)
, /boom/).then(common.mustCall());
}, 0),
/boom/).then(common.mustCall());
}

{
Expand Down
Loading

0 comments on commit b5a8a81

Please sign in to comment.