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

@jimp/core

Package Overview
Dependencies
Maintainers
2
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/core - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

6

dist/index.js

@@ -1227,5 +1227,5 @@ "use strict";

}
} catch (err) {
err.methodName = methodName;
this.emitError(methodName, err);
} catch (error) {
error.methodName = methodName;
this.emitErroror(methodName, error);
}

@@ -1232,0 +1232,0 @@

@@ -34,4 +34,4 @@ "use strict";

cb(null, xhr, data);
} catch (err) {
return cb(new Error('Response is not a buffer for url ' + options.url + '. Error: ' + err.message));
} catch (error) {
return cb(new Error('Response is not a buffer for url ' + options.url + '. Error: ' + error.message));
}

@@ -38,0 +38,0 @@ } else {

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

exifRotate(this); // EXIF data
} catch (err) {
} catch (error) {
/* meh */

@@ -131,0 +131,0 @@ }

@@ -1141,5 +1141,5 @@ function isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }

}
} catch (err) {
err.methodName = methodName;
this.emitError(methodName, err);
} catch (error) {
error.methodName = methodName;
this.emitErroror(methodName, error);
}

@@ -1146,0 +1146,0 @@

@@ -20,4 +20,4 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }

cb(null, xhr, data);
} catch (err) {
return cb(new Error('Response is not a buffer for url ' + options.url + '. Error: ' + err.message));
} catch (error) {
return cb(new Error('Response is not a buffer for url ' + options.url + '. Error: ' + error.message));
}

@@ -24,0 +24,0 @@ } else {

@@ -108,3 +108,3 @@ import fileType from 'file-type';

exifRotate(this); // EXIF data
} catch (err) {
} catch (error) {
/* meh */

@@ -111,0 +111,0 @@ }

{
"name": "@jimp/core",
"version": "0.5.2",
"version": "0.5.3",
"description": "Jimp core",

@@ -54,3 +54,3 @@ "main": "dist/index.js",

},
"gitHead": "206fa4a372f89b6b3ea87d73656066a0baf055d6"
"gitHead": "762e7e5f8099996f7bfb580477e29a75694e564e"
}

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

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