Skip to content

undefined is not an object (evaluating 'Object.keys(packument.versions)') #455

Closed

Description

Activity

  1. isaim0011 commented on Sep 21, 2026

    @isaim0011
    Contributor

    The error was caused by \�sdasd, which was unpublished on npm. For completely unpublished packages, the registry returns HTTP 200 metadata containing \ ime.unpublished\ but no \�ersions\ property (\packument.versions\ is \undefined).

    Opened PR #458 with the fix and unit test coverage.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions