Skip to content

Commit

Permalink
chore: fix the vulnerability alerts raised by Github (take #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Dec 8, 2023
1 parent 56aa7e1 commit 9e196a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/frontend/live-preview-client/rails.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as axios from 'axios'
import axios from 'axios'
import { debounce } from './utils'
import runScripts from './run-scripts'

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"minimist": "^1.2.6",
"eventsource": "^1.1.1",
"async": "^2.6.4",
"postcss": "^8.4.31"
"postcss": "^8.4.31",
"vite": "^5.0.5"
}
}
13 changes: 1 addition & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2695,18 +2695,7 @@ vite-plugin-vue2-svg@^0.4.0:
"@vue/component-compiler-utils" "^3.2.0"
svgo "^3.0.0"

"vite@^3.0.0 || ^4.0.0 || ^5.0.0-0", "vite@^3.1.0 || ^4.0.0 || ^5.0.0-0":
version "5.0.4"
resolved "https://registry.yarnpkg.com/vite/-/vite-5.0.4.tgz#d984d2aaa8bac30f1ca9b9eea9b97e052f88c307"
integrity sha512-RzAr8LSvM8lmhB4tQ5OPcBhpjOZRZjuxv9zO5UcxeoY2bd3kP3Ticd40Qma9/BqZ8JS96Ll/jeBX9u+LJZrhVg==
dependencies:
esbuild "^0.19.3"
postcss "^8.4.31"
rollup "^4.2.0"
optionalDependencies:
fsevents "~2.3.3"

vite@^5.0.5:
"vite@^3.0.0 || ^4.0.0 || ^5.0.0-0", "vite@^3.1.0 || ^4.0.0 || ^5.0.0-0", vite@^5.0.5:
version "5.0.7"
resolved "https://registry.yarnpkg.com/vite/-/vite-5.0.7.tgz#ad081d735f6769f76b556818500bdafb72c3fe93"
integrity sha512-B4T4rJCDPihrQo2B+h1MbeGL/k/GMAHzhQ8S0LjQ142s6/+l3hHTT095ORvsshj4QCkoWu3Xtmob5mazvakaOw==
Expand Down

0 comments on commit 9e196a0

Please sign in to comment.