Socket
Socket
Sign inDemoInstall

@capacitor/cli

Package Overview
Dependencies
Maintainers
5
Versions
847
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.106 to 0.0.107

2

dist/config.js

@@ -129,3 +129,2 @@ "use strict";

initIosConfig() {
console.log('BEFORE IOS CONFIG', this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir);
this.platforms.push(this.ios.name);

@@ -135,3 +134,2 @@ this.ios.platformDir = path_1.join(this.app.rootDir, this.ios.name);

this.ios.webDirAbs = path_1.join(this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir);
console.log('IOS WEB DIR', this.ios.webDirAbs);
}

@@ -138,0 +136,0 @@ initWindowsConfig() {

6

dist/ios/update.js

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

async function generateCordovaPodspec(cordovaPlugins, config) {
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
let frameworksString = '';

@@ -200,3 +200,3 @@ let weakFrameworks = [];

function copyPluginsNativeFiles(config, cordovaPlugins) {
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
cordovaPlugins.map(p => {

@@ -218,5 +218,5 @@ const sourceFiles = plugin_1.getPlatformElement(p, platform, 'source-file');

function removePluginsNativeFiles(config) {
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins');
fs_1.removeSync(path_1.join(pluginsPath, 'sources'));
fs_1.removeSync(path_1.join(pluginsPath, 'resources'));
}

@@ -103,2 +103,5 @@ "use strict";

common_1.log(chalk_1.default `${emoji_1.emoji('✅ ', '')}Your app is ready!`);
common_1.log(`\nNext steps:`);
common_1.log(`cd ./${path_1.basename(config.app.rootDir)}`);
common_1.log(`Read more about the Capacitor workflow: https://capacitor.ionicframework.com/docs/basics/workflow`);
}
{
"name": "@capacitor/cli",
"version": "0.0.106",
"version": "0.0.107",
"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