From f1dbf64f119eb950a7f38d992930ea61c0ec0ead Mon Sep 17 00:00:00 2001 From: thecodrr Date: Fri, 1 Jul 2022 08:12:38 +0500 Subject: [PATCH] chore: cleanup package.json --- .../editor/dist/extensions/math/mathblock.js | 4 +- packages/editor/dist/index.d.ts | 1 - .../dist/toolbar/components/toolbutton.d.ts | 9 +- packages/editor/dist/toolbar/tools/utils.d.ts | 1 - packages/editor/package-lock.json | 232 ++---------------- packages/editor/package.json | 12 +- 6 files changed, 28 insertions(+), 231 deletions(-) diff --git a/packages/editor/dist/extensions/math/mathblock.js b/packages/editor/dist/extensions/math/mathblock.js index 08d3ce163..4e7862f14 100644 --- a/packages/editor/dist/extensions/math/mathblock.js +++ b/packages/editor/dist/extensions/math/mathblock.js @@ -13,7 +13,7 @@ exports.MathBlock = core_1.Node.create({ parseHTML: function () { return [ { - tag: "div[class*='math-display']", // important! + tag: "div[class*='math-block']", // important! }, ]; }, @@ -21,7 +21,7 @@ exports.MathBlock = core_1.Node.create({ var HTMLAttributes = _a.HTMLAttributes; return [ "div", - (0, core_1.mergeAttributes)({ class: "math-display math-node" }, HTMLAttributes), + (0, core_1.mergeAttributes)({ class: "math-block math-node" }, HTMLAttributes), 0, ]; }, diff --git a/packages/editor/dist/index.d.ts b/packages/editor/dist/index.d.ts index 5faf010a1..b8aed820b 100644 --- a/packages/editor/dist/index.d.ts +++ b/packages/editor/dist/index.d.ts @@ -1,4 +1,3 @@ -/// import "./extensions"; import { EditorOptions } from "@tiptap/react"; import Toolbar from "./toolbar"; diff --git a/packages/editor/dist/toolbar/components/toolbutton.d.ts b/packages/editor/dist/toolbar/components/toolbutton.d.ts index 588714d2e..d7cb97dd4 100644 --- a/packages/editor/dist/toolbar/components/toolbutton.d.ts +++ b/packages/editor/dist/toolbar/components/toolbutton.d.ts @@ -12,4 +12,11 @@ export declare type ToolButtonProps = ButtonProps & { buttonRef?: React.MutableRefObject; variant?: ToolButtonVariant; }; -export declare const ToolButton: React.NamedExoticComponent; +export declare const ToolButton: React.NamedExoticComponent | undefined; + variant?: ToolButtonVariant | undefined; +}>; diff --git a/packages/editor/dist/toolbar/tools/utils.d.ts b/packages/editor/dist/toolbar/tools/utils.d.ts index 2aaf4fe1f..173fe5f55 100644 --- a/packages/editor/dist/toolbar/tools/utils.d.ts +++ b/packages/editor/dist/toolbar/tools/utils.d.ts @@ -1,4 +1,3 @@ -/// import { Editor } from "@tiptap/core"; import { MenuButton } from "../../components/menu/types"; import { ToolProps } from "../types"; diff --git a/packages/editor/package-lock.json b/packages/editor/package-lock.json index b0f2714dd..40c6d7dae 100644 --- a/packages/editor/package-lock.json +++ b/packages/editor/package-lock.json @@ -39,38 +39,30 @@ "detect-indent": "^7.0.0", "emotion-theming": "^10.0.19", "katex": "^0.16.0", - "lowlight": "^2.6.1", "prism-themes": "^1.9.0", "prosemirror-codemark": "^0.4.0", "prosemirror-utils": "github:atlassian/prosemirror-utils", "re-resizable": "^6.9.9", "react-colorful": "^5.5.1", "react-modal": "^3.15.1", - "react-toggle": "^4.1.2", "rebass": "^4.0.7", "redent": "^4.0.0", "refractor": "^4.7.0", - "shortid": "^2.2.16", "strip-indent": "^4.0.0", "tinycolor2": "^1.4.2", "unfurl.js": "^5.7.0", "zustand": "^3.7.2" }, "devDependencies": { - "@types/esm": "^3.2.0", "@types/katex": "^0.14.0", - "@types/node": "^18.0.0", "@types/prismjs": "^1.26.0", - "@types/react": "^18.0.14", + "@types/react": "^17.0.37", "@types/react-color": "^3.0.6", - "@types/react-dom": "^18.0.5", + "@types/react-dom": "^17.0.11", "@types/react-modal": "^3.13.1", - "@types/react-toggle": "^4.0.3", "@types/rebass": "^4.0.10", "@types/rebass__forms": "^4.0.6", - "@types/shortid": "^0.0.29", "@types/tinycolor2": "^1.4.3", - "esm": "^3.2.25", "isomorphic-fetch": "^3.0.0", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -4481,15 +4473,6 @@ "@types/json-schema": "*" } }, - "node_modules/@types/esm": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@types/esm/-/esm-3.2.0.tgz", - "integrity": "sha512-aXemgVPnF1s0PQin04Ei8zTWaNwUdc4pmhZDg8LBW6QEl9kBWVItAUOLGUY5H5xduAmbL1pLGH1X/PN0+4R9tg==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/estree": { "version": "0.0.51", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", @@ -4626,9 +4609,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.0.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.14.tgz", - "integrity": "sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==", + "version": "17.0.47", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.47.tgz", + "integrity": "sha512-mk0BL8zBinf2ozNr3qPnlu1oyVTYq+4V7WA76RgxUAtf0Em/Wbid38KN6n4abEkvO4xMTBWmnP1FtQzgkEiJoA==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -4646,12 +4629,12 @@ } }, "node_modules/@types/react-dom": { - "version": "18.0.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.5.tgz", - "integrity": "sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==", + "version": "17.0.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.17.tgz", + "integrity": "sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==", "dev": true, "dependencies": { - "@types/react": "*" + "@types/react": "^17" } }, "node_modules/@types/react-modal": { @@ -4663,15 +4646,6 @@ "@types/react": "*" } }, - "node_modules/@types/react-toggle": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/react-toggle/-/react-toggle-4.0.3.tgz", - "integrity": "sha512-57QdMWeeQdRjM2/p+udgYerxUbSkmeUIW18kwUttcci6GHkgxoqCsDZfRtsCsAHcvvM5VBQdtDUEgLWo2e87mA==", - "dev": true, - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/react/node_modules/csstype": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", @@ -4721,12 +4695,6 @@ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, - "node_modules/@types/shortid": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/shortid/-/shortid-0.0.29.tgz", - "integrity": "sha512-9BCYD9btg2CY4kPcpMQ+vCR8U6V8f/KvixYD5ZbxoWlkhddNF5IeZMVL3p+QFUkg+Hb+kPAG9Jgk4bnnF1v/Fw==", - "dev": true - }, "node_modules/@types/source-list-map": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", @@ -7113,11 +7081,6 @@ "node": ">=0.10.0" } }, - "node_modules/classnames": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", - "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" - }, "node_modules/clean-css": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", @@ -9978,15 +9941,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/esm": { - "version": "3.2.25", - "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", - "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/espree": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", @@ -10556,18 +10510,6 @@ "reusify": "^1.0.4" } }, - "node_modules/fault": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fault/-/fault-2.0.1.tgz", - "integrity": "sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==", - "dependencies": { - "format": "^0.2.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/faye-websocket": { "version": "0.11.4", "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", @@ -10975,14 +10917,6 @@ "node": ">= 6" } }, - "node_modules/format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -11657,14 +11591,6 @@ "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==", "peer": true }, - "node_modules/highlight.js": { - "version": "11.5.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.5.1.tgz", - "integrity": "sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q==", - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -15373,20 +15299,6 @@ "tslib": "^2.0.3" } }, - "node_modules/lowlight": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-2.6.1.tgz", - "integrity": "sha512-t0ueDL6SIn9FKHipm78CNjWcJQv0xi6WCjYAICyO6GyPzoT7E58yom1mNwvI7AMwVe3pLwwFT0Bt2gml7uaUeQ==", - "dependencies": { - "@types/hast": "^2.0.0", - "fault": "^2.0.0", - "highlight.js": "~11.5.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -19402,19 +19314,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/react-toggle": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/react-toggle/-/react-toggle-4.1.2.tgz", - "integrity": "sha512-4Ohw31TuYQdhWfA6qlKafeXx3IOH7t4ZHhmRdwsm1fQREwOBGxJT+I22sgHqR/w8JRdk+AeMCJXPImEFSrNXow==", - "dependencies": { - "classnames": "^2.2.5" - }, - "peerDependencies": { - "prop-types": ">= 15.3.0 < 18", - "react": ">= 15.3.0 < 18", - "react-dom": ">= 15.3.0 < 18" - } - }, "node_modules/read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", @@ -20933,19 +20832,6 @@ "dev": true, "optional": true }, - "node_modules/shortid": { - "version": "2.2.16", - "resolved": "https://registry.npmjs.org/shortid/-/shortid-2.2.16.tgz", - "integrity": "sha512-Ugt+GIZqvGXCIItnsL+lvFJOiN7RYqlGy7QE41O3YC1xbNSeDGIRO7xg2JJXIAj1cAGnOeC1r7/T9pgrtQbv4g==", - "dependencies": { - "nanoid": "^2.1.0" - } - }, - "node_modules/shortid/node_modules/nanoid": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz", - "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==" - }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -28682,15 +28568,6 @@ "@types/json-schema": "*" } }, - "@types/esm": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@types/esm/-/esm-3.2.0.tgz", - "integrity": "sha512-aXemgVPnF1s0PQin04Ei8zTWaNwUdc4pmhZDg8LBW6QEl9kBWVItAUOLGUY5H5xduAmbL1pLGH1X/PN0+4R9tg==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/estree": { "version": "0.0.51", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", @@ -28827,9 +28704,9 @@ "dev": true }, "@types/react": { - "version": "18.0.14", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.14.tgz", - "integrity": "sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==", + "version": "17.0.47", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.47.tgz", + "integrity": "sha512-mk0BL8zBinf2ozNr3qPnlu1oyVTYq+4V7WA76RgxUAtf0Em/Wbid38KN6n4abEkvO4xMTBWmnP1FtQzgkEiJoA==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -28854,12 +28731,12 @@ } }, "@types/react-dom": { - "version": "18.0.5", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.5.tgz", - "integrity": "sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==", + "version": "17.0.17", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.17.tgz", + "integrity": "sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==", "dev": true, "requires": { - "@types/react": "*" + "@types/react": "^17" } }, "@types/react-modal": { @@ -28871,15 +28748,6 @@ "@types/react": "*" } }, - "@types/react-toggle": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/react-toggle/-/react-toggle-4.0.3.tgz", - "integrity": "sha512-57QdMWeeQdRjM2/p+udgYerxUbSkmeUIW18kwUttcci6GHkgxoqCsDZfRtsCsAHcvvM5VBQdtDUEgLWo2e87mA==", - "dev": true, - "requires": { - "@types/react": "*" - } - }, "@types/reactcss": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@types/reactcss/-/reactcss-1.2.6.tgz", @@ -28924,12 +28792,6 @@ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, - "@types/shortid": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/shortid/-/shortid-0.0.29.tgz", - "integrity": "sha512-9BCYD9btg2CY4kPcpMQ+vCR8U6V8f/KvixYD5ZbxoWlkhddNF5IeZMVL3p+QFUkg+Hb+kPAG9Jgk4bnnF1v/Fw==", - "dev": true - }, "@types/source-list-map": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", @@ -30850,11 +30712,6 @@ } } }, - "classnames": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", - "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" - }, "clean-css": { "version": "4.2.4", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.4.tgz", @@ -33073,12 +32930,6 @@ } } }, - "esm": { - "version": "3.2.25", - "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", - "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==", - "dev": true - }, "espree": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", @@ -33544,14 +33395,6 @@ "reusify": "^1.0.4" } }, - "fault": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fault/-/fault-2.0.1.tgz", - "integrity": "sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==", - "requires": { - "format": "^0.2.0" - } - }, "faye-websocket": { "version": "0.11.4", "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", @@ -33875,11 +33718,6 @@ "mime-types": "^2.1.12" } }, - "format": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", - "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==" - }, "forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -34391,11 +34229,6 @@ "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==", "peer": true }, - "highlight.js": { - "version": "11.5.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.5.1.tgz", - "integrity": "sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q==" - }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -37215,16 +37048,6 @@ "tslib": "^2.0.3" } }, - "lowlight": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-2.6.1.tgz", - "integrity": "sha512-t0ueDL6SIn9FKHipm78CNjWcJQv0xi6WCjYAICyO6GyPzoT7E58yom1mNwvI7AMwVe3pLwwFT0Bt2gml7uaUeQ==", - "requires": { - "@types/hast": "^2.0.0", - "fault": "^2.0.0", - "highlight.js": "~11.5.0" - } - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -40498,14 +40321,6 @@ } } }, - "react-toggle": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/react-toggle/-/react-toggle-4.1.2.tgz", - "integrity": "sha512-4Ohw31TuYQdhWfA6qlKafeXx3IOH7t4ZHhmRdwsm1fQREwOBGxJT+I22sgHqR/w8JRdk+AeMCJXPImEFSrNXow==", - "requires": { - "classnames": "^2.2.5" - } - }, "read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", @@ -41724,21 +41539,6 @@ "dev": true, "optional": true }, - "shortid": { - "version": "2.2.16", - "resolved": "https://registry.npmjs.org/shortid/-/shortid-2.2.16.tgz", - "integrity": "sha512-Ugt+GIZqvGXCIItnsL+lvFJOiN7RYqlGy7QE41O3YC1xbNSeDGIRO7xg2JJXIAj1cAGnOeC1r7/T9pgrtQbv4g==", - "requires": { - "nanoid": "^2.1.0" - }, - "dependencies": { - "nanoid": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz", - "integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==" - } - } - }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", diff --git a/packages/editor/package.json b/packages/editor/package.json index 914dba308..41688d89c 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -35,38 +35,30 @@ "detect-indent": "^7.0.0", "emotion-theming": "^10.0.19", "katex": "^0.16.0", - "lowlight": "^2.6.1", "prism-themes": "^1.9.0", "prosemirror-codemark": "^0.4.0", "prosemirror-utils": "github:atlassian/prosemirror-utils", "re-resizable": "^6.9.9", "react-colorful": "^5.5.1", "react-modal": "^3.15.1", - "react-toggle": "^4.1.2", "rebass": "^4.0.7", "redent": "^4.0.0", "refractor": "^4.7.0", - "shortid": "^2.2.16", "strip-indent": "^4.0.0", "tinycolor2": "^1.4.2", "unfurl.js": "^5.7.0", "zustand": "^3.7.2" }, "devDependencies": { - "@types/esm": "^3.2.0", "@types/katex": "^0.14.0", - "@types/node": "^18.0.0", "@types/prismjs": "^1.26.0", - "@types/react": "^18.0.14", + "@types/react": "^17.0.37", "@types/react-color": "^3.0.6", - "@types/react-dom": "^18.0.5", + "@types/react-dom": "^17.0.11", "@types/react-modal": "^3.13.1", - "@types/react-toggle": "^4.0.3", "@types/rebass": "^4.0.10", "@types/rebass__forms": "^4.0.6", - "@types/shortid": "^0.0.29", "@types/tinycolor2": "^1.4.3", - "esm": "^3.2.25", "isomorphic-fetch": "^3.0.0", "react": "^17.0.2", "react-dom": "^17.0.2",