Skip to content

Commit

Permalink
Update dependencies again #724
Browse files Browse the repository at this point in the history
  • Loading branch information
hupf committed Nov 25, 2024
1 parent 106c744 commit ab166a5
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 224 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import eslintConfigPrettier from "eslint-config-prettier";
import tseslint from "typescript-eslint";

export default tseslint.config(
{ ignores: ["coverage/", "dist/"] },
{ ignores: [".angular/", "coverage/", "dist/"] },
{
// Everything in this config object targets our TypeScript files (Components, Directives, Pipes etc)
files: ["**/*.ts"],
Expand Down
430 changes: 230 additions & 200 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,31 @@
"newtype-ts": "0.3.5",
"ngx-infinite-scroll": "18.0.0",
"rxjs": "7.8.1",
"tslib": "2.8.0",
"tslib": "2.8.1",
"zone.js": "0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.2.8",
"@angular-eslint/builder": "18.3.1",
"@angular-eslint/eslint-plugin": "18.3.1",
"@angular-eslint/eslint-plugin-template": "18.3.1",
"@angular-eslint/schematics": "18.3.1",
"@angular-eslint/template-parser": "18.3.1",
"@angular-eslint/builder": "18.4.2",
"@angular-eslint/eslint-plugin": "18.4.2",
"@angular-eslint/eslint-plugin-template": "18.4.2",
"@angular-eslint/schematics": "18.4.2",
"@angular-eslint/template-parser": "18.4.2",
"@angular/cli": "18.2.8",
"@angular/compiler-cli": "18.2.8",
"@angular/language-service": "18.2.8",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/eslint__js": "^8.42.3",
"@types/jasmine": "5.1.4",
"@types/lodash-es": "4.17.12",
"@types/node": "22.7.5",
"angular-eslint": "^18.3.1",
"eslint": "9.12.0",
"@types/node": "22.9.3",
"angular-eslint": "^18.4.2",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"html-validate": "8.24.1",
"husky": "9.1.6",
"html-validate": "8.25.1",
"husky": "9.1.7",
"jasmine-core": "5.4.0",
"karma": "6.4.4",
"karma-brief-reporter": "0.2.2",
Expand All @@ -92,7 +92,7 @@
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"typescript": "5.4.5",
"typescript-eslint": "^8.9.0"
"typescript-eslint": "^8.15.0"
},
"lint-staged": {
"./src/app/**/*.{ts,html}": "eslint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<bkd-test-table-header
[test]="test"
[expanded]="expanded"
(toggle)="state.toggleHeader($event)"
(toggleHeader)="state.toggleHeader($event)"
(publish)="publish.emit($event)"
(unpublish)="unpublish.emit($event)"
></bkd-test-table-header>
Expand All @@ -36,7 +36,7 @@
<bkd-test-table-header
[test]="test"
[expanded]="expanded"
(toggle)="state.toggleHeader($event)"
(toggleHeader)="state.toggleHeader($event)"
(publish)="publish.emit($event)"
(unpublish)="unpublish.emit($event)"
></bkd-test-table-header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- eslint-disable @angular-eslint/template/click-events-have-key-events -->
<div class="d-flex flex-column h-100 justify-content-between">
<div
(click)="toggleHeader()"
(click)="emitToggleHeader()"
class="test-designation d-flex flex-row my-3 align-items-end justify-content-between"
role="button"
>
Expand Down Expand Up @@ -44,7 +44,7 @@
</a>
<bkd-caret
class="expand-mobile"
(click)="toggleHeader()"
(click)="emitToggleHeader()"
[expanded]="expanded"
></bkd-caret>
</div>
Expand All @@ -62,7 +62,7 @@
</a>
<bkd-caret
class="expand-mobile"
(click)="toggleHeader()"
(click)="emitToggleHeader()"
[expanded]="expanded"
></bkd-caret>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export class TestTableHeaderComponent {
@Input() test: Test;
@Input() expanded: boolean;

@Output() toggle = new EventEmitter<boolean>();
@Output() toggleHeader = new EventEmitter<boolean>();
@Output() publish = new EventEmitter<Test>();
@Output() unpublish = new EventEmitter<Test>();

constructor() {}

toggleHeader() {
this.toggle.emit(!this.expanded);
emitToggleHeader() {
this.toggleHeader.emit(!this.expanded);
}

publishTest() {
Expand Down
1 change: 1 addition & 0 deletions src/app/shared/utils/absences-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ function serializeFilterValue(value: unknown): Option<string> {
if (value instanceof Date) {
return format(value, "yyyy-MM-dd");
}
// eslint-disable-next-line @typescript-eslint/no-base-to-string
return String(value);
}
3 changes: 2 additions & 1 deletion src/app/shared/utils/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ function matchesEntry<T>(

function matches(value: unknown, normalizedTerm: string): boolean {
return value
? normalizeSearchValue(String(value)).includes(normalizedTerm)
? // eslint-disable-next-line @typescript-eslint/no-base-to-string
normalizeSearchValue(String(value)).includes(normalizedTerm)
: false;
}

Expand Down
1 change: 1 addition & 0 deletions src/app/shared/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
* Parses given query string to params object
*/
export function parseQueryString(queryString: unknown): Params {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
return String(queryString || "")
.split("&")
.reduce((acc, pair) => {
Expand Down

0 comments on commit ab166a5

Please sign in to comment.