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

cordova-res

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-res - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/error.js

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

toString() {
return `${this.message}\n`;
return this.message;
}

@@ -14,0 +14,0 @@ toJSON() {

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

else {
process.stderr.write(e instanceof error_1.BaseError ? `ERROR: ${e.toString()}` : (e.stack ? e.stack : String(e)));
process.stderr.write(`${e instanceof error_1.BaseError ? `ERROR: ${e.toString()}` : (e.stack ? e.stack : String(e))}\n`);
}

@@ -92,0 +92,0 @@ }

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

else {
const iconResult = await runType("icon" /* ICON */, platform, resourcesDirectory, options["icon" /* ICON */]);
const iconResult = await runType("icon" /* ICON */, platform, resourcesDirectory, options["icon" /* ICON */], errstream);
if (iconResult) {

@@ -29,3 +29,3 @@ resources.push(...iconResult.resources);

}
const splashResult = await runType("splash" /* SPLASH */, platform, resourcesDirectory, options["splash" /* SPLASH */]);
const splashResult = await runType("splash" /* SPLASH */, platform, resourcesDirectory, options["splash" /* SPLASH */], errstream);
if (splashResult) {

@@ -127,3 +127,3 @@ resources.push(...splashResult.resources);

async function runAdaptiveSource(resourcesDirectory, sources, type, errstream) {
const source = await image_1.resolveSourceImage("adaptive-icon" /* ADAPTIVE_ICON */, sources);
const source = await image_1.resolveSourceImage("adaptive-icon" /* ADAPTIVE_ICON */, sources, errstream);
debug('Using %O for %s source image for %s', source.image.src, "adaptive-icon" /* ADAPTIVE_ICON */, "android" /* ANDROID */);

@@ -130,0 +130,0 @@ const config = resources_1.getResourcesConfig("android" /* ANDROID */, "adaptive-icon" /* ADAPTIVE_ICON */);

{
"name": "cordova-res",
"version": "0.5.0",
"version": "0.5.1",
"description": "This tool will crop and resize PNG source images into appropriate sizes for modern iOS and Android devices.",

@@ -5,0 +5,0 @@ "homepage": "https://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