1
0
Fork 0
mirror of https://github.com/Findus23/devicedetector.net.git synced 2024-09-19 15:43:46 +02:00

update dependencies

This commit is contained in:
Lukas Winkler 2024-03-27 22:26:22 +01:00
parent cc006d71fd
commit eed19b7745
Signed by: lukas
GPG key ID: 54DE4D798D244853
8 changed files with 1423 additions and 835 deletions

View file

@ -7,20 +7,23 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
BButton: typeof import('bootstrap-vue-3')['BButton']
BCollapse: typeof import('bootstrap-vue-3')['BCollapse']
BFormCheckbox: typeof import('bootstrap-vue-3')['BFormCheckbox']
BFormInput: typeof import('bootstrap-vue-3')['BFormInput']
BFormTextarea: typeof import('bootstrap-vue-3')['BFormTextarea']
BInputGroup: typeof import('bootstrap-vue-3')['BInputGroup']
BInputGroupAppend: typeof import('bootstrap-vue-3')['BInputGroupAppend']
BNavbar: typeof import('bootstrap-vue-3')['BNavbar']
BNavbarBrand: typeof import('bootstrap-vue-3')['BNavbarBrand']
BNavbarNav: typeof import('bootstrap-vue-3')['BNavbarNav']
BNavbarToggle: typeof import('bootstrap-vue-3')['BNavbarToggle']
BNavItem: typeof import('bootstrap-vue-3')['BNavItem']
BButton: typeof import('bootstrap-vue-next')['BButton']
BCollapse: typeof import('bootstrap-vue-next')['BCollapse']
BFormCheckbox: typeof import('bootstrap-vue-next')['BFormCheckbox']
BFormInput: typeof import('bootstrap-vue-next')['BFormInput']
BFormTextarea: typeof import('bootstrap-vue-next')['BFormTextarea']
BInputGroup: typeof import('bootstrap-vue-next')['BInputGroup']
BInputGroupAppend: typeof import('bootstrap-vue-next')['BInputGroupAppend']
BNavbar: typeof import('bootstrap-vue-next')['BNavbar']
BNavbarBrand: typeof import('bootstrap-vue-next')['BNavbarBrand']
BNavbarNav: typeof import('bootstrap-vue-next')['BNavbarNav']
BNavbarToggle: typeof import('bootstrap-vue-next')['BNavbarToggle']
BNavItem: typeof import('bootstrap-vue-next')['BNavItem']
Icon: typeof import('./src/components/Icon.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
export interface ComponentCustomProperties {
vBColorMode: typeof import('bootstrap-vue-next')['vBColorMode']
}
}

1999
client/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -2,6 +2,7 @@
"name": "devicedetector.net",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
@ -11,18 +12,17 @@
"dependencies": {
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.3",
"bootstrap-vue-3": "^0.5.0",
"bootstrap-vue-next": "^0.16.6",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue": "^5.0.4",
"sass": "^1.49.9",
"typescript": "^5.1.3",
"unplugin-vue-components": "^0.25.1",
"user-agent-data-types": "^0.3.0",
"vite": "^4.0.4",
"vite-plugin-rewrite-all": "^1.0.1",
"vue-tsc": "^1.0.20"
"unplugin-vue-components": "^0.26.0",
"user-agent-data-types": "^0.4.2",
"vite": "^5.2.6",
"vue-tsc": "^2.0.7"
}
}

View file

@ -2,7 +2,7 @@
<div id="app">
<div class="content">
<div>
<b-navbar toggleable="lg" dark="true">
<b-navbar toggleable="lg" v-b-color-mode="'dark'">
<b-navbar-brand :to="{name:'main'}">Device Detector</b-navbar-brand>
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>

View file

