Skip to content

Node.js 20 support #46

Description

@ai

Reproduction:

echo "import { test } from 'uvu'; test('one', () => {}); test.run()" > index.test.ts
npm install uvu tsm
npx tsm ./node_modules/.bin/uvu

Node.js 19.9.0 output:

(node:140378) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:140378) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: getFormat, transformSource
(node:140378) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: getFormat, transformSource
index.test.ts
•   (1 / 1)

  Total:     1
  Passed:    1
  Skipped:   0
  Duration:  0.26ms

Node.js 20.0.0 output:

(node:140181) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:140181) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:140181) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: getFormat, transformSource

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions