Skip to content

v0.7.4

Latest

Choose a tag to compare

@FGuerreir0 FGuerreir0 released this 17 Nov 19:01

Fixes the three bugs the 1,000-repo field report listed as still open.

  • A missing download count no longer blocks a package. When npm's downloads API rate-limited, an old single-version package like server-only was rated high risk and the hook blocked it. It is now medium unless it would be high with real downloads too.
  • Names npm would refuse are no longer reported as claimable. npm rejects a name that matches an existing one with ., -, _ removed, so opencode can't be registered while open-code exists.
  • Type-only imports of @types-only names are no longer missing. import type { Node } from 'estree' is answered by @types/estree.

No breaking changes; MissingRef / PackageVerdict gain optional unclaimableReason and similarTo. Plugin users: update the plugin in /plugin and start a new session.

Full notes: https://fguerreir0.github.io/ghostimport/releases/#v0.7.4