@mastra/evals 0.1.21-alpha.4 → 0.1.21-alpha.5
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.
|
@@ -11115,7 +11115,7 @@ function createTestHook(name, handler) {
|
|
|
11115
11115
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11116
11116
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11117
11117
|
|
|
11118
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
11118
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/utils.CgTj3MsC.js
|
|
11119
11119
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11120
11120
|
function getWorkerState() {
|
|
11121
11121
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -11171,7 +11171,7 @@ async function waitForImportsToResolve() {
|
|
|
11171
11171
|
await waitForImportsToResolve();
|
|
11172
11172
|
}
|
|
11173
11173
|
|
|
11174
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
11174
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
11175
11175
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
11176
11176
|
function getDefaultExportFromCjs3(x2) {
|
|
11177
11177
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -12795,7 +12795,7 @@ var SnapshotClient = class {
|
|
|
12795
12795
|
}
|
|
12796
12796
|
};
|
|
12797
12797
|
|
|
12798
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12798
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/date.CDOsz-HY.js
|
|
12799
12799
|
var RealDate = Date;
|
|
12800
12800
|
var now2 = null;
|
|
12801
12801
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -12848,7 +12848,7 @@ function resetDate() {
|
|
|
12848
12848
|
globalThis.Date = RealDate;
|
|
12849
12849
|
}
|
|
12850
12850
|
|
|
12851
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12851
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/vi.ClIskdbk.js
|
|
12852
12852
|
var unsupported = [
|
|
12853
12853
|
"matchSnapshot",
|
|
12854
12854
|
"toMatchSnapshot",
|
|
@@ -15674,7 +15674,7 @@ function getImporter(name) {
|
|
|
15674
15674
|
return stack?.file || "";
|
|
15675
15675
|
}
|
|
15676
15676
|
|
|
15677
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15677
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/run-once.Dimr7O9f.js
|
|
15678
15678
|
var filesCount = /* @__PURE__ */ new Map();
|
|
15679
15679
|
var cache = /* @__PURE__ */ new Map();
|
|
15680
15680
|
function runOnce(fn2, key) {
|
|
@@ -15697,7 +15697,7 @@ function isFirstRun() {
|
|
|
15697
15697
|
return firstRun;
|
|
15698
15698
|
}
|
|
15699
15699
|
|
|
15700
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15700
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/benchmark.BoF7jW0Q.js
|
|
15701
15701
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
15702
15702
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
15703
15703
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -15725,7 +15725,7 @@ function formatName2(name) {
|
|
|
15725
15725
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
15726
15726
|
}
|
|
15727
15727
|
|
|
15728
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15728
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/index.B0uVAVvx.js
|
|
15729
15729
|
__toESM(require_dist(), 1);
|
|
15730
15730
|
function getRunningMode() {
|
|
15731
15731
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -15736,7 +15736,7 @@ function isWatchMode() {
|
|
|
15736
15736
|
var assertType = function assertType2() {
|
|
15737
15737
|
};
|
|
15738
15738
|
|
|
15739
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15739
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/index.js
|
|
15740
15740
|
var import_expect_type2 = __toESM(require_dist(), 1);
|
|
15741
15741
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
15742
15742
|
/*! Bundled license information:
|
|
@@ -11117,7 +11117,7 @@ function createTestHook(name, handler) {
|
|
|
11117
11117
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11118
11118
|
globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
|
|
11119
11119
|
|
|
11120
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
11120
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/utils.CgTj3MsC.js
|
|
11121
11121
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
11122
11122
|
function getWorkerState() {
|
|
11123
11123
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -11173,7 +11173,7 @@ async function waitForImportsToResolve() {
|
|
|
11173
11173
|
await waitForImportsToResolve();
|
|
11174
11174
|
}
|
|
11175
11175
|
|
|
11176
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
11176
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
11177
11177
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
11178
11178
|
function getDefaultExportFromCjs3(x2) {
|
|
11179
11179
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -12797,7 +12797,7 @@ var SnapshotClient = class {
|
|
|
12797
12797
|
}
|
|
12798
12798
|
};
|
|
12799
12799
|
|
|
12800
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12800
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/date.CDOsz-HY.js
|
|
12801
12801
|
var RealDate = Date;
|
|
12802
12802
|
var now2 = null;
|
|
12803
12803
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -12850,7 +12850,7 @@ function resetDate() {
|
|
|
12850
12850
|
globalThis.Date = RealDate;
|
|
12851
12851
|
}
|
|
12852
12852
|
|
|
12853
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
12853
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/vi.ClIskdbk.js
|
|
12854
12854
|
var unsupported = [
|
|
12855
12855
|
"matchSnapshot",
|
|
12856
12856
|
"toMatchSnapshot",
|
|
@@ -15676,7 +15676,7 @@ function getImporter(name) {
|
|
|
15676
15676
|
return stack?.file || "";
|
|
15677
15677
|
}
|
|
15678
15678
|
|
|
15679
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15679
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/run-once.Dimr7O9f.js
|
|
15680
15680
|
var filesCount = /* @__PURE__ */ new Map();
|
|
15681
15681
|
var cache = /* @__PURE__ */ new Map();
|
|
15682
15682
|
function runOnce(fn2, key) {
|
|
@@ -15699,7 +15699,7 @@ function isFirstRun() {
|
|
|
15699
15699
|
return firstRun;
|
|
15700
15700
|
}
|
|
15701
15701
|
|
|
15702
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15702
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/benchmark.BoF7jW0Q.js
|
|
15703
15703
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
15704
15704
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
15705
15705
|
var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
|
|
@@ -15727,7 +15727,7 @@ function formatName2(name) {
|
|
|
15727
15727
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
15728
15728
|
}
|
|
15729
15729
|
|
|
15730
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15730
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/chunks/index.B0uVAVvx.js
|
|
15731
15731
|
chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
15732
15732
|
function getRunningMode() {
|
|
15733
15733
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -15738,7 +15738,7 @@ function isWatchMode() {
|
|
|
15738
15738
|
var assertType = function assertType2() {
|
|
15739
15739
|
};
|
|
15740
15740
|
|
|
15741
|
-
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.
|
|
15741
|
+
// ../../node_modules/.pnpm/vitest@3.1.2_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@20.17.32_@vitest+ui_3f295c4d69ef1c15dd9f9eff0f44d011/node_modules/vitest/dist/index.js
|
|
15742
15742
|
var import_expect_type2 = chunkCVPOREIE_cjs.__toESM(require_dist(), 1);
|
|
15743
15743
|
var export_expectTypeOf = import_expect_type2.expectTypeOf;
|
|
15744
15744
|
/*! 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-YYPBHO2W.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-TRBEMZ6L.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.21-alpha.
|
|
3
|
+
"version": "0.1.21-alpha.5",
|
|
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.9.2-alpha.
|
|
65
|
+
"@mastra/core": "^0.9.2-alpha.5"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"ai": "^4.0.0"
|