Skip to content

Node v20 support #199

@mcollina

Description

@mcollina

It would be great if this provided support for Node.js v20, so one that needs to support both can use this.

I'm currently getting this error:

➜  node --import="amaro/register" test.ts

node:internal/modules/run_main:128
    triggerUncaughtException(
    ^
TypeError [Error]: Cannot read properties of undefined (reading 'endsWith')
    at load (/Users/matteo/repos/fgh/node_modules/amaro/dist/index.js:512:14)
    at nextLoad (node:internal/modules/esm/hooks:868:28)
    at Hooks.load (node:internal/modules/esm/hooks:451:26)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:196:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:831:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)

Node.js v20.18.3

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