Skip to content

Node 24 still outputs ExperimentalWarning for fsPromises.glob #58343

Open
@brunnerh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions