diff --git a/barker/pyproject.toml b/barker/pyproject.toml index 77335b6..3da8ccb 100644 --- a/barker/pyproject.toml +++ b/barker/pyproject.toml @@ -6,29 +6,29 @@ authors = ["tanshu "] [tool.poetry.dependencies] python = "^3.8" -uvicorn = {extras = ["standard"], version = "^0.15.0"} -fastapi = "^0.70.0" +uvicorn = {extras = ["standard"], version = "^0.17.6"} +fastapi = "^0.75.1" python-jose = {extras = ["cryptography"], version = "^3.3.0"} passlib = {extras = ["bcrypt"], version = "^1.7.4"} -psycopg2-binary = "^2.9.1" -SQLAlchemy = "^1.4.26" +psycopg2-binary = "^2.9.3" +SQLAlchemy = "^1.4.34" python-multipart = "^0.0.5" PyJWT = "^2.3.0" -alembic = "^1.7.4" -itsdangerous = "^2.0.1" -python-dotenv = "^0.19.1" -pydantic = {extras = ["dotenv"], version = "^1.8.2"} -starlette = "^0.16.0" +alembic = "^1.7.7" +itsdangerous = "^2.1.2" +python-dotenv = "^0.19.2" +pydantic = {extras = ["dotenv"], version = "^1.9.0"} +starlette = "^0.17.1" arq = "^0.22" -aiohttp = "^3.7.4" -cryptography = "^35.0.0" +aiohttp = "^3.8.1" +cryptography = "^36.0.2" [tool.poetry.dev-dependencies] flake8 = "^4.0.1" -black = "^21.9b0" -isort = {extras = ["toml"], version = "^5.9.3"} -pre-commit = "^2.15.0" -mypy = "^0.910" +black = "^22.3.0" +isort = {extras = ["toml"], version = "^5.10.1"} +pre-commit = "^2.17.0" +mypy = "^0.942" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/bookie/.gitignore b/bookie/.gitignore index 2cb60d6..9b47455 100644 --- a/bookie/.gitignore +++ b/bookie/.gitignore @@ -33,6 +33,7 @@ speed-measure-plugin*.json .history/* # misc +/.angular/cache /.sass-cache /connect.lock /coverage diff --git a/bookie/package.json b/bookie/package.json index f803c1f..b91ce31 100644 --- a/bookie/package.json +++ b/bookie/package.json @@ -14,42 +14,40 @@ }, "private": true, "dependencies": { - "@angular/animations": "^12.2.11", - "@angular/cdk": "^12.2.11", - "@angular/common": "^12.2.11", - "@angular/compiler": "^12.2.11", - "@angular/core": "^12.2.11", - "@angular/flex-layout": "^12.0.0-beta.35", - "@angular/forms": "^12.2.11", - "@angular/material": "^12.2.11", - "@angular/material-moment-adapter": "^12.2.11", - "@angular/platform-browser": "^12.2.11", - "@angular/platform-browser-dynamic": "^12.2.11", - "@angular/router": "^12.2.11", - "mathjs": "^9.5.1", + "@angular/animations": "^13.3.1", + "@angular/cdk": "^13.3.2", + "@angular/common": "^13.3.1", + "@angular/compiler": "^13.3.1", + "@angular/core": "^13.3.1", + "@angular/flex-layout": "^13.0.0-beta.38", + "@angular/forms": "^13.3.1", + "@angular/material": "^13.3.2", + "@angular/material-moment-adapter": "^13.3.2", + "@angular/platform-browser": "^13.3.1", + "@angular/platform-browser-dynamic": "^13.3.1", + "@angular/router": "^13.3.1", + "mathjs": "^10.4.2", "moment": "^2.29.1", "rxjs": "^6.6.7", "tslib": "^2.2.0", "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "~12.2.11", - "@angular-eslint/builder": "^12.6.1", - "@angular-eslint/eslint-plugin": "^12.6.1", - "@angular-eslint/eslint-plugin-template": "^12.6.1", - "@angular-eslint/schematics": "^12.6.1", - "@angular-eslint/template-parser": "^12.6.1", - "@angular/cli": "^12.2.11", - "@angular/compiler-cli": "^12.2.11", - "@angular/language-service": "^12.2.11", + "@angular-devkit/build-angular": "~13.3.1", + "@angular-eslint/builder": "^13.1.0", + "@angular-eslint/eslint-plugin": "^13.1.0", + "@angular-eslint/eslint-plugin-template": "^13.1.0", + "@angular-eslint/schematics": "^13.1.0", + "@angular-eslint/template-parser": "^13.1.0", + "@angular/cli": "^13.3.1", + "@angular/compiler-cli": "^13.3.1", + "@angular/language-service": "^13.3.1", "@types/jasmine": "~3.7.4", - "@types/node": "^16.11.6", - "@typescript-eslint/eslint-plugin": "5.2.0", - "@typescript-eslint/parser": "5.2.0", - "eslint": "^8.1.0", - "eslint-plugin-import": "^2.25.2", - "eslint-plugin-jsdoc": "^37.0.3", - "eslint-plugin-prefer-arrow": "1.2.3", + "@types/node": "^17.0.23", + "@typescript-eslint/eslint-plugin": "5.17.0", + "@typescript-eslint/parser": "5.17.0", + "eslint": "^8.12.0", + "eslint-plugin-import": "2.25.4", "husky": "^7.0.4", "jasmine-core": "^3.7.1", "jasmine-spec-reporter": "^7.0.0", @@ -58,11 +56,11 @@ "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "^4.0.0", "karma-jasmine-html-reporter": "^1.6.0", - "lint-staged": "^11.2.6", - "prettier": "^2.3.1", + "lint-staged": "^12.3.7", + "prettier": "^2.6.1", "standard-version": "^9.3.2", "ts-node": "^9.1.1", - "typescript": "~4.2.4" + "typescript": "~4.5.4" }, "husky": { "hooks": { diff --git a/bookie/src/polyfills.ts b/bookie/src/polyfills.ts index 1f24716..b40974e 100644 --- a/bookie/src/polyfills.ts +++ b/bookie/src/polyfills.ts @@ -18,18 +18,6 @@ * BROWSER POLYFILLS */ -/** - * IE11 requires the following for NgClass support on SVG elements - */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. - -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - */ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. - /** * By default, zone.js will patch all possible macroTask and DomEvents * user can disable parts of macroTask/DomEvents patch by setting following flags diff --git a/bookie/src/test.ts b/bookie/src/test.ts index a0e80c3..8e0cae8 100644 --- a/bookie/src/test.ts +++ b/bookie/src/test.ts @@ -19,7 +19,9 @@ declare const require: { }; // First, initialize the Angular testing environment. -getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()); +getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), { + teardown: { destroyAfterEach: false } +}); // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/); // And load the modules. diff --git a/frank/pyproject.toml b/frank/pyproject.toml index 0689deb..89c29c0 100644 --- a/frank/pyproject.toml +++ b/frank/pyproject.toml @@ -6,9 +6,9 @@ authors = ["tanshu "] [tool.poetry.dependencies] python = "^3.8" -pydantic = {extras = ["dotenv"], version = "^1.8.2"} -arq = "^0.20" -aiohttp = "^3.7.4" +pydantic = {extras = ["dotenv"], version = "^1.9.0"} +arq = "^0.22" +aiohttp = "^3.8.1" aioredis = "^1.3.1" [build-system]