Skip to content

node:sqlite warning because of internal usage #58611

Open
@sparecycles

Description

@sparecycles

Version

23.11.1

Platform

Darwin Kernel Version 23.6.0

Subsystem

node:internal/bootstrap/realm ?

What steps will reproduce the bug?

Looks like loading code via register hooks causes this.

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

Pretty much every time I run.

I can build a minimal reproduction if the stack trace isn't enough.

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

I would expect no warnings when node is itself responsible for using its own unstable APIs (via stable APIs).

What do you see instead?

(node:63837) ExperimentalWarning: SQLite is an experimental feature and might change at any time
    at emitExperimentalWarning (node:internal/util:285:11)
    at node:sqlite:8:1
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:403:7)
    at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:342:10)
    at loadBuiltinModule (node:internal/modules/helpers:109:7)
    at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:416:18)
    at #translate (node:internal/modules/esm/loader:534:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:581:27)

Additional information

❤ ya'll.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoIssues without a valid reproduction.sqliteIssues and PRs related to the SQLite subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions