From cd4e540287a604dc3b94509c743de512b154be1f Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 13 Mar 2026 11:40:28 +0400 Subject: [PATCH 1/3] Update MJML version --- .github/workflows/npm-publish.yml | 2 +- package-lock.json | 9 +++++---- package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 100f5878..09b93d74 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,4 +15,4 @@ jobs: - run: npm run build - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }} diff --git a/package-lock.json b/package-lock.json index 1b04b761..9af6fb35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-3-Clause", "dependencies": { "@types/mjml": "^4.7.4", - "mjml-browser": "^4.13.0" + "mjml-browser": "^4.18.0" }, "devDependencies": { "@babel/cli": "^7.15.7", @@ -13008,9 +13008,10 @@ } }, "node_modules/mjml-browser": { - "version": "4.14.1", - "resolved": "https://registry.npmjs.org/mjml-browser/-/mjml-browser-4.14.1.tgz", - "integrity": "sha512-kkY43kYTGfw0qL251GrG3hdQvKeeKAzxgM+zFd97Pay2nZX06W9V6rm03zCfnOQdwGM90xMOBF+x9SIhRPkiJQ==" + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/mjml-browser/-/mjml-browser-4.18.0.tgz", + "integrity": "sha512-Y3kpr3IFBk3Wm7AwONZ5vDAX7FxAaMk+RKbcKKewsuGI9oNCOSM2dWNcWVFdzZ9PF7awoaCgBSQudnJaJbUiBA==", + "license": "MIT" }, "node_modules/mkdirp": { "version": "0.5.6", diff --git a/package.json b/package.json index f2ce136b..66ff3f50 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "license": "BSD-3-Clause", "dependencies": { "@types/mjml": "^4.7.4", - "mjml-browser": "^4.13.0" + "mjml-browser": "^4.18.0" }, "babel": { "env": { From 01f8242e1940be1f2beaaee74fc5991637cf8cab Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 13 Mar 2026 11:41:42 +0400 Subject: [PATCH 2/3] Release v1.0.8 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9af6fb35..e48fd11d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "grapesjs-mjml", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "grapesjs-mjml", - "version": "1.0.7", + "version": "1.0.8", "license": "BSD-3-Clause", "dependencies": { "@types/mjml": "^4.7.4", diff --git a/package.json b/package.json index 66ff3f50..2c1105e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grapesjs-mjml", - "version": "1.0.7", + "version": "1.0.8", "description": "MJML Componenets integration in GrapesJS", "main": "dist/index.js", "scripts": { From d68ecb0bca213994835c93814b5c2a230dc7bc6c Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 13 Mar 2026 11:45:34 +0400 Subject: [PATCH 3/3] Up test snapshots --- .../__snapshots__/issue-367.test.ts.snap | 10 ++-- tests/specs/__snapshots__/mjml.test.ts.snap | 46 +++++++++++-------- 2 files changed, 31 insertions(+), 25 deletions(-) diff --git a/tests/specs/__snapshots__/issue-367.test.ts.snap b/tests/specs/__snapshots__/issue-367.test.ts.snap index 2a4f83ca..d05b6aa4 100644 --- a/tests/specs/__snapshots__/issue-367.test.ts.snap +++ b/tests/specs/__snapshots__/issue-367.test.ts.snap @@ -2,7 +2,7 @@ exports[`Line Height should expect default line height as 22px and export correctly in html 1`] = ` " - + @@ -51,21 +51,17 @@ exports[`Line Height should expect default line height as 22px and export correc .moz-text-html .mj-column-per-100 { width:100% !important; max-width: 100%; } - - -
diff --git a/tests/specs/__snapshots__/mjml.test.ts.snap b/tests/specs/__snapshots__/mjml.test.ts.snap index 319adcbb..e246ddf9 100644 --- a/tests/specs/__snapshots__/mjml.test.ts.snap +++ b/tests/specs/__snapshots__/mjml.test.ts.snap @@ -2,7 +2,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` " - + @@ -57,10 +57,10 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` .moz-text-html .mj-column-per-33-333333333333336 { width:33.333333333333336% !important; max-width: 33.333333333333336%; } - - + @@ -79,7 +80,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
@@ -186,7 +187,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
\\"\\" @@ -545,7 +546,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` @@ -585,7 +586,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` @@ -625,7 +626,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` @@ -680,7 +681,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
\\"\\" \\"\\" \\"\\"
+ + - + @@ -757,6 +761,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` + + - + @@ -795,6 +802,7 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = ` + + - +
\\"\\" @@ -736,14 +738,16 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
+ Facebook
\\"\\" @@ -774,14 +779,16 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
+ Google
\\"\\" @@ -812,14 +820,16 @@ exports[`mjml tests should create basic structure and snapshot result 1`] = `
+ Twitter