groundmail-cli 0.26.1 → 0.26.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.
package/dist/cli.js CHANGED
@@ -1452,7 +1452,7 @@ function trimUrl(value) {
1452
1452
  }
1453
1453
 
1454
1454
  // package.json
1455
- var version = "0.26.1";
1455
+ var version = "0.26.3";
1456
1456
 
1457
1457
  // src/user-agent.ts
1458
1458
  function buildUserAgent(own) {
@@ -2706,7 +2706,7 @@ async function toElement(mod, props) {
2706
2706
  const record = mod;
2707
2707
  const exported = record?.default ?? mod;
2708
2708
  if (typeof exported === "function") {
2709
- const react = await import("./react-IXBRBSFN.js");
2709
+ const react = await import("./react-FWDQSIE4.js");
2710
2710
  const createElement = react.createElement ?? react.default?.createElement;
2711
2711
  if (typeof createElement !== "function") {
2712
2712
  throw new Error("Rendering a React email requires react. Install it with: npm install react");
@@ -19,6 +19,7 @@ var require_react_production = __commonJS({
19
19
  var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
20
20
  var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
21
21
  var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
22
+ var REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition");
22
23
  var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
23
24
  function getIteratorFn(maybeIterable) {
24
25
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -206,19 +207,18 @@ var require_react_production = __commonJS({
206
207
  }
207
208
  function lazyInitializer(payload) {
208
209
  if (-1 === payload._status) {
209
- var ctor = payload._result;
210
- ctor = ctor();
211
- ctor.then(
210
+ var ctor = payload._result, thenable = ctor();
211
+ thenable.then(
212
212
  function(moduleObject) {
213
213
  if (0 === payload._status || -1 === payload._status)
214
- payload._status = 1, payload._result = moduleObject;
214
+ payload._status = 1, payload._result = moduleObject, void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
215
215
  },
216
216
  function(error) {
217
217
  if (0 === payload._status || -1 === payload._status)
218
- payload._status = 2, payload._result = error;
218
+ payload._status = 2, payload._result = error, void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
219
219
  }
220
220
  );
221
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
221
+ -1 === payload._status && (payload._status = 0, payload._result = thenable);
222
222
  }
223
223
  if (1 === payload._status) return payload._result.default;
224
224
  throw payload._result;
@@ -238,6 +238,27 @@ var require_react_production = __commonJS({
238
238
  }
239
239
  console.error(error);
240
240
  };
241
+ function startTransition(scope) {
242
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
243
+ currentTransition.types = null !== prevTransition ? prevTransition.types : null;
244
+ ReactSharedInternals.T = currentTransition;
245
+ try {
246
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
247
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
248
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
249
+ } catch (error) {
250
+ reportGlobalError(error);
251
+ } finally {
252
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
253
+ }
254
+ }
255
+ function addTransitionType(type) {
256
+ var transition = ReactSharedInternals.T;
257
+ if (null !== transition) {
258
+ var transitionTypes = transition.types;
259
+ null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
260
+ } else startTransition(addTransitionType.bind(null, type));
261
+ }
241
262
  var Children = {
242
263
  map: mapChildren,
243
264
  forEach: function(children, forEachFunc, forEachContext) {
@@ -277,6 +298,7 @@ var require_react_production = __commonJS({
277
298
  exports.PureComponent = PureComponent;
278
299
  exports.StrictMode = REACT_STRICT_MODE_TYPE;
279
300
  exports.Suspense = REACT_SUSPENSE_TYPE;
301
+ exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
280
302
  exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
281
303
  exports.__COMPILER_RUNTIME = {
282
304
  __proto__: null,
@@ -284,6 +306,7 @@ var require_react_production = __commonJS({
284
306
  return ReactSharedInternals.H.useMemoCache(size);
285
307
  }
286
308
  };
309
+ exports.addTransitionType = addTransitionType;
287
310
  exports.cache = function(fn) {
288
311
  return function() {
289
312
  return fn.apply(null, arguments);
@@ -364,19 +387,7 @@ var require_react_production = __commonJS({
364
387
  compare: void 0 === compare ? null : compare
365
388
  };
366
389
  };
367
- exports.startTransition = function(scope) {
368
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
369
- ReactSharedInternals.T = currentTransition;
370
- try {
371
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
372
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
373
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
374
- } catch (error) {
375
- reportGlobalError(error);
376
- } finally {
377
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
378
- }
379
- };
390
+ exports.startTransition = startTransition;
380
391
  exports.unstable_useCacheRefresh = function() {
381
392
  return ReactSharedInternals.H.useCacheRefresh();
382
393
  };
@@ -440,7 +451,7 @@ var require_react_production = __commonJS({
440
451
  exports.useTransition = function() {
441
452
  return ReactSharedInternals.H.useTransition();
442
453
  };
443
- exports.version = "19.2.4";
454
+ exports.version = "19.3.1";
444
455
  }
445
456
  });
446
457
 
@@ -531,6 +542,8 @@ var require_react_development = __commonJS({
531
542
  return "SuspenseList";
532
543
  case REACT_ACTIVITY_TYPE:
533
544
  return "Activity";
545
+ case REACT_VIEW_TRANSITION_TYPE:
546
+ return "ViewTransition";
534
547
  }
535
548
  if ("object" === typeof type)
536
549
  switch ("number" === typeof type.tag && console.error(
@@ -787,8 +800,11 @@ var require_react_development = __commonJS({
787
800
  }
788
801
  function lazyInitializer(payload) {
789
802
  if (-1 === payload._status) {
790
- var ioInfo = payload._ioInfo;
791
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
803
+ var resolveDebugValue = null, rejectDebugValue = null, ioInfo = payload._ioInfo;
804
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now(), ioInfo.value = new Promise(function(resolve, reject) {
805
+ resolveDebugValue = resolve;
806
+ rejectDebugValue = reject;
807
+ }));
792
808
  ioInfo = payload._result;
793
809
  var thenable = ioInfo();
794
810
  thenable.then(
@@ -797,7 +813,13 @@ var require_react_development = __commonJS({
797
813
  payload._status = 1;
798
814
  payload._result = moduleObject;
799
815
  var _ioInfo = payload._ioInfo;
800
- null != _ioInfo && (_ioInfo.end = performance.now());
816
+ if (null != _ioInfo) {
817
+ _ioInfo.end = performance.now();
818
+ var debugValue = null == moduleObject ? void 0 : moduleObject.default;
819
+ resolveDebugValue(debugValue);
820
+ _ioInfo.value.status = "fulfilled";
821
+ _ioInfo.value.value = debugValue;
822
+ }
801
823
  void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
802
824
  }
803
825
  },
@@ -806,14 +828,13 @@ var require_react_development = __commonJS({
806
828
  payload._status = 2;
807
829
  payload._result = error;
808
830
  var _ioInfo2 = payload._ioInfo;
809
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
831
+ null != _ioInfo2 && (_ioInfo2.end = performance.now(), _ioInfo2.value.then(noop, noop), rejectDebugValue(error), _ioInfo2.value.status = "rejected", _ioInfo2.value.reason = error);
810
832
  void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
811
833
  }
812
834
  }
813
835
  );
814
836
  ioInfo = payload._ioInfo;
815
837
  if (null != ioInfo) {
816
- ioInfo.value = thenable;
817
838
  var displayName = thenable.displayName;
818
839
  "string" === typeof displayName && (ioInfo.name = displayName);
819
840
  }
@@ -839,6 +860,35 @@ var require_react_development = __commonJS({
839
860
  function releaseAsyncTransition() {
840
861
  ReactSharedInternals.asyncTransitions--;
841
862
  }
863
+ function startTransition(scope) {
864
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
865
+ currentTransition.types = null !== prevTransition ? prevTransition.types : null;
866
+ currentTransition._updatedFibers = /* @__PURE__ */ new Set();
867
+ ReactSharedInternals.T = currentTransition;
868
+ try {
869
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
870
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
871
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
872
+ } catch (error) {
873
+ reportGlobalError(error);
874
+ } finally {
875
+ null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
876
+ "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
877
+ )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
878
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
879
+ ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
880
+ }
881
+ }
882
+ function addTransitionType(type) {
883
+ var transition = ReactSharedInternals.T;
884
+ if (null !== transition) {
885
+ var transitionTypes = transition.types;
886
+ null === transitionTypes ? transition.types = [type] : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);
887
+ } else
888
+ 0 === ReactSharedInternals.asyncTransitions && console.error(
889
+ "addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
890
+ ), startTransition(addTransitionType.bind(null, type));
891
+ }
842
892
  function enqueueTask(task) {
843
893
  if (null === enqueueTaskImpl)
844
894
  try {
@@ -913,7 +963,7 @@ var require_react_development = __commonJS({
913
963
  }
914
964
  }
915
965
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
916
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
966
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
917
967
  isMounted: function() {
918
968
  return false;
919
969
  },
@@ -1048,6 +1098,7 @@ var require_react_development = __commonJS({
1048
1098
  exports.PureComponent = PureComponent;
1049
1099
  exports.StrictMode = REACT_STRICT_MODE_TYPE;
1050
1100
  exports.Suspense = REACT_SUSPENSE_TYPE;
1101
+ exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1051
1102
  exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1052
1103
  exports.__COMPILER_RUNTIME = deprecatedAPIs;
1053
1104
  exports.act = function(callback) {
@@ -1127,6 +1178,7 @@ var require_react_development = __commonJS({
1127
1178
  }
1128
1179
  };
1129
1180
  };
1181
+ exports.addTransitionType = addTransitionType;
1130
1182
  exports.cache = function(fn) {
1131
1183
  return function() {
1132
1184
  return fn.apply(null, arguments);
@@ -1203,6 +1255,7 @@ var require_react_development = __commonJS({
1203
1255
  exports.createElement = function(type, config, children) {
1204
1256
  for (var i = 2; i < arguments.length; i++)
1205
1257
  validateChildKeys(arguments[i]);
1258
+ var propName;
1206
1259
  i = {};
1207
1260
  var key = null;
1208
1261
  if (null != config)
@@ -1225,13 +1278,13 @@ var require_react_development = __commonJS({
1225
1278
  i,
1226
1279
  "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1227
1280
  );
1228
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1281
+ (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) ? (childArray = Error.stackTraceLimit, Error.stackTraceLimit = 10, childrenLength = Error("react-stack-top-frame"), Error.stackTraceLimit = childArray) : childrenLength = unknownOwnerDebugStack;
1229
1282
  return ReactElement(
1230
1283
  type,
1231
1284
  key,
1232
1285
  i,
1233
1286
  getOwner(),
1234
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1287
+ childrenLength,
1235
1288
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1236
1289
  );
1237
1290
  };
@@ -1311,24 +1364,7 @@ var require_react_development = __commonJS({
1311
1364
  });
1312
1365
  return compare;
1313
1366
  };
1314
- exports.startTransition = function(scope) {
1315
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
1316
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
1317
- ReactSharedInternals.T = currentTransition;
1318
- try {
1319
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
1320
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1321
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1322
- } catch (error) {
1323
- reportGlobalError(error);
1324
- } finally {
1325
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
1326
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1327
- )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
1328
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1329
- ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
1330
- }
1331
- };
1367
+ exports.startTransition = startTransition;
1332
1368
  exports.unstable_useCacheRefresh = function() {
1333
1369
  return resolveDispatcher().useCacheRefresh();
1334
1370
  };
@@ -1410,7 +1446,7 @@ var require_react_development = __commonJS({
1410
1446
  exports.useTransition = function() {
1411
1447
  return resolveDispatcher().useTransition();
1412
1448
  };
1413
- exports.version = "19.2.4";
1449
+ exports.version = "19.3.1";
1414
1450
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1415
1451
  })();
1416
1452
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundmail-cli",
3
- "version": "0.26.1",
3
+ "version": "0.26.3",
4
4
  "description": "Groundmail CLI — send transactional email from the terminal",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,7 +38,7 @@
38
38
  "prepublishOnly": "npm run build"
39
39
  },
40
40
  "dependencies": {
41
- "groundmail": "0.25.0"
41
+ "groundmail": "0.25.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "tsup": "^8.5.0",
@@ -46,6 +46,6 @@
46
46
  "vitest": "^3.2.4"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@napi-rs/keyring": "2.1.0"
49
+ "@napi-rs/keyring": "2.1.1"
50
50
  }
51
51
  }