Skip to content

False positive for bundled library #212

Open
@remcohaszing

Description

@remcohaszing

The type definitions of attr-accept are correct, but attw reports an incorrect default export.

$ node             
Welcome to Node.js v22.9.0.
Type ".help" for more information.
> accept  = require('attr-accept')
{ __esModule: true, default: [Function (anonymous)] }

This probably has to do with how the package is built. (The minified code is annoying to read.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions