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

@container-stack/mailing-api

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@container-stack/mailing-api - npm Package Compare versions

Comparing version 0.0.33-alpha.11 to 0.0.33-alpha.12

26

lib/migrations/mail-template-migration.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -20,12 +8,8 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MailTemplateMigration_1;

@@ -35,3 +19,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const inversify_1 = require("inversify");
const ejsLint = __importStar(require("ejs-lint"));
const ejs_lint_1 = __importDefault(require("ejs-lint"));
const core_1 = require("@common-stack/core");

@@ -85,3 +69,3 @@ const config_1 = require("../config");

const request = { ...commonRequestData, ...this.templatePayload() };
const ejsLintErrors = ejsLint(request.html);
const ejsLintErrors = ejs_lint_1.default(request.html);
if (ejsLintErrors?.message) {

@@ -88,0 +72,0 @@ this.logger.error(JSON.stringify(ejsLintErrors));

4

package.json
{
"name": "@container-stack/mailing-api",
"version": "0.0.33-alpha.11",
"version": "0.0.33-alpha.12",
"description": "Workbench core for higher packages to depend on",

@@ -54,3 +54,3 @@ "main": "lib/index.js",

},
"gitHead": "842a1c129e6dbac9963d373a7b3301040e5a77ad"
"gitHead": "f90aecd406a03bff65fe9b7c36273c98ebe6741e"
}

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