diff --git a/.pnp.cjs b/.pnp.cjs index f6d86e39..5018c83a 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -4081,11 +4081,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@emotion/styled", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:11.11.0"],\ ["@mantine/form", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:6.0.21"],\ ["@tanstack/react-query", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:5.17.0"],\ - ["@toast-ui/editor", "npm:2.5.4"],\ - ["@toast-ui/editor-plugin-code-syntax-highlight", "npm:1.0.0"],\ - ["@toast-ui/editor-plugin-color-syntax", "npm:1.0.1"],\ - ["@toast-ui/editor-plugin-table-merged-cell", "npm:1.3.2"],\ - ["@toast-ui/react-editor", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:2.5.4"],\ + ["@toast-ui/editor", "npm:3.2.2"],\ + ["@toast-ui/editor-plugin-code-syntax-highlight", "npm:3.1.0"],\ + ["@toast-ui/editor-plugin-color-syntax", "npm:3.1.0"],\ + ["@toast-ui/editor-plugin-table-merged-cell", "npm:3.1.0"],\ + ["@toast-ui/react-editor", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:3.2.3"],\ ["@types/node", "npm:18.19.4"],\ ["@types/qs", "npm:6.9.11"],\ ["@types/react", "npm:18.2.46"],\ @@ -4640,58 +4640,65 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@toast-ui/editor", [\ - ["npm:2.5.4", {\ - "packageLocation": "./.yarn/cache/@toast-ui-editor-npm-2.5.4-7f11654660-3396e34f88.zip/node_modules/@toast-ui/editor/",\ + ["npm:3.2.2", {\ + "packageLocation": "./.yarn/cache/@toast-ui-editor-npm-3.2.2-8b6a9786fd-b1772a1a15.zip/node_modules/@toast-ui/editor/",\ "packageDependencies": [\ - ["@toast-ui/editor", "npm:2.5.4"],\ - ["@types/codemirror", "npm:0.0.71"],\ - ["codemirror", "npm:5.65.15"]\ + ["@toast-ui/editor", "npm:3.2.2"],\ + ["dompurify", "npm:2.4.9"],\ + ["prosemirror-commands", "npm:1.5.2"],\ + ["prosemirror-history", "npm:1.4.0"],\ + ["prosemirror-inputrules", "npm:1.4.0"],\ + ["prosemirror-keymap", "npm:1.2.2"],\ + ["prosemirror-model", "npm:1.19.4"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-transform", "npm:1.8.0"],\ + ["prosemirror-view", "npm:1.33.3"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@toast-ui/editor-plugin-code-syntax-highlight", [\ - ["npm:1.0.0", {\ - "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-1.0.0-d5b1d0b194-a6dc6ebf0e.zip/node_modules/@toast-ui/editor-plugin-code-syntax-highlight/",\ + ["npm:3.1.0", {\ + "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-3.1.0-c1ad588de9-cdef0f5da7.zip/node_modules/@toast-ui/editor-plugin-code-syntax-highlight/",\ "packageDependencies": [\ - ["@toast-ui/editor-plugin-code-syntax-highlight", "npm:1.0.0"],\ - ["highlight.js", "npm:9.18.5"]\ + ["@toast-ui/editor-plugin-code-syntax-highlight", "npm:3.1.0"],\ + ["prismjs", "npm:1.29.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@toast-ui/editor-plugin-color-syntax", [\ - ["npm:1.0.1", {\ - "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-1.0.1-09e9693014-314ece0009.zip/node_modules/@toast-ui/editor-plugin-color-syntax/",\ + ["npm:3.1.0", {\ + "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-3.1.0-1688766a0c-e4f47afbdc.zip/node_modules/@toast-ui/editor-plugin-color-syntax/",\ "packageDependencies": [\ - ["@toast-ui/editor-plugin-color-syntax", "npm:1.0.1"],\ + ["@toast-ui/editor-plugin-color-syntax", "npm:3.1.0"],\ ["tui-color-picker", "npm:2.2.8"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@toast-ui/editor-plugin-table-merged-cell", [\ - ["npm:1.3.2", {\ - "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-1.3.2-f66ccefbc8-65540bf862.zip/node_modules/@toast-ui/editor-plugin-table-merged-cell/",\ + ["npm:3.1.0", {\ + "packageLocation": "./.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-3.1.0-5d381a9972-0dc4f30d1f.zip/node_modules/@toast-ui/editor-plugin-table-merged-cell/",\ "packageDependencies": [\ - ["@toast-ui/editor-plugin-table-merged-cell", "npm:1.3.2"]\ + ["@toast-ui/editor-plugin-table-merged-cell", "npm:3.1.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@toast-ui/react-editor", [\ - ["npm:2.5.4", {\ - "packageLocation": "./.yarn/cache/@toast-ui-react-editor-npm-2.5.4-a70a12fb83-d9ddc17c8b.zip/node_modules/@toast-ui/react-editor/",\ + ["npm:3.2.3", {\ + "packageLocation": "./.yarn/cache/@toast-ui-react-editor-npm-3.2.3-aed61aa676-5ffd6f9b27.zip/node_modules/@toast-ui/react-editor/",\ "packageDependencies": [\ - ["@toast-ui/react-editor", "npm:2.5.4"]\ + ["@toast-ui/react-editor", "npm:3.2.3"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:2.5.4", {\ - "packageLocation": "./.yarn/__virtual__/@toast-ui-react-editor-virtual-10fc2a0232/0/cache/@toast-ui-react-editor-npm-2.5.4-a70a12fb83-d9ddc17c8b.zip/node_modules/@toast-ui/react-editor/",\ + ["virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:3.2.3", {\ + "packageLocation": "./.yarn/__virtual__/@toast-ui-react-editor-virtual-4466f074b4/0/cache/@toast-ui-react-editor-npm-3.2.3-aed61aa676-5ffd6f9b27.zip/node_modules/@toast-ui/react-editor/",\ "packageDependencies": [\ - ["@toast-ui/react-editor", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:2.5.4"],\ - ["@toast-ui/editor", "npm:2.5.4"],\ + ["@toast-ui/react-editor", "virtual:1976df9f66099404609180f288d7625241102adbbeacf1a12c1cfdfe607bfddad9f2fdbcd490df17e987bd7b6490bd730307ffd287824c3e2ca9f82da35c80b3#npm:3.2.3"],\ + ["@toast-ui/editor", "npm:3.2.2"],\ ["@types/react", "npm:18.2.46"],\ ["react", "npm:18.2.0"]\ ],\ @@ -4777,16 +4784,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ - ["@types/codemirror", [\ - ["npm:0.0.71", {\ - "packageLocation": "./.yarn/cache/@types-codemirror-npm-0.0.71-8815305d0d-185d7f6293.zip/node_modules/@types/codemirror/",\ - "packageDependencies": [\ - ["@types/codemirror", "npm:0.0.71"],\ - ["@types/tern", "npm:0.23.5"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/date-arithmetic", [\ ["npm:4.1.4", {\ "packageLocation": "./.yarn/cache/@types-date-arithmetic-npm-4.1.4-9729758110-20844a92a9.zip/node_modules/@types/date-arithmetic/",\ @@ -4797,13 +4794,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@types/estree", [\ - ["npm:1.0.2", {\ - "packageLocation": "./.yarn/cache/@types-estree-npm-1.0.2-6148f5f697-aeedb1b2fe.zip/node_modules/@types/estree/",\ - "packageDependencies": [\ - ["@types/estree", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:1.0.5", {\ "packageLocation": "./.yarn/cache/@types-estree-npm-1.0.5-5b7faed3b4-dd8b5bed28.zip/node_modules/@types/estree/",\ "packageDependencies": [\ @@ -5041,16 +5031,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ - ["@types/tern", [\ - ["npm:0.23.5", {\ - "packageLocation": "./.yarn/cache/@types-tern-npm-0.23.5-043a47d3b3-aa163dab0c.zip/node_modules/@types/tern/",\ - "packageDependencies": [\ - ["@types/tern", "npm:0.23.5"],\ - ["@types/estree", "npm:1.0.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@types/warning", [\ ["npm:3.0.3", {\ "packageLocation": "./.yarn/cache/@types-warning-npm-3.0.3-651ad6a5da-862b71c918.zip/node_modules/@types/warning/",\ @@ -6193,13 +6173,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["codemirror", [\ - ["npm:5.65.15", {\ - "packageLocation": "./.yarn/cache/codemirror-npm-5.65.15-849f48275a-30e0cff9bf.zip/node_modules/codemirror/",\ - "packageDependencies": [\ - ["codemirror", "npm:5.65.15"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:5.65.16", {\ "packageLocation": "./.yarn/cache/codemirror-npm-5.65.16-618a296d1c-1c5036bfff.zip/node_modules/codemirror/",\ "packageDependencies": [\ @@ -6664,6 +6637,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["dompurify", [\ + ["npm:2.4.9", {\ + "packageLocation": "./.yarn/cache/dompurify-npm-2.4.9-602c012b90-f02c6bb709.zip/node_modules/dompurify/",\ + "packageDependencies": [\ + ["dompurify", "npm:2.4.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["duplexer2", [\ ["npm:0.1.4", {\ "packageLocation": "./.yarn/cache/duplexer2-npm-0.1.4-6bca6bef12-744961f03c.zip/node_modules/duplexer2/",\ @@ -7992,15 +7974,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ - ["highlight.js", [\ - ["npm:9.18.5", {\ - "packageLocation": "./.yarn/unplugged/highlight.js-npm-9.18.5-571500f48d/node_modules/highlight.js/",\ - "packageDependencies": [\ - ["highlight.js", "npm:9.18.5"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["history", [\ ["npm:4.10.1", {\ "packageLocation": "./.yarn/cache/history-npm-4.10.1-ee217563ae-addd84bc46.zip/node_modules/history/",\ @@ -10038,6 +10011,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["orderedmap", [\ + ["npm:2.1.1", {\ + "packageLocation": "./.yarn/cache/orderedmap-npm-2.1.1-64b8a0684f-082cf970b0.zip/node_modules/orderedmap/",\ + "packageDependencies": [\ + ["orderedmap", "npm:2.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["p-limit", [\ ["npm:2.3.0", {\ "packageLocation": "./.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip/node_modules/p-limit/",\ @@ -10295,6 +10277,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["prismjs", [\ + ["npm:1.29.0", {\ + "packageLocation": "./.yarn/cache/prismjs-npm-1.29.0-6faa5b04b8-007a8869d4.zip/node_modules/prismjs/",\ + "packageDependencies": [\ + ["prismjs", "npm:1.29.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["process-nextick-args", [\ ["npm:2.0.1", {\ "packageLocation": "./.yarn/cache/process-nextick-args-npm-2.0.1-b8d7971609-1d38588e52.zip/node_modules/process-nextick-args/",\ @@ -10347,6 +10338,97 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["prosemirror-commands", [\ + ["npm:1.5.2", {\ + "packageLocation": "./.yarn/cache/prosemirror-commands-npm-1.5.2-27f8f3fee9-ff65063a8c.zip/node_modules/prosemirror-commands/",\ + "packageDependencies": [\ + ["prosemirror-commands", "npm:1.5.2"],\ + ["prosemirror-model", "npm:1.19.4"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-transform", "npm:1.8.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-history", [\ + ["npm:1.4.0", {\ + "packageLocation": "./.yarn/cache/prosemirror-history-npm-1.4.0-b8231d46ae-f60f605fc6.zip/node_modules/prosemirror-history/",\ + "packageDependencies": [\ + ["prosemirror-history", "npm:1.4.0"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-transform", "npm:1.8.0"],\ + ["prosemirror-view", "npm:1.33.3"],\ + ["rope-sequence", "npm:1.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-inputrules", [\ + ["npm:1.4.0", {\ + "packageLocation": "./.yarn/cache/prosemirror-inputrules-npm-1.4.0-14c674c300-b893eff382.zip/node_modules/prosemirror-inputrules/",\ + "packageDependencies": [\ + ["prosemirror-inputrules", "npm:1.4.0"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-transform", "npm:1.8.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-keymap", [\ + ["npm:1.2.2", {\ + "packageLocation": "./.yarn/cache/prosemirror-keymap-npm-1.2.2-efb8276b00-85fe4fc303.zip/node_modules/prosemirror-keymap/",\ + "packageDependencies": [\ + ["prosemirror-keymap", "npm:1.2.2"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["w3c-keyname", "npm:2.2.8"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-model", [\ + ["npm:1.19.4", {\ + "packageLocation": "./.yarn/cache/prosemirror-model-npm-1.19.4-4fd32211c8-12c277ed30.zip/node_modules/prosemirror-model/",\ + "packageDependencies": [\ + ["prosemirror-model", "npm:1.19.4"],\ + ["orderedmap", "npm:2.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-state", [\ + ["npm:1.4.3", {\ + "packageLocation": "./.yarn/cache/prosemirror-state-npm-1.4.3-d6540e44ad-28857d935c.zip/node_modules/prosemirror-state/",\ + "packageDependencies": [\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-model", "npm:1.19.4"],\ + ["prosemirror-transform", "npm:1.8.0"],\ + ["prosemirror-view", "npm:1.33.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-transform", [\ + ["npm:1.8.0", {\ + "packageLocation": "./.yarn/cache/prosemirror-transform-npm-1.8.0-ea3ca0411f-6d16ca4f95.zip/node_modules/prosemirror-transform/",\ + "packageDependencies": [\ + ["prosemirror-transform", "npm:1.8.0"],\ + ["prosemirror-model", "npm:1.19.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prosemirror-view", [\ + ["npm:1.33.3", {\ + "packageLocation": "./.yarn/cache/prosemirror-view-npm-1.33.3-dfcd5d233e-ebf1506fe6.zip/node_modules/prosemirror-view/",\ + "packageDependencies": [\ + ["prosemirror-view", "npm:1.33.3"],\ + ["prosemirror-model", "npm:1.19.4"],\ + ["prosemirror-state", "npm:1.4.3"],\ + ["prosemirror-transform", "npm:1.8.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["punycode", [\ ["npm:2.3.0", {\ "packageLocation": "./.yarn/cache/punycode-npm-2.3.0-df4bdce06b-39f760e09a.zip/node_modules/punycode/",\ @@ -12222,6 +12304,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["rope-sequence", [\ + ["npm:1.3.4", {\ + "packageLocation": "./.yarn/cache/rope-sequence-npm-1.3.4-3b09587e5f-95cca2f99a.zip/node_modules/rope-sequence/",\ + "packageDependencies": [\ + ["rope-sequence", "npm:1.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["rxjs", [\ ["npm:7.8.1", {\ "packageLocation": "./.yarn/cache/rxjs-npm-7.8.1-41c443a75b-de4b53db10.zip/node_modules/rxjs/",\ @@ -13410,6 +13501,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["w3c-keyname", [\ + ["npm:2.2.8", {\ + "packageLocation": "./.yarn/cache/w3c-keyname-npm-2.2.8-66d7d5317a-95bafa4c04.zip/node_modules/w3c-keyname/",\ + "packageDependencies": [\ + ["w3c-keyname", "npm:2.2.8"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["walker", [\ ["npm:1.0.8", {\ "packageLocation": "./.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip/node_modules/walker/",\ @@ -15472,7 +15572,8 @@ class ZipFS extends BasePortableFakeFS { stream$1.destroy(); }, bytesRead: 0, - path: p + path: p, + pending: false } ); const immediate = setImmediate(async () => { @@ -15513,11 +15614,12 @@ class ZipFS extends BasePortableFakeFS { } }), { - bytesWritten: 0, - path: p, close() { stream$1.destroy(); - } + }, + bytesWritten: 0, + path: p, + pending: false } ); stream$1.on(`data`, (chunk) => { @@ -16457,18 +16559,10 @@ class ProxiedFS extends FakeFS { return this.baseFs.symlinkSync(mappedTarget, mappedP, type); } async readFilePromise(p, encoding) { - if (encoding === `utf8`) { - return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); - } else { - return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); - } + return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); } readFileSync(p, encoding) { - if (encoding === `utf8`) { - return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); - } else { - return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); - } + return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); } async readdirPromise(p, opts) { return this.baseFs.readdirPromise(this.mapToBase(p), opts); @@ -17194,24 +17288,14 @@ class ZipOpenFS extends BasePortableFakeFS { } async readFilePromise(p, encoding) { return this.makeCallPromise(p, async () => { - switch (encoding) { - case `utf8`: - return await this.baseFs.readFilePromise(p, encoding); - default: - return await this.baseFs.readFilePromise(p, encoding); - } + return await this.baseFs.readFilePromise(p, encoding); }, async (zipFs, { subPath }) => { return await zipFs.readFilePromise(subPath, encoding); }); } readFileSync(p, encoding) { return this.makeCallSync(p, () => { - switch (encoding) { - case `utf8`: - return this.baseFs.readFileSync(p, encoding); - default: - return this.baseFs.readFileSync(p, encoding); - } + return this.baseFs.readFileSync(p, encoding); }, (zipFs, { subPath }) => { return zipFs.readFileSync(subPath, encoding); }); @@ -17903,38 +17987,28 @@ function patchFs(patchedFs, fakeFs) { patchedFs.realpathSync.native = patchedFs.realpathSync; } { - const origEmitWarning = process.emitWarning; - process.emitWarning = () => { - }; - let patchedFsPromises; - try { - patchedFsPromises = patchedFs.promises; - } finally { - process.emitWarning = origEmitWarning; - } - if (typeof patchedFsPromises !== `undefined`) { - for (const fnName of ASYNC_IMPLEMENTATIONS) { - const origName = fnName.replace(/Promise$/, ``); - if (typeof patchedFsPromises[origName] === `undefined`) - continue; - const fakeImpl = fakeFs[fnName]; - if (typeof fakeImpl === `undefined`) - continue; - if (fnName === `open`) - continue; - setupFn(patchedFsPromises, origName, (pathLike, ...args) => { - if (pathLike instanceof FileHandle) { - return pathLike[origName].apply(pathLike, args); - } else { - return fakeImpl.call(fakeFs, pathLike, ...args); - } - }); - } - setupFn(patchedFsPromises, `open`, async (...args) => { - const fd = await fakeFs.openPromise(...args); - return new FileHandle(fd, fakeFs); + const patchedFsPromises = patchedFs.promises; + for (const fnName of ASYNC_IMPLEMENTATIONS) { + const origName = fnName.replace(/Promise$/, ``); + if (typeof patchedFsPromises[origName] === `undefined`) + continue; + const fakeImpl = fakeFs[fnName]; + if (typeof fakeImpl === `undefined`) + continue; + if (fnName === `open`) + continue; + setupFn(patchedFsPromises, origName, (pathLike, ...args) => { + if (pathLike instanceof FileHandle) { + return pathLike[origName].apply(pathLike, args); + } else { + return fakeImpl.call(fakeFs, pathLike, ...args); + } }); } + setupFn(patchedFsPromises, `open`, async (...args) => { + const fd = await fakeFs.openPromise(...args); + return new FileHandle(fd, fakeFs); + }); } { patchedFs.read[nodeUtils.promisify.custom] = async (fd, buffer, ...args) => { diff --git a/.pnp.loader.mjs b/.pnp.loader.mjs index 849d760f..ba66000d 100644 --- a/.pnp.loader.mjs +++ b/.pnp.loader.mjs @@ -1190,18 +1190,10 @@ class ProxiedFS extends FakeFS { return this.baseFs.symlinkSync(mappedTarget, mappedP, type); } async readFilePromise(p, encoding) { - if (encoding === `utf8`) { - return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); - } else { - return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); - } + return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); } readFileSync(p, encoding) { - if (encoding === `utf8`) { - return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); - } else { - return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); - } + return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); } async readdirPromise(p, opts) { return this.baseFs.readdirPromise(this.mapToBase(p), opts); diff --git a/.yarn/cache/@toast-ui-editor-npm-2.5.4-7f11654660-3396e34f88.zip b/.yarn/cache/@toast-ui-editor-npm-2.5.4-7f11654660-3396e34f88.zip deleted file mode 100644 index b9b008c3..00000000 Binary files a/.yarn/cache/@toast-ui-editor-npm-2.5.4-7f11654660-3396e34f88.zip and /dev/null differ diff --git a/.yarn/cache/@toast-ui-editor-npm-3.2.2-8b6a9786fd-b1772a1a15.zip b/.yarn/cache/@toast-ui-editor-npm-3.2.2-8b6a9786fd-b1772a1a15.zip new file mode 100644 index 00000000..bcf09fca Binary files /dev/null and b/.yarn/cache/@toast-ui-editor-npm-3.2.2-8b6a9786fd-b1772a1a15.zip differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-1.0.0-d5b1d0b194-a6dc6ebf0e.zip b/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-1.0.0-d5b1d0b194-a6dc6ebf0e.zip deleted file mode 100644 index 829ef6ad..00000000 Binary files a/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-1.0.0-d5b1d0b194-a6dc6ebf0e.zip and /dev/null differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-3.1.0-c1ad588de9-cdef0f5da7.zip b/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-3.1.0-c1ad588de9-cdef0f5da7.zip new file mode 100644 index 00000000..8dc22aa4 Binary files /dev/null and b/.yarn/cache/@toast-ui-editor-plugin-code-syntax-highlight-npm-3.1.0-c1ad588de9-cdef0f5da7.zip differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-1.0.1-09e9693014-314ece0009.zip b/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-1.0.1-09e9693014-314ece0009.zip deleted file mode 100644 index 22ddd17b..00000000 Binary files a/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-1.0.1-09e9693014-314ece0009.zip and /dev/null differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-3.1.0-1688766a0c-e4f47afbdc.zip b/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-3.1.0-1688766a0c-e4f47afbdc.zip new file mode 100644 index 00000000..15dae09b Binary files /dev/null and b/.yarn/cache/@toast-ui-editor-plugin-color-syntax-npm-3.1.0-1688766a0c-e4f47afbdc.zip differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-1.3.2-f66ccefbc8-65540bf862.zip b/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-1.3.2-f66ccefbc8-65540bf862.zip deleted file mode 100644 index 0ea76191..00000000 Binary files a/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-1.3.2-f66ccefbc8-65540bf862.zip and /dev/null differ diff --git a/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-3.1.0-5d381a9972-0dc4f30d1f.zip b/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-3.1.0-5d381a9972-0dc4f30d1f.zip new file mode 100644 index 00000000..9868e353 Binary files /dev/null and b/.yarn/cache/@toast-ui-editor-plugin-table-merged-cell-npm-3.1.0-5d381a9972-0dc4f30d1f.zip differ diff --git a/.yarn/cache/@toast-ui-react-editor-npm-2.5.4-a70a12fb83-d9ddc17c8b.zip b/.yarn/cache/@toast-ui-react-editor-npm-2.5.4-a70a12fb83-d9ddc17c8b.zip deleted file mode 100644 index f59ea9a9..00000000 Binary files a/.yarn/cache/@toast-ui-react-editor-npm-2.5.4-a70a12fb83-d9ddc17c8b.zip and /dev/null differ diff --git a/.yarn/cache/@toast-ui-react-editor-npm-3.2.3-aed61aa676-5ffd6f9b27.zip b/.yarn/cache/@toast-ui-react-editor-npm-3.2.3-aed61aa676-5ffd6f9b27.zip new file mode 100644 index 00000000..74438ca2 Binary files /dev/null and b/.yarn/cache/@toast-ui-react-editor-npm-3.2.3-aed61aa676-5ffd6f9b27.zip differ diff --git a/.yarn/cache/@types-codemirror-npm-0.0.71-8815305d0d-185d7f6293.zip b/.yarn/cache/@types-codemirror-npm-0.0.71-8815305d0d-185d7f6293.zip deleted file mode 100644 index c4a5eba5..00000000 Binary files a/.yarn/cache/@types-codemirror-npm-0.0.71-8815305d0d-185d7f6293.zip and /dev/null differ diff --git a/.yarn/cache/@types-estree-npm-1.0.2-6148f5f697-aeedb1b2fe.zip b/.yarn/cache/@types-estree-npm-1.0.2-6148f5f697-aeedb1b2fe.zip deleted file mode 100644 index 92bde3c6..00000000 Binary files a/.yarn/cache/@types-estree-npm-1.0.2-6148f5f697-aeedb1b2fe.zip and /dev/null differ diff --git a/.yarn/cache/@types-tern-npm-0.23.5-043a47d3b3-aa163dab0c.zip b/.yarn/cache/@types-tern-npm-0.23.5-043a47d3b3-aa163dab0c.zip deleted file mode 100644 index e25c357f..00000000 Binary files a/.yarn/cache/@types-tern-npm-0.23.5-043a47d3b3-aa163dab0c.zip and /dev/null differ diff --git a/.yarn/cache/codemirror-npm-5.65.15-849f48275a-30e0cff9bf.zip b/.yarn/cache/codemirror-npm-5.65.15-849f48275a-30e0cff9bf.zip deleted file mode 100644 index 0b8005aa..00000000 Binary files a/.yarn/cache/codemirror-npm-5.65.15-849f48275a-30e0cff9bf.zip and /dev/null differ diff --git a/.yarn/cache/dompurify-npm-2.4.9-602c012b90-f02c6bb709.zip b/.yarn/cache/dompurify-npm-2.4.9-602c012b90-f02c6bb709.zip new file mode 100644 index 00000000..42a50b5f Binary files /dev/null and b/.yarn/cache/dompurify-npm-2.4.9-602c012b90-f02c6bb709.zip differ diff --git a/.yarn/cache/highlight.js-npm-9.18.5-571500f48d-a8afdb3958.zip b/.yarn/cache/highlight.js-npm-9.18.5-571500f48d-a8afdb3958.zip deleted file mode 100644 index 8197ac20..00000000 Binary files a/.yarn/cache/highlight.js-npm-9.18.5-571500f48d-a8afdb3958.zip and /dev/null differ diff --git a/.yarn/cache/orderedmap-npm-2.1.1-64b8a0684f-082cf970b0.zip b/.yarn/cache/orderedmap-npm-2.1.1-64b8a0684f-082cf970b0.zip new file mode 100644 index 00000000..26231783 Binary files /dev/null and b/.yarn/cache/orderedmap-npm-2.1.1-64b8a0684f-082cf970b0.zip differ diff --git a/.yarn/cache/prismjs-npm-1.29.0-6faa5b04b8-007a8869d4.zip b/.yarn/cache/prismjs-npm-1.29.0-6faa5b04b8-007a8869d4.zip new file mode 100644 index 00000000..25137aad Binary files /dev/null and b/.yarn/cache/prismjs-npm-1.29.0-6faa5b04b8-007a8869d4.zip differ diff --git a/.yarn/cache/prosemirror-commands-npm-1.5.2-27f8f3fee9-ff65063a8c.zip b/.yarn/cache/prosemirror-commands-npm-1.5.2-27f8f3fee9-ff65063a8c.zip new file mode 100644 index 00000000..25f32d24 Binary files /dev/null and b/.yarn/cache/prosemirror-commands-npm-1.5.2-27f8f3fee9-ff65063a8c.zip differ diff --git a/.yarn/cache/prosemirror-history-npm-1.4.0-b8231d46ae-f60f605fc6.zip b/.yarn/cache/prosemirror-history-npm-1.4.0-b8231d46ae-f60f605fc6.zip new file mode 100644 index 00000000..f26692f4 Binary files /dev/null and b/.yarn/cache/prosemirror-history-npm-1.4.0-b8231d46ae-f60f605fc6.zip differ diff --git a/.yarn/cache/prosemirror-inputrules-npm-1.4.0-14c674c300-b893eff382.zip b/.yarn/cache/prosemirror-inputrules-npm-1.4.0-14c674c300-b893eff382.zip new file mode 100644 index 00000000..d4a8acdd Binary files /dev/null and b/.yarn/cache/prosemirror-inputrules-npm-1.4.0-14c674c300-b893eff382.zip differ diff --git a/.yarn/cache/prosemirror-keymap-npm-1.2.2-efb8276b00-85fe4fc303.zip b/.yarn/cache/prosemirror-keymap-npm-1.2.2-efb8276b00-85fe4fc303.zip new file mode 100644 index 00000000..a22e0428 Binary files /dev/null and b/.yarn/cache/prosemirror-keymap-npm-1.2.2-efb8276b00-85fe4fc303.zip differ diff --git a/.yarn/cache/prosemirror-model-npm-1.19.4-4fd32211c8-12c277ed30.zip b/.yarn/cache/prosemirror-model-npm-1.19.4-4fd32211c8-12c277ed30.zip new file mode 100644 index 00000000..fd1305f9 Binary files /dev/null and b/.yarn/cache/prosemirror-model-npm-1.19.4-4fd32211c8-12c277ed30.zip differ diff --git a/.yarn/cache/prosemirror-state-npm-1.4.3-d6540e44ad-28857d935c.zip b/.yarn/cache/prosemirror-state-npm-1.4.3-d6540e44ad-28857d935c.zip new file mode 100644 index 00000000..5d1d11a7 Binary files /dev/null and b/.yarn/cache/prosemirror-state-npm-1.4.3-d6540e44ad-28857d935c.zip differ diff --git a/.yarn/cache/prosemirror-transform-npm-1.8.0-ea3ca0411f-6d16ca4f95.zip b/.yarn/cache/prosemirror-transform-npm-1.8.0-ea3ca0411f-6d16ca4f95.zip new file mode 100644 index 00000000..6581d3f3 Binary files /dev/null and b/.yarn/cache/prosemirror-transform-npm-1.8.0-ea3ca0411f-6d16ca4f95.zip differ diff --git a/.yarn/cache/prosemirror-view-npm-1.33.3-dfcd5d233e-ebf1506fe6.zip b/.yarn/cache/prosemirror-view-npm-1.33.3-dfcd5d233e-ebf1506fe6.zip new file mode 100644 index 00000000..8d3adc67 Binary files /dev/null and b/.yarn/cache/prosemirror-view-npm-1.33.3-dfcd5d233e-ebf1506fe6.zip differ diff --git a/.yarn/cache/rope-sequence-npm-1.3.4-3b09587e5f-95cca2f99a.zip b/.yarn/cache/rope-sequence-npm-1.3.4-3b09587e5f-95cca2f99a.zip new file mode 100644 index 00000000..07a75fb5 Binary files /dev/null and b/.yarn/cache/rope-sequence-npm-1.3.4-3b09587e5f-95cca2f99a.zip differ diff --git a/.yarn/cache/w3c-keyname-npm-2.2.8-66d7d5317a-95bafa4c04.zip b/.yarn/cache/w3c-keyname-npm-2.2.8-66d7d5317a-95bafa4c04.zip new file mode 100644 index 00000000..f2886461 Binary files /dev/null and b/.yarn/cache/w3c-keyname-npm-2.2.8-66d7d5317a-95bafa4c04.zip differ diff --git a/.yarnrc.yml b/.yarnrc.yml index e93ff6f3..d319f77a 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,12 +1,15 @@ nodeLinker: pnp packageExtensions: - "@types/redux-devtools-extension@^2.13.2": + '@types/redux-devtools-extension@^2.13.2': dependencies: redux: ^4.2.1 antd-style@^3.6.1: dependencies: react-dom: ^18.2.0 + '@toast-ui/editor@^3.2.2': + dependencies: + prosemirror-transform: ^1.8.0 supportedArchitectures: cpu: diff --git a/apps/web-client/package.json b/apps/web-client/package.json index 3f8ef1fc..e31084de 100644 --- a/apps/web-client/package.json +++ b/apps/web-client/package.json @@ -9,11 +9,11 @@ "@emotion/styled": "^11.11.0", "@mantine/form": "^6.0.19", "@tanstack/react-query": "^5.17.0", - "@toast-ui/editor": "^2.5.4", - "@toast-ui/editor-plugin-code-syntax-highlight": "^1.0.0", - "@toast-ui/editor-plugin-color-syntax": "^1.0.1", - "@toast-ui/editor-plugin-table-merged-cell": "^1.3.2", - "@toast-ui/react-editor": "^2.5.4", + "@toast-ui/editor": "^3.2.2", + "@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0", + "@toast-ui/editor-plugin-color-syntax": "^3.1.0", + "@toast-ui/editor-plugin-table-merged-cell": "^3.1.0", + "@toast-ui/react-editor": "^3.2.3", "antd": "^5.7.3", "antd-style": "^3.6.1", "axios": "^0.21.2", @@ -63,17 +63,5 @@ "codegen": "openapi -i https://poolc.org/api/v2/api-docs -o src/lib/api-v2/__generated__ -c axios --useUnionTypes --useOptions", "postinstall": "yarn codegen", "prettier": "prettier --write ." - }, - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] } } diff --git a/apps/web-client/src/App.tsx b/apps/web-client/src/App.tsx index a12572fb..1437c5c0 100644 --- a/apps/web-client/src/App.tsx +++ b/apps/web-client/src/App.tsx @@ -6,7 +6,6 @@ import { createStyles } from 'antd-style'; import { lazy, Suspense } from 'react'; // toast ui - global -import 'codemirror/lib/codemirror.css'; import '@toast-ui/editor/dist/toastui-editor.css'; const useStyles = createStyles(({ css }) => ({ diff --git a/yarn.lock b/yarn.lock index 5880e371..6d437128 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2584,11 +2584,11 @@ __metadata: "@emotion/styled": ^11.11.0 "@mantine/form": ^6.0.19 "@tanstack/react-query": ^5.17.0 - "@toast-ui/editor": ^2.5.4 - "@toast-ui/editor-plugin-code-syntax-highlight": ^1.0.0 - "@toast-ui/editor-plugin-color-syntax": ^1.0.1 - "@toast-ui/editor-plugin-table-merged-cell": ^1.3.2 - "@toast-ui/react-editor": ^2.5.4 + "@toast-ui/editor": ^3.2.2 + "@toast-ui/editor-plugin-code-syntax-highlight": ^3.1.0 + "@toast-ui/editor-plugin-color-syntax": ^3.1.0 + "@toast-ui/editor-plugin-table-merged-cell": ^3.1.0 + "@toast-ui/react-editor": ^3.2.3 "@types/node": ^18.15.3 "@types/qs": ^6.9.7 "@types/react": ^18.2.46 @@ -2966,49 +2966,55 @@ __metadata: languageName: node linkType: hard -"@toast-ui/editor-plugin-code-syntax-highlight@npm:^1.0.0": - version: 1.0.0 - resolution: "@toast-ui/editor-plugin-code-syntax-highlight@npm:1.0.0" +"@toast-ui/editor-plugin-code-syntax-highlight@npm:^3.1.0": + version: 3.1.0 + resolution: "@toast-ui/editor-plugin-code-syntax-highlight@npm:3.1.0" dependencies: - highlight.js: ^9.18.1 - checksum: a6dc6ebf0ea1b5d596eed69b44fdcb3b0d00819e8d3c3b7e569ecc8e7001e0e6d4d38a9447b7a4e3c9e2dad47e84b0db40e2281655a208f106dce3a0360f7ffa + prismjs: ^1.23.0 + checksum: cdef0f5da7d1d7d693bc514ff9e570211baa01e1937a86fa35b5216667a8e15cb34d38063b3261fdd21970e42125b0778c6c767a3f535306ac223ab15ed0d9be languageName: node linkType: hard -"@toast-ui/editor-plugin-color-syntax@npm:^1.0.1": - version: 1.0.1 - resolution: "@toast-ui/editor-plugin-color-syntax@npm:1.0.1" +"@toast-ui/editor-plugin-color-syntax@npm:^3.1.0": + version: 3.1.0 + resolution: "@toast-ui/editor-plugin-color-syntax@npm:3.1.0" dependencies: tui-color-picker: ^2.2.6 - checksum: 314ece00090aaf84a911379ef35c560e1d9ad2fa5b22f16de0f3d9fcfebc7392dd93963134b70033a351a0d043b84d7583193d5b7debd3117b74d484b2af9d6b + checksum: e4f47afbdc291c2f60103779c6423b081de8605f53ec7bebac83d5c7842fe0e679b3a94ac2970b2aeff3fff6394f803ca3344861a0f5d269f25c45b5e3dd868e languageName: node linkType: hard -"@toast-ui/editor-plugin-table-merged-cell@npm:^1.3.2": - version: 1.3.2 - resolution: "@toast-ui/editor-plugin-table-merged-cell@npm:1.3.2" - checksum: 65540bf8629e520d4587cdec85f2867a33f86d3ef72035268e1cc769e09ce25beee015aa0d13e1f61f79a4ca412c5454aa78117d0758a76aa5cbbd22963d1dc4 +"@toast-ui/editor-plugin-table-merged-cell@npm:^3.1.0": + version: 3.1.0 + resolution: "@toast-ui/editor-plugin-table-merged-cell@npm:3.1.0" + checksum: 0dc4f30d1fb844f0edafd445389eab49d24c777716549c192f390cfc3e5bf184d90a68e74220cbf468f4be8dba2c1b33096d46460d29c4a345c68c0590df2449 languageName: node linkType: hard -"@toast-ui/editor@npm:^2.5.4": - version: 2.5.4 - resolution: "@toast-ui/editor@npm:2.5.4" +"@toast-ui/editor@npm:^3.2.2": + version: 3.2.2 + resolution: "@toast-ui/editor@npm:3.2.2" dependencies: - "@types/codemirror": 0.0.71 - codemirror: ^5.48.4 - checksum: 3396e34f881c667fa3766f206266c131d5e4eb1d5aff7fb6815601e7b7fbb0af5d93949368d6bb8ca0c915ddf57060249715f892fb428d228234e22243955580 + dompurify: ^2.3.3 + prosemirror-commands: ^1.1.9 + prosemirror-history: ^1.1.3 + prosemirror-inputrules: ^1.1.3 + prosemirror-keymap: ^1.1.4 + prosemirror-model: ^1.14.1 + prosemirror-state: ^1.3.4 + prosemirror-view: ^1.18.7 + checksum: b1772a1a159823f423cdfc0f56a0a10cdf7ba33114f6be5157c0531a608e178f47b800ae6a9a79538472ab8cd2ccbfae0ba9cde5aefad84e04272173e54cfa75 languageName: node linkType: hard -"@toast-ui/react-editor@npm:^2.5.4": - version: 2.5.4 - resolution: "@toast-ui/react-editor@npm:2.5.4" +"@toast-ui/react-editor@npm:^3.2.3": + version: 3.2.3 + resolution: "@toast-ui/react-editor@npm:3.2.3" dependencies: - "@toast-ui/editor": ^2.5.4 + "@toast-ui/editor": ^3.2.2 peerDependencies: - react: ^16.0.0 - checksum: d9ddc17c8b2001f7dbc0b1f12b2df85b71b2ce9e1ae7717dcac6c5f5f96ce241bc4c89335e777fd0be693a0639172998d428227e4853f23c333fbf3bcab227aa + react: ^17.0.1 + checksum: 5ffd6f9b27362f9ebcbaa4188d44157ac4edcd837b1c6ddeeacdbb599c8463dd249946d1c4b31040309b658acd08070d3e2bcf1af5699f5fd80c5997aa67fa17 languageName: node linkType: hard @@ -3080,15 +3086,6 @@ __metadata: languageName: node linkType: hard -"@types/codemirror@npm:0.0.71": - version: 0.0.71 - resolution: "@types/codemirror@npm:0.0.71" - dependencies: - "@types/tern": "*" - checksum: 185d7f62935e6e7f806d07f2e4cb5201fd9f35b2a68d10a3aa399c96f46dc66dcea7ad9b02a4f43a6286fe4e5fc16a46408cc8500d4687a07553ccdaaec69d9c - languageName: node - linkType: hard - "@types/date-arithmetic@npm:*": version: 4.1.4 resolution: "@types/date-arithmetic@npm:4.1.4" @@ -3096,13 +3093,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*": - version: 1.0.2 - resolution: "@types/estree@npm:1.0.2" - checksum: aeedb1b2fe20cbe06f44b99b562bf9703e360bfcdf5bb3d61d248182ee1dd63500f2474e12f098ffe1f5ac3202b43b3e18ec99902d9328d5374f5512fa077e45 - languageName: node - linkType: hard - "@types/estree@npm:1.0.5": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" @@ -3306,15 +3296,6 @@ __metadata: languageName: node linkType: hard -"@types/tern@npm:*": - version: 0.23.5 - resolution: "@types/tern@npm:0.23.5" - dependencies: - "@types/estree": "*" - checksum: aa163dab0cc9ebfa8e09417dba11fb990eede311cb1fceefe0d61a67a83fda7a1565b6965e76c9a15a08039f26890482a16e3b2b5ff326f06e83dce5ded4a2dc - languageName: node - linkType: hard - "@types/warning@npm:^3.0.0": version: 3.0.3 resolution: "@types/warning@npm:3.0.3" @@ -4231,13 +4212,6 @@ __metadata: languageName: node linkType: hard -"codemirror@npm:^5.48.4": - version: 5.65.15 - resolution: "codemirror@npm:5.65.15" - checksum: 30e0cff9bfb2265b94fa6766e13975cb71db228e114d6d8cdcc160b495e32b0ff921ac09959715e3fef30a48c5a9d0655ffd0ff6c5fe7024656add438bb2b058 - languageName: node - linkType: hard - "codemirror@npm:^5.65.15": version: 5.65.16 resolution: "codemirror@npm:5.65.16" @@ -4620,6 +4594,13 @@ __metadata: languageName: node linkType: hard +"dompurify@npm:^2.3.3": + version: 2.4.9 + resolution: "dompurify@npm:2.4.9" + checksum: f02c6bb709946716c111e66520ee7ac51fa3982490d7db169c144f541cf97908fae59d854aa53f84f839f3086d3501c4ab392198d48167969cd93fa99eb64e18 + languageName: node + linkType: hard + "duplexer2@npm:^0.1.2": version: 0.1.4 resolution: "duplexer2@npm:0.1.4" @@ -5749,13 +5730,6 @@ __metadata: languageName: node linkType: hard -"highlight.js@npm:^9.18.1": - version: 9.18.5 - resolution: "highlight.js@npm:9.18.5" - checksum: a8afdb395869bba8a892dd8891b738d3bd48fe2e5b6843ec3181c93d73f52abf2cab863424caa631442a7bbafac222bafdab3f5a536a69aab9c60d4c1b7f8b77 - languageName: node - linkType: hard - "history@npm:^4.9.0": version: 4.10.1 resolution: "history@npm:4.10.1" @@ -7550,6 +7524,13 @@ __metadata: languageName: node linkType: hard +"orderedmap@npm:^2.0.0": + version: 2.1.1 + resolution: "orderedmap@npm:2.1.1" + checksum: 082cf970b0b66d1c5a904b07880534092ce8a2f2eea7a52cf111f6c956210fa88226c13866aef4d22a3abe56924f21ead12f7ee8c1dfaf2f63d897a4e7c23328 + languageName: node + linkType: hard + "p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" @@ -7776,6 +7757,13 @@ __metadata: languageName: node linkType: hard +"prismjs@npm:^1.23.0": + version: 1.29.0 + resolution: "prismjs@npm:1.29.0" + checksum: 007a8869d4456ff8049dc59404e32d5666a07d99c3b0e30a18bd3b7676dfa07d1daae9d0f407f20983865fd8da56de91d09cb08e6aa61f5bc420a27c0beeaf93 + languageName: node + linkType: hard + "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -7821,6 +7809,89 @@ __metadata: languageName: node linkType: hard +"prosemirror-commands@npm:^1.1.9": + version: 1.5.2 + resolution: "prosemirror-commands@npm:1.5.2" + dependencies: + prosemirror-model: ^1.0.0 + prosemirror-state: ^1.0.0 + prosemirror-transform: ^1.0.0 + checksum: ff65063a8c7ba1044eb193f31ddaf75a6a9ae656c5e2ccb9e546263b85f016419bcb1a1b6eae7a5004c377775acd3ac3c97d291adb11b71e3ddf26dcb211008d + languageName: node + linkType: hard + +"prosemirror-history@npm:^1.1.3": + version: 1.4.0 + resolution: "prosemirror-history@npm:1.4.0" + dependencies: + prosemirror-state: ^1.2.2 + prosemirror-transform: ^1.0.0 + prosemirror-view: ^1.31.0 + rope-sequence: ^1.3.0 + checksum: f60f605fc6aee86a8cb90f703c2c607bc30535a92010b8254e78c81695ee5b8dbb00fb50c70845163d2fb11aa397db4de9541e38eb2d3bfb2ec663d237bb5efb + languageName: node + linkType: hard + +"prosemirror-inputrules@npm:^1.1.3": + version: 1.4.0 + resolution: "prosemirror-inputrules@npm:1.4.0" + dependencies: + prosemirror-state: ^1.0.0 + prosemirror-transform: ^1.0.0 + checksum: b893eff382b585aa934e41a7bcbb02cd9ce5199bc6e939ef3f1629aeaf181320f2b52a0d088cb6432aa10c4536c3b5ea67a15e66ef24714a3b3f9e89d0f29ef4 + languageName: node + linkType: hard + +"prosemirror-keymap@npm:^1.1.4": + version: 1.2.2 + resolution: "prosemirror-keymap@npm:1.2.2" + dependencies: + prosemirror-state: ^1.0.0 + w3c-keyname: ^2.2.0 + checksum: 85fe4fc3038499b6dabd9a16581c0ee7a4358835c200f8a6a17dbe05733ea3df1f2571b0d02c071dbd51ce32e909da3ebb9227f25434587238e89f8c9ba293f9 + languageName: node + linkType: hard + +"prosemirror-model@npm:^1.0.0, prosemirror-model@npm:^1.14.1, prosemirror-model@npm:^1.16.0": + version: 1.19.4 + resolution: "prosemirror-model@npm:1.19.4" + dependencies: + orderedmap: ^2.0.0 + checksum: 12c277ed30e8ea33ee29097b69752a4622cdb9bae76ba8995c30c15f77f59ee64d7c455906c884598564758174c2e7e0b1a2916c139295e0f34a763188cc7275 + languageName: node + linkType: hard + +"prosemirror-state@npm:^1.0.0, prosemirror-state@npm:^1.2.2, prosemirror-state@npm:^1.3.4": + version: 1.4.3 + resolution: "prosemirror-state@npm:1.4.3" + dependencies: + prosemirror-model: ^1.0.0 + prosemirror-transform: ^1.0.0 + prosemirror-view: ^1.27.0 + checksum: 28857d935c443efae185407e2b6fe4ab481840a3609dfac344ee16eeeaebf39765207c8e525bd628d72755f9257cd51a743e543c8c9d4357b7e67ab22c9dc44c + languageName: node + linkType: hard + +"prosemirror-transform@npm:^1.0.0, prosemirror-transform@npm:^1.1.0, prosemirror-transform@npm:^1.8.0": + version: 1.8.0 + resolution: "prosemirror-transform@npm:1.8.0" + dependencies: + prosemirror-model: ^1.0.0 + checksum: 6d16ca4f954ad7b040a4adbb5ddfa8c8ad14b0514f15e1ecfd5e32f08eb3f8696492975b9e599b4776e991ab76df114166dcf6ec7b966a67b02b2069a28415f1 + languageName: node + linkType: hard + +"prosemirror-view@npm:^1.18.7, prosemirror-view@npm:^1.27.0, prosemirror-view@npm:^1.31.0": + version: 1.33.3 + resolution: "prosemirror-view@npm:1.33.3" + dependencies: + prosemirror-model: ^1.16.0 + prosemirror-state: ^1.0.0 + prosemirror-transform: ^1.1.0 + checksum: ebf1506fe67615c9b51abdadcd248feaa228996669b3483ed51564b3160231333fb3d537044fc094497635e0203ccdf1bfdd616f3152ece91c598e9fb22c18a5 + languageName: node + linkType: hard + "punycode@npm:^2.1.0": version: 2.3.0 resolution: "punycode@npm:2.3.0" @@ -8999,6 +9070,13 @@ __metadata: languageName: node linkType: hard +"rope-sequence@npm:^1.3.0": + version: 1.3.4 + resolution: "rope-sequence@npm:1.3.4" + checksum: 95cca2f99af3d0d1f2f5e2781b6ae352c05e024c25f17f68a9b3ff31c651c8c46f096c70c46b561898e0bc94d261dfed60148f3aa009d1e98280e14ab0fe1438 + languageName: node + linkType: hard + "rxjs@npm:^7.8.1": version: 7.8.1 resolution: "rxjs@npm:7.8.1" @@ -10003,6 +10081,13 @@ __metadata: languageName: node linkType: hard +"w3c-keyname@npm:^2.2.0": + version: 2.2.8 + resolution: "w3c-keyname@npm:2.2.8" + checksum: 95bafa4c04fa2f685a86ca1000069c1ec43ace1f8776c10f226a73296caeddd83f893db885c2c220ebeb6c52d424e3b54d7c0c1e963bbf204038ff1a944fbb07 + languageName: node + linkType: hard + "walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8"