@mastra/evals 0.1.9 → 0.1.10-alpha.1
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.
|
@@ -11988,7 +11988,7 @@ function createTestHook(name, handler) {
|
|
|
11988
11988
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11989
11989
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11990
11990
|
|
|
11991
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
11991
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
|
|
11992
11992
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11993
11993
|
function getWorkerState() {
|
|
11994
11994
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12048,7 +12048,7 @@ async function waitForImportsToResolve() {
|
|
|
12048
12048
|
await waitForImportsToResolve();
|
|
12049
12049
|
}
|
|
12050
12050
|
|
|
12051
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
12051
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
12052
12052
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
12053
12053
|
function getDefaultExportFromCjs3(x2) {
|
|
12054
12054
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -13781,7 +13781,7 @@ var SnapshotClient = class {
|
|
|
13781
13781
|
}
|
|
13782
13782
|
};
|
|
13783
13783
|
|
|
13784
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
13784
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
|
|
13785
13785
|
var RealDate = Date;
|
|
13786
13786
|
var now2 = null;
|
|
13787
13787
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13834,7 +13834,7 @@ function resetDate() {
|
|
|
13834
13834
|
globalThis.Date = RealDate;
|
|
13835
13835
|
}
|
|
13836
13836
|
|
|
13837
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
13837
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/vi.B5EKKJdE.js
|
|
13838
13838
|
var unsupported = [
|
|
13839
13839
|
// .poll is meant to retry matchers until they succeed, and
|
|
13840
13840
|
// snapshots will always succeed as long as the poll method doesn't throw an error
|
|
@@ -16802,7 +16802,7 @@ function getImporter(name) {
|
|
|
16802
16802
|
return stack?.file || "";
|
|
16803
16803
|
}
|
|
16804
16804
|
|
|
16805
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16805
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
|
|
16806
16806
|
var filesCount = /* @__PURE__ */ new Map();
|
|
16807
16807
|
var cache = /* @__PURE__ */ new Map();
|
|
16808
16808
|
function runOnce(fn2, key) {
|
|
@@ -16825,7 +16825,7 @@ function isFirstRun() {
|
|
|
16825
16825
|
return firstRun;
|
|
16826
16826
|
}
|
|
16827
16827
|
|
|
16828
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16828
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/benchmark.Cdu9hjj4.js
|
|
16829
16829
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
16830
16830
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
16831
16831
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -16854,7 +16854,7 @@ function formatName2(name) {
|
|
|
16854
16854
|
return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
|
|
16855
16855
|
}
|
|
16856
16856
|
|
|
16857
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16857
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/index.CNRemkXW.js
|
|
16858
16858
|
__toESM(require_dist(), 1);
|
|
16859
16859
|
function getRunningMode() {
|
|
16860
16860
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -16865,7 +16865,7 @@ function isWatchMode() {
|
|
|
16865
16865
|
var assertType = function assertType2() {
|
|
16866
16866
|
};
|
|
16867
16867
|
|
|
16868
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16868
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/index.js
|
|
16869
16869
|
var import_expect_type2 = __toESM(require_dist(), 1);
|
|
16870
16870
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
16871
16871
|
/*! Bundled license information:
|
|
@@ -11990,7 +11990,7 @@ function createTestHook(name, handler) {
|
|
|
11990
11990
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11991
11991
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11992
11992
|
|
|
11993
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
11993
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
|
|
11994
11994
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11995
11995
|
function getWorkerState() {
|
|
11996
11996
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12050,7 +12050,7 @@ async function waitForImportsToResolve() {
|
|
|
12050
12050
|
await waitForImportsToResolve();
|
|
12051
12051
|
}
|
|
12052
12052
|
|
|
12053
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
12053
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
12054
12054
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
12055
12055
|
function getDefaultExportFromCjs3(x2) {
|
|
12056
12056
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -13783,7 +13783,7 @@ var SnapshotClient = class {
|
|
|
13783
13783
|
}
|
|
13784
13784
|
};
|
|
13785
13785
|
|
|
13786
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
13786
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
|
|
13787
13787
|
var RealDate = Date;
|
|
13788
13788
|
var now2 = null;
|
|
13789
13789
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13836,7 +13836,7 @@ function resetDate() {
|
|
|
13836
13836
|
globalThis.Date = RealDate;
|
|
13837
13837
|
}
|
|
13838
13838
|
|
|
13839
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
13839
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/vi.B5EKKJdE.js
|
|
13840
13840
|
var unsupported = [
|
|
13841
13841
|
// .poll is meant to retry matchers until they succeed, and
|
|
13842
13842
|
// snapshots will always succeed as long as the poll method doesn't throw an error
|
|
@@ -16804,7 +16804,7 @@ function getImporter(name) {
|
|
|
16804
16804
|
return stack?.file || "";
|
|
16805
16805
|
}
|
|
16806
16806
|
|
|
16807
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16807
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
|
|
16808
16808
|
var filesCount = /* @__PURE__ */ new Map();
|
|
16809
16809
|
var cache = /* @__PURE__ */ new Map();
|
|
16810
16810
|
function runOnce(fn2, key) {
|
|
@@ -16827,7 +16827,7 @@ function isFirstRun() {
|
|
|
16827
16827
|
return firstRun;
|
|
16828
16828
|
}
|
|
16829
16829
|
|
|
16830
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16830
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/benchmark.Cdu9hjj4.js
|
|
16831
16831
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
16832
16832
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
16833
16833
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -16856,7 +16856,7 @@ function formatName2(name) {
|
|
|
16856
16856
|
return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
|
|
16857
16857
|
}
|
|
16858
16858
|
|
|
16859
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16859
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/chunks/index.CNRemkXW.js
|
|
16860
16860
|
chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
16861
16861
|
function getRunningMode() {
|
|
16862
16862
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -16867,7 +16867,7 @@ function isWatchMode() {
|
|
|
16867
16867
|
var assertType = function assertType2() {
|
|
16868
16868
|
};
|
|
16869
16869
|
|
|
16870
|
-
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@
|
|
16870
|
+
// ../../node_modules/.pnpm/vitest@3.0.8_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.24_jsdom@20.0_0a8e785e436e3223ac86253adece2a47/node_modules/vitest/dist/index.js
|
|
16871
16871
|
var import_expect_type2 = chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
16872
16872
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
16873
16873
|
/*! Bundled license information:
|
package/dist/index.cjs
CHANGED
|
@@ -40,7 +40,7 @@ var getCurrentTestInfo = async () => {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
try {
|
|
43
|
-
const vitest = await import('./dist-
|
|
43
|
+
const vitest = await import('./dist-62YSY5NC.cjs');
|
|
44
44
|
if (typeof vitest !== "undefined" && vitest.expect?.getState) {
|
|
45
45
|
const state = vitest.expect.getState();
|
|
46
46
|
return {
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var getCurrentTestInfo = async () => {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
try {
|
|
41
|
-
const vitest = await import('./dist-
|
|
41
|
+
const vitest = await import('./dist-2UIJWFXT.js');
|
|
42
42
|
if (typeof vitest !== "undefined" && vitest.expect?.getState) {
|
|
43
43
|
const state = vitest.expect.getState();
|
|
44
44
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/evals",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"sentiment": "^5.0.2",
|
|
63
63
|
"string-similarity": "^4.0.4",
|
|
64
64
|
"zod": "^3.24.2",
|
|
65
|
-
"@mastra/core": "^0.6.
|
|
65
|
+
"@mastra/core": "^0.6.1-alpha.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"ai": "^4.0.0"
|