@container-stack/mailing-api
Advanced tools
Comparing version 0.0.33-alpha.11 to 0.0.33-alpha.12
"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)); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39131
662