Skip to content

fix(npm): drop deprecated @effect/schema dependency #278

@anonpay-sh

Description

@anonpay-sh

I'm seeing a deprecation warning after installing Syncpack and checking my dependencies:

$ pnpm dedupe --check
 WARN  1 deprecated subdependencies found: @effect/[email protected]

It appears that Syncpack has both a deprecated dependency on @effect/schema and an up-to-date dependency on effect:

"@effect/schema": "^0.75.5",

"effect": "^3.13.7",

Moreover, it looks like @effect/schema is only imported in one place:

import * as Schema from '@effect/schema/Schema';

Given that @effect/schema was merged into the main effect package a while back, could we switch to import { Schema } from "effect"; here and drop the deprecated @effect/schema dependency?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions