diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 100f587..09b93d7 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 1b04b76..e48fd11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "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", - "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 f2ce136..2c1105e 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": { @@ -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": { diff --git a/tests/specs/__snapshots__/issue-367.test.ts.snap b/tests/specs/__snapshots__/issue-367.test.ts.snap index 2a4f83c..d05b6aa 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 319adcb..e246ddf 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