chore(deps): update all non-major dependencies #647
Annotations
6 errors and 1 warning
test/typescript.test.ts > rules > eqeqeq:
test/__util__/test_util.ts#L33
AssertionError: Rule: eqeqeq
Source: const a = 1;a == 1
Result: false
Message:[]
: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/__util__/test_util.ts:33:37
|
test/typescript.test.ts > rules > ts/prefer-nullish-coalescing:
test/__util__/test_util.ts#L33
AssertionError: Rule: ts/prefer-nullish-coalescing
Source: let a: null | string
let b: null | string
a ?? b
Result: false
Message:[
{
"ruleId": "ts/prefer-nullish-coalescing",
"severity": 2,
"message": "This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",
"line": 0,
"column": 1,
"nodeType": null,
"messageId": "noStrictNullCheck",
"endLine": 0,
"endColumn": 1
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 1,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 1,
"endColumn": 12,
"fix": {
"range": [
7,
11
],
"text": "undefined"
}
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 2,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 2,
"endColumn": 12,
"fix": {
"range": [
28,
32
],
"text": "undefined"
}
}
]
: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ test/__util__/test_util.ts:33:37
|
test/typescript.test.ts > rules > ts/prefer-nullish-coalescing:
test/__util__/test_util.ts#L33
AssertionError: Rule: ts/prefer-nullish-coalescing
Source: let a: null | string
let b: null | string
let c: null | string
a || (b && c)
Result: false
Message:[
{
"ruleId": "ts/prefer-nullish-coalescing",
"severity": 2,
"message": "This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",
"line": 0,
"column": 1,
"nodeType": null,
"messageId": "noStrictNullCheck",
"endLine": 0,
"endColumn": 1
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 1,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 1,
"endColumn": 12,
"fix": {
"range": [
7,
11
],
"text": "undefined"
}
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 2,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 2,
"endColumn": 12,
"fix": {
"range": [
28,
32
],
"text": "undefined"
}
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 3,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 3,
"endColumn": 12,
"fix": {
"range": [
49,
53
],
"text": "undefined"
}
}
]
: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ test/__util__/test_util.ts:33:37
|
test/typescript.test.ts > rules > ts/prefer-nullish-coalescing:
test/__util__/test_util.ts#L33
AssertionError: Rule: ts/prefer-nullish-coalescing
Source: let a: null | string
let b: null | string
let c: null | string
a ?? (b && c)
Result: false
Message:[
{
"ruleId": "ts/prefer-nullish-coalescing",
"severity": 2,
"message": "This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",
"line": 0,
"column": 1,
"nodeType": null,
"messageId": "noStrictNullCheck",
"endLine": 0,
"endColumn": 1
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 1,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 1,
"endColumn": 12,
"fix": {
"range": [
7,
11
],
"text": "undefined"
}
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 2,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 2,
"endColumn": 12,
"fix": {
"range": [
28,
32
],
"text": "undefined"
}
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 3,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 3,
"endColumn": 12,
"fix": {
"range": [
49,
53
],
"text": "undefined"
}
}
]
: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ test/__util__/test_util.ts:33:37
|
test/typescript.test.ts > rules > ts/prefer-nullish-coalescing:
test/__util__/test_util.ts#L33
AssertionError: Rule: ts/prefer-nullish-coalescing
Source: let a: null | string
let b = a ?? "a string"
Result: false
Message:[
{
"ruleId": "ts/prefer-nullish-coalescing",
"severity": 2,
"message": "This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",
"line": 0,
"column": 1,
"nodeType": null,
"messageId": "noStrictNullCheck",
"endLine": 0,
"endColumn": 1
},
{
"ruleId": "ts/no-restricted-types",
"severity": 2,
"message": "Don't use `null` as a type. Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",
"line": 1,
"column": 8,
"nodeType": "TSNullKeyword",
"messageId": "bannedTypeMessage",
"endLine": 1,
"endColumn": 12,
"fix": {
"range": [
7,
11
],
"text": "undefined"
}
}
]
: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ test/__util__/test_util.ts:33:37
|
CI
Process completed with exit code 1.
|
CI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|