From acce4619b6c8f33606e22379398d3f5f5451af90 Mon Sep 17 00:00:00 2001 From: cohitre Date: Mon, 3 Jun 2024 11:22:13 -0700 Subject: [PATCH] Bumping block-text version in editor and builder (#110) --- packages/editor-sample/package-lock.json | 56 ++++++++++++++++++++--- packages/editor-sample/package.json | 2 +- packages/email-builder/package-lock.json | 57 ++++++++++++++++++------ packages/email-builder/package.json | 4 +- 4 files changed, 97 insertions(+), 22 deletions(-) diff --git a/packages/editor-sample/package-lock.json b/packages/editor-sample/package-lock.json index 7b079c4..e1f4527 100644 --- a/packages/editor-sample/package-lock.json +++ b/packages/editor-sample/package-lock.json @@ -21,7 +21,7 @@ "@usewaypoint/block-html": "^0.0.3", "@usewaypoint/block-image": "^0.0.5", "@usewaypoint/block-spacer": "^0.0.3", - "@usewaypoint/block-text": "^0.0.4", + "@usewaypoint/block-text": "^0.0.5", "@usewaypoint/document-core": "^0.0.6", "@usewaypoint/email-builder": "^0.0.6", "highlight.js": "^11.9.0", @@ -1959,11 +1959,12 @@ } }, "node_modules/@usewaypoint/block-text": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@usewaypoint/block-text/-/block-text-0.0.4.tgz", - "integrity": "sha512-c+CiTkwFSrclPxRx9Gt+nE6KkAmY5tWDumBa3qQnVrxdCjCmGK0qOj9avm9vqf9hd5JxaX4tgWhG/oi2u/zMxA==", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@usewaypoint/block-text/-/block-text-0.0.5.tgz", + "integrity": "sha512-b8xCDL3iruOfoxrvg4bMBcNgb9iQnU53Qp6VZskEA++L2Pz4tTWZ267ChPce7ocWhd7m17LpXrVdyC+6GvPHTw==", "dependencies": { - "markdown-parser-react": "^1.1.2" + "insane": "^2.6.2", + "marked": "^12.0.2" }, "peerDependencies": { "react": "^16 || ^17 || ^18", @@ -2002,6 +2003,18 @@ "zod": "^1 || ^2 || ^3" } }, + "node_modules/@usewaypoint/email-builder/node_modules/@usewaypoint/block-text": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@usewaypoint/block-text/-/block-text-0.0.4.tgz", + "integrity": "sha512-c+CiTkwFSrclPxRx9Gt+nE6KkAmY5tWDumBa3qQnVrxdCjCmGK0qOj9avm9vqf9hd5JxaX4tgWhG/oi2u/zMxA==", + "dependencies": { + "markdown-parser-react": "^1.1.2" + }, + "peerDependencies": { + "react": "^16 || ^17 || ^18", + "zod": "^1 || ^2 || ^3" + } + }, "node_modules/@vitejs/plugin-react-swc": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react-swc/-/plugin-react-swc-3.6.0.tgz", @@ -2090,6 +2103,11 @@ "node": ">=8" } }, + "node_modules/assignment": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assignment/-/assignment-2.0.0.tgz", + "integrity": "sha512-naMULXjtgCs9SVUEtyvJNt68aF18em7/W+dhbR59kbz9cXWPEvUkCun2tqlgqRPSqZaKPpqLc5ZnwL8jVmJRvw==" + }, "node_modules/babel-plugin-macros": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", @@ -2796,6 +2814,14 @@ "node": ">= 0.4" } }, + "node_modules/he": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/he/-/he-0.5.0.tgz", + "integrity": "sha512-DoufbNNOFzwRPy8uecq+j+VCPQ+JyDelHTmSgygrA5TsR8Cbw4Qcir5sGtWiusB4BdT89nmlaVDhSJOqC/33vw==", + "bin": { + "he": "bin/he" + } + }, "node_modules/highlight.js": { "version": "11.9.0", "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz", @@ -2866,6 +2892,15 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "node_modules/insane": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/insane/-/insane-2.6.2.tgz", + "integrity": "sha512-BqEL1CJsjJi+/C/zKZxv31zs3r6zkLH5Nz1WMFb7UBX2KHY2yXDpbFTSEmNHzomBbGDysIfkTX55A0mQZ2CQiw==", + "dependencies": { + "assignment": "2.0.0", + "he": "0.5.0" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -3046,6 +3081,17 @@ "react": "^18.2.0" } }, + "node_modules/marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", diff --git a/packages/editor-sample/package.json b/packages/editor-sample/package.json index f85ed42..ba7f561 100644 --- a/packages/editor-sample/package.json +++ b/packages/editor-sample/package.json @@ -21,7 +21,7 @@ "@usewaypoint/block-html": "^0.0.3", "@usewaypoint/block-image": "^0.0.5", "@usewaypoint/block-spacer": "^0.0.3", - "@usewaypoint/block-text": "^0.0.4", + "@usewaypoint/block-text": "^0.0.5", "@usewaypoint/document-core": "^0.0.6", "@usewaypoint/email-builder": "^0.0.6", "highlight.js": "^11.9.0", diff --git a/packages/email-builder/package-lock.json b/packages/email-builder/package-lock.json index cbcb5bf..f9d30b9 100644 --- a/packages/email-builder/package-lock.json +++ b/packages/email-builder/package-lock.json @@ -1,12 +1,12 @@ { "name": "@usewaypoint/email-builder", - "version": "0.0.6", + "version": "0.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@usewaypoint/email-builder", - "version": "0.0.6", + "version": "0.0.7", "license": "MIT", "dependencies": { "@usewaypoint/block-avatar": "^0.0.3", @@ -18,7 +18,7 @@ "@usewaypoint/block-html": "^0.0.3", "@usewaypoint/block-image": "^0.0.5", "@usewaypoint/block-spacer": "^0.0.3", - "@usewaypoint/block-text": "^0.0.4", + "@usewaypoint/block-text": "^0.0.5", "@usewaypoint/document-core": "^0.0.6" }, "peerDependencies": { @@ -109,11 +109,12 @@ } }, "node_modules/@usewaypoint/block-text": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@usewaypoint/block-text/-/block-text-0.0.4.tgz", - "integrity": "sha512-c+CiTkwFSrclPxRx9Gt+nE6KkAmY5tWDumBa3qQnVrxdCjCmGK0qOj9avm9vqf9hd5JxaX4tgWhG/oi2u/zMxA==", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@usewaypoint/block-text/-/block-text-0.0.5.tgz", + "integrity": "sha512-b8xCDL3iruOfoxrvg4bMBcNgb9iQnU53Qp6VZskEA++L2Pz4tTWZ267ChPce7ocWhd7m17LpXrVdyC+6GvPHTw==", "dependencies": { - "markdown-parser-react": "^1.1.2" + "insane": "^2.6.2", + "marked": "^12.0.2" }, "peerDependencies": { "react": "^16 || ^17 || ^18", @@ -129,15 +130,39 @@ "zod": "^1 || ^2 || ^3" } }, + "node_modules/assignment": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assignment/-/assignment-2.0.0.tgz", + "integrity": "sha512-naMULXjtgCs9SVUEtyvJNt68aF18em7/W+dhbR59kbz9cXWPEvUkCun2tqlgqRPSqZaKPpqLc5ZnwL8jVmJRvw==" + }, + "node_modules/he": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/he/-/he-0.5.0.tgz", + "integrity": "sha512-DoufbNNOFzwRPy8uecq+j+VCPQ+JyDelHTmSgygrA5TsR8Cbw4Qcir5sGtWiusB4BdT89nmlaVDhSJOqC/33vw==", + "bin": { + "he": "bin/he" + } + }, + "node_modules/insane": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/insane/-/insane-2.6.2.tgz", + "integrity": "sha512-BqEL1CJsjJi+/C/zKZxv31zs3r6zkLH5Nz1WMFb7UBX2KHY2yXDpbFTSEmNHzomBbGDysIfkTX55A0mQZ2CQiw==", + "dependencies": { + "assignment": "2.0.0", + "he": "0.5.0" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "peer": true }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -145,18 +170,22 @@ "loose-envify": "cli.js" } }, - "node_modules/markdown-parser-react": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/markdown-parser-react/-/markdown-parser-react-1.1.2.tgz", - "integrity": "sha512-MNLHekU1xOwKZLJK4NMWJDL9pNnJdKx2jdsHfAF4+Y5rF4tD/S/OuNehd4X46/KcJzBfas19pePVcwQoibpeNg==", - "dependencies": { - "react": "^18.2.0" + "node_modules/marked": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" } }, "node_modules/react": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, diff --git a/packages/email-builder/package.json b/packages/email-builder/package.json index 56dbd39..405e226 100644 --- a/packages/email-builder/package.json +++ b/packages/email-builder/package.json @@ -1,6 +1,6 @@ { "name": "@usewaypoint/email-builder", - "version": "0.0.6", + "version": "0.0.7", "description": "React component to render email messages", "main": "./dist/index.js", "module": "./dist/index.mjs", @@ -35,7 +35,7 @@ "@usewaypoint/block-html": "^0.0.3", "@usewaypoint/block-image": "^0.0.5", "@usewaypoint/block-spacer": "^0.0.3", - "@usewaypoint/block-text": "^0.0.4", + "@usewaypoint/block-text": "^0.0.5", "@usewaypoint/document-core": "^0.0.6" } }