raindrop-ai 1.0.2 → 1.0.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.
@@ -36,7 +36,7 @@ import {
36
36
  withReplayTraceDestination,
37
37
  withRoutingContext,
38
38
  withTask
39
- } from "./chunk-I7AD6NZH.mjs";
39
+ } from "./chunk-TA34XFER.mjs";
40
40
  import {
41
41
  CapturedTraceSnapshotSchema,
42
42
  EvalCaseExpectationSchema,
@@ -13286,6 +13286,7 @@ function assertRaindropDestination(destination) {
13286
13286
  }
13287
13287
 
13288
13288
  // src/index.ts
13289
+ var UNSAFE_MERGE_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
13289
13290
  function rawAppGitProperties(properties) {
13290
13291
  const result = {};
13291
13292
  for (const key of [APP_COMMIT_SHA, APP_COMMIT_DIRTY, APP_BRANCH]) {
@@ -14209,6 +14210,7 @@ var Raindrop = class {
14209
14210
  */
14210
14211
  deepMergeObjects(target, source, options) {
14211
14212
  for (const key in source) {
14213
+ if (UNSAFE_MERGE_KEYS.has(key)) continue;
14212
14214
  if (Object.prototype.hasOwnProperty.call(source, key)) {
14213
14215
  const targetValue = target[key];
14214
14216
  const sourceValue = source[key];
@@ -1784,7 +1784,7 @@ installTracingSuppressionHook();
1784
1784
  // package.json
1785
1785
  var package_default = {
1786
1786
  name: "raindrop-ai",
1787
- version: "1.0.2",
1787
+ version: "1.0.3",
1788
1788
  main: "dist/index.js",
1789
1789
  module: "dist/index.mjs",
1790
1790
  types: "dist/index.d.ts",
@@ -1846,13 +1846,13 @@ var package_default = {
1846
1846
  "@raindrop-ai/redact-pii": "workspace:*",
1847
1847
  "@raindrop-ai/schemas": "workspace:*",
1848
1848
  "@types/node": "^20.11.17",
1849
- ai: "^6.0.0",
1849
+ ai: "^6.0.214",
1850
1850
  msw: "^2.12.8",
1851
1851
  tsup: "^8.4.0",
1852
1852
  tsx: "^4.20.3",
1853
1853
  typescript: "^5.3.3",
1854
- vite: "^7.3.5",
1855
- vitest: "^4.1.11"
1854
+ vite: "^7.3.7",
1855
+ vitest: "^4.1.12"
1856
1856
  },
1857
1857
  dependencies: {
1858
1858
  "@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0",
package/dist/evals/cli.js CHANGED
@@ -12615,7 +12615,7 @@ var SignalEventSchema = external_exports.object({
12615
12615
  // package.json
12616
12616
  var package_default = {
12617
12617
  name: "raindrop-ai",
12618
- version: "1.0.2",
12618
+ version: "1.0.3",
12619
12619
  main: "dist/index.js",
12620
12620
  module: "dist/index.mjs",
12621
12621
  types: "dist/index.d.ts",
@@ -12677,13 +12677,13 @@ var package_default = {
12677
12677
  "@raindrop-ai/redact-pii": "workspace:*",
12678
12678
  "@raindrop-ai/schemas": "workspace:*",
12679
12679
  "@types/node": "^20.11.17",
12680
- ai: "^6.0.0",
12680
+ ai: "^6.0.214",
12681
12681
  msw: "^2.12.8",
12682
12682
  tsup: "^8.4.0",
12683
12683
  tsx: "^4.20.3",
12684
12684
  typescript: "^5.3.3",
12685
- vite: "^7.3.5",
12686
- vitest: "^4.1.11"
12685
+ vite: "^7.3.7",
12686
+ vitest: "^4.1.12"
12687
12687
  },
12688
12688
  dependencies: {
12689
12689
  "@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0",
@@ -19465,6 +19465,7 @@ function assertRaindropDestination(destination) {
19465
19465
  }
19466
19466
 
19467
19467
  // src/index.ts
19468
+ var UNSAFE_MERGE_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
19468
19469
  function rawAppGitProperties(properties) {
19469
19470
  const result = {};
19470
19471
  for (const key of [APP_COMMIT_SHA, APP_COMMIT_DIRTY, APP_BRANCH]) {
@@ -20388,6 +20389,7 @@ var Raindrop = class {
20388
20389
  */
20389
20390
  deepMergeObjects(target, source, options) {
20390
20391
  for (const key in source) {
20392
+ if (UNSAFE_MERGE_KEYS.has(key)) continue;
20391
20393
  if (Object.prototype.hasOwnProperty.call(source, key)) {
20392
20394
  const targetValue = target[key];
20393
20395
  const sourceValue = source[key];
@@ -5,8 +5,8 @@ import {
5
5
  publishEvalSuite,
6
6
  readEvaluator,
7
7
  runEvalSuite
8
- } from "../chunk-OA6YHXSU.mjs";
9
- import "../chunk-I7AD6NZH.mjs";
8
+ } from "../chunk-DR7AZ3V6.mjs";
9
+ import "../chunk-TA34XFER.mjs";
10
10
  import {
11
11
  isEvalSuiteDefinition
12
12
  } from "../chunk-OZMT7UW4.mjs";
package/dist/index.js CHANGED
@@ -13290,7 +13290,7 @@ var SignalEventSchema = external_exports.object({
13290
13290
  // package.json
13291
13291
  var package_default = {
13292
13292
  name: "raindrop-ai",
13293
- version: "1.0.2",
13293
+ version: "1.0.3",
13294
13294
  main: "dist/index.js",
13295
13295
  module: "dist/index.mjs",
13296
13296
  types: "dist/index.d.ts",
@@ -13352,13 +13352,13 @@ var package_default = {
13352
13352
  "@raindrop-ai/redact-pii": "workspace:*",
13353
13353
  "@raindrop-ai/schemas": "workspace:*",
13354
13354
  "@types/node": "^20.11.17",
13355
- ai: "^6.0.0",
13355
+ ai: "^6.0.214",
13356
13356
  msw: "^2.12.8",
13357
13357
  tsup: "^8.4.0",
13358
13358
  tsx: "^4.20.3",
13359
13359
  typescript: "^5.3.3",
13360
- vite: "^7.3.5",
13361
- vitest: "^4.1.11"
13360
+ vite: "^7.3.7",
13361
+ vitest: "^4.1.12"
13362
13362
  },
13363
13363
  dependencies: {
13364
13364
  "@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0",
@@ -20562,6 +20562,7 @@ function assertRaindropDestination(destination) {
20562
20562
  }
20563
20563
 
20564
20564
  // src/index.ts
20565
+ var UNSAFE_MERGE_KEYS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
20565
20566
  function rawAppGitProperties(properties) {
20566
20567
  const result = {};
20567
20568
  for (const key of [APP_COMMIT_SHA, APP_COMMIT_DIRTY, APP_BRANCH]) {
@@ -21485,6 +21486,7 @@ var Raindrop = class {
21485
21486
  */
21486
21487
  deepMergeObjects(target, source, options) {
21487
21488
  for (const key in source) {
21489
+ if (UNSAFE_MERGE_KEYS.has(key)) continue;
21488
21490
  if (Object.prototype.hasOwnProperty.call(source, key)) {
21489
21491
  const targetValue = target[key];
21490
21492
  const sourceValue = source[key];
package/dist/index.mjs CHANGED
@@ -47,8 +47,8 @@ import {
47
47
  runReplay,
48
48
  traceTools,
49
49
  withEvalScope
50
- } from "./chunk-OA6YHXSU.mjs";
51
- import "./chunk-I7AD6NZH.mjs";
50
+ } from "./chunk-DR7AZ3V6.mjs";
51
+ import "./chunk-TA34XFER.mjs";
52
52
  import {
53
53
  BooleanThresholdSchema,
54
54
  EvalContextSchema,
@@ -1594,7 +1594,7 @@ function base64ToHex2(base64) {
1594
1594
  // package.json
1595
1595
  var package_default = {
1596
1596
  name: "raindrop-ai",
1597
- version: "1.0.2",
1597
+ version: "1.0.3",
1598
1598
  main: "dist/index.js",
1599
1599
  module: "dist/index.mjs",
1600
1600
  types: "dist/index.d.ts",
@@ -1656,13 +1656,13 @@ var package_default = {
1656
1656
  "@raindrop-ai/redact-pii": "workspace:*",
1657
1657
  "@raindrop-ai/schemas": "workspace:*",
1658
1658
  "@types/node": "^20.11.17",
1659
- ai: "^6.0.0",
1659
+ ai: "^6.0.214",
1660
1660
  msw: "^2.12.8",
1661
1661
  tsup: "^8.4.0",
1662
1662
  tsx: "^4.20.3",
1663
1663
  typescript: "^5.3.3",
1664
- vite: "^7.3.5",
1665
- vitest: "^4.1.11"
1664
+ vite: "^7.3.7",
1665
+ vitest: "^4.1.12"
1666
1666
  },
1667
1667
  dependencies: {
1668
1668
  "@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tracing
3
- } from "../chunk-I7AD6NZH.mjs";
3
+ } from "../chunk-TA34XFER.mjs";
4
4
  import "../chunk-UJCSKKID.mjs";
5
5
 
6
6
  // src/tracing/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raindrop-ai",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -41,16 +41,16 @@
41
41
  ],
42
42
  "devDependencies": {
43
43
  "@types/node": "^20.11.17",
44
- "ai": "^6.0.0",
44
+ "ai": "^6.0.214",
45
45
  "msw": "^2.12.8",
46
46
  "tsup": "^8.4.0",
47
47
  "tsx": "^4.20.3",
48
48
  "typescript": "^5.3.3",
49
- "vite": "^7.3.5",
50
- "vitest": "^4.1.11",
49
+ "vite": "^7.3.7",
50
+ "vitest": "^4.1.12",
51
51
  "@raindrop-ai/core": "0.3.1",
52
- "@raindrop-ai/redact-pii": "0.1.2",
53
- "@raindrop-ai/schemas": "0.1.0"
52
+ "@raindrop-ai/schemas": "0.1.0",
53
+ "@raindrop-ai/redact-pii": "0.1.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0",