@react-email/render
Advanced tools
Comparing version 1.0.3-canary.0 to 1.0.3-canary.1
@@ -136,3 +136,3 @@ "use strict"; | ||
const suspendedElement = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { children: element }); | ||
const { default: reactDOMServer } = yield import("react-dom/server"); | ||
const reactDOMServer = yield import("react-dom/server"); | ||
let html; | ||
@@ -213,3 +213,3 @@ if (Object.hasOwn(reactDOMServer, "renderToReadableStream")) { | ||
const suspendedElement = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react2.Suspense, { children: element }); | ||
const { default: reactDOMServer } = yield import("react-dom/server"); | ||
const reactDOMServer = yield import("react-dom/server"); | ||
let html; | ||
@@ -216,0 +216,0 @@ if (Object.hasOwn(reactDOMServer, "renderToReadableStream")) { |
@@ -120,6 +120,6 @@ "use strict"; | ||
stream.pipe(writable); | ||
return new Promise((resolve, reject) => { | ||
yield new Promise((resolve, reject) => { | ||
writable.on("error", reject); | ||
writable.on("close", () => { | ||
resolve(result); | ||
resolve(); | ||
}); | ||
@@ -135,3 +135,3 @@ }); | ||
const suspendedElement = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { children: element }); | ||
const { default: reactDOMServer } = yield import("react-dom/server"); | ||
const reactDOMServer = yield import("react-dom/server"); | ||
let html; | ||
@@ -176,3 +176,3 @@ if (Object.hasOwn(reactDOMServer, "renderToReadableStream")) { | ||
const suspendedElement = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react2.Suspense, { children: element }); | ||
const { default: reactDOMServer } = yield import("react-dom/server"); | ||
const reactDOMServer = yield import("react-dom/server"); | ||
let html; | ||
@@ -179,0 +179,0 @@ if (Object.hasOwn(reactDOMServer, "renderToReadableStream")) { |
{ | ||
"name": "@react-email/render", | ||
"version": "1.0.3-canary.0", | ||
"version": "1.0.3-canary.1", | ||
"description": "Transform React components into HTML email templates", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35381