Skip to content

Use @earendil-works pi packages (clears 2 high-severity audit findings) - #25

Open
asami-me wants to merge 1 commit into
badlogic:mainfrom
asami-me:earendil-works-migration
Open

Use @earendil-works pi packages (clears 2 high-severity audit findings)#25
asami-me wants to merge 1 commit into
badlogic:mainfrom
asami-me:earendil-works-migration

Conversation

@asami-me

@asami-me asami-me commented Sep 1, 2026

Copy link
Copy Markdown

Migrates the extension's type-only imports from the deprecated @mariozechner/pi-* packages (frozen at 0.73.1) to @earendil-works/pi-*.

Why: the deprecated packages pull extract-zip@2.0.1 (GHSA-jmr9-qjv8-65gv, unpatched) plus 3 pi-coding-agent advisories, producing 2 high-severity npm audit findings on every pi update --extensions. npm audit fix cannot resolve them since the @mariozechner/* line is frozen.

Change:

  • 3 import type statements → @earendil-works/*
  • Drop the dead @mariozechner/* peer deps (imports are type-only; pi supplies the runtime)
  • @sinclair/typebox moved to dependencies

Verified: fresh install + npm audit0 vulnerabilities; installed footprint is just @sinclair/typebox.

Supersedes the accidentally-closed PR #20 (same approach, credit to @quintesse). Fixes #24.

Migrate type-only imports from deprecated @mariozechner/pi-* to
@earendil-works/pi-*. The @mariozechner/* packages are frozen at
0.73.1 and pull extract-zip@2.0.1, causing 2 high-severity npm audit
findings that cannot be fixed upstream. After this change: 0 vulns,
footprint reduced to @sinclair/typebox only.

Fixes badlogic#24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from deprecated @mariozechner/pi-* packages to @earendil-works/* (clears 2 high-severity audit findings)

2 participants