Skip to content

v2: bump archiver to ^8 to drop the deprecated glob@10 (archiver-utils) #4935

Closed

Description

@filippolmt

nitropack 2.13.5 (the v2 branch, used by Nuxt 4.6) depends on archiver ^7.0.1, which pulls in archiver-utils 5 and through it glob@10. Every Nuxt 4 install prints:

npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update.

archiver 8.0.0 no longer depends on archiver-utils (its dependencies are async, is-stream, lazystream, tar-stream, zip-stream 7, buffer-crc32, readdir-glob 3, normalize-path, readable-stream 4; engines node >= 18), so the deprecated glob goes away. The upstream archiver issues about the old glob are archiverjs/node-archiver#822 and #819.

main (Nitro v3) no longer uses archiver; would a bump to archiver ^8 be acceptable on v2? archiver is a major version, so the zip presets that use it would need a check.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions