From 2d6259ebb4b19734762602b6753e2051894892dc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 22 Nov 2023 16:23:48 +0000 Subject: [PATCH] fix: upgrade grapesjs from 0.17.29 to 0.21.7 Snyk has created this PR to upgrade grapesjs from 0.17.29 to 0.21.7. See this package in npm: https://www.npmjs.com/package/grapesjs See this project in Snyk: https://app.snyk.io/org/alejandro.hermosilla/project/a04ef900-8b59-4857-ab1f-f443cfed660f?utm_source=github&utm_medium=referral&page=upgrade-pr --- .../GrapesJsBuilderBundle/package-lock.json | 110 ++++++++++++------ plugins/GrapesJsBuilderBundle/package.json | 2 +- 2 files changed, 78 insertions(+), 34 deletions(-) diff --git a/plugins/GrapesJsBuilderBundle/package-lock.json b/plugins/GrapesJsBuilderBundle/package-lock.json index 68e30d98017..ee9d4058e23 100644 --- a/plugins/GrapesJsBuilderBundle/package-lock.json +++ b/plugins/GrapesJsBuilderBundle/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "grapesjs": "^0.17.29", + "grapesjs": "^0.21.7", "grapesjs-mjml": "^0.5.8", "grapesjs-parser-postcss": "^0.1.1", "grapesjs-plugin-ckeditor": "^0.0.10", @@ -1849,6 +1849,23 @@ "node": ">= 6.0.0" } }, + "node_modules/@types/backbone": { + "version": "1.4.18", + "resolved": "https://registry.npmjs.org/@types/backbone/-/backbone-1.4.18.tgz", + "integrity": "sha512-/qo5+GegJsBPrvHnKLf6dhfe9sazHB/usPGv1vMii1nHkLIe/2aT/ArLc3/dabKd1a0VzDgdJhoaTdeextWl8Q==", + "dependencies": { + "@types/jquery": "*", + "@types/underscore": "*" + } + }, + "node_modules/@types/jquery": { + "version": "3.5.29", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", + "integrity": "sha512-oXQQC9X9MOPRrMhPHHOsXqeQDnWeCDT3PelUIg/Oy8FAbzSZtFHRjc7IpbfFVmpLtJ+UOoywpRsuO5Jxjybyeg==", + "dependencies": { + "@types/sizzle": "*" + } + }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -1861,6 +1878,16 @@ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==", "dev": true }, + "node_modules/@types/sizzle": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz", + "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==" + }, + "node_modules/@types/underscore": { + "version": "1.11.15", + "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.11.15.tgz", + "integrity": "sha512-HP38xE+GuWGlbSRq9WrZkousaQ7dragtZCruBVMi0oX1migFZavZ3OROKHSkNp/9ouq82zrWtZpg18jFnVN96g==" + }, "node_modules/abab": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", @@ -2389,9 +2416,9 @@ } }, "node_modules/backbone": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.3.3.tgz", - "integrity": "sha1-TMgOp8sWMaxHSInOQPL4vGg7KZk=", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.1.tgz", + "integrity": "sha512-ADy1ztN074YkWbHi8ojJVFe3vAanO/lrzMGZWUClIP7oDD/Pjy2vrASraUP+2EVCfIiTtCW4FChVow01XneivA==", "dependencies": { "underscore": ">=1.8.3" } @@ -5724,16 +5751,16 @@ "dev": true }, "node_modules/grapesjs": { - "version": "0.17.29", - "resolved": "https://registry.npmjs.org/grapesjs/-/grapesjs-0.17.29.tgz", - "integrity": "sha512-yZdjLCHGBrYUH8SQcZGbEM7nzgJpFpKqnIk7sP3/nhuuoKGF2kiFeeIT5fmP1ZMINT+Es7sbTQF0PIKVrx/+lg==", + "version": "0.21.7", + "resolved": "https://registry.npmjs.org/grapesjs/-/grapesjs-0.21.7.tgz", + "integrity": "sha512-XSUIPD8M2bOsrqtKar8I2jpWOITmVXiq0+OMVD0NhBOjsI0s7Vm6tzvyY6hY2uSObDiy+qQg4EfdcHUPjnP1zg==", "dependencies": { - "backbone": "1.3.3", + "@types/backbone": "^1.4.15", + "backbone": "1.4.1", "backbone-undo": "^0.2.5", "codemirror": "^5.63.0", "codemirror-formatting": "^1.0.0", "promise-polyfill": "^8.1.3", - "spectrum-colorpicker": "^1.8.0", "underscore": "^1.13.1" } }, @@ -11030,11 +11057,6 @@ "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", "dev": true }, - "node_modules/spectrum-colorpicker": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/spectrum-colorpicker/-/spectrum-colorpicker-1.8.1.tgz", - "integrity": "sha512-x1picQ5giVso71ESII7jZ3+ZFdit8WthNkzwJqLNdPDPzrltKUQGpTohWyPfSAID+bK1zGdO6bDbSh1S6GoLYA==" - }, "node_modules/split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", @@ -11935,9 +11957,9 @@ } }, "node_modules/underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==" + "version": "1.13.6", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "1.0.4", @@ -13978,6 +14000,23 @@ "physical-cpu-count": "^2.0.0" } }, + "@types/backbone": { + "version": "1.4.18", + "resolved": "https://registry.npmjs.org/@types/backbone/-/backbone-1.4.18.tgz", + "integrity": "sha512-/qo5+GegJsBPrvHnKLf6dhfe9sazHB/usPGv1vMii1nHkLIe/2aT/ArLc3/dabKd1a0VzDgdJhoaTdeextWl8Q==", + "requires": { + "@types/jquery": "*", + "@types/underscore": "*" + } + }, + "@types/jquery": { + "version": "3.5.29", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", + "integrity": "sha512-oXQQC9X9MOPRrMhPHHOsXqeQDnWeCDT3PelUIg/Oy8FAbzSZtFHRjc7IpbfFVmpLtJ+UOoywpRsuO5Jxjybyeg==", + "requires": { + "@types/sizzle": "*" + } + }, "@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", @@ -13990,6 +14029,16 @@ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==", "dev": true }, + "@types/sizzle": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz", + "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==" + }, + "@types/underscore": { + "version": "1.11.15", + "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.11.15.tgz", + "integrity": "sha512-HP38xE+GuWGlbSRq9WrZkousaQ7dragtZCruBVMi0oX1migFZavZ3OROKHSkNp/9ouq82zrWtZpg18jFnVN96g==" + }, "abab": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", @@ -14420,9 +14469,9 @@ } }, "backbone": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.3.3.tgz", - "integrity": "sha1-TMgOp8sWMaxHSInOQPL4vGg7KZk=", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.1.tgz", + "integrity": "sha512-ADy1ztN074YkWbHi8ojJVFe3vAanO/lrzMGZWUClIP7oDD/Pjy2vrASraUP+2EVCfIiTtCW4FChVow01XneivA==", "requires": { "underscore": ">=1.8.3" } @@ -17095,16 +17144,16 @@ "dev": true }, "grapesjs": { - "version": "0.17.29", - "resolved": "https://registry.npmjs.org/grapesjs/-/grapesjs-0.17.29.tgz", - "integrity": "sha512-yZdjLCHGBrYUH8SQcZGbEM7nzgJpFpKqnIk7sP3/nhuuoKGF2kiFeeIT5fmP1ZMINT+Es7sbTQF0PIKVrx/+lg==", + "version": "0.21.7", + "resolved": "https://registry.npmjs.org/grapesjs/-/grapesjs-0.21.7.tgz", + "integrity": "sha512-XSUIPD8M2bOsrqtKar8I2jpWOITmVXiq0+OMVD0NhBOjsI0s7Vm6tzvyY6hY2uSObDiy+qQg4EfdcHUPjnP1zg==", "requires": { - "backbone": "1.3.3", + "@types/backbone": "^1.4.15", + "backbone": "1.4.1", "backbone-undo": "^0.2.5", "codemirror": "^5.63.0", "codemirror-formatting": "^1.0.0", "promise-polyfill": "^8.1.3", - "spectrum-colorpicker": "^1.8.0", "underscore": "^1.13.1" } }, @@ -21385,11 +21434,6 @@ "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", "dev": true }, - "spectrum-colorpicker": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/spectrum-colorpicker/-/spectrum-colorpicker-1.8.1.tgz", - "integrity": "sha512-x1picQ5giVso71ESII7jZ3+ZFdit8WthNkzwJqLNdPDPzrltKUQGpTohWyPfSAID+bK1zGdO6bDbSh1S6GoLYA==" - }, "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", @@ -22117,9 +22161,9 @@ } }, "underscore": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz", - "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==" + "version": "1.13.6", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", diff --git a/plugins/GrapesJsBuilderBundle/package.json b/plugins/GrapesJsBuilderBundle/package.json index 50df33a0213..8b5d4438d40 100644 --- a/plugins/GrapesJsBuilderBundle/package.json +++ b/plugins/GrapesJsBuilderBundle/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/mautic/plugin-grapesjs-builder#readme", "dependencies": { - "grapesjs": "^0.17.29", + "grapesjs": "^0.21.7", "grapesjs-mjml": "^0.5.8", "grapesjs-parser-postcss": "^0.1.1", "grapesjs-plugin-ckeditor": "^0.0.10",