Socket
Socket
Sign inDemoInstall

@capacitor/cli

Package Overview
Dependencies
Maintainers
7
Versions
860
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/cli - npm Package Compare versions

Comparing version 6.1.3-nightly-20240923T150507.0 to 6.1.3-nightly-20240924T150514.0

14

dist/cordova.js

@@ -493,14 +493,4 @@ "use strict";

exports.getIncompatibleCordovaPlugins = getIncompatibleCordovaPlugins;
function needsStaticPod(plugin, config) {
var _a, _b, _c, _d;
let pluginList = [
'phonegap-plugin-push',
'@batch.com/cordova-plugin',
'onesignal-cordova-plugin',
];
if ((_b = (_a = config.app.extConfig) === null || _a === void 0 ? void 0 : _a.cordova) === null || _b === void 0 ? void 0 : _b.staticPlugins) {
log_1.logger.warn('cordova.staticPlugins is deprecated, make sure you are using latest version of the plugin');
pluginList = pluginList.concat((_d = (_c = config.app.extConfig) === null || _c === void 0 ? void 0 : _c.cordova) === null || _d === void 0 ? void 0 : _d.staticPlugins);
}
return pluginList.includes(plugin.id) || useFrameworks(plugin);
function needsStaticPod(plugin) {
return useFrameworks(plugin);
}

@@ -507,0 +497,0 @@ exports.needsStaticPod = needsStaticPod;

@@ -512,12 +512,2 @@ export interface CapacitorConfig {

};
/**
* List of Cordova plugins that need to be static but are not
* already in the static plugin list.
*
* It's deprecated and will be removed in Capacitor 7
*
* @since 3.3.0
* @deprecated 6.1.1
*/
staticPlugins?: string[];
};

@@ -524,0 +514,0 @@ /**

6

dist/ios/update.js

@@ -143,3 +143,3 @@ "use strict";

});
const staticPlugins = cordovaPlugins.filter(p => (0, cordova_1.needsStaticPod)(p, config));
const staticPlugins = cordovaPlugins.filter(p => (0, cordova_1.needsStaticPod)(p));
const noStaticPlugins = cordovaPlugins.filter(el => !staticPlugins.includes(el));

@@ -176,3 +176,3 @@ if (noStaticPlugins.length > 0) {

async function generateCordovaPodspecs(cordovaPlugins, config) {
const staticPlugins = cordovaPlugins.filter(p => (0, cordova_1.needsStaticPod)(p, config));
const staticPlugins = cordovaPlugins.filter(p => (0, cordova_1.needsStaticPod)(p));
const noStaticPlugins = cordovaPlugins.filter(el => !staticPlugins.includes(el));

@@ -333,3 +333,3 @@ generateCordovaPodspec(noStaticPlugins, config, false);

let sourcesFolderName = 'sources';
if ((0, cordova_1.needsStaticPod)(p, config)) {
if ((0, cordova_1.needsStaticPod)(p)) {
sourcesFolderName += 'static';

@@ -336,0 +336,0 @@ }

{
"name": "@capacitor/cli",
"version": "6.1.3-nightly-20240923T150507.0",
"version": "6.1.3-nightly-20240924T150514.0",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

@@ -5,0 +5,0 @@ "homepage": "https://capacitorjs.com",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc