Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
miga97 committed Mar 16, 2022
2 parents 8a1e5f8 + 81e3dfb commit 4ac7721
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ greenlet==1.1.2
python-engineio==3.14.2
python-socketio==4.6.1
six==1.16.0
pytest==7.0.1
pytest==7.1.0
requests==2.27.1
discord-webhook==0.15.0
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"caniuse-lite": "^1.0.30001314",
"caniuse-lite": "^1.0.30001317",
"core-js": "^3.16.2",
"pretty-checkbox-vue": "^1.1.9",
"register-service-worker": "^1.7.2",
Expand All @@ -23,7 +23,7 @@
"@vue/cli-plugin-babel": "~4.5.15",
"@vue/cli-plugin-eslint": "~4.5.15",
"@vue/cli-plugin-pwa": "~4.5.15",
"@vue/cli-plugin-router": "~5.0.1",
"@vue/cli-plugin-router": "~5.0.3",
"@vue/cli-service": "~4.5.15",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ export default {
if (!this.can_target_sheriff && x.is_sheriff)
return false
else
return x.dist <= this.range
//console.log("aa" +(this.sight-1))
return x.dist <= this.range + this.sight -1
}).map(player => {
return {
name: player.name,
Expand Down
30 changes: 15 additions & 15 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1261,12 +1261,12 @@
dependencies:
"@vue/cli-shared-utils" "^4.5.15"

"@vue/cli-plugin-router@~5.0.1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@vue/cli-plugin-router/-/cli-plugin-router-5.0.1.tgz#f512a2c882d3eb2c15ba387bb1e598be625ea2c4"
integrity sha512-Eu56AQUEK0uULgIQotZwi5eijYNBS3+znMc0u/kaI1puW3+f/qP3YCtffp5CeVcG2Kxwrx66XBI6PMHg8hPdmA==
"@vue/cli-plugin-router@~5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@vue/cli-plugin-router/-/cli-plugin-router-5.0.3.tgz#8413d8a6347c556ffb6a1965d6992ff625564177"
integrity sha512-9GPewake2QhmnNe1p72Cejv0jyenH+gv3+3JlZf4kPR68ncqwF7YiUjxbnJnItWgq4Zep3+YqYmQ4PsIWjMPUQ==
dependencies:
"@vue/cli-shared-utils" "^5.0.1"
"@vue/cli-shared-utils" "^5.0.3"

"@vue/cli-plugin-vuex@^4.5.15":
version "4.5.15"
Expand Down Expand Up @@ -1351,18 +1351,18 @@
semver "^6.1.0"
strip-ansi "^6.0.0"

"@vue/cli-shared-utils@^5.0.1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@vue/cli-shared-utils/-/cli-shared-utils-5.0.1.tgz#9e33cacefad427bbf8939f953204373ad107fbee"
integrity sha512-oL164c3yDhdLHgiFvSkXuP7z0eEY8gqTYzHHbvQJCIBtRZ/0H9Q7xICpAeMZ63lJvS2+fA5bQfv+kPII/kcjmQ==
"@vue/cli-shared-utils@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@vue/cli-shared-utils/-/cli-shared-utils-5.0.3.tgz#e8facc759f4e2ceed4a26f33943c0005a834e4af"
integrity sha512-xAHxFDYVohHWXOLdmGvka3ffQcRgKdACempFQkGJX74Q7OBf0zPf5WH+vQXhlR17eA3LmWdY+Nv8OfsIGim6Fg==
dependencies:
chalk "^4.1.2"
execa "^1.0.0"
joi "^17.4.0"
launch-editor "^2.2.1"
lru-cache "^6.0.0"
node-fetch "^2.6.7"
node-ipc "^9.1.1"
node-ipc "9.2.1"
open "^8.0.2"
ora "^5.3.0"
read-pkg "^5.1.1"
Expand Down Expand Up @@ -2228,10 +2228,10 @@ caniuse-api@^3.0.0:
lodash.memoize "^4.1.2"
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001314:
version "1.0.30001314"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001314.tgz#65c7f9fb7e4594fca0a333bec1d8939662377596"
integrity sha512-0zaSO+TnCHtHJIbpLroX7nsD+vYuOVjl3uzFbJO1wMVbuveJA0RK2WcQA9ZUIOiO0/ArMiMgHJLxfEZhQiC0kw==
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001317:
version "1.0.30001317"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001317.tgz#0548fb28fd5bc259a70b8c1ffdbe598037666a1b"
integrity sha512-xIZLh8gBm4dqNX0gkzrBeyI86J2eCjWzYAs40q88smG844YIrN4tVQl/RhquHvKEKImWWFIVh1Lxe5n1G/N+GQ==

case-sensitive-paths-webpack-plugin@^2.3.0:
version "2.4.0"
Expand Down Expand Up @@ -5396,7 +5396,7 @@ node-forge@^0.10.0:
version "0.10.0"
resolved "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz"

node-ipc@^9.1.1:
node-ipc@9.2.1, node-ipc@^9.1.1:
version "9.2.1"
resolved "https://registry.npmjs.org/node-ipc/-/node-ipc-9.2.1.tgz"
dependencies:
Expand Down

0 comments on commit 4ac7721

Please sign in to comment.