Skip to content

Commit 06cb3f1

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/basic-ftp-5.3.0
2 parents 79c7fc1 + 5770129 commit 06cb3f1

18 files changed

Lines changed: 1499 additions & 1435 deletions

package-lock.json

Lines changed: 1460 additions & 902 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@
7575
"dependencies": {
7676
"@adobe/remark-gridtables": "^3.0.19",
7777
"@astrojs/check": "0.9.8",
78-
"@astrojs/compiler-rs": "0.1.6",
78+
"@astrojs/compiler-rs": "0.1.7",
7979
"@astrojs/db": "^0.20.1",
8080
"@astrojs/mdx": "5.0.3",
8181
"@astrojs/preact": "5.1.1",
8282
"@astrojs/rss": "4.0.18",
8383
"@astrojs/sitemap": "^3.7.2",
8484
"@astrojs/vercel": "^10.0.4",
85-
"@axe-core/playwright": "^4.11.1",
85+
"@axe-core/playwright": "^4.11.2",
8686
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
8787
"@eslint/js": "10.0.1",
8888
"@github/relative-time-element": "^5.0.0",
@@ -96,7 +96,7 @@
9696
"@playwright/browser-chromium": "^1.59.1",
9797
"@playwright/test": "1.59.1",
9898
"@semantic-ui/astro-lit": "^5.3.0",
99-
"@sentry/astro": "^10.48.0",
99+
"@sentry/astro": "^10.49.0",
100100
"@sentry/browser": "^10.48.0",
101101
"@shikijs/transformers": "^4.0.2",
102102
"@tailwindcss/forms": "0.5.11",
@@ -141,9 +141,9 @@
141141
"@vitest/coverage-v8": "^4.1.4",
142142
"@webcomponents/template-shadowroot": "^0.2.1",
143143
"alex": "^11.0.1",
144-
"astro": "6.1.6",
144+
"astro": "6.1.8",
145145
"astro-link-validator": "github:rodgtr1/astro-link-validator",
146-
"astro-og-canvas": "^0.11.0",
146+
"astro-og-canvas": "^0.11.1",
147147
"astro-vtbot": "^2.1.12",
148148
"baseline-browser-mapping": "^2.10.19",
149149
"canvas-confetti": "^1.9.4",
@@ -156,7 +156,7 @@
156156
"email-validator": "^2.0.4",
157157
"embla-carousel": "^8.6.0",
158158
"embla-carousel-autoplay": "^8.6.0",
159-
"eslint": "10.2.0",
159+
"eslint": "10.2.1",
160160
"eslint-import-resolver-typescript": "^4.4.4",
161161
"eslint-plugin-astro": "1.7.0",
162162
"eslint-plugin-import": "2.32.0",
@@ -184,21 +184,21 @@
184184
"markdownlint-cli2": "^0.22.0",
185185
"md-attr-parser": "^1.3.0",
186186
"mermaid": "^11.14.0",
187-
"mjml": "^4.18.0",
188-
"nanostores": "^1.2.0",
187+
"mjml": "^5.0.1",
188+
"nanostores": "^1.3.0",
189189
"node-html-parser": "^7.1.0",
190190
"nodemailer": "^8.0.5",
191191
"npm": "^11.12.1",
192192
"nunjucks": "^3.2.4",
193193
"pdf-lib": "^1.17.1",
194194
"playwright-lighthouse": "^4.0.0",
195-
"postcss": "8.5.9",
195+
"postcss": "8.5.10",
196196
"postcss-html": "1.8.1",
197197
"preact": "^10.29.1",
198-
"prettier": "3.8.2",
198+
"prettier": "3.8.3",
199199
"prettier-plugin-astro": "0.14.1",
200200
"pubsub-js": "^1.9.5",
201-
"puppeteer": "^24.40.0",
201+
"puppeteer": "^24.41.0",
202202
"qr-code-styling": "^1.9.2",
203203
"rehype-accessible-emojis": "^0.3.2",
204204
"rehype-external-links": "^3.0.0",
@@ -223,7 +223,7 @@
223223
"remark-stringify": "^11.0.0",
224224
"remark-supersub": "^1.0.0",
225225
"remark-video": "^0.10.0",
226-
"resend": "^6.11.0",
226+
"resend": "^6.12.0",
227227
"retext": "^9.0.0",
228228
"retext-smartypants": "^6.2.0",
229229
"rimraf": "6.1.3",
@@ -232,7 +232,7 @@
232232
"sharp": "^0.34.5",
233233
"shiki": "^4.0.2",
234234
"space-separated-tokens": "^2.0.2",
235-
"stylelint": "^17.7.0",
235+
"stylelint": "^17.8.0",
236236
"stylelint-config-standard": "^40.0.0",
237237
"stylelint-declaration-block-no-ignored-properties": "3.0.0",
238238
"stylelint-order": "8.1.1",
@@ -242,15 +242,15 @@
242242
"title-case": "4.3.2",
243243
"to-ico": "1.1.5",
244244
"tslib": "2.8.1",
245-
"typescript": "6.0.2",
245+
"typescript": "6.0.3",
246246
"typescript-eslint": "8.58.2",
247247
"unified": "^11.0.5",
248248
"unist": "^0.0.1",
249249
"unist-util-inspect": "^8.1.0",
250250
"unist-util-is": "^6.0.1",
251251
"unist-util-visit": "^5.1.0",
252252
"uuid": "^13.0.0",
253-
"vercel": "^51.2.1",
253+
"vercel": "^51.7.0",
254254
"vite": "^7.3.2",
255255
"vitest": "4.1.4",
256256
"vitest-axe": "0.1.0",

src/actions/utils/email/__fixtures__/example.mjml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
<mj-text>
2020
{{ htmlMessage | safe }}
2121
</mj-text>
22-
<mj-include path="./partials/footer.mjml" />
22+
<mj-text font-size="14px" color="#666666" padding-top="16px">
23+
View the <a href="https://example.com/privacy">privacy policy</a>.
24+
</mj-text>
2325
</mj-column>
2426
</mj-section>
2527
</mj-body>

src/actions/utils/email/__fixtures__/partials/common-contact.mjml

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/actions/utils/email/__fixtures__/partials/footer-macro.mjml

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/actions/utils/email/__fixtures__/partials/footer.mjml

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/actions/utils/email/__fixtures__/with-common-data.mjml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
{% import "./partials/footer-macro.mjml" as footer %}
2-
31
<mjml>
42
<mj-body>
53
<mj-section>
64
<mj-column>
75
<mj-text>Hello, {{ name }}!</mj-text>
8-
{{ footer.renderFooter(common.company.websiteLabel, common.company.url) }}
9-
{% include "./partials/common-contact.mjml" %}
6+
<mj-text>
7+
Visit <a href="{{ common.company.url }}">{{ common.company.websiteLabel }}</a>.
8+
</mj-text>
9+
<mj-text>
10+
Contact {{ common.company.name }} at
11+
<a href="{{ common.company.emailHref }}">{{ common.company.email }}</a>.
12+
</mj-text>
1013
</mj-column>
1114
</mj-section>
1215
</mj-body>

src/actions/utils/email/__tests__/templateCompiler.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('compileEmailTemplate', () => {
5454
expect(result.text).toContain('brief.pdf (2.4 MB)')
5555
})
5656

57-
it('renders nunjucks data, supports mj-include, and returns html and plain text', async () => {
57+
it('renders nunjucks data and returns html and plain text', async () => {
5858
const result = await compileEmailTemplate(exampleTemplate, {
5959
htmlMessage: '<strong>Urgent</strong> message body',
6060
items: ['Coffee Beans', 'Espresso Machine'],
@@ -74,7 +74,7 @@ describe('compileEmailTemplate', () => {
7474
expect(result.text).toContain('privacy policy')
7575
})
7676

77-
it('injects common contact data and resolves relative nunjucks imports', async () => {
77+
it('injects common contact data into inline fixture content', async () => {
7878
const result = await compileEmailTemplate(withCommonDataTemplate, {
7979
name: 'Alex',
8080
})

src/actions/utils/email/footer/index.mjml

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/actions/utils/email/footer/partials/contact-info.mjml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)