diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 97c24ffe39..709136338b 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,7 +19,7 @@ "@seafile/resumablejs": "1.1.16", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "2.0.9", - "@seafile/seafile-sdoc-editor": "2.0.2", + "@seafile/seafile-sdoc-editor": "2.0.3", "@seafile/stldraw-editor": "1.0.1", "@uiw/codemirror-extensions-langs": "^4.19.4", "@uiw/codemirror-themes": "^4.23.5", @@ -5511,6 +5511,116 @@ "integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig==", "license": "MIT" }, + "node_modules/@seafile/sdoc-editor": { + "version": "2.0.86", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.86.tgz", + "integrity": "sha512-E5/ENuG6wqACLqaZrEJ0eG+FlHk7KT9rvU8b4qK3LYFW55YgfbfTX/tnb+a5UMEgonGp2OueZcstWqQhkUpD2A==", + "license": "ISC", + "dependencies": { + "@seafile/print-js": "1.6.6", + "@seafile/react-image-lightbox": "4.0.2", + "@seafile/slate": "0.91.8", + "@seafile/slate-history": "0.86.2", + "@seafile/slate-hyperscript": "0.81.7", + "@seafile/slate-react": "0.92.8", + "axios": "^1.8.2", + "classnames": "2.3.2", + "copy-to-clipboard": "^3.3.3", + "dayjs": "1.10.7", + "deep-copy": "1.4.2", + "is-hotkey": "0.2.0", + "is-url": "^1.2.4", + "lodash.throttle": "4.1.1", + "prismjs": "^1.30.0", + "randomcolor": "0.6.2", + "react-color": "2.19.3", + "react-transition-group": "4.4.5", + "rehype-format": "5.0.0", + "rehype-mathjax": "5.0.0", + "rehype-raw": "7.0.0", + "rehype-sanitize": "6.0.0", + "rehype-slug": "6.0.0", + "rehype-stringify": "9.0.4", + "remark-breaks": "4.0.0", + "remark-gfm": "4.0.0", + "remark-math": "6.0.0", + "remark-parse": "11.0.0", + "remark-rehype": "11.0.0", + "remark-stringify": "11.0.0", + "slugid": "3.2.0", + "socket.io-client": "4.8.1", + "type-of": "2.0.1", + "unified": "11.0.3", + "url-join": "4.0.1", + "url-parse": "1.5.10" + }, + "peerDependencies": { + "i18next": "^17.0.13", + "i18next-browser-languagedetector": "^3.0.3", + "i18next-xhr-backend": "^3.1.2", + "react": "^18.3.0", + "react-dom": "^18.3.1", + "react-i18next": "^10.12.2", + "reactstrap": "^9.2.3" + } + }, + "node_modules/@seafile/sdoc-editor/node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/@seafile/sdoc-editor/node_modules/classnames": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz", + "integrity": "sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==", + "license": "MIT" + }, + "node_modules/@seafile/sdoc-editor/node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@seafile/sdoc-editor/node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/@seafile/sdoc-editor/node_modules/unified": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.3.tgz", + "integrity": "sha512-jlCV402P+YDcFcB2VcN/n8JasOddqIiaxv118wNBoZXEhOn+lYG7BR4Bfg2BwxvlK58dwbuH2w7GX2esAjL6Mg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/@seafile/seafile-calendar": { "version": "0.0.28", "resolved": "https://registry.npmmirror.com/@seafile/seafile-calendar/-/seafile-calendar-0.0.28.tgz", @@ -5630,13 +5740,13 @@ } }, "node_modules/@seafile/seafile-sdoc-editor": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.2.tgz", - "integrity": "sha512-9MTNPAxuJjhJi54NJxxC7jYzXbgcTUO6ZAfH8TE8bUcTrAGWJYZkj35Yzi2wilVUtvpSz2SEh5HS8vQ3GbhqAg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.3.tgz", + "integrity": "sha512-76K8nxqUvXxMHN9iyYH72WpPHeh4C18EQ+WrAaG3Qf6uY7J6mO12WcetNNfZXcCOiQa4i6Vc5lll/KilifeW0w==", "license": "ISC", "dependencies": { "@seafile/print-js": "1.6.6", - "@seafile/sdoc-editor": "^2.0.85", + "@seafile/sdoc-editor": "^2.0.86", "classnames": "2.3.2", "dayjs": "1.10.7" }, @@ -5650,116 +5760,12 @@ "reactstrap": "^9.2.3" } }, - "node_modules/@seafile/seafile-sdoc-editor/node_modules/@seafile/sdoc-editor": { - "version": "2.0.85", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.85.tgz", - "integrity": "sha512-0yScKld0zRCJEv70CQfT2drZUz2BL4cKh3zIKf0HLAe/s5M3Tvp6MGsbIn29QJikVo7HWMYcLZF91dUcOPt/Ng==", - "license": "ISC", - "dependencies": { - "@seafile/print-js": "1.6.6", - "@seafile/react-image-lightbox": "4.0.2", - "@seafile/slate": "0.91.8", - "@seafile/slate-history": "0.86.2", - "@seafile/slate-hyperscript": "0.81.7", - "@seafile/slate-react": "0.92.8", - "axios": "^1.8.2", - "classnames": "2.3.2", - "copy-to-clipboard": "^3.3.3", - "dayjs": "1.10.7", - "deep-copy": "1.4.2", - "is-hotkey": "0.2.0", - "is-url": "^1.2.4", - "lodash.throttle": "4.1.1", - "prismjs": "^1.30.0", - "randomcolor": "0.6.2", - "react-color": "2.19.3", - "react-transition-group": "4.4.5", - "rehype-format": "5.0.0", - "rehype-mathjax": "5.0.0", - "rehype-raw": "7.0.0", - "rehype-sanitize": "6.0.0", - "rehype-slug": "6.0.0", - "rehype-stringify": "9.0.4", - "remark-breaks": "4.0.0", - "remark-gfm": "4.0.0", - "remark-math": "6.0.0", - "remark-parse": "11.0.0", - "remark-rehype": "11.0.0", - "remark-stringify": "11.0.0", - "slugid": "3.2.0", - "socket.io-client": "4.8.1", - "type-of": "2.0.1", - "unified": "11.0.3", - "url-join": "4.0.1", - "url-parse": "1.5.10" - }, - "peerDependencies": { - "i18next": "^17.0.13", - "i18next-browser-languagedetector": "^3.0.3", - "i18next-xhr-backend": "^3.1.2", - "react": "^18.3.0", - "react-dom": "^18.3.1", - "react-i18next": "^10.12.2", - "reactstrap": "^9.2.3" - } - }, - "node_modules/@seafile/seafile-sdoc-editor/node_modules/bail": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", - "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/@seafile/seafile-sdoc-editor/node_modules/classnames": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz", "integrity": "sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==", "license": "MIT" }, - "node_modules/@seafile/seafile-sdoc-editor/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@seafile/seafile-sdoc-editor/node_modules/trough": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", - "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/@seafile/seafile-sdoc-editor/node_modules/unified": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.3.tgz", - "integrity": "sha512-jlCV402P+YDcFcB2VcN/n8JasOddqIiaxv118wNBoZXEhOn+lYG7BR4Bfg2BwxvlK58dwbuH2w7GX2esAjL6Mg==", - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "bail": "^2.0.0", - "devlop": "^1.0.0", - "extend": "^3.0.0", - "is-plain-obj": "^4.0.0", - "trough": "^2.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/@seafile/slate": { "version": "0.91.8", "resolved": "https://registry.npmjs.org/@seafile/slate/-/slate-0.91.8.tgz", diff --git a/frontend/package.json b/frontend/package.json index e0f1ea8f6d..48c0122654 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -14,7 +14,7 @@ "@seafile/resumablejs": "1.1.16", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "2.0.9", - "@seafile/seafile-sdoc-editor": "2.0.2", + "@seafile/seafile-sdoc-editor": "2.0.3", "@seafile/stldraw-editor": "1.0.1", "@uiw/codemirror-extensions-langs": "^4.19.4", "@uiw/codemirror-themes": "^4.23.5",