You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP →

@react-email/render

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/render - npm Package Compare versions

Comparing version

to
1.1.0-canary.1

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