@mastra/evals 0.10.3-alpha.0 → 0.10.3
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.
|
@@ -11460,7 +11460,7 @@ function createTestHook(name, handler) {
|
|
|
11460
11460
|
};
|
|
11461
11461
|
}
|
|
11462
11462
|
|
|
11463
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
11463
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
11464
11464
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11465
11465
|
function getWorkerState() {
|
|
11466
11466
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -11508,7 +11508,7 @@ async function waitForImportsToResolve() {
|
|
|
11508
11508
|
await waitForImportsToResolve();
|
|
11509
11509
|
}
|
|
11510
11510
|
|
|
11511
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
11511
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
11512
11512
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
11513
11513
|
function getDefaultExportFromCjs3(x) {
|
|
11514
11514
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -13142,7 +13142,7 @@ var SnapshotClient = class {
|
|
|
13142
13142
|
}
|
|
13143
13143
|
};
|
|
13144
13144
|
|
|
13145
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
13145
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
13146
13146
|
var RealDate = Date;
|
|
13147
13147
|
var now2 = null;
|
|
13148
13148
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13190,7 +13190,7 @@ function resetDate() {
|
|
|
13190
13190
|
globalThis.Date = RealDate;
|
|
13191
13191
|
}
|
|
13192
13192
|
|
|
13193
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
13193
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
13194
13194
|
var unsupported = [
|
|
13195
13195
|
"matchSnapshot",
|
|
13196
13196
|
"toMatchSnapshot",
|
|
@@ -15876,7 +15876,7 @@ function getImporter(name) {
|
|
|
15876
15876
|
return stack?.file || "";
|
|
15877
15877
|
}
|
|
15878
15878
|
|
|
15879
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15879
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/benchmark.CYdenmiT.js
|
|
15880
15880
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
15881
15881
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
15882
15882
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -15902,12 +15902,12 @@ function formatName2(name) {
|
|
|
15902
15902
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
15903
15903
|
}
|
|
15904
15904
|
|
|
15905
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15905
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/index.CdQS2e2Q.js
|
|
15906
15906
|
__toESM(require_dist(), 1);
|
|
15907
15907
|
var assertType = function assertType2() {
|
|
15908
15908
|
};
|
|
15909
15909
|
|
|
15910
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15910
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/index.js
|
|
15911
15911
|
var import_expect_type2 = __toESM(require_dist(), 1);
|
|
15912
15912
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
15913
15913
|
/*! Bundled license information:
|
|
@@ -11462,7 +11462,7 @@ function createTestHook(name, handler) {
|
|
|
11462
11462
|
};
|
|
11463
11463
|
}
|
|
11464
11464
|
|
|
11465
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
11465
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
11466
11466
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11467
11467
|
function getWorkerState() {
|
|
11468
11468
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -11510,7 +11510,7 @@ async function waitForImportsToResolve() {
|
|
|
11510
11510
|
await waitForImportsToResolve();
|
|
11511
11511
|
}
|
|
11512
11512
|
|
|
11513
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
11513
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
11514
11514
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
11515
11515
|
function getDefaultExportFromCjs3(x) {
|
|
11516
11516
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -13144,7 +13144,7 @@ var SnapshotClient = class {
|
|
|
13144
13144
|
}
|
|
13145
13145
|
};
|
|
13146
13146
|
|
|
13147
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
13147
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
13148
13148
|
var RealDate = Date;
|
|
13149
13149
|
var now2 = null;
|
|
13150
13150
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13192,7 +13192,7 @@ function resetDate() {
|
|
|
13192
13192
|
globalThis.Date = RealDate;
|
|
13193
13193
|
}
|
|
13194
13194
|
|
|
13195
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
13195
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
13196
13196
|
var unsupported = [
|
|
13197
13197
|
"matchSnapshot",
|
|
13198
13198
|
"toMatchSnapshot",
|
|
@@ -15878,7 +15878,7 @@ function getImporter(name) {
|
|
|
15878
15878
|
return stack?.file || "";
|
|
15879
15879
|
}
|
|
15880
15880
|
|
|
15881
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15881
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/benchmark.CYdenmiT.js
|
|
15882
15882
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
15883
15883
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
15884
15884
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -15904,12 +15904,12 @@ function formatName2(name) {
|
|
|
15904
15904
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
15905
15905
|
}
|
|
15906
15906
|
|
|
15907
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15907
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/chunks/index.CdQS2e2Q.js
|
|
15908
15908
|
chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
15909
15909
|
var assertType = function assertType2() {
|
|
15910
15910
|
};
|
|
15911
15911
|
|
|
15912
|
-
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@
|
|
15912
|
+
// ../../node_modules/.pnpm/vitest@3.2.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.19.0_@vitest+ui@_eb265836689cb09b255052147598b424/node_modules/vitest/dist/index.js
|
|
15913
15913
|
var import_expect_type2 = chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
15914
15914
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
15915
15915
|
/*! Bundled license information:
|
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ var getCurrentTestInfo = async () => {
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
try {
|
|
44
|
-
const vitest = await import('./dist-
|
|
44
|
+
const vitest = await import('./dist-L3UBBDYJ.cjs');
|
|
45
45
|
if (typeof vitest !== "undefined" && vitest.expect?.getState) {
|
|
46
46
|
const state = vitest.expect.getState();
|
|
47
47
|
return {
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var getCurrentTestInfo = async () => {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
try {
|
|
42
|
-
const vitest = await import('./dist-
|
|
42
|
+
const vitest = await import('./dist-5D6XVBCU.js');
|
|
43
43
|
if (typeof vitest !== "undefined" && vitest.expect?.getState) {
|
|
44
44
|
const state = vitest.expect.getState();
|
|
45
45
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/evals",
|
|
3
|
-
"version": "0.10.3
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"tsup": "^8.5.0",
|
|
81
81
|
"typescript": "^5.8.2",
|
|
82
82
|
"vitest": "^3.2.2",
|
|
83
|
-
"@internal/lint": "0.0.
|
|
84
|
-
"@mastra/core": "0.10.4
|
|
83
|
+
"@internal/lint": "0.0.11",
|
|
84
|
+
"@mastra/core": "0.10.4"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"check": "tsc --noEmit",
|