chore(deps): update dependency effect to v3.11.10 #382
pull-request-checks-workflow.yml
on: pull_request
🫸 Pull Request Checks
18s
Annotations
4 errors and 11 warnings
src/schema-resume/basics/basic.spec.ts > Basics > JSONSchema > encodedSchema:
src/schema-resume/basics/basic.spec.ts#L107
Error: Snapshot `Basics > JSONSchema > encodedSchema 1` mismatched
- Expected
+ Received
@@ -1,55 +1,39 @@
{
"$defs": {
- "Basics": {
+ "Email": {
- "additionalProperties": false,
- "properties": {
+ "type": "string",
- "email": {
+ },
+ "NonEmptyTrimmedString": {
- "$ref": "#/$defs/Email",
- },
+ "type": "string",
+ },
- "image": {
+ "PhoneString": {
- "$ref": "#/$defs/UrlString",
+ "type": "string",
- },
+ },
- "label": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "TrimmedNonEmpty": {
+ "type": "string",
- },
+ },
- "location": {
+ "UrlString": {
- "$ref": "#/$defs/Location",
- },
+ "type": "string",
+ },
- "name": {
+ "countryCode": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "type": "string",
- },
+ },
- "phone": {
- "$ref": "#/$defs/PhoneString",
- },
- "profiles": {
- "items": {
- "$ref": "#/$defs/Profile",
- },
- "type": "array",
- },
- "summary": {
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "email": {
- "$ref": "#/$defs/TrimmedNonEmpty",
+ "$ref": "#/$defs/Email",
- },
+ },
- "url": {
+ "image": {
- "$ref": "#/$defs/UrlString",
+ "$ref": "#/$defs/UrlString",
- },
+ },
- },
- "required": [
- "email",
- "label",
- "location",
- "name",
- "profiles",
- "summary",
- ],
- "type": "object",
- },
- "Email": {
- "type": "string",
+ "label": {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
},
- "Location": {
+ "location": {
"additionalProperties": false,
"properties": {
"address": {
"$ref": "#/$defs/TrimmedNonEmpty",
},
@@ -70,44 +54,51 @@
"city",
"countryCode",
],
"type": "object",
},
- "NonEmptyTrimmedString": {
- "type": "string",
+ "name": {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
},
- "PhoneString": {
+ "phone": {
- "type": "string",
+ "$ref": "#/$defs/PhoneString",
},
- "Profile": {
+ "profiles": {
- "additionalProperties": false,
+ "items": {
+ "additionalProperties": false,
- "properties": {
+ "properties": {
- "network": {
+ "network": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- "url": {
+ "url": {
- "$ref": "#/$defs/UrlString",
+ "$ref": "#/$defs/UrlString",
- },
+ },
- "username": {
+ "username": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- },
+ },
- "required": [
+ "required": [
- "network",
+ "network",
- "url",
+ "url",
- "username",
+ "username",
- ],
+ ],
- "type": "object",
+ "type": "object",
- },
+ },
- "TrimmedNonEmpty": {
- "type": "string",
+ "type": "array",
+ },
+ "summary": {
+ "$ref": "#/$defs/TrimmedNonEmpty",
},
- "UrlString": {
+ "url": {
- "type": "string",
+ "$ref": "#/$defs/UrlString",
},
- "countryCode": {
+ },
+ "required": [
- "type": "string",
- },
- },
- "$ref": "#/$defs/Basics",
+ "email",
+ "label",
+ "location",
+ "name",
+ "profiles",
- "$schema": "http://json-schema.org/draft-07/schema#",
+ "summary",
+ ],
+ "type": "object",
}
❯ src/schema-resume/basics/basic.spec.ts:107:58
|
src/schema-resume/location/location.spec.ts > Location > JSONSchema > encodedSchema:
src/schema-resume/location/location.spec.ts#L65
Error: Snapshot `Location > JSONSchema > encodedSchema 1` mismatched
- Expected
+ Received
{
"$defs": {
- "Location": {
+ "NonEmptyTrimmedString": {
+ "type": "string",
+ },
+ "TrimmedNonEmpty": {
+ "type": "string",
+ },
+ "countryCode": {
- "additionalProperties": false,
+ "type": "string",
+ },
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
- "properties": {
+ "properties": {
- "address": {
+ "address": {
- "$ref": "#/$defs/TrimmedNonEmpty",
+ "$ref": "#/$defs/TrimmedNonEmpty",
- },
+ },
- "city": {
+ "city": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- "countryCode": {
+ "countryCode": {
- "$ref": "#/$defs/countryCode",
+ "$ref": "#/$defs/countryCode",
- },
- "postalCode": {
+ },
+ "postalCode": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- "region": {
+ "region": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- },
- "required": [
+ },
+ "required": [
- "city",
+ "city",
- "countryCode",
+ "countryCode",
- ],
- "type": "object",
+ ],
+ "type": "object",
- },
- "NonEmptyTrimmedString": {
- "type": "string",
- },
- "TrimmedNonEmpty": {
- "type": "string",
- },
- "countryCode": {
- "type": "string",
- },
- },
- "$ref": "#/$defs/Location",
- "$schema": "http://json-schema.org/draft-07/schema#",
}
❯ src/schema-resume/location/location.spec.ts:65:60
|
src/schema-resume/work/work.spec.ts > Work > decode > JSONSchema > encodedSchema:
src/schema-resume/work/work.spec.ts#L116
Error: Snapshot `Work > decode > JSONSchema > encodedSchema 1` mismatched
- Expected
+ Received
@@ -7,125 +7,166 @@
"type": "string",
},
"PhoneString": {
"type": "string",
},
- "Role": {
+ "StringDate": {
+ "type": "string",
+ },
+ "TrimmedNonEmpty": {
+ "type": "string",
+ },
+ "UrlString": {
+ "type": "string",
+ },
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "contact": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "$ref": "#/$defs/Email",
+ },
+ "name": {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
+ },
+ "phone": {
+ "$ref": "#/$defs/PhoneString",
+ },
+ },
+ "required": [
+ "name",
+ "email",
+ ],
+ "type": "object",
+ },
+ "description": {
+ "$ref": "#/$defs/TrimmedNonEmpty",
+ },
+ "location": {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
+ },
+ "name": {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
+ },
+ "roles": {
+ "additionalItems": {
- "additionalProperties": false,
+ "additionalProperties": false,
- "properties": {
+ "properties": {
- "endDate": {
+ "endDate": {
- "$ref": "#/$defs/StringDate",
+ "$ref": "#/$defs/StringDate",
- },
+ },
- "highlights": {
+ "highlights": {
- "additionalItems": {
+ "additionalItems": {
- "$ref": "#/$defs/TrimmedNonEmpty",
+ "$ref": "#/$defs/TrimmedNonEmpty",
- },
+ },
- "items": [
+ "items": [
- {
+ {
- "$ref": "#/$defs/TrimmedNonEmpty",
+ "$ref": "#/$defs/TrimmedNonEmpty",
- },
+ },
- ],
+ ],
- "minItems": 1,
+ "minItems": 1,
- "type": "array",
+ "type": "array",
- },
+ },
- "responsibilities": {
+ "responsibilities": {
- "items": {
+ "items": {
- "$ref": "#/$defs/TrimmedNonEmpty",
+ "$ref": "#/$defs/TrimmedNonEmpty",
- },
+ },
- "type": "array",
+ "type": "array",
- },
+ },
- "startDate": {
+ "startDate": {
- "$ref": "#/$defs/StringDate",
+ "$ref": "#/$defs/StringDate",
- },
+ },
- "technologies": {
+ "technologies": {
- "additionalItems": {
+ "additionalItems": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- "items": [
+ "items": [
- {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ {
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- ],
+ ],
- "minItems": 1,
+ "minItems": 1,
- "type": "array",
+ "type": "array",
- },
+ },
- "title": {
+ "title": {
- "$ref": "#/$defs/NonEmptyTrimmedString",
+ "$ref": "#/$defs/NonEmptyTrimmedString",
- },
+ },
- },
+ },
- "required": [
+ "required": [
- "title",
+ "title",
- "startDate",
+ "startDate",
- "responsibilities",
+ "responsibilities",
- ],
+ ],
- "type": "object",
+ "type": "object",
- },
- "StringDate": {
- "type": "string",
- },
- "TrimmedNonEmpty": {
- "type": "string",
- },
- "UrlString": {
- "type": "string",
- },
+ },
+ "items": [
+ {
- "Work": {
- "additionalProper
|
🫸 Pull Request Checks
Process completed with exit code 1.
|
🫸 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.
|