@drupflare/untarl - v0.1.0
    Preparing search index...

    Class TarPathError

    A member whose path would escape the target directory. Never thrown by parseTar().

    Hierarchy

    • Error
      • TarPathError
    Index
    • Creates a new path error with a message and the refused path. The message is prefixed with "untar: " to distinguish it from other errors.

      Parameters

      • path: string

        The path that was refused.

      • reason: string

        The reason why the path was refused.

      Returns TarPathError

    cause?: unknown
    message: string
    name: string
    path: string

    The path that was refused.

    stack?: string