Socket
Socket
Sign inDemoInstall

@netlify/plugin-emails

Package Overview
Dependencies
8
Maintainers
19
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.39-preview to 0.2.1-preview

16

package.json
{
"name": "@netlify/plugin-emails",
"version": "0.0.39-preview",
"version": "0.2.1-preview",
"description": "A build plugin that creates an email handler and processes requests to send emails",

@@ -18,8 +18,2 @@ "main": "./lib/index.js",

},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"watch": "tsc --project tsconfig.build.json --watch",
"test": "vitest -c ./src/vitest.config.ts --watch=false",
"coverage": "vitest run --coverage -c ./src/vitest.config.ts"
},
"keywords": [

@@ -57,3 +51,9 @@ "emails",

"vitest": "^0.25.8"
},
"scripts": {
"build": "tsc --project tsconfig.build.json",
"watch": "tsc --project tsconfig.build.json --watch",
"test": "vitest -c ./src/vitest.config.ts --watch=false",
"coverage": "vitest run --coverage -c ./src/vitest.config.ts"
}
}
}

@@ -33,3 +33,3 @@ # Netlify Emails Plugin

Now that the setup is complete, you can create an email directory `./emails` (default) or use a custom directory, as long as you define it in your Email Settings under ‘Template directory’.
Now that the setup is complete, create an email directory `./emails` (default) or use a custom directory, as long as you define it in your Email Settings under ‘Template directory’.

@@ -36,0 +36,0 @@ Each email template should be stored under a folder name that represents the route of your template and the email file should be named `index.html`. E.g. `./emails/welcome/index.html`.

@@ -346,2 +346,3 @@ import { Handler } from "@netlify/functions";

siteId = ${JSON.stringify(process.env.SITE_ID)}
siteName = ${JSON.stringify(process.env.SITE_NAME)}
secret = ${JSON.stringify(process.env.NETLIFY_EMAILS_SECRET)}

@@ -348,0 +349,0 @@ url = ${JSON.stringify(process.env.URL)}

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc