Skip to content

Node 24 still outputs ExperimentalWarning for fsPromises.glob #58343

Description

@brunnerh

Version

v24.0.2

Platform

Microsoft Windows NT 10.0.22631.0 x64

Subsystem

fs/promises

What steps will reproduce the bug?

Run code using glob from fs/promises, e.g.

// glob.mjs
import * as fs from 'node:fs/promises';

for await (const file of fs.glob("*"))
    console.log(file);

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior? Why is that the expected behavior?

No warning from v24.0.0 onward which according to the docs has glob as a stable API.

What do you see instead?

(node:28284) ExperimentalWarning: glob is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)

Additional information

No response

Activity

  1. pmarchini commented on May 15, 2025

    @pmarchini
    Member

    Hey @brunnerh, thanks for reporting this! 🚀
    As far as I can tell, this should be addressed in the next release, as the PR #58236 (which solves the issue) landed 5 days ago!

  2. brunnerh commented on May 15, 2025

    @brunnerh
    Author

    This could be closed then unless it is desirable to keep it open until release, in case someone else is looking for an existing issue on the matter.

  3. pmarchini commented on May 15, 2025

    @pmarchini
    Member

    @brunnerh, I think it might be better to leave this open until the fix has been released 😁

  4. added
    fsIssues and PRs related to file-system APIs and the fs module.
    on May 17, 2025
  5. github-actions commented on Apr 20, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to 210 days of inactivity.
    It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

  6. added
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on Apr 20, 2026
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

    fsIssues and PRs related to file-system APIs and the fs module.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions