@mastra/evals 0.1.16 → 0.1.17
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.
|
@@ -12039,7 +12039,7 @@ function createTestHook(name, handler) {
|
|
|
12039
12039
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
12040
12040
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
12041
12041
|
|
|
12042
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12042
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
|
|
12043
12043
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
12044
12044
|
function getWorkerState() {
|
|
12045
12045
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12099,7 +12099,7 @@ async function waitForImportsToResolve() {
|
|
|
12099
12099
|
await waitForImportsToResolve();
|
|
12100
12100
|
}
|
|
12101
12101
|
|
|
12102
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12102
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
12103
12103
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
12104
12104
|
function getDefaultExportFromCjs3(x2) {
|
|
12105
12105
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -13832,7 +13832,7 @@ var SnapshotClient = class {
|
|
|
13832
13832
|
}
|
|
13833
13833
|
};
|
|
13834
13834
|
|
|
13835
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
13835
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
|
|
13836
13836
|
var RealDate = Date;
|
|
13837
13837
|
var now2 = null;
|
|
13838
13838
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13885,7 +13885,7 @@ function resetDate() {
|
|
|
13885
13885
|
globalThis.Date = RealDate;
|
|
13886
13886
|
}
|
|
13887
13887
|
|
|
13888
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
13888
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/vi.nSCvwQ7l.js
|
|
13889
13889
|
var unsupported = [
|
|
13890
13890
|
// .poll is meant to retry matchers until they succeed, and
|
|
13891
13891
|
// snapshots will always succeed as long as the poll method doesn't throw an error
|
|
@@ -16853,7 +16853,7 @@ function getImporter(name) {
|
|
|
16853
16853
|
return stack?.file || "";
|
|
16854
16854
|
}
|
|
16855
16855
|
|
|
16856
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16856
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
|
|
16857
16857
|
var filesCount = /* @__PURE__ */ new Map();
|
|
16858
16858
|
var cache = /* @__PURE__ */ new Map();
|
|
16859
16859
|
function runOnce(fn2, key) {
|
|
@@ -16876,7 +16876,7 @@ function isFirstRun() {
|
|
|
16876
16876
|
return firstRun;
|
|
16877
16877
|
}
|
|
16878
16878
|
|
|
16879
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16879
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/benchmark.DL72EVN-.js
|
|
16880
16880
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
16881
16881
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
16882
16882
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -16905,7 +16905,7 @@ function formatName2(name) {
|
|
|
16905
16905
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
16906
16906
|
}
|
|
16907
16907
|
|
|
16908
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16908
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/index.D7Ny8f_s.js
|
|
16909
16909
|
chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
16910
16910
|
function getRunningMode() {
|
|
16911
16911
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -16916,7 +16916,7 @@ function isWatchMode() {
|
|
|
16916
16916
|
var assertType = function assertType2() {
|
|
16917
16917
|
};
|
|
16918
16918
|
|
|
16919
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16919
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/index.js
|
|
16920
16920
|
var import_expect_type2 = chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
16921
16921
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
16922
16922
|
/*! Bundled license information:
|
|
@@ -12037,7 +12037,7 @@ function createTestHook(name, handler) {
|
|
|
12037
12037
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
12038
12038
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
12039
12039
|
|
|
12040
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12040
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
|
|
12041
12041
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
12042
12042
|
function getWorkerState() {
|
|
12043
12043
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -12097,7 +12097,7 @@ async function waitForImportsToResolve() {
|
|
|
12097
12097
|
await waitForImportsToResolve();
|
|
12098
12098
|
}
|
|
12099
12099
|
|
|
12100
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12100
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
12101
12101
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
12102
12102
|
function getDefaultExportFromCjs3(x2) {
|
|
12103
12103
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -13830,7 +13830,7 @@ var SnapshotClient = class {
|
|
|
13830
13830
|
}
|
|
13831
13831
|
};
|
|
13832
13832
|
|
|
13833
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
13833
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
|
|
13834
13834
|
var RealDate = Date;
|
|
13835
13835
|
var now2 = null;
|
|
13836
13836
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -13883,7 +13883,7 @@ function resetDate() {
|
|
|
13883
13883
|
globalThis.Date = RealDate;
|
|
13884
13884
|
}
|
|
13885
13885
|
|
|
13886
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
13886
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/vi.nSCvwQ7l.js
|
|
13887
13887
|
var unsupported = [
|
|
13888
13888
|
// .poll is meant to retry matchers until they succeed, and
|
|
13889
13889
|
// snapshots will always succeed as long as the poll method doesn't throw an error
|
|
@@ -16851,7 +16851,7 @@ function getImporter(name) {
|
|
|
16851
16851
|
return stack?.file || "";
|
|
16852
16852
|
}
|
|
16853
16853
|
|
|
16854
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16854
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
|
|
16855
16855
|
var filesCount = /* @__PURE__ */ new Map();
|
|
16856
16856
|
var cache = /* @__PURE__ */ new Map();
|
|
16857
16857
|
function runOnce(fn2, key) {
|
|
@@ -16874,7 +16874,7 @@ function isFirstRun() {
|
|
|
16874
16874
|
return firstRun;
|
|
16875
16875
|
}
|
|
16876
16876
|
|
|
16877
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16877
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/benchmark.DL72EVN-.js
|
|
16878
16878
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
16879
16879
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
16880
16880
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -16903,7 +16903,7 @@ function formatName2(name) {
|
|
|
16903
16903
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
16904
16904
|
}
|
|
16905
16905
|
|
|
16906
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16906
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/chunks/index.D7Ny8f_s.js
|
|
16907
16907
|
__toESM(require_dist(), 1);
|
|
16908
16908
|
function getRunningMode() {
|
|
16909
16909
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -16914,7 +16914,7 @@ function isWatchMode() {
|
|
|
16914
16914
|
var assertType = function assertType2() {
|
|
16915
16915
|
};
|
|
16916
16916
|
|
|
16917
|
-
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
16917
|
+
// ../../node_modules/.pnpm/vitest@3.0.9_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.30_jiti@2.4.2_1189fc1781519c11388d5e00da4d7f6e/node_modules/vitest/dist/index.js
|
|
16918
16918
|
var import_expect_type2 = __toESM(require_dist(), 1);
|
|
16919
16919
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
16920
16920
|
/*! 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-3OM5TF6P.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-M2G7I7PN.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.1.
|
|
3
|
+
"version": "0.1.17",
|
|
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.8.
|
|
65
|
+
"@mastra/core": "^0.8.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"ai": "^4.0.0"
|