paperclip-github-plugin 0.8.10 → 0.8.11

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.
package/dist/manifest.js CHANGED
@@ -642,7 +642,7 @@ var PULL_REQUEST_ASSET_API_ROUTE_URL_PATH = `/api/plugins/${GITHUB_SYNC_PLUGIN_I
642
642
  var require2 = createRequire(import.meta.url);
643
643
  var packageJson = require2("../package.json");
644
644
  var SCHEDULE_TICK_CRON = "* * * * *";
645
- var MANIFEST_VERSION = "0.8.10"?.trim() || typeof packageJson.version === "string" && packageJson.version.trim() || process.env.npm_package_version?.trim() || "0.0.0-dev";
645
+ var MANIFEST_VERSION = "0.8.11"?.trim() || typeof packageJson.version === "string" && packageJson.version.trim() || process.env.npm_package_version?.trim() || "0.0.0-dev";
646
646
  var manifest = {
647
647
  id: GITHUB_SYNC_PLUGIN_ID,
648
648
  apiVersion: 1,
package/dist/ui/index.js CHANGED
@@ -366,7 +366,7 @@ import {
366
366
  usePluginToast
367
367
  } from "@paperclipai/plugin-sdk/ui";
368
368
 
369
- // node_modules/.pnpm/@ungap+structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/types.js
369
+ // node_modules/.pnpm/@ungap+structured-clone@1.3.1/node_modules/@ungap/structured-clone/esm/types.js
370
370
  var VOID = -1;
371
371
  var PRIMITIVE = 0;
372
372
  var ARRAY = 1;
@@ -378,8 +378,20 @@ var SET = 6;
378
378
  var ERROR = 7;
379
379
  var BIGINT = 8;
380
380
 
381
- // node_modules/.pnpm/@ungap+structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/deserialize.js
381
+ // node_modules/.pnpm/@ungap+structured-clone@1.3.1/node_modules/@ungap/structured-clone/esm/deserialize.js
382
382
  var env = typeof self === "object" ? self : globalThis;
383
+ var guard = (name2, init) => {
384
+ switch (name2) {
385
+ case "Function":
386
+ case "SharedWorker":
387
+ case "Worker":
388
+ case "eval":
389
+ case "setInterval":
390
+ case "setTimeout":
391
+ throw new TypeError("unable to deserialize " + name2);
392
+ }
393
+ return new env[name2](init);
394
+ };
383
395
  var deserializer = ($2, _) => {
384
396
  const as = (out, index2) => {
385
397
  $2.set(index2, out);
@@ -425,7 +437,7 @@ var deserializer = ($2, _) => {
425
437
  }
426
438
  case ERROR: {
427
439
  const { name: name2, message } = value;
428
- return as(new env[name2](message), index2);
440
+ return as(guard(name2, message), index2);
429
441
  }
430
442
  case BIGINT:
431
443
  return as(BigInt(value), index2);
@@ -438,13 +450,13 @@ var deserializer = ($2, _) => {
438
450
  return as(new DataView(buffer), value);
439
451
  }
440
452
  }
441
- return as(new env[type](value), index2);
453
+ return as(guard(type, value), index2);
442
454
  };
443
455
  return unpair;
444
456
  };
445
457
  var deserialize = (serialized) => deserializer(/* @__PURE__ */ new Map(), serialized)(0);
446
458
 
447
- // node_modules/.pnpm/@ungap+structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/serialize.js
459
+ // node_modules/.pnpm/@ungap+structured-clone@1.3.1/node_modules/@ungap/structured-clone/esm/serialize.js
448
460
  var EMPTY = "";
449
461
  var { toString } = {};
450
462
  var { keys } = Object;
@@ -577,7 +589,7 @@ var serialize = (value, { json, lossy } = {}) => {
577
589
  return serializer(!(json || lossy), !!json, /* @__PURE__ */ new Map(), _)(value), _;
578
590
  };
579
591
 
580
- // node_modules/.pnpm/@ungap+structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/index.js
592
+ // node_modules/.pnpm/@ungap+structured-clone@1.3.1/node_modules/@ungap/structured-clone/esm/index.js
581
593
  var esm_default = typeof structuredClone === "function" ? (
582
594
  /* c8 ignore start */
583
595
  (any, options) => options && ("json" in options || "lossy" in options) ? deserialize(serialize(any, options)) : structuredClone(any)