Skip to content

Upgrade dependency "archiver" to 7.x #105

@MennoTammens

Description

@MennoTammens

When installing osls, npm gives the following warnings (amongst others):

$ npm install
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

Both inflight and glob are dependencies of archiver:

$ npm why inflight glob
[email protected] dev
node_modules/inflight
  inflight@"^1.0.4" from [email protected] dev
  node_modules/glob
    glob@"^7.1.4" from [email protected]
    node_modules/archiver-utils
      archiver-utils@"^2.1.0" from [email protected]
      node_modules/archiver
        archiver@"^5.3.1" from [email protected]
        node_modules/serverless
          dev serverless@"npm:osls@^3.57.0" from the root project
    glob@"^7.2.3" from [email protected]
    node_modules/zip-stream/node_modules/archiver-utils
      archiver-utils@"^3.0.4" from [email protected]
      node_modules/zip-stream
        zip-stream@"^4.1.0" from [email protected]
        node_modules/archiver
          archiver@"^5.3.1" from [email protected]
          node_modules/serverless
            dev serverless@"npm:osls@^3.57.0" from the root project

[email protected] dev
node_modules/glob
  glob@"^7.1.4" from [email protected]
  node_modules/archiver-utils
    archiver-utils@"^2.1.0" from [email protected]
    node_modules/archiver
      archiver@"^5.3.1" from [email protected]
      node_modules/serverless
        dev serverless@"npm:osls@^3.57.0" from the root project
  glob@"^7.2.3" from [email protected]
  node_modules/zip-stream/node_modules/archiver-utils
    archiver-utils@"^3.0.4" from [email protected]
    node_modules/zip-stream
      zip-stream@"^4.1.0" from [email protected]
      node_modules/archiver
        archiver@"^5.3.1" from [email protected]
        node_modules/serverless
          dev serverless@"npm:osls@^3.57.0" from the root project

Upgrading archiver to version ^7.0.1 will probably solve these warnings. The only breaking changes in [email protected] and [email protected] are dropping support for old nodejs versions:
https://github.com/archiverjs/node-archiver/releases

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