@ -1,8 +1,7 @@
import vue from '@vitejs/plugin-vue'
import {defineConfig} from 'vite'
import pluginRewriteAll from 'vite-plugin-rewrite-all'
import Components from 'unplugin-vue-components/vite'
import {BootstrapVue3Resolver} from "unplugin-vue-components/resolvers";
import {BootstrapVueNextResolver} from "unplugin-vue-components/resolvers";
export default defineConfig({
plugins: [
@ -14,9 +13,8 @@ export default defineConfig({
}
}),
Components({
resolvers: [BootstrapVue3Resolver()]
resolvers: [BootstrapVueNextResolver()]
}),
pluginRewriteAll()
],
server: {
proxy: {

View file

@ -1,11 +1,11 @@
{
"require": {
"matomo/device-detector": "dev-master",
"symfony/cache": "^6.0",
"symfony/cache": "^v7.0.4",
"ext-json": "*",
"ext-redis": "*",
"ext-curl": "*",
"symfony/yaml": "^6.0"
"symfony/yaml": "^v7.0.3"
},
"autoload": {
"psr-4": {

203
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "7908e84937d94669f71fcd766fa38cd2",
"content-hash": "735d64a6f9d858e85d7845dc25948e9f",
"packages": [
{
"name": "matomo/device-detector",
@ -12,12 +12,12 @@
"source": {
"type": "git",
"url": "https://github.com/matomo-org/device-detector.git",
"reference": "92b47088fa350e1587b63443edf94e026a3f0938"
"reference": "97d28429847c1e67e7ad13746d2cfbd8f2033d56"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/matomo-org/device-detector/zipball/92b47088fa350e1587b63443edf94e026a3f0938",
"reference": "92b47088fa350e1587b63443edf94e026a3f0938",
"url": "https://api.github.com/repos/matomo-org/device-detector/zipball/97d28429847c1e67e7ad13746d2cfbd8f2033d56",
"reference": "97d28429847c1e67e7ad13746d2cfbd8f2033d56",
"shasum": ""
},
"require": {
@ -29,8 +29,8 @@
},
"require-dev": {
"matthiasmullie/scrapbook": "^1.4.7",
"mayflower/mo4-coding-standard": "^v8.0.0",
"phpstan/phpstan": "^0.12.52",
"mayflower/mo4-coding-standard": "^v9.0.0",
"phpstan/phpstan": "^1.10.44",
"phpunit/phpunit": "^8.5.8",
"psr/cache": "^1.0.1",
"psr/simple-cache": "^1.0.1",
@ -74,14 +74,14 @@
"source": "https://github.com/matomo-org/matomo",
"wiki": "https://dev.matomo.org/"
},
"time": "2023-08-28T12:54:31+00:00"
"time": "2024-03-26T12:22:41+00:00"
},
{
"name": "mustangostang/spyc",
"version": "0.6.3",
"source": {
"type": "git",
"url": "git@github.com:mustangostang/spyc.git",
"url": "https://github.com/mustangostang/spyc.git",
"reference": "4627c838b16550b666d15aeae1e5289dd5b77da0"
},
"dist": {
@ -124,6 +124,10 @@
"yaml",
"yml"
],
"support": {
"issues": "https://github.com/mustangostang/spyc/issues",
"source": "https://github.com/mustangostang/spyc/tree/0.6.3"
},
"time": "2019-09-10T13:16:29+00:00"
},
{
@ -280,31 +284,31 @@
},
{
"name": "symfony/cache",
"version": "v6.3.4",
"version": "v7.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "e60d00b4f633efa4c1ef54e77c12762d9073e7b3"
"reference": "fc822951dd360a593224bb2cef90a087d0dff60f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/e60d00b4f633efa4c1ef54e77c12762d9073e7b3",
"reference": "e60d00b4f633efa4c1ef54e77c12762d9073e7b3",
"url": "https://api.github.com/repos/symfony/cache/zipball/fc822951dd360a593224bb2cef90a087d0dff60f",
"reference": "fc822951dd360a593224bb2cef90a087d0dff60f",
"shasum": ""
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"psr/cache": "^2.0|^3.0",
"psr/log": "^1.1|^2|^3",
"symfony/cache-contracts": "^2.5|^3",
"symfony/service-contracts": "^2.5|^3",
"symfony/var-exporter": "^6.2.10"
"symfony/var-exporter": "^6.4|^7.0"
},
"conflict": {
"doctrine/dbal": "<2.13.1",
"symfony/dependency-injection": "<5.4",
"symfony/http-kernel": "<5.4",
"symfony/var-dumper": "<5.4"
"doctrine/dbal": "<3.6",
"symfony/dependency-injection": "<6.4",
"symfony/http-kernel": "<6.4",
"symfony/var-dumper": "<6.4"
},
"provide": {
"psr/cache-implementation": "2.0|3.0",
@ -313,15 +317,15 @@
},
"require-dev": {
"cache/integration-tests": "dev-master",
"doctrine/dbal": "^2.13.1|^3.0",
"doctrine/dbal": "^3.6|^4",
"predis/predis": "^1.1|^2.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
"symfony/config": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/filesystem": "^5.4|^6.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/messenger": "^5.4|^6.0",
"symfony/var-dumper": "^5.4|^6.0"
"symfony/config": "^6.4|^7.0",
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/filesystem": "^6.4|^7.0",
"symfony/http-kernel": "^6.4|^7.0",
"symfony/messenger": "^6.4|^7.0",
"symfony/var-dumper": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@ -356,7 +360,7 @@
"psr6"
],
"support": {
"source": "https://github.com/symfony/cache/tree/v6.3.4"
"source": "https://github.com/symfony/cache/tree/v7.0.4"
},
"funding": [
{
@ -372,20 +376,20 @@
"type": "tidelift"
}
],
"time": "2023-08-05T09:10:27+00:00"
"time": "2024-02-22T20:27:20+00:00"
},
{
"name": "symfony/cache-contracts",
"version": "v3.3.0",
"version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache-contracts.git",
"reference": "ad945640ccc0ae6e208bcea7d7de4b39b569896b"
"reference": "1d74b127da04ffa87aa940abe15446fa89653778"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache-contracts/zipball/ad945640ccc0ae6e208bcea7d7de4b39b569896b",
"reference": "ad945640ccc0ae6e208bcea7d7de4b39b569896b",
"url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1d74b127da04ffa87aa940abe15446fa89653778",
"reference": "1d74b127da04ffa87aa940abe15446fa89653778",
"shasum": ""
},
"require": {
@ -432,7 +436,7 @@
"standards"
],
"support": {
"source": "https://github.com/symfony/cache-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/cache-contracts/tree/v3.4.0"
},
"funding": [
{
@ -448,87 +452,20 @@
"type": "tidelift"
}
],
"time": "2023-05-23T14:45:45+00:00"
},
{
"name": "symfony/deprecation-contracts",
"version": "v3.3.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
"reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
"shasum": ""
},
"require": {
"php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"files": [
"function.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-05-23T14:45:45+00:00"
"time": "2023-09-25T12:52:38+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.28.0",
"version": "v1.29.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb"
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb",
"reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
"reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
"shasum": ""
},
"require": {
@ -542,9 +479,6 @@
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.28-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
@ -581,7 +515,7 @@
"portable"
],
"support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0"
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
},
"funding": [
{
@ -597,25 +531,25 @@
"type": "tidelift"
}
],
"time": "2023-01-26T09:26:14+00:00"
"time": "2024-01-29T20:11:03+00:00"
},
{
"name": "symfony/service-contracts",
"version": "v3.3.0",
"version": "v3.4.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4"
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0",
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0",
"shasum": ""
},
"require": {
"php": ">=8.1",
"psr/container": "^2.0"
"psr/container": "^1.1|^2.0"
},
"conflict": {
"ext-psr": "<1.1|>=2"
@ -663,7 +597,7 @@
"standards"
],
"support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/service-contracts/tree/v3.4.1"
},
"funding": [
{
@ -679,27 +613,27 @@
"type": "tidelift"
}
],
"time": "2023-05-23T14:45:45+00:00"
"time": "2023-12-26T14:02:43+00:00"
},
{
"name": "symfony/var-exporter",
"version": "v6.3.4",
"version": "v7.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
"reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691"
"reference": "dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/df1f8aac5751871b83d30bf3e2c355770f8f0691",
"reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41",
"reference": "dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41",
"shasum": ""
},
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"require-dev": {
"symfony/var-dumper": "^5.4|^6.0"
"symfony/var-dumper": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@ -737,7 +671,7 @@
"serialize"
],
"support": {
"source": "https://github.com/symfony/var-exporter/tree/v6.3.4"
"source": "https://github.com/symfony/var-exporter/tree/v7.0.4"
},
"funding": [
{
@ -753,32 +687,31 @@
"type": "tidelift"
}
],
"time": "2023-08-16T18:14:47+00:00"
"time": "2024-02-26T10:35:24+00:00"
},
{
"name": "symfony/yaml",
"version": "v6.3.3",
"version": "v7.0.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "e23292e8c07c85b971b44c1c4b87af52133e2add"
"reference": "2d4fca631c00700597e9442a0b2451ce234513d3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/e23292e8c07c85b971b44c1c4b87af52133e2add",
"reference": "e23292e8c07c85b971b44c1c4b87af52133e2add",
"url": "https://api.github.com/repos/symfony/yaml/zipball/2d4fca631c00700597e9442a0b2451ce234513d3",
"reference": "2d4fca631c00700597e9442a0b2451ce234513d3",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.5|^3",
"php": ">=8.2",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"symfony/console": "<5.4"
"symfony/console": "<6.4"
},
"require-dev": {
"symfony/console": "^5.4|^6.0"
"symfony/console": "^6.4|^7.0"
},
"bin": [
"Resources/bin/yaml-lint"
@ -809,7 +742,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v6.3.3"
"source": "https://github.com/symfony/yaml/tree/v7.0.3"
},
"funding": [
{
@ -825,7 +758,7 @@
"type": "tidelift"
}
],
"time": "2023-07-31T07:08:24+00:00"
"time": "2024-01-23T15:02:46+00:00"
}
],
"packages-dev": [],
@ -842,5 +775,5 @@
"ext-curl": "*"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}

View file

@ -85,6 +85,7 @@ if (!empty($_GET["ch"])) {
} else {
// $clientHints = CustomClientHints::factory($_SERVER);
$clientHints = new CustomClientHints();
$headers = NULL;
}
//sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="98"