@capacitor/cli 3.4.2 → 3.4.3

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
+ ## [3.4.3](https://github.com/ionic-team/capacitor/compare/3.4.2...3.4.3) (2022-03-04)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cli:** avoid srcFiles is not iterable on kotlinNeededCheck ([#5481](https://github.com/ionic-team/capacitor/issues/5481)) ([3c2b579](https://github.com/ionic-team/capacitor/commit/3c2b579c6edb1fc69d85689b268eb92067b7821b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.4.2](https://github.com/ionic-team/capacitor/compare/3.4.1...3.4.2) (2022-03-03)
7
18
 
8
19
 
Binary file
Binary file
@@ -232,10 +232,12 @@ async function kotlinNeededCheck(config, cordovaPlugins) {
232
232
  'true') {
233
233
  for (const plugin of cordovaPlugins) {
234
234
  const androidPlatform = plugin_1.getPluginPlatform(plugin, platform);
235
- const srcFiles = androidPlatform['source-file'];
236
- for (const srcFile of srcFiles) {
237
- if (/^.*\.kt$/.test(srcFile['$'].src)) {
238
- return true;
235
+ const sourceFiles = androidPlatform['source-file'];
236
+ if (sourceFiles) {
237
+ for (const srcFile of sourceFiles) {
238
+ if (/^.*\.kt$/.test(srcFile['$'].src)) {
239
+ return true;
240
+ }
239
241
  }
240
242
  }
241
243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
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)",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "2e4a06b34d664c538ea96dde6be2abea99acb468"
88
+ "gitHead": "33e9b342790ddedfb654c589ffde18b101d4cd98"
89
89
  }