@capacitor/cli 4.7.1 → 4.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.7.2](https://github.com/ionic-team/capacitor/compare/4.7.1...4.7.2) (2023-03-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cli:** Fix cordova plugin config checker over checking on 4.x ([#6443](https://github.com/ionic-team/capacitor/issues/6443)) ([5ce68bb](https://github.com/ionic-team/capacitor/commit/5ce68bbb290f63ca1d15a9f87e0c2254896e0bfe))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.7.1](https://github.com/ionic-team/capacitor/compare/4.7.0...4.7.1) (2023-03-16)
7
18
 
8
19
 
Binary file
Binary file
package/dist/cordova.js CHANGED
@@ -695,16 +695,22 @@ async function writeCordovaAndroidManifest(cordovaPlugins, config, platform) {
695
695
  }
696
696
  }
697
697
  else {
698
- let foundRequiredElement = false;
699
- for (const existingElementItem of existingElement.children) {
700
- const foundRequiredElementIn = doesElementMatch(requiredElement, existingElementItem);
701
- if (foundRequiredElementIn) {
702
- foundRequiredElement = true;
703
- break;
704
- }
698
+ if (requiredElement.children === undefined &&
699
+ existingElement.children === undefined) {
700
+ return true;
705
701
  }
706
- if (!foundRequiredElement) {
707
- return false;
702
+ else {
703
+ let foundRequiredElement = false;
704
+ for (const existingElementItem of existingElement.children) {
705
+ const foundRequiredElementIn = doesElementMatch(requiredElement, existingElementItem);
706
+ if (foundRequiredElementIn) {
707
+ foundRequiredElement = true;
708
+ break;
709
+ }
710
+ }
711
+ if (!foundRequiredElement) {
712
+ return false;
713
+ }
708
714
  }
709
715
  }
710
716
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "4.7.1",
3
+ "version": "4.7.2",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "5dc164d02094b03ccea79a3efa97f958feb7eda6"
87
+ "gitHead": "f17e5827ea115250c17c289c3db5432b67df6907"
88
88
  }