@emailens/cli 0.13.7 → 0.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -63754,9 +63754,10 @@ function dropWordUnknownColors(html3) {
|
|
|
63754
63754
|
function markHiddenCells(html3) {
|
|
63755
63755
|
if (!/display\s*:\s*none/i.test(html3)) return html3;
|
|
63756
63756
|
return html3.replace(
|
|
63757
|
-
|
|
63757
|
+
/<v:textbox\b[\s\S]*?<\/v:textbox>|(<(?:td|th|tr|span|div|table)\b[^>]*?\sstyle\s*=\s*)(?:"([^"]*)"|'([^']*)')/gi,
|
|
63758
63758
|
(whole, lead, dq, sq) => {
|
|
63759
63759
|
var _a22;
|
|
63760
|
+
if (lead === void 0) return whole;
|
|
63760
63761
|
const style = (_a22 = dq != null ? dq : sq) != null ? _a22 : "";
|
|
63761
63762
|
if (!/display\s*:\s*none/i.test(style) || /mso-hide\s*:/i.test(style)) return whole;
|
|
63762
63763
|
const quote = dq === void 0 ? "'" : '"';
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
simulateDarkMode,
|
|
33
33
|
toFramework,
|
|
34
34
|
transformForAllClients
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6UIQ65GO.js";
|
|
36
36
|
import "./chunk-ABDTBRVK.js";
|
|
37
37
|
import "./chunk-2AP7CT6R.js";
|
|
38
38
|
import "./chunk-NXBRJX3V.js";
|
|
@@ -33792,9 +33792,10 @@ h1 {
|
|
|
33792
33792
|
function markHiddenCells(html) {
|
|
33793
33793
|
if (!/display\s*:\s*none/i.test(html)) return html;
|
|
33794
33794
|
return html.replace(
|
|
33795
|
-
|
|
33795
|
+
/<v:textbox\b[\s\S]*?<\/v:textbox>|(<(?:td|th|tr|span|div|table)\b[^>]*?\sstyle\s*=\s*)(?:"([^"]*)"|'([^']*)')/gi,
|
|
33796
33796
|
(whole, lead, dq, sq) => {
|
|
33797
33797
|
var _a2;
|
|
33798
|
+
if (lead === void 0) return whole;
|
|
33798
33799
|
const style = (_a2 = dq != null ? dq : sq) != null ? _a2 : "";
|
|
33799
33800
|
if (!/display\s*:\s*none/i.test(style) || /mso-hide\s*:/i.test(style)) return whole;
|
|
33800
33801
|
const quote = dq === void 0 ? "'" : '"';
|
|
@@ -42949,7 +42950,7 @@ Href: ${href}`
|
|
|
42949
42950
|
// package.json
|
|
42950
42951
|
var package_default = {
|
|
42951
42952
|
name: "@emailens/cli",
|
|
42952
|
-
version: "0.13.
|
|
42953
|
+
version: "0.13.8",
|
|
42953
42954
|
description: "CLI tool for email compatibility analysis: lint, preview and export HTML, MJML, Maizzle and React Email rendering across 21 email clients.",
|
|
42954
42955
|
type: "module",
|
|
42955
42956
|
bin: {
|
|
@@ -42990,7 +42991,7 @@ var package_default = {
|
|
|
42990
42991
|
},
|
|
42991
42992
|
devDependencies: {
|
|
42992
42993
|
"@anthropic-ai/sdk": "^0.52.0",
|
|
42993
|
-
"@emailens/engine": "^0.18.
|
|
42994
|
+
"@emailens/engine": "^0.18.10",
|
|
42994
42995
|
"@types/bun": "^1.4.0",
|
|
42995
42996
|
"@types/mjml": "^4.7.4",
|
|
42996
42997
|
"@types/node": "^25.9.5",
|
package/dist/test.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emailens/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.8",
|
|
4
4
|
"description": "CLI tool for email compatibility analysis: lint, preview and export HTML, MJML, Maizzle and React Email rendering across 21 email clients.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@anthropic-ai/sdk": "^0.52.0",
|
|
44
|
-
"@emailens/engine": "^0.18.
|
|
44
|
+
"@emailens/engine": "^0.18.10",
|
|
45
45
|
"@types/bun": "^1.4.0",
|
|
46
46
|
"@types/mjml": "^4.7.4",
|
|
47
47
|
"@types/node": "^25.9.5",
|