Skip to content

Deprecated dependencies inflight and glob #2900

@acadiansith

Description

@acadiansith

Mithril.js version: 2.2.2

Browser and OS: No browser, macOS 14.6

Project: N/A

Code

$ npm install mithril --save

Steps to Reproduce

  1. Install mithril
  2. View dependency deprecation warnings

Expected Behavior

I expected mithril to install without any warnings.

Current Behavior

I received the following two deprecation warnings for the dependencies inflight and glob when installing mithril:

npm warn deprecated inflight@1.0.6: 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 glob@7.2.3: Glob versions prior to v9 are no longer supported

In particular, inflight has been entirely deprecated by its developer a few months ago, who recommends using something else.

Context

This issue likely does not affect me, as I'm sure mithril will work just fine despite these warnings, but I thought the devs might want to be aware of this as I haven't seen it mentioned here in the issues.

Metadata

Metadata

Assignees

Labels

Area: WorkflowFor anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospecType: BugFor bugs and any other unexpected breakage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions