Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Feb 6, 2024
1 parent 867aaf6 commit 657936c
Show file tree
Hide file tree
Showing 6 changed files with 1,571 additions and 1,666 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.10.0
v20.11.0
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
"lint": "tsc && eslint . && prettier --check .",
"test": "jest"
},
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.0",
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.15.6",
"@mui/lab": "^5.0.0-alpha.162",
"@mui/material": "^5.15.6",
"@mui/icons-material": "^5.15.7",
"@mui/lab": "^5.0.0-alpha.163",
"@mui/material": "^5.15.7",
"deep-object-diff": "^1.1.9",
"fast-deep-equal": "^3.1.3",
"jotai": "^2.6.2",
"jotai": "^2.6.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-window": "^1.8.10",
"socket.io-client": "^4.7.4"
},
"devDependencies": {
"@swc/core": "^1.3.105",
"@swc/jest": "^0.2.31",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.16",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.18",
"@types/react-window": "^1.8.8",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vitejs/plugin-react-swc": "^3.5.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand All @@ -48,7 +48,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.0.12",
Expand Down
4 changes: 2 additions & 2 deletions paramview/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _params(commit_id: int) -> Response:
def _commit() -> Response:
"""
Create a commit with the given message and data. This request gets its data from the
JSON body of a POST request.
JSON body of a POST request and returns the new commit's ID.
"""
request_data = request.json
if not isinstance(request_data, dict):
Expand All @@ -78,4 +78,4 @@ def _commit() -> Response:
) from exc
if not isinstance(message, str):
raise TypeError(f"message must be a string, not '{type(message).__name__}'")
return jsonify(_current_db.commit(message, data))
return jsonify(_current_db.commit(message, data).id)
Loading

0 comments on commit 657936c

Please sign in to comment.