Update all non-major dependencies #167
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.7.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -819,11 +819,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.7.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4316,15 +4316,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 +5377,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/implemented type '{{ heritageTypeName }}'.",
"voidReturnProperty": "Promise-returning function provided to property where a void return was expected.",
@@ -6393,15 +6396,15 @@
"recommended": "recommended",
"requiresTypeChecking": true,
"url": "https://typescript-eslint.io/rules/no-unsafe-call",
},
"messages": {
- "unsafeCall": "Unsafe call of an {{type}} typed value.",
- "unsafeCa
|
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.7.0",
},
"parseForESLint": [Function],
},
"sourceType": "module",
},
@@ -752,11 +752,11 @@
},
},
},
"meta": {
"name": "@typescript-eslint/eslint-plugin",
- "version": "8.5.0",
+ "version": "8.7.0",
},
"rules": {
"adjacent-overload-signatures": {
"create": [Function],
"defaultOptions": [],
@@ -4249,15 +4249,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 +5310,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/implemented type '{{ heritageTypeName }}'.",
"voidReturnProperty": "Promise-returning function provided to property where a void return was expected.",
@@ -6326,15 +6329,15 @@
"recommended": "recommended",
"requiresTypeChecking": true,
"url": "https://typescript-eslint.io/rules/no-unsafe-call",
},
"messages": {
- "unsafeCall": "Unsafe call of an {{type}} typed value.",
- "unsafeCallThis": "Unsafe call of an `any` typed value. `this` is typed as `any`.
+ "unsafeCall": "Unsafe call of a(n)
|
Run npm run test:unit
Process completed with exit code 1.
|
Loading