diff --git a/package.json b/package.json index 2157320e8..0230b71b2 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "@types/gulp-uglify": "3.0.6", "@types/gulp-util": "3.0.34", "@types/is-root": "1.0.0", - "@types/is-svg": "3.0.0", "@types/is-url": "1.2.28", "@types/js-yaml": "3.12.0", "@types/jsdom": "12.2.3", @@ -96,7 +95,7 @@ "@types/websocket": "0.0.40", "@types/ws": "6.0.1", "animejs": "3.0.1", - "apexcharts": "3.5.0", + "apexcharts": "3.6.2", "autobind-decorator": "2.4.0", "autosize": "4.0.2", "autwh": "0.1.0", @@ -109,20 +108,20 @@ "chalk": "2.4.2", "commander": "2.19.0", "crc-32": "1.2.0", - "css-loader": "2.1.0", + "css-loader": "2.1.1", "cssnano": "4.1.10", "dateformat": "3.0.3", "deep-equal": "1.0.1", "deepcopy": "0.6.3", "diskusage": "1.0.0", "double-ended-queue": "2.1.0-0", - "elasticsearch": "15.3.1", + "elasticsearch": "15.4.1", "emojilib": "2.4.0", "escape-regexp": "0.0.1", - "eslint": "5.15.0", + "eslint": "5.15.1", "eslint-plugin-vue": "5.2.2", "eventemitter3": "3.1.0", - "feed": "2.0.2", + "feed": "2.0.4", "file-type": "10.9.0", "fuckadblock": "3.2.1", "gulp": "4.0.0", @@ -131,20 +130,20 @@ "gulp-mocha": "6.0.0", "gulp-rename": "1.4.0", "gulp-replace": "1.0.0", - "gulp-sourcemaps": "2.6.4", + "gulp-sourcemaps": "2.6.5", "gulp-stylus": "2.7.0", - "gulp-tslint": "8.1.3", + "gulp-tslint": "8.1.4", "gulp-typescript": "5.0.0", - "gulp-uglify": "3.0.1", + "gulp-uglify": "3.0.2", "gulp-util": "3.0.8", "hard-source-webpack-plugin": "0.13.1", "html-minifier": "3.5.21", "http-signature": "1.2.0", "insert-text-at-cursor": "0.1.2", "is-root": "2.0.0", - "is-svg": "3.0.0", - "js-yaml": "3.12.1", - "jsdom": "13.2.0", + "is-svg": "4.0.0", + "js-yaml": "3.12.2", + "jsdom": "14.0.0", "json5": "2.1.0", "json5-loader": "1.0.1", "katex": "0.10.1", @@ -189,13 +188,13 @@ "pug": "2.0.3", "punycode": "2.1.1", "qrcode": "1.3.3", - "randomcolor": "0.5.3", - "ratelimiter": "3.2.0", + "randomcolor": "0.5.4", + "ratelimiter": "3.3.0", "recaptcha-promise": "0.1.3", "reconnecting-websocket": "4.1.10", "redis": "2.8.0", "request": "2.88.0", - "request-promise-native": "1.0.5", + "request-promise-native": "1.0.7", "request-stats": "3.0.0", "rimraf": "2.6.3", "rndstr": "1.0.0", @@ -210,14 +209,14 @@ "stylus": "0.54.5", "stylus-loader": "3.0.2", "summaly": "2.2.0", - "systeminformation": "4.0.14", + "systeminformation": "4.0.16", "syuilo-password-strength": "0.0.1", "terser-webpack-plugin": "1.2.3", "textarea-caret": "3.1.0", "tinycolor2": "1.4.1", "tmp": "0.0.33", "ts-loader": "5.3.3", - "ts-node": "8.0.2", + "ts-node": "8.0.3", "tslint": "5.13.1", "tslint-sonarts": "1.9.0", "typescript": "3.3.3333", @@ -232,7 +231,7 @@ "vue-color": "2.7.0", "vue-content-loading": "1.5.3", "vue-cropperjs": "3.0.0", - "vue-i18n": "8.8.2", + "vue-i18n": "8.9.0", "vue-js-modal": "1.3.28", "vue-json-pretty": "1.4.1", "vue-loader": "15.7.0", @@ -241,9 +240,9 @@ "vue-router": "3.0.2", "vue-sequential-entrance": "1.1.3", "vue-style-loader": "4.1.2", - "vue-svg-inline-loader": "1.2.12", + "vue-svg-inline-loader": "1.2.13", "vue-template-compiler": "2.6.8", - "vuedraggable": "2.18.1", + "vuedraggable": "2.19.2", "vuewordcloud": "18.7.11", "vuex": "3.1.0", "vuex-persistedstate": "2.5.4", @@ -252,7 +251,7 @@ "webpack": "4.28.4", "webpack-cli": "3.2.3", "websocket": "1.0.28", - "ws": "6.1.4", + "ws": "6.2.0", "xev": "2.0.1" } } diff --git a/src/misc/check-svg.ts b/src/misc/check-svg.ts index b8c8af9ef..8ddeefede 100644 --- a/src/misc/check-svg.ts +++ b/src/misc/check-svg.ts @@ -1,5 +1,5 @@ import * as fs from 'fs'; -import * as isSvg from 'is-svg'; +import isSvg from 'is-svg'; export default function(path: string) { try {