Upgrade deps (#6395)

* update js build tools

* update frontend deps

* python updates

* update requests again
This commit is contained in:
Blake Blackshear 2023-05-05 07:45:13 -05:00 committed by GitHub
parent f52b1212cd
commit e3b9998879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 377 additions and 535 deletions

View File

@ -1,5 +1,5 @@
click == 8.1.* click == 8.1.*
Flask == 2.2.* Flask == 2.3.*
imutils == 0.5.* imutils == 0.5.*
matplotlib == 3.7.* matplotlib == 3.7.*
mypy == 0.942 mypy == 0.942
@ -7,7 +7,7 @@ numpy == 1.23.*
onvif_zeep == 0.2.12 onvif_zeep == 0.2.12
opencv-python-headless == 4.5.5.* opencv-python-headless == 4.5.5.*
paho-mqtt == 1.6.* paho-mqtt == 1.6.*
peewee == 3.15.* peewee == 3.16.*
peewee_migrate == 1.7.* peewee_migrate == 1.7.*
psutil == 5.9.* psutil == 5.9.*
pydantic == 1.10.* pydantic == 1.10.*
@ -16,7 +16,7 @@ PyYAML == 6.0
pytz == 2023.3 pytz == 2023.3
tzlocal == 4.3 tzlocal == 4.3
types-PyYAML == 6.0.* types-PyYAML == 6.0.*
requests == 2.28.* requests == 2.30.*
types-requests == 2.28.* types-requests == 2.28.*
scipy == 1.10.* scipy == 1.10.*
setproctitle == 1.3.* setproctitle == 1.3.*

888
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,11 +13,11 @@
}, },
"dependencies": { "dependencies": {
"@cycjimmy/jsmpeg-player": "^6.0.5", "@cycjimmy/jsmpeg-player": "^6.0.5",
"axios": "^1.3.6", "axios": "^1.4.0",
"copy-to-clipboard": "3.3.3", "copy-to-clipboard": "3.3.3",
"date-fns": "^2.29.3", "date-fns": "^2.30.0",
"idb-keyval": "^6.2.0", "idb-keyval": "^6.2.0",
"immer": "^9.0.21", "immer": "^10.0.1",
"monaco-yaml": "^4.0.4", "monaco-yaml": "^4.0.4",
"preact": "^10.13.2", "preact": "^10.13.2",
"preact-async-route": "^2.2.1", "preact-async-route": "^2.2.1",
@ -38,21 +38,21 @@
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
"@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1", "@typescript-eslint/parser": "^5.59.1",
"@vitest/coverage-c8": "^0.30.1", "@vitest/coverage-c8": "^0.31.0",
"@vitest/ui": "^0.30.1", "@vitest/ui": "^0.31.0",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.14",
"eslint": "^8.39.0", "eslint": "^8.39.0",
"eslint-config-preact": "^1.3.0", "eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-vitest-globals": "^1.3.1", "eslint-plugin-vitest-globals": "^1.3.1",
"fake-indexeddb": "^4.0.1", "fake-indexeddb": "^4.0.1",
"jsdom": "^21.1.1", "jsdom": "^22.0.0",
"msw": "^1.2.1", "msw": "^1.2.1",
"postcss": "^8.4.23", "postcss": "^8.4.23",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.2",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^4.3.2", "vite": "^4.3.5",
"vitest": "^0.30.1" "vitest": "^0.31.0"
} }
} }

View File

@ -1,6 +1,6 @@
import { h, createContext } from 'preact'; import { h, createContext } from 'preact';
import { baseUrl } from './baseUrl'; import { baseUrl } from './baseUrl';
import produce from 'immer'; import { produce } from 'immer';
import { useCallback, useContext, useEffect, useRef, useReducer } from 'preact/hooks'; import { useCallback, useContext, useEffect, useRef, useReducer } from 'preact/hooks';
const initialState = Object.freeze({ __connected: false }); const initialState = Object.freeze({ __connected: false });