@react-email/render
Advanced tools
Comparing version
import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text'; | ||
import { Options as Options$1 } from 'prettier'; | ||
type Options = { | ||
/** | ||
* @deprecated use {@link pretty} instead | ||
*/ | ||
pretty?: boolean; | ||
@@ -22,2 +26,4 @@ } & ({ | ||
declare const pretty: (str: string, options?: Options$1) => Promise<string>; | ||
/** | ||
@@ -28,2 +34,2 @@ * @deprecated use {@link render} | ||
export { Options, plainTextSelectors, render, renderAsync }; | ||
export { Options, plainTextSelectors, pretty, render, renderAsync }; |
@@ -71,2 +71,3 @@ "use strict"; | ||
plainTextSelectors: () => plainTextSelectors, | ||
pretty: () => pretty, | ||
render: () => render, | ||
@@ -233,4 +234,5 @@ renderAsync: () => renderAsync | ||
plainTextSelectors, | ||
pretty, | ||
render, | ||
renderAsync | ||
}); |
import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text'; | ||
import { Options as Options$1 } from 'prettier'; | ||
type Options = { | ||
/** | ||
* @deprecated use {@link pretty} instead | ||
*/ | ||
pretty?: boolean; | ||
@@ -22,2 +26,4 @@ } & ({ | ||
declare const pretty: (str: string, options?: Options$1) => Promise<string>; | ||
/** | ||
@@ -28,2 +34,2 @@ * @deprecated use {@link render} | ||
export { Options, plainTextSelectors, render, renderAsync }; | ||
export { Options, plainTextSelectors, pretty, render, renderAsync }; |
@@ -71,2 +71,3 @@ "use strict"; | ||
plainTextSelectors: () => plainTextSelectors, | ||
pretty: () => pretty, | ||
render: () => render, | ||
@@ -231,4 +232,5 @@ renderAsync: () => renderAsync | ||
plainTextSelectors, | ||
pretty, | ||
render, | ||
renderAsync | ||
}); |
{ | ||
"name": "@react-email/render", | ||
"version": "1.0.6", | ||
"version": "1.1.0-canary.1", | ||
"description": "Transform React components into HTML email templates", | ||
@@ -80,5 +80,5 @@ "sideEffects": false, | ||
"dependencies": { | ||
"html-to-text": "9.0.5", | ||
"prettier": "3.5.3", | ||
"react-promise-suspense": "0.3.4" | ||
"html-to-text": "^9.0.5", | ||
"prettier": "^3.5.3", | ||
"react-promise-suspense": "^0.3.4" | ||
}, | ||
@@ -85,0 +85,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
36579
2.49%896
1.82%2
100%+ Added
- Removed
Updated
Updated