Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor/cli

Package Overview
Dependencies
Maintainers
5
Versions
888
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 0.0.89 to 0.0.90

31

dist/ios/update.js

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

}
await autoGeneratePods(plugins);
await autoGeneratePods(config, plugins);
await autoGenerateResourcesPods(cordovaPlugins);

@@ -49,3 +49,3 @@ await installCocoaPodsPlugins(config, plugins, needsUpdate);

exports.updateIOS = updateIOS;
async function autoGeneratePods(plugins) {
async function autoGeneratePods(config, plugins) {
// Always re-generate the podspec to keep it up to date

@@ -55,3 +55,3 @@ return Promise.all(plugins

const name = p.ios.name = p.name;
const content = generatePodspec(p);
const content = generatePodspec(config, p);
const path = path_1.join(p.rootPath, p.ios.path, name + '.podspec');

@@ -73,5 +73,5 @@ return fs_1.writeFileAsync(path, content);

exports.autoGenerateResourcesPods = autoGenerateResourcesPods;
function generatePodspec(plugin) {
function generatePodspec(config, plugin) {
const repo = (plugin.repository && plugin.repository.url) || 'https://github.com/ionic-team/does-not-exist.git';
let sourceFiles = 'Plugin/**/*.{swift,h,m}';
let sourceFiles = 'Plugin/Plugin/**/*.{swift,h,m}';
let frameworksString = "";

@@ -115,2 +115,3 @@ let dependency = 'Capacitor';

s.source_files = '${sourceFiles}'
s.ios.deployment_target = '${config.ios.minVersion}'
s.dependency '${dependency}'

@@ -177,14 +178,14 @@ ${frameworksString}

return `
# DO NOT MODIFY.
# This Podfile was autogenerated by the Capacitor CLI.
# It is used to resolve the native dependencies of Capacitor plugins.
# DO NOT MODIFY.
# This Podfile was autogenerated by the Capacitor CLI.
# It is used to resolve the native dependencies of Capacitor plugins.
platform :ios, '${config.ios.minVersion}'
use_frameworks!
platform :ios, '${config.ios.minVersion}'
use_frameworks!
target 'App' do
${config.ios.capacitorRuntimePod}
${pods.join('\n ')}
${dependencies}
end`;
target 'App' do
${config.ios.capacitorRuntimePod}
${pods.join('\n ')}
${dependencies}
end`;
}

@@ -191,0 +192,0 @@ exports.generatePodFile = generatePodFile;

{
"name": "@capacitor/cli",
"version": "0.0.89",
"version": "0.0.90",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

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

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