From 7c21fd4f272419851490e9f72e46972556f54c01 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 31 Jan 2024 12:50:11 +0100 Subject: [PATCH] MOBILE-4492 package.json: Update cordova-plugin-file and other plugins --- package-lock.json | 140 +++++++++++++++++++++++++++------------------- package.json | 20 +++---- 2 files changed, 93 insertions(+), 67 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1481f4fb..be9c20de2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,10 +43,10 @@ "@ionic/angular": "^7.6.5", "@ionic/cordova-builders": "^10.1.1", "@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1", - "@moodlehq/cordova-plugin-camera": "6.0.0-moodle.2", - "@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5", + "@moodlehq/cordova-plugin-file-opener": "4.0.0-moodle.1", + "@moodlehq/cordova-plugin-file-transfer": "2.0.0-moodle.2", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", - "@moodlehq/cordova-plugin-intent": "2.2.0-moodle.2", + "@moodlehq/cordova-plugin-intent": "2.2.0-moodle.3", "@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.3", "@moodlehq/cordova-plugin-local-notification": "0.9.0-moodle.11", "@moodlehq/cordova-plugin-qrscanner": "3.0.1-moodle.5", @@ -66,14 +66,14 @@ "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-badge": "^0.8.9", + "cordova-plugin-camera": "^7.0.0", "cordova-plugin-chooser": "^1.3.2", "cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-device": "^2.1.0", - "cordova-plugin-file": "6.0.2", - "cordova-plugin-file-opener2": "^4.0.0", + "cordova-plugin-file": "^8.0.1", "cordova-plugin-geolocation": "^5.0.0", "cordova-plugin-ionic-keyboard": "^2.2.0", - "cordova-plugin-media-capture": "3.0.3", + "cordova-plugin-media-capture": "^5.0.0", "cordova-plugin-network-information": "^3.0.0", "cordova-plugin-prevent-override": "^1.0.1", "cordova-plugin-screen-orientation": "^3.0.4", @@ -7745,44 +7745,33 @@ ], "license": "MIT" }, - "node_modules/@moodlehq/cordova-plugin-camera": { - "version": "6.0.0-moodle.2", - "license": "Apache-2.0", + "node_modules/@moodlehq/cordova-plugin-file-opener": { + "version": "4.0.0-moodle.1", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-file-opener/-/cordova-plugin-file-opener-4.0.0-moodle.1.tgz", + "integrity": "sha512-8UoGoXA9mTixAPJ2YpewHJgRvNBE+5NrH0koo4yAuHV0MN4FslICOPatsaIuuTQC7ciH9Y02sizjSWpHpIS8mg==", "engines": { "cordovaDependencies": { + "2.0.0": { + "cordova": ">=6.0.0" + }, "3.0.0": { - "cordova-android": ">=6.3.0" + "cordova": ">=7.0.0" }, - "4.1.0": { - "cordova": ">=7.1.0", - "cordova-android": ">=6.3.0" - }, - "5.0.0": { - "cordova": ">=9.0.0", - "cordova-android": ">=9.0.0", - "cordova-ios": ">=5.1.0" - }, - "5.0.4-dev": { - "cordova": ">=9.0.0", - "cordova-android": "<10.0.0", - "cordova-ios": ">=5.1.0" - }, - "6.0.0": { - "cordova": ">=9.0.0", - "cordova-android": ">=10.0.0", - "cordova-ios": ">=5.1.0" - }, - "7.0.0": { - "cordova": ">100" + "4.0.0": { + "cordova-android": ">=10.0.0" } } } }, "node_modules/@moodlehq/cordova-plugin-file-transfer": { - "version": "1.7.1-moodle.5", - "license": "Apache-2.0", + "version": "2.0.0-moodle.2", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-file-transfer/-/cordova-plugin-file-transfer-2.0.0-moodle.2.tgz", + "integrity": "sha512-RAujySF80CtMF5+QgiSzEsyLldko15wwouLnwNkL4qszhj11OuHStNIY2d46Gert4RspHzbGxRExQDeqJN5u8Q==", "engines": { "cordovaDependencies": { + "2.0.0": { + "cordova-android": ">=12.0.0" + }, "3.0.0": { "cordova": ">100" } @@ -7813,8 +7802,9 @@ } }, "node_modules/@moodlehq/cordova-plugin-intent": { - "version": "2.2.0-moodle.2", - "license": "MIT" + "version": "2.2.0-moodle.3", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-intent/-/cordova-plugin-intent-2.2.0-moodle.3.tgz", + "integrity": "sha512-sr5PPeGADRVM+z9JMGX4D5jhaAl4tD1s6SKrkChnEXxrONq9KZ7qkiZ68BsNsi962+PsRKMxLd0hfb8PZwphUg==" }, "node_modules/@moodlehq/cordova-plugin-ionic-webview": { "version": "5.0.0-moodle.3", @@ -12734,6 +12724,45 @@ ], "license": "Apache 2.0" }, + "node_modules/cordova-plugin-camera": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-camera/-/cordova-plugin-camera-7.0.0.tgz", + "integrity": "sha512-OVQWZTBb18Y6e5c+bbXt3E4Z1yGnYqaywh2h5vVr/+nxMcdMIE+lm527bRK5vLN/RUqhGYP/Z+5n+O7Fk7fVNw==", + "engines": { + "cordovaDependencies": { + "3.0.0": { + "cordova-android": ">=6.3.0" + }, + "4.1.0": { + "cordova": ">=7.1.0", + "cordova-android": ">=6.3.0" + }, + "5.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=9.0.0", + "cordova-ios": ">=5.1.0" + }, + "5.0.4-dev": { + "cordova": ">=9.0.0", + "cordova-android": "<10.0.0", + "cordova-ios": ">=5.1.0" + }, + "6.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=10.0.0", + "cordova-ios": ">=5.1.0" + }, + "7.0.0": { + "cordova": ">=9.0.0", + "cordova-android": ">=12.0.0", + "cordova-ios": ">=5.1.0" + }, + "8.0.0": { + "cordova": ">100" + } + } + } + }, "node_modules/cordova-plugin-chooser": { "version": "1.3.2", "license": "Apache-2.0" @@ -12761,32 +12790,22 @@ } }, "node_modules/cordova-plugin-file": { - "version": "6.0.2", - "license": "Apache-2.0", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cordova-plugin-file/-/cordova-plugin-file-8.0.1.tgz", + "integrity": "sha512-LgFLNQN58xguoJkNc8eGBmg/Vuaah9lY3Nye27OAfWCKalXPRjExIg5r8L3qlfiJxzmzupjrF0M4KdU2Lovm3Q==", "engines": { "cordovaDependencies": { "5.0.0": { "cordova-android": ">=6.3.0" }, "7.0.0": { - "cordova": ">100" - } - } - } - }, - "node_modules/cordova-plugin-file-opener2": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "cordovaDependencies": { - "2.0.0": { - "cordova": ">=6.0.0" - }, - "3.0.0": { - "cordova": ">=7.0.0" - }, - "4.0.0": { "cordova-android": ">=10.0.0" + }, + "8.0.0": { + "cordova-android": ">=12.0.0" + }, + "9.0.0": { + "cordova": ">100" } } } @@ -12811,17 +12830,24 @@ "license": "Apache 2.0" }, "node_modules/cordova-plugin-media-capture": { - "version": "3.0.3", - "license": "Apache-2.0", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-media-capture/-/cordova-plugin-media-capture-5.0.0.tgz", + "integrity": "sha512-eI8BNH3lHnWzdcpb+4Gy7mwHbN5fOKyoZfwRC1o7L/9kXiVF7S5aG5gvaga+CUSnrgsbrg4b8pSIfq70lRFrlw==", "engines": { "cordovaDependencies": { - ">=1.4.4": { + "1.4.4": { "cordova-ios": ">=4.0.0" }, "2.0.0": { "cordova-android": ">=6.3.0" }, "4.0.0": { + "cordova-android": ">=10.0.0" + }, + "5.0.0": { + "cordova-android": ">=12.0.0" + }, + "6.0.0": { "cordova": ">100" } } diff --git a/package.json b/package.json index 7dddd255a..e9b1465dd 100644 --- a/package.json +++ b/package.json @@ -78,10 +78,10 @@ "@ionic/angular": "^7.6.5", "@ionic/cordova-builders": "^10.1.1", "@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1", - "@moodlehq/cordova-plugin-camera": "6.0.0-moodle.2", - "@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5", + "@moodlehq/cordova-plugin-file-opener": "4.0.0-moodle.1", + "@moodlehq/cordova-plugin-file-transfer": "2.0.0-moodle.2", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", - "@moodlehq/cordova-plugin-intent": "2.2.0-moodle.2", + "@moodlehq/cordova-plugin-intent": "2.2.0-moodle.3", "@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.3", "@moodlehq/cordova-plugin-local-notification": "0.9.0-moodle.11", "@moodlehq/cordova-plugin-qrscanner": "3.0.1-moodle.5", @@ -101,14 +101,14 @@ "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-badge": "^0.8.9", + "cordova-plugin-camera": "^7.0.0", "cordova-plugin-chooser": "^1.3.2", "cordova-plugin-customurlscheme": "^5.0.2", "cordova-plugin-device": "^2.1.0", - "cordova-plugin-file": "6.0.2", - "cordova-plugin-file-opener2": "^4.0.0", + "cordova-plugin-file": "^8.0.1", "cordova-plugin-geolocation": "^5.0.0", "cordova-plugin-ionic-keyboard": "^2.2.0", - "cordova-plugin-media-capture": "3.0.3", + "cordova-plugin-media-capture": "^5.0.0", "cordova-plugin-network-information": "^3.0.0", "cordova-plugin-prevent-override": "^1.0.1", "cordova-plugin-screen-orientation": "^3.0.4", @@ -196,9 +196,7 @@ "@moodlehq/cordova-plugin-advanced-http": { "ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1" }, - "@moodlehq/cordova-plugin-camera": { - "ANDROIDX_CORE_VERSION": "1.6.+" - }, + "@moodlehq/cordova-plugin-file-opener": {}, "@moodlehq/cordova-plugin-file-transfer": {}, "@moodlehq/cordova-plugin-inappbrowser": {}, "@moodlehq/cordova-plugin-intent": {}, @@ -216,6 +214,9 @@ "cordova-clipboard": {}, "cordova-plugin-androidx-adapter": {}, "cordova-plugin-badge": {}, + "cordova-plugin-camera": { + "ANDROIDX_CORE_VERSION": "1.6.+" + }, "cordova-plugin-chooser": {}, "cordova-plugin-customurlscheme": { "URL_SCHEME": "moodlemobile", @@ -224,7 +225,6 @@ "ANDROID_PATHPREFIX": "/" }, "cordova-plugin-device": {}, - "cordova-plugin-file-opener2": {}, "cordova-plugin-geolocation": { "GPS_REQUIRED": "false" },