`npx @mastra/codemod@beta v1` replaces function calls with invalid `{ [native code] }` code
CLI
npx @mastra/codemod@beta v1 ┌ Starting v1 codemods│◇ Ran 36/36 codemods. codemod:upgrade Some v1 codemods did not apply successfully to all files. Details: +0ms...
npx @mastra/codemod@beta v1 ┌ Starting v1 codemods│◇ Ran 36/36 codemods. codemod:upgrade Some v1 codemods did not apply successfully to all files. Details: +0ms...
One of the invalid code changes is shown in the attached screenshot.
I'm running Matra in a Next.js project.
Not sure what the root cause of this is. Searching here, in the GitHub repo, and Google didn't bring up anything insightful.