@capacitor/cli 4.6.0 → 4.6.1-dev-20221202T163618.0

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.
Binary file
Binary file
package/dist/cordova.js CHANGED
@@ -361,7 +361,8 @@ async function logiOSPlist(configElement, config, plugin) {
361
361
  let foundMatch = false;
362
362
  for (const existingElement of existingElementsArray) {
363
363
  if (existingElement.name === requiredElement.name &&
364
- existingElement.value === requiredElement.value) {
364
+ (existingElement.value === requiredElement.value ||
365
+ /^[$].{1,}$/.test(requiredElement.value.trim()))) {
365
366
  foundMatch = true;
366
367
  break;
367
368
  }
@@ -656,9 +657,11 @@ async function writeCordovaAndroidManifest(cordovaPlugins, config, platform) {
656
657
  if (requiredElement.attrs !== undefined) {
657
658
  const requiredELementAttrKeys = Object.keys(requiredElement.attrs);
658
659
  for (const key of requiredELementAttrKeys) {
659
- if (requiredElement.attrs[key] !==
660
- existingElement.attrs[key]) {
661
- return false;
660
+ if (!/^[$].{1,}$/.test(requiredElement.attrs[key].trim())) {
661
+ if (requiredElement.attrs[key] !==
662
+ existingElement.attrs[key]) {
663
+ return false;
664
+ }
662
665
  }
663
666
  }
664
667
  }
@@ -687,6 +690,7 @@ async function writeCordovaAndroidManifest(cordovaPlugins, config, platform) {
687
690
  }
688
691
  return true;
689
692
  };
693
+ /////////
690
694
  const parsedExistingElements = [];
691
695
  const rootKeyOfExistingElements = Object.keys(existingElements)[0];
692
696
  const rootOfExistingElementsToAdd = { name: rootKeyOfExistingElements, children: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "4.6.0",
3
+ "version": "4.6.1-dev-20221202T163618.0",
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)",
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "4bddec05b67b12878130b74a118b57076fe65d7d"
86
+ "gitHead": "49f6186bebad169ed766b76bb2738eaacce663d7"
87
87
  }