chore(deps): update dependency effect to v3.11.10 #385
pull-request-checks-workflow.yml
on: pull_request
🫸 Pull Request Checks
19s
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": [
@@ -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 > 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 > 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
|
src/schema-primitive/url-string/url-string.spec.ts > UrlString > JSONSchema > with encodedSchema:
src/schema-primitive/url-string/url-string.spec.ts#L120
Error: Snapshot `UrlString > JSONSchema > with encodedSchema 1` mismatched
- Expected
+ Received
"{
- "$ref": "#/$defs/UrlString",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"UrlString": {
"type": "string"
}
- }
+ },
+ "$ref": "#/$defs/UrlString"
}"
❯ src/schema-primitive/url-string/url-string.spec.ts:120:6
|
src/schema-resume/award/award.spec.ts > award > JSONSchema:
src/schema-resume/award/award.spec.ts#L46
Error: Snapshot `award > JSONSchema 1` mismatched
- Expected
+ Received
@@ -1,7 +1,6 @@
{
- "$ref": "#/$defs/Award",
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"Award": {
"type": "object",
"required": [],
@@ -58,7 +57,8 @@
"description": "a non-empty string with no leading or trailing whitespace",
"title": "TrimmedNonEmpty",
"minLength": 1,
"pattern": "^[^\\s].*[^\\s]$"
}
- }
+ },
+ "$ref": "#/$defs/Award"
}
❯ src/schema-resume/award/award.spec.ts:46:3
|
🫸 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.
|