Security: mockjs vulnerable to Prototype Pollution via the Util.extend function

This commit is contained in:
KUN1007 2024-01-07 21:21:27 +08:00
parent 90b274bc02
commit 0afbff2246
3 changed files with 429 additions and 419 deletions

View file

@ -18,43 +18,43 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@milkdown/core": "^7.3.2", "@milkdown/core": "^7.3.3",
"@milkdown/ctx": "^7.3.2", "@milkdown/ctx": "^7.3.3",
"@milkdown/plugin-clipboard": "^7.3.2", "@milkdown/plugin-clipboard": "^7.3.3",
"@milkdown/plugin-history": "^7.3.2", "@milkdown/plugin-history": "^7.3.3",
"@milkdown/plugin-indent": "^7.3.2", "@milkdown/plugin-indent": "^7.3.3",
"@milkdown/plugin-listener": "^7.3.2", "@milkdown/plugin-listener": "^7.3.3",
"@milkdown/plugin-prism": "^7.3.2", "@milkdown/plugin-prism": "^7.3.3",
"@milkdown/plugin-tooltip": "^7.3.2", "@milkdown/plugin-tooltip": "^7.3.3",
"@milkdown/plugin-trailing": "^7.3.2", "@milkdown/plugin-trailing": "^7.3.3",
"@milkdown/preset-commonmark": "^7.3.2", "@milkdown/preset-commonmark": "^7.3.3",
"@milkdown/preset-gfm": "^7.3.2", "@milkdown/preset-gfm": "^7.3.3",
"@milkdown/prose": "^7.3.2", "@milkdown/prose": "^7.3.3",
"@milkdown/transformer": "^7.3.2", "@milkdown/transformer": "^7.3.3",
"@milkdown/utils": "^7.3.2", "@milkdown/utils": "^7.3.3",
"@milkdown/vue": "^7.3.2", "@milkdown/vue": "^7.3.3",
"@prosemirror-adapter/vue": "^0.2.6", "@prosemirror-adapter/vue": "^0.2.6",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"localforage": "^1.10.0", "localforage": "^1.10.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.0", "pinia-plugin-persistedstate": "^3.2.1",
"refractor": "^4.8.1", "refractor": "^4.8.1",
"vue": "^3.3.11", "vue": "^3.4.5",
"vue-i18n": "^9.8.0", "vue-i18n": "^9.9.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@iconify/vue": "^4.1.1", "@iconify/vue": "^4.1.1",
"@types/node": "^20.10.4", "@types/node": "^20.10.6",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@vitejs/plugin-vue": "^4.5.2", "@vitejs/plugin-vue": "^5.0.2",
"rollup-plugin-visualizer": "^5.10.0", "rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.69.5", "sass": "^1.69.7",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^5.0.7", "vite": "^5.0.11",
"vue-tsc": "^1.8.25" "vue-tsc": "^1.8.27"
}, },
"keywords": [ "keywords": [
"kun", "kun",

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,4 @@
<script setup lang="ts"> <script setup lang="ts">
// Footer
import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue' import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
import { useKUNGalgameSettingsStore } from '@/store/modules/settings' import { useKUNGalgameSettingsStore } from '@/store/modules/settings'