Update all non-major dependencies #174
Annotations
3 errors
Run npm run test:unit:
source/configs/strict.unit.test.ts#L6
Error: Snapshot `strict > should match the snapshot 1` mismatched
- Expected
+ Received
@@ -68,11 +68,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.5.0",
+ "version": "8.8.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -819,11 +819,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.8.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -902,10 +902,12 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
+ "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -4316,15 +4318,17 @@
"recommended": "stylistic",
"url": "https://typescript-eslint.io/rules/no-confusing-non-null-assertion",
},
"hasSuggestions": true,
"messages": {
- "confusingAssign": "Confusing combinations of non-null assertion and equal test like "a! = b", which looks very similar to not equal "a != b".",
- "confusingEqual": "Confusing combinations of non-null assertion and equal test like "a! == b", which looks very similar to not equal "a !== b".",
- "notNeedInAssign": "Unnecessary non-null assertion (!) in assignment left hand.",
- "notNeedInEqualTest": "Unnecessary non-null assertion (!) in equal test.",
- "wrapUpLeft": "Wrap up left hand to avoid putting non-null assertion "!" and "=" together.",
+ "confusingAssign": "Confusing combination of non-null assertion and assignment like `a! = b`, which looks very similar to `a != b`.",
+ "confusingEqual": "Confusing combination of non-null assertion and equality test like `a! == b`, which looks very similar to `a !== b`.",
+ "confusingOperator": "Confusing combination of non-null assertion and `{{operator}}` operator like `a! {{operator}} b`, which might be misinterpreted as `!(a {{operator}} b)`.",
+ "notNeedInAssign": "Remove unnecessary non-null assertion (!) in assignment left-hand side.",
+ "notNeedInEqualTest": "Remove unnecessary non-null assertion (!) in equality test.",
+ "notNeedInOperator": "Remove possibly unnecessary non-null assertion (!) in the left operand of the `{{operator}}` operator.",
+ "wrapUpLeft": "Wrap the left-hand side in parentheses to avoid confusion with "{{operator}}" operator.",
},
"schema": [],
"type": "problem",
},
},
@@ -5375,10 +5379,11 @@
"requiresTypeChecking": true,
"url": "https://typescript-eslint.io/rules/no-misused-promises",
},
"messages": {
"conditional": "Expected non-Promise value in a boolean conditional.",
+ "predicate": "Expected a non-Promise value to be returned.",
"spread": "Expected a non-Promise value to be spreaded in an object.",
"voidReturnArgument": "Promise returned in function argument where a void return was expected.",
"voidReturnAttribute": "Promise-returning function provided to attribute where a void return was expected.",
|
Run npm run test:unit:
source/configs/strict.unit.test.ts#L14
Error: Snapshot `strict > should include the js all config 1` mismatched
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"languageOptions": {
"parser": {
"meta": {
"name": "typescript-eslint/parser",
- "version": "8.5.0",
+ "version": "8.8.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -752,11 +752,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.8.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -835,10 +835,12 @@
"url": "https://typescript-eslint.io/rules/await-thenable",
},
"hasSuggestions": true,
"messages": {
"await": "Unexpected `await` of a non-Promise (non-"Thenable") value.",
+ "convertToOrdinaryFor": "Convert to an ordinary `for...of` loop.",
+ "forAwaitOfNonThenable": "Unexpected `for await...of` of a value that is not async iterable.",
"removeAwait": "Remove unnecessary `await`.",
},
"schema": [],
"type": "problem",
},
@@ -4249,15 +4251,17 @@
"recommended": "stylistic",
"url": "https://typescript-eslint.io/rules/no-confusing-non-null-assertion",
},
"hasSuggestions": true,
"messages": {
- "confusingAssign": "Confusing combinations of non-null assertion and equal test like "a! = b", which looks very similar to not equal "a != b".",
- "confusingEqual": "Confusing combinations of non-null assertion and equal test like "a! == b", which looks very similar to not equal "a !== b".",
- "notNeedInAssign": "Unnecessary non-null assertion (!) in assignment left hand.",
- "notNeedInEqualTest": "Unnecessary non-null assertion (!) in equal test.",
- "wrapUpLeft": "Wrap up left hand to avoid putting non-null assertion "!" and "=" together.",
+ "confusingAssign": "Confusing combination of non-null assertion and assignment like `a! = b`, which looks very similar to `a != b`.",
+ "confusingEqual": "Confusing combination of non-null assertion and equality test like `a! == b`, which looks very similar to `a !== b`.",
+ "confusingOperator": "Confusing combination of non-null assertion and `{{operator}}` operator like `a! {{operator}} b`, which might be misinterpreted as `!(a {{operator}} b)`.",
+ "notNeedInAssign": "Remove unnecessary non-null assertion (!) in assignment left-hand side.",
+ "notNeedInEqualTest": "Remove unnecessary non-null assertion (!) in equality test.",
+ "notNeedInOperator": "Remove possibly unnecessary non-null assertion (!) in the left operand of the `{{operator}}` operator.",
+ "wrapUpLeft": "Wrap the left-hand side in parentheses to avoid confusion with "{{operator}}" operator.",
},
"schema": [],
"type": "problem",
},
},
@@ -5308,10 +5312,11 @@
"requiresTypeChecking": true,
"url": "https://typescript-eslint.io/rules/no-misused-promises",
},
"messages": {
"conditional": "Expected non-Promise value in a boolean conditional.",
+ "predicate": "Expected a non-Promise value to be returned.",
"spread": "Expected a non-Promise value to be spreaded in an object.",
"voidReturnArgument": "Promise returned in function argument where a void return was expected.",
"voidReturnAttribute": "Promise-returning function provided to attribute where a void return was expected.",
"voidReturnInheritedMethod": "Promise-returning method provided where a void return was expected by extended/implemen
|
Run npm run test:unit
Process completed with exit code 1.
|
Loading