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

cordova-plugin-ionic

Package Overview
Dependencies
Maintainers
5
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ionic - npm Package Compare versions

Comparing version 5.2.7 to 5.2.8-0

4

hooks/beforePrepare.js

@@ -34,3 +34,3 @@ const exec = require('child_process').exec;

console.log('Generating intial manifest for Ionic Deploy...');
console.log('Generating initial manifest for Ionic Deploy...');
exec(

@@ -45,3 +45,3 @@ 'ionic deploy manifest --no-interactive',

if(err) {
console.error('There was an error generating the intial manifest of files for the deploy plugin.');
console.error('There was an error generating the initial manifest of files for the deploy plugin.');
reject()

@@ -48,0 +48,0 @@ }

{
"name": "cordova-plugin-ionic",
"version": "5.2.7",
"version": "5.2.8-0",
"cordova": {

@@ -5,0 +5,0 @@ "id": "cordova-plugin-ionic",

@@ -170,3 +170,3 @@ interface Window {

*/
updateMethod?: boolean;
updateMethod?: 'none' | 'auto' | 'background';
}

@@ -173,0 +173,0 @@

@@ -66,3 +66,3 @@ /// <reference path="../types/IonicCordova.d.ts" />

private MANIFEST_FILE = 'pro-manifest.json';
public PLUGIN_VERSION = '5.2.7';
public PLUGIN_VERSION = '5.2.8-0';

@@ -253,2 +253,6 @@ constructor(appInfo: IAppInfo, preferences: ISavedPreferences) {

const maxBatch = 20;
let numberBatches = Math.round(manifest.length / maxBatch);
if (manifest.length % maxBatch !== 0) {
numberBatches = numberBatches + 1;
}
for (const entry of manifest) {

@@ -258,3 +262,3 @@ if (downloads.length >= maxBatch) {

await Promise.all(downloads);
beforeDownloadTimer.diff(`downloaded batch ${count} of ${maxBatch} downloads. Done downloading ${count * 10} of ${manifest.length} files`);
beforeDownloadTimer.diff(`downloaded batch ${count} of ${numberBatches} downloads. Done downloading ${count * maxBatch} of ${manifest.length} files`);
downloads = [];

@@ -265,4 +269,5 @@ }

if (downloads.length) {
count++;
await Promise.all(downloads);
beforeDownloadTimer.diff(`downloaded batch ${count} of ${downloads.length} downloads Done downloading all ${manifest.length} files`);
beforeDownloadTimer.diff(`downloaded batch ${count} of ${numberBatches} downloads. Done downloading all ${manifest.length} files`);
}

@@ -269,0 +274,0 @@ beforeDownloadTimer.end(`Downloaded ${manifest.length} files`);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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