Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the effect group across 1 directory with 3 updates #240

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bump the effect group across 1 directory with 3 updates
Bumps the effect group with 3 updates in the / directory: [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform), [@effect/schema](https://github.com/Effect-TS/effect/tree/HEAD/packages/schema) and [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect).


Updates `@effect/platform` from 0.49.3 to 0.58.12
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/platform)

Updates `@effect/schema` from 0.66.1 to 0.68.11
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/schema/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/schema)

Updates `effect` from 3.0.1 to 3.4.4
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/[email protected]/packages/effect)

---
updated-dependencies:
- dependency-name: "@effect/platform"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: "@effect/schema"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot[bot] authored Jun 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 290961bc5766ec7f037e12693677b49e504a49e3
92 changes: 29 additions & 63 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -28,12 +28,12 @@
"vitest": "^1.5.0"
},
"dependencies": {
"@effect/platform": "^0.49.3",
"@effect/schema": "^0.66.1",
"@effect/platform": "^0.58.12",
"@effect/schema": "^0.68.11",
"@js-temporal/polyfill": "^0.4.4",
"chalk": "^5.3.0",
"doi-regex": "^0.1.13",
"effect": "3.0.1",
"effect": "3.4.4",
"ioredis": "^5.3.2",
"orcid-utils": "^1.2.2"
}

Unchanged files with check annotations Beta

type PeerReviews = Schema.Schema.Type<typeof PeerReviewsSchema>['group']
type NewPeerReview = Schema.Schema.Type<typeof NewPeerReviewSchema>
type GetPeerReviewsForOrcidIdError = HttpClient.error.HttpClientError | ParseResult.ParseError

Check failure on line 18 in src/Orcid.ts

GitHub Actions / Lint

'any' overrides all other types in this union type

Check failure on line 18 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'error'.
type AddPeerReviewToOrcidIdError = HttpClient.error.HttpClientError | HttpClient.body.BodyError

Check failure on line 19 in src/Orcid.ts

GitHub Actions / Lint

'any' overrides all other types in this union type

Check failure on line 19 in src/Orcid.ts

GitHub Actions / Lint

'any' overrides all other types in this union type

Check failure on line 19 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'error'.

Check failure on line 19 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'body'.
type DeletePeerReviewError = HttpClient.error.HttpClientError

Check failure on line 20 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'error'.
export interface OrcidConfig {
readonly url: URL
): Effect.Effect<
PeerReviews,
GetPeerReviewsForOrcidIdError,
OrcidConfig | HttpClient.client.Client.Default | OrcidAccessToken

Check failure on line 33 in src/Orcid.ts

GitHub Actions / Lint

'any' overrides all other types in this union type

Check failure on line 33 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'client'.
> =>
Effect.gen(function* (_) {

Check failure on line 35 in src/Orcid.ts

GitHub Actions / Lint

Unsafe return of type `Effect<any, unknown, unknown>` from function with return type `Effect<readonly ({ readonly 'external-ids': { readonly 'external-id': readonly [{ readonly 'external-id-type': "peer-review"; readonly 'external-id-value': "orcid-generated:prereview"; }]; }; readonly 'peer-review-group': readonly { ...; }[]; } | { ...; })[], any, any>`
const client = yield* _(orcidClient)

Check failure on line 36 in src/Orcid.ts

GitHub Actions / Lint

Unsafe assignment of an `any` value
const response = yield* _(
HttpClient.request.get(`${id}/peer-reviews`),

Check failure on line 39 in src/Orcid.ts

GitHub Actions / Lint

Unsafe call of an `any` typed value

Check failure on line 39 in src/Orcid.ts

GitHub Actions / Lint

Unsafe member access .get on an `any` value

Check failure on line 39 in src/Orcid.ts

GitHub Actions / Typecheck

Property 'request' does not exist on type 'typeof import("/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient")'.
client,

Check failure on line 40 in src/Orcid.ts

GitHub Actions / Lint

Unsafe argument of type `any` assigned to a parameter of type `(a: any) => unknown`
Effect.flatMap(HttpClient.response.schemaBodyJson(PeerReviewsSchema)),

Check failure on line 41 in src/Orcid.ts

GitHub Actions / Lint

Unsafe argument of type `any` assigned to a parameter of type `(a: unknown) => Effect<unknown, unknown, unknown>`

Check failure on line 41 in src/Orcid.ts

GitHub Actions / Typecheck

Argument of type '<E, R>(self: Effect<unknown, E, R>) => Effect<unknown, unknown, unknown>' is not assignable to parameter of type '(b: unknown) => Effect<unknown, unknown, unknown>'.

Check failure on line 41 in src/Orcid.ts

GitHub Actions / Typecheck

Property 'response' does not exist on type 'typeof import("/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient")'.
Effect.scoped,
)
return response.group

Check failure on line 45 in src/Orcid.ts

GitHub Actions / Typecheck

'response' is of type 'unknown'.
})
export const addPeerReviewToOrcidId = ({
}): Effect.Effect<
void,
AddPeerReviewToOrcidIdError,
OrcidConfig | HttpClient.client.Client.Default | OrcidAccessToken

Check failure on line 57 in src/Orcid.ts

GitHub Actions / Typecheck

Namespace '"/home/runner/work/orcid-sync/orcid-sync/node_modules/@effect/platform/dist/dts/HttpClient"' has no exported member 'client'.
> =>
Effect.gen(function* (_) {
const client = yield* _(orcidClient)