chore(deps): update dependencies (#6732)

This commit is contained in:
Alexis Saettler
2023-07-01 13:42:01 +02:00
committed by GitHub
parent 63574d1230
commit dd10c86bbf
20 changed files with 893 additions and 788 deletions
@@ -30,7 +30,7 @@ class MonicaLocalize extends Command
*/
public function handle(): void
{
$locales = config('localizer.supported-locales');
$locales = config('localizer.supported_locales');
array_shift($locales);
$this->call('localize', ['lang' => implode(',', $locales)]);
@@ -11,7 +11,6 @@ use App\Domains\Vault\ManageVault\Web\ViewHelpers\VaultIndexViewHelper;
use App\Http\Controllers\Controller;
use App\Models\Contact;
use App\Models\Vault;
use Illuminate\Database\Eloquent\Factories\Relationship;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
@@ -4,7 +4,6 @@ namespace App\Domains\Settings\ManageTemplates\Services;
use App\Exceptions\CantBeDeletedException;
use App\Interfaces\ServiceInterface;
use App\Models\Module;
use App\Services\BaseService;
class DestroyModule extends BaseService implements ServiceInterface
@@ -24,7 +24,7 @@ class StoreLocale extends BaseService implements ServiceInterface
'required',
'string',
'max:5',
Rule::in(config('localizer.supported-locales')),
Rule::in(config('localizer.supported_locales')),
],
];
}
@@ -195,7 +195,7 @@ class UserPreferencesIndexViewHelper
'id' => $user->locale,
'name' => self::language($user->locale),
'dir' => htmldir(),
'locales' => collect(config('localizer.supported-locales'))
'locales' => collect(config('localizer.supported_locales'))
->map(fn ($locale) => [
'id' => $locale,
'name' => self::language($locale),
@@ -3,7 +3,6 @@
namespace App\Domains\Vault\ManageJournals\Services;
use App\Interfaces\ServiceInterface;
use App\Models\Contact;
use App\Models\ContactFeedItem;
use App\Models\Post;
use App\Services\BaseService;
@@ -3,7 +3,6 @@
namespace App\Domains\Vault\ManageJournals\Services;
use App\Interfaces\ServiceInterface;
use App\Models\Contact;
use App\Models\ContactFeedItem;
use App\Models\Post;
use App\Services\BaseService;
@@ -5,7 +5,6 @@ namespace App\Domains\Vault\ManageReports\Web\ViewHelpers;
use App\Helpers\ContactCardHelper;
use App\Helpers\DateHelper;
use App\Helpers\ImportantDateHelper;
use App\Models\Contact;
use App\Models\ContactImportantDate;
use App\Models\User;
use App\Models\Vault;
@@ -3,7 +3,6 @@
namespace App\Helpers;
use App\Models\ContactImportantDateType;
use App\Models\Vault;
use Illuminate\Support\Facades\Cache;
class ContactImportantDateHelper
-2
View File
@@ -3,8 +3,6 @@
namespace App\Helpers;
use App\Models\Goal;
use App\Models\User;
use App\Models\Vault;
use Carbon\Carbon;
class GoalHelper
-1
View File
@@ -4,7 +4,6 @@ namespace App\Traits;
use Illuminate\Contracts\Validation\Validator;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
trait JsonRespondController
{
+2 -2
View File
@@ -13,7 +13,7 @@
"php": "^8.2",
"ext-fileinfo": "*",
"asbiin/laravel-webauthn": "^3.2",
"codezero/laravel-localizer": "^1.7",
"codezero/laravel-localizer": "^2.0",
"guzzlehttp/guzzle": "^7.4",
"http-interop/http-factory-guzzle": "^1.2",
"inertiajs/inertia-laravel": "^0",
@@ -39,7 +39,7 @@
"socialiteproviders/microsoft-azure": "^5.1",
"socialiteproviders/twitter": "^4.1",
"tightenco/ziggy": "1.6.0",
"uploadcare/uploadcare-php": "^3.2"
"uploadcare/uploadcare-php": "^4.1"
},
"require-dev": {
"amirami/localizator": "^0.12.1@alpha",
Generated
+776 -699
View File
File diff suppressed because it is too large Load Diff
+34 -6
View File
@@ -6,14 +6,27 @@ return [
* The locales you wish to support.
* English HAS TO be the first language of the array.
*/
'supported-locales' => ['en', 'bn', 'ca', 'da', 'de', 'es', 'el', 'fr', 'he', 'hi', 'it', 'ja', 'ml', 'nl', 'no', 'pa', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'tr', 'ur', 'vi', 'zh'],
'supported_locales' => ['en', 'bn', 'ca', 'da', 'de', 'es', 'el', 'fr',
'he', 'hi', 'it', 'ja', 'ml', 'nl', 'no', 'pa', 'pl', 'pt', 'ro',
'ru', 'sv', 'te', 'tr', 'ur', 'vi', 'zh',
],
/**
* If your main locale is omitted from the URL, set it here.
* It will always be used if no supported locale is found in the URL.
* Note that no other detectors will run after the OmittedLocaleDetector!
* Setting this option to `null` will disable this detector.
*/
'omitted_locale' => null,
/**
* The detectors to use to find a matching locale.
* These will be executed in the order that they are added to the array!
*/
'detectors' => [
CodeZero\Localizer\Detectors\RouteActionDetector::class,
CodeZero\Localizer\Detectors\UrlDetector::class,
CodeZero\Localizer\Detectors\OmittedLocaleDetector::class,
CodeZero\Localizer\Detectors\UserDetector::class,
CodeZero\Localizer\Detectors\SessionDetector::class,
CodeZero\Localizer\Detectors\CookieDetector::class,
@@ -21,6 +34,15 @@ return [
CodeZero\Localizer\Detectors\AppDetector::class,
],
/**
* Add any of the above detector class names here to make it trusted.
* When a trusted detector returns a locale, it will be used
* as the app locale, regardless if it's a supported locale or not.
*/
'trusted_detectors' => [
//
],
/**
* The stores to store the first matching locale in.
*/
@@ -34,30 +56,36 @@ return [
* The index of the segment that has the locale,
* when using the UrlDetector.
*/
'url-segment' => 1,
'url_segment' => 1,
/**
* The attribute or "action" on the route that holds the locale,
* when using the RouteActionDetector.
*/
'route_action' => 'locale',
/**
* The attribute on the user model that holds the locale,
* when using the UserDetector.
*/
'user-attribute' => 'locale',
'user_attribute' => 'locale',
/**
* The session key that holds the locale,
* when using the SessionDetector and SessionStore.
*/
'session-key' => 'locale',
'session_key' => 'locale',
/**
* The name of the cookie that holds the locale,
* when using the CookieDetector and CookieStore.
*/
'cookie-name' => 'locale',
'cookie_name' => 'locale',
/**
* The lifetime of the cookie that holds the locale,
* when using the CookieStore.
*/
'cookie-minutes' => 60 * 24 * 365, // 1 year
'cookie_minutes' => 60 * 24 * 365, // 1 year
];
+6 -6
View File
@@ -24,24 +24,24 @@
"autoprefixer": "^10.4.14",
"axios": "^1.4.0",
"charts.css": "^0.9.0",
"eslint": "^8.42.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-vue": "^9.14.1",
"eslint-plugin-vue": "^9.15.1",
"husky": "^8.0.3",
"laravel-vite-plugin": "^0.7.8",
"laravel-vue-i18n": "^2.5.1",
"lint-staged": "^13.2.2",
"laravel-vue-i18n": "^2.6.1",
"lint-staged": "^13.2.3",
"lodash": "^4.17.21",
"mitt": "^3.0.0",
"postcss": "^8.4.24",
"postcss-import": "^15.1.0",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"sass": "^1.63.3",
"sass": "^1.63.6",
"tailwindcss": "^3.3.2",
"tiny-emitter": "^2.1.0",
"uploadcare-vue": "^1.0.0",
"v-calendar": "next",
"v-calendar": "^3.0.3",
"vite": "^4.3.9",
"vue": "^3.3.4",
"vue-clipboard3": "^2.0.0",
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=65e09ad17337bc012e95e6a52546ec50",
"/app-dark.css": "/app-dark.css?id=b44bf369e5d39f6861be639ef866bf5a",
"/app.css": "/app.css?id=41c5661581f2614180d6d33c17470f08"
"/app.js": "/app.js?id=743dfad5fd68f166e4d683df8449c953",
"/app-dark.css": "/app-dark.css?id=a9022d8e130bf3ec3a93350be9bf858e",
"/app.css": "/app.css?id=b89676ee10846bfd767c6836074db724"
}
+66 -57
View File
@@ -5,6 +5,13 @@ __metadata:
version: 6
cacheKey: 8
"@aashutoshrathi/word-wrap@npm:^1.2.3":
version: 1.2.6
resolution: "@aashutoshrathi/word-wrap@npm:1.2.6"
checksum: ada901b9e7c680d190f1d012c84217ce0063d8f5c5a7725bb91ec3c5ed99bb7572680eb2d2938a531ccbaec39a95422fcd8a6b4a13110c7d98dd75402f66a0cd
languageName: node
linkType: hard
"@alloc/quick-lru@npm:^5.2.0":
version: 5.2.0
resolution: "@alloc/quick-lru@npm:5.2.0"
@@ -280,27 +287,27 @@ __metadata:
languageName: node
linkType: hard
"@eslint/eslintrc@npm:^2.0.3":
version: 2.0.3
resolution: "@eslint/eslintrc@npm:2.0.3"
"@eslint/eslintrc@npm:^2.1.0":
version: 2.1.0
resolution: "@eslint/eslintrc@npm:2.1.0"
dependencies:
ajv: ^6.12.4
debug: ^4.3.2
espree: ^9.5.2
espree: ^9.6.0
globals: ^13.19.0
ignore: ^5.2.0
import-fresh: ^3.2.1
js-yaml: ^4.1.0
minimatch: ^3.1.2
strip-json-comments: ^3.1.1
checksum: ddc51f25f8524d8231db9c9bf03177e503d941a332e8d5ce3b10b09241be4d5584a378a529a27a527586bfbccf3031ae539eb891352033c340b012b4d0c81d92
checksum: d5ed0adbe23f6571d8c9bb0ca6edf7618dc6aed4046aa56df7139f65ae7b578874e0d9c796df784c25bda648ceb754b6320277d828c8b004876d7443b8dc018c
languageName: node
linkType: hard
"@eslint/js@npm:8.42.0":
version: 8.42.0
resolution: "@eslint/js@npm:8.42.0"
checksum: 750558843ac458f7da666122083ee05306fc087ecc1e5b21e7e14e23885775af6c55bcc92283dff1862b7b0d8863ec676c0f18c7faf1219c722fe91a8ece56b6
"@eslint/js@npm:8.44.0":
version: 8.44.0
resolution: "@eslint/js@npm:8.44.0"
checksum: fc539583226a28f5677356e9f00d2789c34253f076643d2e32888250e509a4e13aafe0880cb2425139051de0f3a48d25bfc5afa96b7304f203b706c17340e3cf
languageName: node
linkType: hard
@@ -924,6 +931,15 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:^8.9.0":
version: 8.9.0
resolution: "acorn@npm:8.9.0"
bin:
acorn: bin/acorn
checksum: 25dfb94952386ecfb847e61934de04a4e7c2dc21c2e700fc4e2ef27ce78cb717700c4c4f279cd630bb4774948633c3859fc16063ec8573bda4568e0a312e6744
languageName: node
linkType: hard
"agent-base@npm:6, agent-base@npm:^6.0.2":
version: 6.0.2
resolution: "agent-base@npm:6.0.2"
@@ -1747,9 +1763,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-vue@npm:^9.14.1":
version: 9.14.1
resolution: "eslint-plugin-vue@npm:9.14.1"
"eslint-plugin-vue@npm:^9.15.1":
version: 9.15.1
resolution: "eslint-plugin-vue@npm:9.15.1"
dependencies:
"@eslint-community/eslint-utils": ^4.3.0
natural-compare: ^1.4.0
@@ -1760,7 +1776,7 @@ __metadata:
xml-name-validator: ^4.0.0
peerDependencies:
eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
checksum: 63a7d90194fe36b605c74fcb43d0f4d41d996b0d8733b89e1979a5fe1d400ee8a6d74d9b5cc9fbdff532f1c0aec93019e93f775a1f1b693d703b97ad1b932543
checksum: b1cdb16e43e681938c25f1d3f2d5d0d76a99172efdcfa0fa98cdb21122d520e12ae2f8ff2b40bf47a5b9f476f54199494a2851d99edc5bad0a25156ef38eeac4
languageName: node
linkType: hard
@@ -1798,14 +1814,14 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.42.0":
version: 8.42.0
resolution: "eslint@npm:8.42.0"
"eslint@npm:^8.44.0":
version: 8.44.0
resolution: "eslint@npm:8.44.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@eslint-community/regexpp": ^4.4.0
"@eslint/eslintrc": ^2.0.3
"@eslint/js": 8.42.0
"@eslint/eslintrc": ^2.1.0
"@eslint/js": 8.44.0
"@humanwhocodes/config-array": ^0.11.10
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
@@ -1817,7 +1833,7 @@ __metadata:
escape-string-regexp: ^4.0.0
eslint-scope: ^7.2.0
eslint-visitor-keys: ^3.4.1
espree: ^9.5.2
espree: ^9.6.0
esquery: ^1.4.2
esutils: ^2.0.2
fast-deep-equal: ^3.1.3
@@ -1837,13 +1853,13 @@ __metadata:
lodash.merge: ^4.6.2
minimatch: ^3.1.2
natural-compare: ^1.4.0
optionator: ^0.9.1
optionator: ^0.9.3
strip-ansi: ^6.0.1
strip-json-comments: ^3.1.0
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 07105397b5f2ff4064b983b8971e8c379ec04b1dfcc9d918976b3e00377189000161dac991d82ba14f8759e466091b8c71146f602930ca810c290ee3fcb3faf0
checksum: d06309ce4aafb9d27d558c8e5e5aa5cba3bbec3ce8ceccbc7d4b7a35f2b67fd40189159155553270e2e6febeb69bd8a3b60d6241c8f5ddc2ef1702ccbd328501
languageName: node
linkType: hard
@@ -1858,14 +1874,14 @@ __metadata:
languageName: node
linkType: hard
"espree@npm:^9.5.2":
version: 9.5.2
resolution: "espree@npm:9.5.2"
"espree@npm:^9.6.0":
version: 9.6.0
resolution: "espree@npm:9.6.0"
dependencies:
acorn: ^8.8.0
acorn: ^8.9.0
acorn-jsx: ^5.3.2
eslint-visitor-keys: ^3.4.1
checksum: 6506289d6eb26471c0b383ee24fee5c8ae9d61ad540be956b3127be5ce3bf687d2ba6538ee5a86769812c7c552a9d8239e8c4d150f9ea056c6d5cbe8399c03c1
checksum: 1287979510efb052a6a97c73067ea5d0a40701b29adde87bbe2d3eb1667e39ca55e8129e20e2517fed3da570150e7ef470585228459a8f3e3755f45007a1c662
languageName: node
linkType: hard
@@ -2537,13 +2553,13 @@ __metadata:
languageName: node
linkType: hard
"laravel-vue-i18n@npm:^2.5.1":
version: 2.5.1
resolution: "laravel-vue-i18n@npm:2.5.1"
"laravel-vue-i18n@npm:^2.6.1":
version: 2.6.1
resolution: "laravel-vue-i18n@npm:2.6.1"
dependencies:
php-parser: 3.1.3
vue: ^3.2.45
checksum: a154b8eedec96d2a6f7b2c486056f68653ff451bb6b313c45d5f1d98ad52d90235bf91e88b46f4b391b0e1a2c5e41ada124854238f2e335af6f359fa958fcfdd
checksum: 04b62ffeec4b3ffdf669753555f24492f04850960fbb6e6998dbb008425582ff0e4bee4fcae2d6717fb616c50b0972c558e9a57f6444296137896c974ebe2bc4
languageName: node
linkType: hard
@@ -2578,9 +2594,9 @@ __metadata:
languageName: node
linkType: hard
"lint-staged@npm:^13.2.2":
version: 13.2.2
resolution: "lint-staged@npm:13.2.2"
"lint-staged@npm:^13.2.3":
version: 13.2.3
resolution: "lint-staged@npm:13.2.3"
dependencies:
chalk: 5.2.0
cli-truncate: ^3.1.0
@@ -2597,7 +2613,7 @@ __metadata:
yaml: ^2.2.2
bin:
lint-staged: bin/lint-staged.js
checksum: f34f6e2e85e827364658ab8717bf8b35239473c2d4959d746b053a4cf158ac657348444c755820a8ef3eac2d4753a37c52e9db3e201ee20b085f26d2f2fbc9ed
checksum: ff51a1e33072f488b28b938ed47323816a1ff278ef6d0e5cbe1704b292773a6c8ce945b504eae3a9b5702917a979523a741f17023e16077bd5fa35be687cc067
languageName: node
linkType: hard
@@ -3143,17 +3159,17 @@ __metadata:
languageName: node
linkType: hard
"optionator@npm:^0.9.1":
version: 0.9.1
resolution: "optionator@npm:0.9.1"
"optionator@npm:^0.9.3":
version: 0.9.3
resolution: "optionator@npm:0.9.3"
dependencies:
"@aashutoshrathi/word-wrap": ^1.2.3
deep-is: ^0.1.3
fast-levenshtein: ^2.0.6
levn: ^0.4.1
prelude-ls: ^1.2.1
type-check: ^0.4.0
word-wrap: ^1.2.3
checksum: dbc6fa065604b24ea57d734261914e697bd73b69eff7f18e967e8912aa2a40a19a9f599a507fa805be6c13c24c4eae8c71306c239d517d42d4c041c942f508a0
checksum: 09281999441f2fe9c33a5eeab76700795365a061563d66b098923eb719251a42bdbe432790d35064d0816ead9296dbeb1ad51a733edf4167c96bd5d0882e428a
languageName: node
linkType: hard
@@ -3695,24 +3711,24 @@ __metadata:
autoprefixer: ^10.4.14
axios: ^1.4.0
charts.css: ^0.9.0
eslint: ^8.42.0
eslint: ^8.44.0
eslint-config-prettier: ^8.8.0
eslint-plugin-vue: ^9.14.1
eslint-plugin-vue: ^9.15.1
husky: ^8.0.3
laravel-vite-plugin: ^0.7.8
laravel-vue-i18n: ^2.5.1
lint-staged: ^13.2.2
laravel-vue-i18n: ^2.6.1
lint-staged: ^13.2.3
lodash: ^4.17.21
mitt: ^3.0.0
postcss: ^8.4.24
postcss-import: ^15.1.0
prettier: ^2.8.8
prettier-plugin-tailwindcss: ^0.3.0
sass: ^1.63.3
sass: ^1.63.6
tailwindcss: ^3.3.2
tiny-emitter: ^2.1.0
uploadcare-vue: ^1.0.0
v-calendar: next
v-calendar: ^3.0.3
vite: ^4.3.9
vue: ^3.3.4
vue-clipboard3: ^2.0.0
@@ -3753,16 +3769,16 @@ __metadata:
languageName: node
linkType: hard
"sass@npm:^1.63.3":
version: 1.63.3
resolution: "sass@npm:1.63.3"
"sass@npm:^1.63.6":
version: 1.63.6
resolution: "sass@npm:1.63.6"
dependencies:
chokidar: ">=3.0.0 <4.0.0"
immutable: ^4.0.0
source-map-js: ">=0.6.2 <2.0.0"
bin:
sass: sass.js
checksum: 41d1d7e875be738a8b5ef92bc722b20fd88f9fc8db61caa17dec37e0a53739cf28dc3b79481b1998c410c82c30247f473c2559e64cec7c4d851e5cea0434ec4e
checksum: 3372319904658eeafaf78a09a6fcb3368a68e6d76fe3c43c2d009f4f72e475ab22b82ef483ef5c00fcda3ab00066846c0bd88c36b42771b855f6ab80c7eda541
languageName: node
linkType: hard
@@ -4256,7 +4272,7 @@ __metadata:
languageName: node
linkType: hard
"v-calendar@npm:next":
"v-calendar@npm:^3.0.3":
version: 3.0.3
resolution: "v-calendar@npm:3.0.3"
dependencies:
@@ -4434,13 +4450,6 @@ __metadata:
languageName: node
linkType: hard
"word-wrap@npm:^1.2.3":
version: 1.2.3
resolution: "word-wrap@npm:1.2.3"
checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f
languageName: node
linkType: hard
"wrap-ansi@npm:^6.2.0":
version: 6.2.0
resolution: "wrap-ansi@npm:6.2.0"