Add nodejs 20.x support #89
Annotations
6 errors and 2 warnings
Run npm test:
test/lib/parseJson.test.mjs#L87
AssertionError: expected [Function parse] to throw error including 'Unexpected end of JSON input' but got 'Expected property name or \'}\' in JS…'
- Expected
+ Received
- Unexpected end of JSON input
+ Expected property name or '}' in JSON at position 1
❯ test/lib/parseJson.test.mjs:87:19
|
Run npm test:
test/rules/plugin/use-valid-json.test.mjs#L30
AssertionError: expected { …(6) } to match object { severity: 2, …(3) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
- "column": 17,
- "line": 3,
+ "column": 1,
+ "line": 0,
"ruleId": "json-es/use-valid-json",
"severity": 2,
}
❯ test/rules/plugin/use-valid-json.test.mjs:30:25
|
Run npm test:
test/rules/plugin/use-valid-json.test.mjs#L51
AssertionError: expected { ruleId: null, fatal: true, …(4) } to match object { severity: 2, ruleId: null, …(3) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"column": 3,
"line": 1,
- "message": "Parsing error: Unexpected end of JSON input",
+ "message": "Parsing error: Expected property name or '}' in JSON at position 1",
"ruleId": null,
"severity": 2,
}
❯ test/rules/plugin/use-valid-json.test.mjs:51:25
|
Run npm test:
test/rules/plugin/use-valid-json.test.mjs#L71
AssertionError: expected { …(6) } to match object { severity: 2, …(4) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"column": 8,
"line": 1,
- "message": "Unexpected token ) in JSON at position 7",
+ "message": "Unexpected non-whitespace character after JSON at position 7",
"ruleId": "json-es/use-valid-json",
"severity": 2,
}
❯ test/rules/plugin/use-valid-json.test.mjs:71:25
|
Run npm test:
test/rules/plugin/use-valid-json.test.mjs#L91
AssertionError: expected { …(6) } to match object { severity: 2, …(4) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"column": 14,
"line": 2,
- "message": "Unexpected token in JSON at position 25",
+ "message": "Unterminated fractional number in JSON at position 25",
"ruleId": "json-es/use-valid-json",
"severity": 2,
}
❯ test/rules/plugin/use-valid-json.test.mjs:91:25
|
Run npm test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading