diff --git a/licenses.json b/licenses.json index 46519c4859f..270571def2c 100644 --- a/licenses.json +++ b/licenses.json @@ -1121,10 +1121,10 @@ "url": "http://twitter.com/alexiskofman", "licenseFile": "LICENSE" }, - "cordova-plugin-advanced-http@3.3.1": { + "@moodlehq/cordova-plugin-advanced-http@3.3.1": { "licenses": "MIT", - "repository": "https://github.com/silkimen/cordova-plugin-advanced-http", - "publisher": "Wymsee", + "repository": "https://github.com/moodlemobile/cordova-plugin-advanced-http", + "publisher": "Moodle Mobile Team", "licenseFile": "LICENSE" }, "cordova-plugin-androidx-adapter@1.1.3": { diff --git a/package-lock.json b/package-lock.json index c1753405ca8..5512c9e9bf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4800,6 +4800,11 @@ "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==", "dev": true }, + "@moodlehq/cordova-plugin-advanced-http": { + "version": "3.3.1-moodle.1", + "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.3.1-moodle.1.tgz", + "integrity": "sha512-46nKtj9s/GL5FlS1DdJL6GxHqQVUj0QAB+og4RzZyz1cSgP4E51dZ4s5+RGq/5nNJCJ2J57/hrZa06VKlFKSig==" + }, "@moodlehq/cordova-plugin-camera": { "version": "6.0.0-moodle.2", "resolved": "https://registry.npmjs.org/@moodlehq/cordova-plugin-camera/-/cordova-plugin-camera-6.0.0-moodle.2.tgz", @@ -10190,6 +10195,25 @@ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, + "optional": true, + "requires": { + "file-uri-to-path": "1.0.0" + }, + "dependencies": { + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true, + "optional": true + } + } + }, "bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -12498,11 +12522,6 @@ } } }, - "cordova-plugin-advanced-http": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/cordova-plugin-advanced-http/-/cordova-plugin-advanced-http-3.3.1.tgz", - "integrity": "sha512-hESuB3mxIHCUrzb5lm7juda6PSNcC5N8Invizj5wGV2rSldCapiNxMTEpzKR1UVPDDP2XOtBzO0SAYS+3+g/ig==" - }, "cordova-plugin-androidx-adapter": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/cordova-plugin-androidx-adapter/-/cordova-plugin-androidx-adapter-1.1.3.tgz", @@ -12569,10 +12588,10 @@ "regenerator-runtime": "^0.13.11" } }, - "@esbuild/darwin-x64": { + "@esbuild/linux-x64": { "version": "0.18.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz", - "integrity": "sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz", + "integrity": "sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==", "optional": true }, "ansi-regex": { @@ -12662,7 +12681,6 @@ "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -12843,7 +12861,7 @@ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.11.tgz", "integrity": "sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==", "requires": { - "@esbuild/darwin-x64": "0.18.11" + "@esbuild/linux-x64": "0.18.11" } }, "escalade": { @@ -12867,12 +12885,6 @@ "locate-path": "^3.0.0" } }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "optional": true - }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -17268,7 +17280,11 @@ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "dev": true, - "optional": true + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } }, "glob-parent": { "version": "3.1.0", @@ -22279,6 +22295,13 @@ "global": "^4.4.0" } }, + "nan": { + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", + "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==", + "dev": true, + "optional": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -30149,7 +30172,11 @@ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "dev": true, - "optional": true + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } }, "glob-parent": { "version": "3.1.0", @@ -30779,7 +30806,11 @@ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", "dev": true, - "optional": true + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } }, "glob-parent": { "version": "3.1.0", diff --git a/package.json b/package.json index 643db22fee9..7ace6399280 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "@ionic-native/web-intent": "^5.36.0", "@ionic-native/zip": "^5.36.0", "@ionic/angular": "^5.9.4", + "@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-inappbrowser": "5.0.0-moodle.3", @@ -99,7 +100,6 @@ "cordova-clipboard": "^1.3.0", "cordova-ios": "^6.2.0", "cordova-plugin-add-swift-support": "^2.0.2", - "cordova-plugin-advanced-http": "^3.3.1", "cordova-plugin-androidx-adapter": "^1.1.3", "cordova-plugin-badge": "^0.8.9", "cordova-plugin-chooser": "^1.3.2", @@ -206,7 +206,7 @@ "ios" ], "plugins": { - "cordova-plugin-advanced-http": { + "@moodlehq/cordova-plugin-advanced-http": { "ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1" }, "cordova-clipboard": {},