Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-email/html

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/html - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/index.d.ts

@@ -6,4 +6,4 @@ import * as React from 'react';

}
declare const Html: React.FC<Readonly<HtmlProps>>;
declare const Html: React.ForwardRefExoticComponent<Readonly<HtmlProps> & React.RefAttributes<HTMLHtmlElement>>;
export { Html, HtmlProps };
"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;

@@ -18,2 +20,6 @@ var __export = (target, all) => {

};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -29,8 +35,7 @@

// src/html.tsx
var React = __toESM(require("react"));
var import_jsx_runtime = require("react/jsx-runtime");
var Html = ({
children,
lang = "en",
...props
}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("html", { lang, ...props, children });
var Html = React.forwardRef(
({ children, lang = "en", ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("html", { ref: forwardedRef, lang, ...props, children })
);
Html.displayName = "Html";

@@ -37,0 +42,0 @@ // Annotate the CommonJS export names for ESM import in node:

{
"name": "@react-email/html",
"version": "0.0.3",
"version": "0.0.4",
"description": "A React html component to wrap emails",

@@ -18,2 +18,3 @@ "sideEffects": false,

"clean": "rm -rf dist",
"test": "jest",
"format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"",

@@ -24,3 +25,3 @@ "format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\""

"type": "git",
"url": "https://github.com/zenorocha/react-email.git",
"url": "https://github.com/resendlabs/react-email.git",
"directory": "packages/html"

@@ -33,10 +34,15 @@ },

"engines": {
"node": ">=18.0.0"
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/preset-react": "7.18.6",
"@react-email/render": "*",
"@types/react": "18.0.20",
"@types/react-dom": "18.0.6",
"babel-jest": "28.1.3",
"eslint": "8.23.1",
"eslint-config-custom": "*",
"react": "18.2.0",
"jest": "28.1.3",
"ts-jest": "28.0.8",
"tsconfig": "*",

@@ -49,2 +55,2 @@ "tsup": "6.2.3",

}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc