diff --git a/console/package-lock.json b/console/package-lock.json index 0dcae320..e7915dbd 100644 --- a/console/package-lock.json +++ b/console/package-lock.json @@ -13725,9 +13725,9 @@ "dev": true }, "vditor": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/vditor/-/vditor-2.0.15.tgz", - "integrity": "sha512-Kp2vGKTWoGFrpvDTdlezWqXidNWCpUu51c+twVL5FyNGMEFBcG3+CgphQDY29BbzhZ7iHffGU703tmE63MQzmA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/vditor/-/vditor-2.1.1.tgz", + "integrity": "sha512-dIlq++kLFpyBxLRJ8JkBgW1tdln88xw9UbaBapxNWdnnDR1zGbP4Pt3n/gbLU6aDsXebcK8lzsk8G9MRJtcqMg==", "requires": { "diff-match-patch": "^1.0.4" } diff --git a/console/package.json b/console/package.json index 21823790..48838f6e 100644 --- a/console/package.json +++ b/console/package.json @@ -22,7 +22,7 @@ "babel-polyfill": "^6.26.0", "particles.js": "^2.0.0", "sha512crypt-node": "^0.1.0", - "vditor": "^2.0.15", + "vditor": "^2.1.1", "vue-axios": "^2.1.4", "vue-i18n": "^8.11.2", "vuetify": "git+https://github.com/Vanessa219/vuetify.git#v1.2.12" diff --git a/theme/js/common.js b/theme/js/common.js index e4ad869a..db6f37e8 100644 --- a/theme/js/common.js +++ b/theme/js/common.js @@ -313,7 +313,7 @@ export const initPjax = (cb) => { (() => { $.ajax({ method: 'GET', - url: 'https://cdn.jsdelivr.net/npm/vditor@2.0.15/dist/index.min.js', + url: 'https://cdn.jsdelivr.net/npm/vditor@2.1.1/dist/index.min.js', dataType: 'script', cache: true, success: () => { diff --git a/theme/package-lock.json b/theme/package-lock.json index a73c46ee..3c97ddb6 100644 --- a/theme/package-lock.json +++ b/theme/package-lock.json @@ -1219,7 +1219,7 @@ }, "util": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz", "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "dev": true, "requires": {