From dceb72cc5a5a8cd5865839e9906f1a04639e18bb Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 29 Apr 2021 23:56:04 +0800 Subject: [PATCH] fix: comment reply content cannot wrap. (#322) --- package.json | 6 +++--- src/views/comment/components/CommentTab.vue | 2 +- yarn.lock | 24 ++++++++++----------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index c83d1d4b0..5efeeed18 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "filepond-plugin-image-preview": "^4.6.6", "flv.js": "^1.5.0", "halo-editor": "^2.8.2", - "marked": "^2.0.1", + "marked": "^2.0.3", "nprogress": "^0.2.0", "tiny-pinyin": "^1.3.2", "verte": "^0.0.12", @@ -54,14 +54,14 @@ "@vue/cli-plugin-unit-jest": "^4.5.12", "@vue/cli-service": "^4.5.12", "@vue/eslint-config-prettier": "^6.0.0", - "@vue/test-utils": "^1.1.3", + "@vue/test-utils": "^1.1.4", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "babel-plugin-import": "^1.13.3", "eslint": "^6.8.0", "eslint-plugin-html": "^6.1.2", - "eslint-plugin-prettier": "^3.3.1", + "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-vue": "^6.2.2", "husky": "^6.0.0", "less": "^3.13.1", diff --git a/src/views/comment/components/CommentTab.vue b/src/views/comment/components/CommentTab.vue index 28daa256a..516aad0c1 100644 --- a/src/views/comment/components/CommentTab.vue +++ b/src/views/comment/components/CommentTab.vue @@ -275,7 +275,7 @@ - + diff --git a/yarn.lock b/yarn.lock index eb3b16056..8b3b1be95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1876,10 +1876,10 @@ resolved "https://registry.npmjs.org/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz" integrity sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ== -"@vue/test-utils@^1.1.3": - version "1.1.3" - resolved "https://registry.npmjs.org/@vue/test-utils/-/test-utils-1.1.3.tgz" - integrity sha512-BAY1Cwe9JpkJseimC295EW3YlAmgIJI9OPkg2FSP62+PHZooB0B+wceDi9TYyU57oqzL0yLbcP73JKFpKiLc9A== +"@vue/test-utils@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-1.1.4.tgz#a9acb32ea1fa4535b2e1ce5ca100bceb4fade2db" + integrity sha512-9BeL8IqGvJKy553lq/07rhYURQkpS/k+j19rJ/4eDpGJk7z872M0YrBWFhjS14yMKlvYVYOCfWnVIXyrAx0xNw== dependencies: dom-event-types "^1.0.0" lodash "^4.17.15" @@ -4721,10 +4721,10 @@ eslint-plugin-html@^6.1.2: dependencies: htmlparser2 "^6.0.1" -eslint-plugin-prettier@^3.3.1: - version "3.3.1" - resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz" - integrity sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ== +eslint-plugin-prettier@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz#cdbad3bf1dbd2b177e9825737fe63b476a08f0c7" + integrity sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw== dependencies: prettier-linter-helpers "^1.0.0" @@ -7571,10 +7571,10 @@ map-visit@^1.0.0: dependencies: object-visit "^1.0.0" -marked@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/marked/-/marked-2.0.1.tgz" - integrity sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw== +marked@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.3.tgz#3551c4958c4da36897bda2a16812ef1399c8d6b0" + integrity sha512-5otztIIcJfPc2qGTN8cVtOJEjNJZ0jwa46INMagrYfk0EvqtRuEHLsEe0LrFS0/q+ZRKT0+kXK7P2T1AN5lWRA== md5.js@^1.3.4: version "1.3.5"