mastra 0.1.57-alpha.89 → 0.1.57-alpha.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/utils/bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAcnC,wBAAsB,YAAY,CAAC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;qBAYlC,GAAG;;IAyGrB;AAED,wBAAsB,MAAM,CAC1B,OAAO,EAAE,MAAM,EACf,EACE,SAAgB,EAChB,GAAG,OAAO,EACX,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,sDA4G1F"}
1
+ {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/utils/bundle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAcnC,wBAAsB,YAAY,CAAC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;qBAYlC,GAAG;;IAyGrB;AAED,wBAAsB,MAAM,CAC1B,OAAO,EAAE,MAAM,EACf,EACE,SAAgB,EAChB,GAAG,OAAO,EACX,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,sDA8G1F"}
@@ -195,10 +195,12 @@ export async function bundle(dirPath, { useBanner = true, ...options } = {}) {
195
195
  esbuildConfig.banner = {
196
196
  js: `
197
197
  import { createRequire } from "module";
198
- import { fileURLToPath } from 'url';
198
+ import { fileURLToPath, pathToFileURL } from 'url';
199
199
  import path from 'path';
200
- const require = createRequire(String(pathToFileURL(__filename)));
200
+
201
+ const __filename = fileURLToPath(import.meta.url);
201
202
  const __dirname = path.dirname(__filename);
203
+ const require = createRequire(import.meta.url);
202
204
  `,
203
205
  };
204
206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mastra",
3
- "version": "0.1.57-alpha.89",
3
+ "version": "0.1.57-alpha.90",
4
4
  "license": "MIT",
5
5
  "description": "cli for mastra",
6
6
  "type": "module",