Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
adonis-mailbuilder
Advanced tools
Adonis, mailbuilder, mailgen, livereloading
Install it:
npm i --save adonis-mailbuilder
Connect all dependences:
node ace configure adonis-mailbuilder
node ace mailbuilder:make AnyName
npm run dev
Go to url from cli like 'http://localhost:3333/mailbuilder'
Go to app/MailBuilder/AnyName.ts and change any options
import MailBuilder from '@ioc:Adonis/Addons/MailBuilder'
import AnyName from 'App/MailBuilder/AnyName'
import Mail from '@ioc:Adonis/Addons/Mail'
import Env from '@ioc:Adonis/Core/Env'
export default class AuthController {
public async register ({ auth, request, response }: HttpContextContract) {
const { text, html } = await MailBuilder.render(
new AnyName({ name: 'AnyName' })
)
await Mail.send(mail => {
mail.subject('Thanks for registering')
mail.text(text)
mail.html(html)
mail.to(ctx.session.email)
mail.from(Env.get('MAIL_FROM') as string)
})
}
}
FAQs
AdonisJS 5 mailbuilder
The npm package adonis-mailbuilder receives a total of 9 weekly downloads. As such, adonis-mailbuilder popularity was classified as not popular.
We found that adonis-mailbuilder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.