From 3232723602b3c3539fcd8914b3fae200d57ac6c6 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 18 Oct 2024 14:41:47 +0200 Subject: [PATCH] fix: :ambulance: crash on firefox 115 (fix #158) --- composer.json | 2 +- composer.lock | 12 ++++---- package-lock.json | 70 +++++++++++++++++++++++++++++++++++++++-------- package.json | 1 + src/main.ts | 1 + 5 files changed, 68 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index e1791c6..bae7e55 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "psalm": "psalm --threads=1 --no-cache --show-info=true" }, "require-dev": { - "nextcloud/ocp": "^30.0.0", + "nextcloud/ocp": "^30.0.1", "roave/security-advisories": "dev-latest", "nextcloud/coding-standard": "^1.3.2", "vimeo/psalm": "^5.26.1" diff --git a/composer.lock b/composer.lock index dd0fb26..6fabdc1 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "f39b412fa3425e654d5e36a8f262d974", + "content-hash": "5a1439d96be53bc55190f445c273a900", "packages": [], "packages-dev": [ { @@ -1359,12 +1359,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "6360940d585658ef1c4965a053b6632314d4bd5b" + "reference": "062376b6f97b90ec6f8731b04c9e5879d1f70ad7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/6360940d585658ef1c4965a053b6632314d4bd5b", - "reference": "6360940d585658ef1c4965a053b6632314d4bd5b", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/062376b6f97b90ec6f8731b04c9e5879d1f70ad7", + "reference": "062376b6f97b90ec6f8731b04c9e5879d1f70ad7", "shasum": "" }, "conflict": { @@ -1878,7 +1878,7 @@ "rap2hpoutre/laravel-log-viewer": "<0.13", "react/http": ">=0.7,<1.9", "really-simple-plugins/complianz-gdpr": "<6.4.2", - "redaxo/source": "<=5.15.1", + "redaxo/source": "<=5.17.1", "remdex/livehelperchat": "<4.29", "reportico-web/reportico": "<=8.1", "rhukster/dom-sanitizer": "<1.0.7", @@ -2183,7 +2183,7 @@ "type": "tidelift" } ], - "time": "2024-10-16T20:05:11+00:00" + "time": "2024-10-17T23:05:35+00:00" }, { "name": "sebastian/diff", diff --git a/package-lock.json b/package-lock.json index 74d2220..29d47e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "name": "repod", "license": "AGPL-3.0-or-later", "dependencies": { + "@formatjs/intl-segmenter": "^11.5.9", "@nextcloud/axios": "^2.5.1", "@nextcloud/initial-state": "^2.2.0", "@nextcloud/l10n": "^3.1.0", @@ -1240,6 +1241,46 @@ "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==", "license": "MIT" }, + "node_modules/@formatjs/ecma402-abstract": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-2.2.0.tgz", + "integrity": "sha512-IpM+ev1E4QLtstniOE29W1rqH9eTdx5hQdNL8pzrflMj/gogfaoONZqL83LUeQScHAvyMbpqP5C9MzNf+fFwhQ==", + "license": "MIT", + "dependencies": { + "@formatjs/fast-memoize": "2.2.1", + "@formatjs/intl-localematcher": "0.5.5", + "tslib": "^2.7.0" + } + }, + "node_modules/@formatjs/fast-memoize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-2.2.1.tgz", + "integrity": "sha512-XS2RcOSyWxmUB7BUjj3mlPH0exsUzlf6QfhhijgI941WaJhVxXQ6mEWkdUFIdnKi3TuTYxRdelsgv3mjieIGIA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.7.0" + } + }, + "node_modules/@formatjs/intl-localematcher": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.5.5.tgz", + "integrity": "sha512-t5tOGMgZ/i5+ALl2/offNqAQq/lfUnKLEw0mXQI4N4bqpedhrSE+fyKLpwnd22sK0dif6AV+ufQcTsKShB9J1g==", + "license": "MIT", + "dependencies": { + "tslib": "^2.7.0" + } + }, + "node_modules/@formatjs/intl-segmenter": { + "version": "11.5.9", + "resolved": "https://registry.npmjs.org/@formatjs/intl-segmenter/-/intl-segmenter-11.5.9.tgz", + "integrity": "sha512-/vRTJsue3GWk+jvf0VJao9xL+/sIykoMwTBzbq1UWGiyIcUdI4P+02KRbXCURgHovy2Ew7zkV7p8MYjTw8lrMw==", + "license": "MIT", + "dependencies": { + "@formatjs/ecma402-abstract": "2.2.0", + "@formatjs/intl-localematcher": "0.5.5", + "tslib": "^2.7.0" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", @@ -4999,9 +5040,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.40", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.40.tgz", - "integrity": "sha512-LYm78o6if4zTasnYclgQzxEcgMoIcybWOhkATWepN95uwVVWV0/IW10v+2sIeHE+bIYWipLneTftVyQm45UY7g==", + "version": "1.5.41", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.41.tgz", + "integrity": "sha512-dfdv/2xNjX0P8Vzme4cfzHqnPm5xsZXwsolTYr0eyW18IUmNyG08vL+fttvinTfhKfIKdRoqkDIC9e9iWQCNYQ==", "license": "ISC" }, "node_modules/elliptic": { @@ -10659,9 +10700,9 @@ } }, "node_modules/sass": { - "version": "1.80.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.1.tgz", - "integrity": "sha512-9lBwDZ7j3y/1DKj5Ec249EVGo5CVpwnzIyIj+cqlCjKkApLnzsJ/l9SnV4YnORvW9dQwQN+gQvh/mFZ8CnDs7Q==", + "version": "1.80.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.2.tgz", + "integrity": "sha512-9wXY8cGBlUmoUoT+vwOZOFCiS+naiWVjqlreN9ar9PudXbGwlMTFwCR5K9kB4dFumJ6ib98wZyAObJKsWf1nAA==", "license": "MIT", "peer": true, "dependencies": { @@ -11494,9 +11535,9 @@ } }, "node_modules/stylelint-scss": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.8.0.tgz", - "integrity": "sha512-6gjsCZ30UUF6ivjZB2Z+1lb6k0+JFa1uR2MgGbYu76xRjEfvNTpSS1nQim1Gom1ijFF9GzauOiq1Kr7zKptQOw==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.8.1.tgz", + "integrity": "sha512-al+5eRb72bKrFyVAY+CLWKUMX+k+wsDCgyooSfhISJA2exqnJq1PX1iIIpdrvhu3GtJgNJZl9/BIW6EVSMCxdg==", "dev": true, "license": "MIT", "peer": true, @@ -11504,7 +11545,7 @@ "css-tree": "^3.0.0", "is-plain-object": "^5.0.0", "known-css-properties": "^0.34.0", - "mdn-data": "^2.0.30", + "mdn-data": "^2.11.1", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.6", "postcss-selector-parser": "^6.1.2", @@ -11517,6 +11558,14 @@ "stylelint": "^16.0.2" } }, + "node_modules/stylelint-scss/node_modules/mdn-data": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.11.1.tgz", + "integrity": "sha512-Hdx3wmyqPFrhd6YHVuSkUK2eIGAcxR0xlndcgZqjA68yMJTbfXrjJwbgsBOsNjI7LnBIVUQnmyMVSdi/ob0GpQ==", + "dev": true, + "license": "CC0-1.0", + "peer": true + }, "node_modules/stylelint/node_modules/balanced-match": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", @@ -11937,7 +11986,6 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", - "dev": true, "license": "0BSD" }, "node_modules/tty-browserify": { diff --git a/package.json b/package.json index 2344412..58973ee 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "prettier": "@nextcloud/prettier-config", "dependencies": { + "@formatjs/intl-segmenter": "^11.5.9", "@nextcloud/axios": "^2.5.1", "@nextcloud/initial-state": "^2.2.0", "@nextcloud/l10n": "^3.1.0", diff --git a/src/main.ts b/src/main.ts index fa3b35a..398156e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,3 +1,4 @@ +import '@formatjs/intl-segmenter/polyfill' import App from './App.vue' import { createApp } from 'vue' import { createPinia } from 'pinia'