@react-email/render
Advanced tools
Comparing version
@@ -22,4 +22,2 @@ import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text'; | ||
declare const render: (element: React.ReactElement, options?: Options) => Promise<string>; | ||
declare const plainTextSelectors: SelectorDefinition[]; | ||
@@ -29,2 +27,4 @@ | ||
declare const render: (element: React.ReactElement, options?: Options) => Promise<string>; | ||
/** | ||
@@ -35,2 +35,2 @@ * @deprecated use {@link render} | ||
export { Options, plainTextSelectors, pretty, render, renderAsync }; | ||
export { type Options, plainTextSelectors, pretty, render, renderAsync }; |
@@ -68,4 +68,4 @@ "use strict"; | ||
// src/browser/index.ts | ||
var browser_exports = {}; | ||
__export(browser_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
plainTextSelectors: () => plainTextSelectors, | ||
@@ -76,3 +76,3 @@ pretty: () => pretty, | ||
}); | ||
module.exports = __toCommonJS(browser_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
@@ -79,0 +79,0 @@ // src/browser/render.tsx |
@@ -22,4 +22,2 @@ import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text'; | ||
declare const render: (element: React.ReactElement, options?: Options) => Promise<string>; | ||
declare const plainTextSelectors: SelectorDefinition[]; | ||
@@ -29,2 +27,4 @@ | ||
declare const render: (element: React.ReactElement, options?: Options) => Promise<string>; | ||
/** | ||
@@ -35,2 +35,2 @@ * @deprecated use {@link render} | ||
export { Options, plainTextSelectors, pretty, render, renderAsync }; | ||
export { type Options, plainTextSelectors, pretty, render, renderAsync }; |
@@ -68,4 +68,4 @@ "use strict"; | ||
// src/node/index.ts | ||
var node_exports = {}; | ||
__export(node_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
plainTextSelectors: () => plainTextSelectors, | ||
@@ -76,3 +76,3 @@ pretty: () => pretty, | ||
}); | ||
module.exports = __toCommonJS(node_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
@@ -79,0 +79,0 @@ // src/node/render.tsx |
{ | ||
"name": "@react-email/render", | ||
"version": "1.1.0-canary.1", | ||
"version": "1.1.0", | ||
"description": "Transform React components into HTML email templates", | ||
@@ -89,3 +89,3 @@ "sideEffects": false, | ||
"devDependencies": { | ||
"@edge-runtime/vm": "3.1.8", | ||
"@edge-runtime/vm": "5.0.0", | ||
"@types/html-to-text": "9.0.4", | ||
@@ -95,5 +95,5 @@ "@types/prettier": "3.0.0", | ||
"@types/react-dom": "npm:types-react-dom@19.0.0", | ||
"jsdom": "23.0.1", | ||
"tsup": "7.2.0", | ||
"typescript": "5.1.6", | ||
"jsdom": "26.1.0", | ||
"tsup": "8.4.0", | ||
"typescript": "5.8.3", | ||
"tsconfig": "0.0.0" | ||
@@ -100,0 +100,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
36587
0.02%1
-50%