Skip to content

Node.js 18.8.0 changed return type of module.findSourceMap() #44391

Closed
@danez

Description

@danez

Version

18.8.0

Platform

not relevant

Subsystem

module

What steps will reproduce the bug?

assert(require('node:module').findSourceMap('') === undefined)

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

Always

What is the expected behavior?

Return undefined

What do you see instead?

Return null

Additional information

avajs/ava#3092

https://github.com/nodejs/node/pull/43875/files#r954804828

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