We are using the typescript sdk (not modules) and I attempted to upgrde to 0.13.3 and it doesn't work. Here is a minimal reproduce:
npm init -y
# Add typescript
npm install typescript ts-node --save-dev
# Init typescript project
npx tsc --init
npm install @dagger.io/dagger --save-dev
Create a build.mts
import { connect } from "@dagger.io/dagger"
Run:
node --loader ts-node/esm build.mts (node:120486) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
(node:120486) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
node:internal/modules/run_main:123
triggerUncaughtException(
^
[Object: null prototype] {
[Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}
Node.js v22.7.0