Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "0.24.1",
"version": "0.24.2",
"description": "DigiScript front end",
"author": "DreamTeamProd",
"private": true,
Expand Down
5 changes: 3 additions & 2 deletions client/src/views/show/ShowLiveView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ export default {
},
navigateTo(targetPage, targetLineOnPage, preventScroll = false) {
// Check if the page is loaded
if (targetPage > this.currentLoadedPage) {
// Use Number() for defense-in-depth in case currentLoadedPage is ever a string
if (targetPage > Number(this.currentLoadedPage)) {
return false;
}

Expand Down Expand Up @@ -975,7 +976,7 @@ export default {
let minLoadedPage = Number.POSITIVE_INFINITY;
const respJson = await response.json();
Object.entries(respJson).forEach((value) => {
const pageNumber = value[0];
const pageNumber = parseInt(value[0], 10);
const pageContents = value[1];

if (pageNumber > maxLoadedPage) {
Expand Down
4 changes: 2 additions & 2 deletions electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "digiscript-electron",
"version": "0.24.1",
"version": "0.24.2",
"description": "DigiScript Electron Desktop Application",
"author": "DreamTeamProd",
"license": "GPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "digiscript-server"
version = "0.24.1"
version = "0.24.2"
description = "DigiScript server - Digital script management for theatrical shows"
readme = "../README.md"
requires-python = ">=3.13"
Expand Down
4 changes: 2 additions & 2 deletions server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ anytree==2.13.0
alembic==1.18.1
marshmallow<5
pyjwt[crypto]==2.10.1
setuptools==80.10.1
setuptools==80.10.2
xkcdpass==1.30.0
zeroconf==0.140.0
zeroconf==0.148.0
Loading