Compare commits

..

1 Commits

Author SHA1 Message Date
07bedcd71d chore(deps): lock file maintenance
All checks were successful
Build / Build and analyze (pull_request) Successful in 1m38s
2024-10-22 06:02:28 +00:00
5 changed files with 141 additions and 108 deletions

@ -0,0 +1,30 @@
name: Build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# We do not recommend to use this in a pull request. Prefer using pull request
# decoration instead.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

BIN
bun.lockb

Binary file not shown.

196
package-lock.json generated

@ -367,64 +367,6 @@
}
}
},
"node_modules/@angular/build/node_modules/rollup": {
"version": "4.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.5"
},
"bin": {
"rollup": "dist/bin/rollup"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"optionalDependencies": {
"@rollup/rollup-android-arm-eabi": "4.22.4",
"@rollup/rollup-android-arm64": "4.22.4",
"@rollup/rollup-darwin-arm64": "4.22.4",
"@rollup/rollup-darwin-x64": "4.22.4",
"@rollup/rollup-linux-arm-gnueabihf": "4.22.4",
"@rollup/rollup-linux-arm-musleabihf": "4.22.4",
"@rollup/rollup-linux-arm64-gnu": "4.22.4",
"@rollup/rollup-linux-arm64-musl": "4.22.4",
"@rollup/rollup-linux-powerpc64le-gnu": "4.22.4",
"@rollup/rollup-linux-riscv64-gnu": "4.22.4",
"@rollup/rollup-linux-s390x-gnu": "4.22.4",
"@rollup/rollup-linux-x64-gnu": "4.22.4",
"@rollup/rollup-linux-x64-musl": "4.22.4",
"@rollup/rollup-win32-arm64-msvc": "4.22.4",
"@rollup/rollup-win32-ia32-msvc": "4.22.4",
"@rollup/rollup-win32-x64-msvc": "4.22.4",
"fsevents": "~2.3.2"
}
},
"node_modules/@angular/build/node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.22.4",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@angular/build/node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": {
"version": "4.22.4",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@angular/cli": {
"version": "18.2.9",
"dev": true,
@ -546,6 +488,17 @@
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@angular/compiler-cli/node_modules/semver": {
"version": "7.6.2",
"dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
}
},
"node_modules/@angular/core": {
"version": "18.2.8",
"license": "MIT",
@ -2609,6 +2562,14 @@
"node": ">=8"
}
},
"node_modules/@inquirer/checkbox/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/checkbox/node_modules/ansi-escapes": {
"version": "4.3.2",
"dev": true,
@ -2658,6 +2619,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -2801,6 +2770,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/editor/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/editor/node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -2944,6 +2921,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/expand/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/expand/node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -3052,7 +3037,7 @@
}
},
"node_modules/@inquirer/figures": {
"version": "1.0.5",
"version": "1.0.7",
"dev": true,
"license": "MIT",
"engines": {
@ -3094,6 +3079,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/input/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/input/node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -3235,14 +3228,6 @@
"node": ">=18"
}
},
"node_modules/@inquirer/number/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.7",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/number/node_modules/@inquirer/core/node_modules/@inquirer/type": {
"version": "2.0.0",
"dev": true,
@ -3408,6 +3393,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/password/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/password/node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -3571,6 +3564,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/rawlist/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/rawlist/node_modules/@inquirer/core/node_modules/@types/node": {
"version": "22.2.0",
"dev": true,
@ -3714,14 +3715,6 @@
"node": ">=18"
}
},
"node_modules/@inquirer/search/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
"version": "1.0.7",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/search/node_modules/@inquirer/core/node_modules/@inquirer/type": {
"version": "2.0.0",
"dev": true,
@ -3866,6 +3859,14 @@
"node": ">=18"
}
},
"node_modules/@inquirer/select/node_modules/@inquirer/figures": {
"version": "1.0.5",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@inquirer/select/node_modules/ansi-escapes": {
"version": "4.3.2",
"dev": true,
@ -4497,7 +4498,7 @@
}
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.24.0",
"version": "4.22.4",
"cpu": [
"x64"
],
@ -4509,7 +4510,7 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
"version": "4.24.0",
"version": "4.22.4",
"cpu": [
"x64"
],
@ -11462,11 +11463,11 @@
}
},
"node_modules/rollup": {
"version": "4.24.0",
"version": "4.22.4",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.6"
"@types/estree": "1.0.5"
},
"bin": {
"rollup": "dist/bin/rollup"
@ -11476,30 +11477,25 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
"@rollup/rollup-android-arm-eabi": "4.24.0",
"@rollup/rollup-android-arm64": "4.24.0",
"@rollup/rollup-darwin-arm64": "4.24.0",
"@rollup/rollup-darwin-x64": "4.24.0",
"@rollup/rollup-linux-arm-gnueabihf": "4.24.0",
"@rollup/rollup-linux-arm-musleabihf": "4.24.0",
"@rollup/rollup-linux-arm64-gnu": "4.24.0",
"@rollup/rollup-linux-arm64-musl": "4.24.0",
"@rollup/rollup-linux-powerpc64le-gnu": "4.24.0",
"@rollup/rollup-linux-riscv64-gnu": "4.24.0",
"@rollup/rollup-linux-s390x-gnu": "4.24.0",
"@rollup/rollup-linux-x64-gnu": "4.24.0",
"@rollup/rollup-linux-x64-musl": "4.24.0",
"@rollup/rollup-win32-arm64-msvc": "4.24.0",
"@rollup/rollup-win32-ia32-msvc": "4.24.0",
"@rollup/rollup-win32-x64-msvc": "4.24.0",
"@rollup/rollup-android-arm-eabi": "4.22.4",
"@rollup/rollup-android-arm64": "4.22.4",
"@rollup/rollup-darwin-arm64": "4.22.4",
"@rollup/rollup-darwin-x64": "4.22.4",
"@rollup/rollup-linux-arm-gnueabihf": "4.22.4",
"@rollup/rollup-linux-arm-musleabihf": "4.22.4",
"@rollup/rollup-linux-arm64-gnu": "4.22.4",
"@rollup/rollup-linux-arm64-musl": "4.22.4",
"@rollup/rollup-linux-powerpc64le-gnu": "4.22.4",
"@rollup/rollup-linux-riscv64-gnu": "4.22.4",
"@rollup/rollup-linux-s390x-gnu": "4.22.4",
"@rollup/rollup-linux-x64-gnu": "4.22.4",
"@rollup/rollup-linux-x64-musl": "4.22.4",
"@rollup/rollup-win32-arm64-msvc": "4.22.4",
"@rollup/rollup-win32-ia32-msvc": "4.22.4",
"@rollup/rollup-win32-x64-msvc": "4.22.4",
"fsevents": "~2.3.2"
}
},
"node_modules/rollup/node_modules/@types/estree": {
"version": "1.0.6",
"dev": true,
"license": "MIT"
},
"node_modules/run-applescript": {
"version": "7.0.0",
"dev": true,

@ -1,2 +1,7 @@
<h1>{{'hello' | uppercase | text}}</h1>
<app-search [(input)]="search"></app-search>
@for (let hotel of foundHotels | async) {
@if (search === "") {
<app-hotel-item [hotel]="hotel"></app-hotel-item>
}
}

@ -5,7 +5,7 @@ import { AsyncPipe, UpperCasePipe } from '@angular/common';
import { TextPipe } from '../text.pipe';
import { HotelService } from './Parent/services/hotel.service';
import { inject } from '@angular/core';
import { filter, from, map, Observable, range, tap, toArray } from 'rxjs';
import { filter, map, Observable, range } from 'rxjs';
@Component({
selector: 'app-root',
@ -20,18 +20,20 @@ export class AppComponent {
public hotelService: HotelService = inject(HotelService);
ngOnInit() {
const stream: Observable<number | string> = from([5, 1, 2, 12, 5, 14, 17, 5, "testing"]);
const stream: Observable<number> = range(1, 10);
stream.pipe(
filter((value) => typeof value === "number"),
tap((value) => console.log("Zahl:" + value)),
filter((value: number) => value % 2 === 0),
tap((value) => console.log("Gerade Zahl: " + value)),
toArray(),
).subscribe(console.log);
filter((value: number) => value % 2 === 1),
).subscribe((value) => console.log(value));
console.log('---')
stream.pipe(
map((value: number) => value * 2)
).subscribe((value) => console.log(value));
}
public test() {
8
console.log(this.search);
}