@emailens/cli 0.13.8 → 0.13.9

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.
@@ -65656,14 +65656,19 @@ var CLIENT_CONFIGS = {
65656
65656
  stripMode: "strip",
65657
65657
  stripStyleAnimations: true,
65658
65658
  dropSelectors: /:nth-child|:nth-last-child|:nth-of-type|:nth-last-of-type|:not\(|:has\(|\[data-|::?before|::?after|(?:[.#][\w-]+|\])(?:\[[^\]]*\])*:(?:first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|link|visited|checked|hover|focus|active|target)/,
65659
- dropAtRules: /^@supports\b|^@media\s+(?:only\s+)?[a-z]+\s*$|^@media\b.*[<>=]/i,
65659
+ // No web font either: a Google Fonts <link>, an @import and a remote
65660
+ // @font-face all fell back to the stack's next font on real Outlook for
65661
+ // Mac, where Apple Mail on the same Mac drew them (real-device runs
65662
+ // 6UOu1JWi1l9C, Z2Hn_aEsftuG, _YHEeChhj-3_; caniemail agrees). The
65663
+ // <link> goes with stripExternalStylesheets below.
65664
+ dropAtRules: /^@supports\b|^@media\s+(?:only\s+)?[a-z]+\s*$|^@media\b.*[<>=]|^@font-face\b|^@import\b/i,
65660
65665
  dropValues: /minmax\(|repeat\(|conic-gradient\(|linear-gradient\(|radial-gradient\(|var\(|calc\(|min\(|max\(|clamp\(|\b(?:hsla?|hwb|lab|lch|oklab|oklch|color)\(|^position:\s*(?:relative|absolute|fixed)/,
65661
65666
  dropProperties: /^(?:transform|transition(?:-[a-z-]+)?|animation(?:-[a-z-]+)?|text-shadow|filter|clip-path|gap|row-gap|(?:padding|margin|border|inset)-(?:inline|block)(?:-[a-z-]+)?|(?:min-|max-)?(?:inline|block)-size)$/,
65662
65667
  dropNesting: true,
65663
65668
  dropElements: "picture source",
65664
65669
  dropAttributes: /^srcset$/,
65665
65670
  inlineAndStripStyles: false,
65666
- stripExternalStylesheets: false,
65671
+ stripExternalStylesheets: true,
65667
65672
  stripForms: false,
65668
65673
  stripSvg: true
65669
65674
  },
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  simulateDarkMode,
33
33
  toFramework,
34
34
  transformForAllClients
35
- } from "./chunk-6UIQ65GO.js";
35
+ } from "./chunk-VC36VNI3.js";
36
36
  import "./chunk-ABDTBRVK.js";
37
37
  import "./chunk-2AP7CT6R.js";
38
38
  import "./chunk-NXBRJX3V.js";
@@ -35704,14 +35704,19 @@ h1 {
35704
35704
  stripMode: "strip",
35705
35705
  stripStyleAnimations: true,
35706
35706
  dropSelectors: /:nth-child|:nth-last-child|:nth-of-type|:nth-last-of-type|:not\(|:has\(|\[data-|::?before|::?after|(?:[.#][\w-]+|\])(?:\[[^\]]*\])*:(?:first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|link|visited|checked|hover|focus|active|target)/,
35707
- dropAtRules: /^@supports\b|^@media\s+(?:only\s+)?[a-z]+\s*$|^@media\b.*[<>=]/i,
35707
+ // No web font either: a Google Fonts <link>, an @import and a remote
35708
+ // @font-face all fell back to the stack's next font on real Outlook for
35709
+ // Mac, where Apple Mail on the same Mac drew them (real-device runs
35710
+ // 6UOu1JWi1l9C, Z2Hn_aEsftuG, _YHEeChhj-3_; caniemail agrees). The
35711
+ // <link> goes with stripExternalStylesheets below.
35712
+ dropAtRules: /^@supports\b|^@media\s+(?:only\s+)?[a-z]+\s*$|^@media\b.*[<>=]|^@font-face\b|^@import\b/i,
35708
35713
  dropValues: /minmax\(|repeat\(|conic-gradient\(|linear-gradient\(|radial-gradient\(|var\(|calc\(|min\(|max\(|clamp\(|\b(?:hsla?|hwb|lab|lch|oklab|oklch|color)\(|^position:\s*(?:relative|absolute|fixed)/,
35709
35714
  dropProperties: /^(?:transform|transition(?:-[a-z-]+)?|animation(?:-[a-z-]+)?|text-shadow|filter|clip-path|gap|row-gap|(?:padding|margin|border|inset)-(?:inline|block)(?:-[a-z-]+)?|(?:min-|max-)?(?:inline|block)-size)$/,
35710
35715
  dropNesting: true,
35711
35716
  dropElements: "picture source",
35712
35717
  dropAttributes: /^srcset$/,
35713
35718
  inlineAndStripStyles: false,
35714
- stripExternalStylesheets: false,
35719
+ stripExternalStylesheets: true,
35715
35720
  stripForms: false,
35716
35721
  stripSvg: true
35717
35722
  },
@@ -42950,7 +42955,7 @@ Href: ${href}`
42950
42955
  // package.json
42951
42956
  var package_default = {
42952
42957
  name: "@emailens/cli",
42953
- version: "0.13.8",
42958
+ version: "0.13.9",
42954
42959
  description: "CLI tool for email compatibility analysis: lint, preview and export HTML, MJML, Maizzle and React Email rendering across 21 email clients.",
42955
42960
  type: "module",
42956
42961
  bin: {
@@ -42991,7 +42996,7 @@ var package_default = {
42991
42996
  },
42992
42997
  devDependencies: {
42993
42998
  "@anthropic-ai/sdk": "^0.52.0",
42994
- "@emailens/engine": "^0.18.10",
42999
+ "@emailens/engine": "^0.18.11",
42995
43000
  "@types/bun": "^1.4.0",
42996
43001
  "@types/mjml": "^4.7.4",
42997
43002
  "@types/node": "^25.9.5",
package/dist/test.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  auditEmail,
6
6
  flattenToLintIssues,
7
7
  loadProjectConfig
8
- } from "./chunk-6UIQ65GO.js";
8
+ } from "./chunk-VC36VNI3.js";
9
9
  import "./chunk-ABDTBRVK.js";
10
10
  import "./chunk-2AP7CT6R.js";
11
11
  import "./chunk-NXBRJX3V.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailens/cli",
3
- "version": "0.13.8",
3
+ "version": "0.13.9",
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.10",
44
+ "@emailens/engine": "^0.18.11",
45
45
  "@types/bun": "^1.4.0",
46
46
  "@types/mjml": "^4.7.4",
47
47
  "@types/node": "^25.9.5",