chore(deps): update dependency effect to v3.12.0 #387
pull-request-checks-workflow.yml
on: pull_request
π«Έ Pull Request Checks
22s
Annotations
10 errors and 11 warnings
src/schema-resume/resume.spec.ts > Resume > jsonSchema match its snapshot:
src/schema-resume/resume.spec.ts#L117
Error: Snapshot `Resume > jsonSchema match its snapshot 1` mismatched
- Expected
+ Received
@@ -1,7 +1,6 @@
{
- "$ref": "#/$defs/Resume",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"Resume": {
"type": "object",
"required": [
@@ -143,11 +142,11 @@
"additionalProperties": false
},
"NonEmptyTrimmedString": {
"type": "string",
"description": "a non empty string",
- "title": "NonEmptyTrimmedString",
+ "title": "nonEmptyString",
"pattern": "^\\S[\\s\\S]*\\S$|^\\S$|^$",
"minLength": 1
},
"StringDate": {
"type": "string",
@@ -979,7 +978,8 @@
]
}
},
"additionalProperties": false
}
- }
+ },
+ "$ref": "#/$defs/Resume"
}
β― src/schema-resume/resume.spec.ts:117:3
|
src/schema-primitive/email/email.spec.ts > Email > JSONSchema > with encodedSchema:
src/schema-primitive/email/email.spec.ts#L93
Error: Snapshot `Email > JSONSchema > with encodedSchema 1` mismatched
- Expected
+ Received
"{
- "$ref": "#/$defs/Email",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"Email": {
"type": "string"
}
- }
+ },
+ "$ref": "#/$defs/Email"
}"
β― src/schema-primitive/email/email.spec.ts:93:6
|
src/schema-primitive/iso-date-string/iso-date-string.spec.ts > ISODateString > JSONSchema:
src/schema-primitive/iso-date-string/iso-date-string.spec.ts#L26
Error: Snapshot `ISODateString > JSONSchema 1` mismatched
- Expected
+ Received
"{
- "$ref": "#/$defs/Trim",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"Trim": {
"type": "string",
"description": "a string that will be trimmed"
}
- }
+ },
+ "$ref": "#/$defs/Trim"
}"
β― src/schema-primitive/iso-date-string/iso-date-string.spec.ts:26:32
|
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts > ISO8601Date > Calendar dates > YYYY-MM:
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts#L30
Error: Snapshot `ISO8601Date > Calendar dates > YYYY-MM 1` mismatched
- Expected
+ Received
@@ -5,8 +5,8 @@
"_id": "ParseError",
"message": "ISO8601DateString
ββ Encoded side transformation failure
ββ Date
ββ Predicate refinement failure
- ββ Expected Date, actual Invalid Date",
+ ββ Expected a valid Date, actual Invalid Date",
},
}
β― src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts:30:30
|
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts > ISO8601Date > JSONSchema > naked:
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts#L162
Error: Snapshot `ISO8601Date > JSONSchema > naked 1` mismatched
- Expected
+ Received
"{
- "$ref": "#/$defs/ISO8601DateString",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"ISO8601DateString": {
"title": "ISO 8601 Date string",
"description": "A date string conforming to the ISO 8601 format. valid inputs will be converter to fully qualified ISO 8601 strings.",
"format": "date-time",
"type": "string"
}
- }
+ },
+ "$ref": "#/$defs/ISO8601DateString"
}"
β― src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts:162:75
|
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts > ISO8601Date > JSONSchema > encodedSchema:
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts#L198
Error: Snapshot `ISO8601Date > JSONSchema > encodedSchema 1` mismatched
- Expected
+ Received
"{
- "$ref": "#/$defs/ISO8601DateString",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"ISO8601DateString": {
"type": "string",
"description": "a string that will be parsed into a Date"
}
- }
+ },
+ "$ref": "#/$defs/ISO8601DateString"
}"
β― src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts:198:6
|
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts > ISO8601Date > JSONSchema > typeSchema:
src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts#L234
Error: Snapshot `ISO8601Date > JSONSchema > typeSchema 1` mismatched
- Expected
+ Received
"{
- "type": "string",
- "$schema": "http://json-schema.org/draft-07/schema#"
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "string"
}"
β― src/schema-primitive/iso8601-date-string/iso8601-date-string.spec.ts:234:6
|
src/schema-primitive/non-empty-string/non-empty-string.spec.ts > nonEmptyString > throws error when empty string is passed:
src/schema-primitive/non-empty-string/non-empty-string.spec.ts#L17
Error: Snapshot `nonEmptyString > throws error when empty string is passed 1` mismatched
- Expected
+ Received
{
"_id": "Either",
"_tag": "Left",
"left": {
"_id": "ParseError",
- "message": "a non empty string
+ "message": "nonEmptyString
ββ Predicate refinement failure
ββ Expected a non empty string, actual """,
},
}
β― src/schema-primitive/non-empty-string/non-empty-string.spec.ts:17:25
|
src/schema-primitive/non-empty-string/non-empty-string.spec.ts > nonEmptyString > JSONSchema > naked:
src/schema-primitive/non-empty-string/non-empty-string.spec.ts#L45
Error: Snapshot `nonEmptyString > JSONSchema > naked 1` mismatched
- Expected
+ Received
@@ -1,7 +1,6 @@
"{
- "$ref": "#/$defs/NonEmptyString",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"NonEmptyString": {
"type": "string",
"description": "a non empty string",
@@ -9,7 +8,8 @@
"examples": [
"' test string '",
"'test string'"
]
}
- }
+ },
+ "$ref": "#/$defs/NonEmptyString"
}"
β― src/schema-primitive/non-empty-string/non-empty-string.spec.ts:45:72
|
src/schema-primitive/non-empty-string/non-empty-string.spec.ts > nonEmptyString > JSONSchema > encodedSchema:
src/schema-primitive/non-empty-string/non-empty-string.spec.ts#L86
Error: Snapshot `nonEmptyString > JSONSchema > encodedSchema 1` mismatched
- Expected
+ Received
@@ -1,7 +1,6 @@
"{
- "$ref": "#/$defs/NonEmptyString",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"NonEmptyString": {
"type": "string",
"description": "a non empty string",
@@ -9,7 +8,8 @@
"examples": [
"' test string '",
"'test string'"
]
}
- }
+ },
+ "$ref": "#/$defs/NonEmptyString"
}"
β― src/schema-primitive/non-empty-string/non-empty-string.spec.ts:86:6
|
π«Έ Pull Request Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint/performance/useTopLevelRegex:
src/schema-primitive/email/email.ts#L9
This regex literal is not defined in the top level scope. This can lead to performance issues if this function is called frequently.
|
lint/suspicious/useAwait:
src/test/test-utils.ts#L50
This async function lacks an await expression.
|
lint/suspicious/useAwait:
src/test/test-utils.ts#L61
This async function lacks an await expression.
|
lint/style/useNamingConvention:
src/test/test-utils.ts#L46
Two consecutive uppercase characters are not allowed in camelCase because strictCase is set to `true`.
|
lint/suspicious/noConsole:
src/test/test-utils.ts#L47
Don't use console.
|
lint/suspicious/noConsoleLog:
src/test/test-utils.ts#L47
Don't use console.log
|
lint/suspicious/noMisplacedAssertion:
src/test/test-utils.ts#L76
The assertion isn't inside a it(), test() or Deno.test() function call.
|
lint/suspicious/noMisplacedAssertion:
src/test/test-utils.ts#L82
The assertion isn't inside a it(), test() or Deno.test() function call.
|
lint/suspicious/noMisplacedAssertion:
src/test/test-utils.ts#L89
The assertion isn't inside a it(), test() or Deno.test() function call.
|
lint/suspicious/noMisplacedAssertion:
src/test/test-utils.ts#L93
The assertion isn't inside a it(), test() or Deno.test() function call.
|