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

caravaggio

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caravaggio - npm Package Compare versions

Comparing version 2.7.2 to 2.8.0

6

CHANGELOG.md
# Changelog
## 2.8.0
- Supprot Node.js v12
- Update sharp to version 0.24
## 2.7.2

@@ -10,3 +14,3 @@ - Moved documentation on its own repository

- This avoids to have external dependencies at runtime. Useful for future usage.
- Remove documentation from the project. Now it has its own project at https://gitlab.com/ramiel/caravaggio
- Remove documentation from the project. Now it has its own project at https://gitlab.com/ramiel/caravaggio-docs

@@ -13,0 +17,0 @@ ## 2.7.0

13

package.json
{
"name": "caravaggio",
"version": "2.7.2",
"version": "2.8.0",
"description": "A blazing fast image processor service",
"main": "index.js",
"bin": "bin/caravaggio",
"bin": {
"caravaggio": "bin/caravaggio"
},
"scripts": {

@@ -20,3 +22,6 @@ "start": "NODE_ENV=production bin/caravaggio",

},
"repository": "gitlab:ramiel/caravaggio",
"repository": {
"type": "git",
"url": "git+https://gitlab.com/ramiel/caravaggio.git"
},
"keywords": [

@@ -45,3 +50,3 @@ "image",

"pino-pretty": "^2.2.0",
"sharp": "^0.21.1",
"sharp": "^0.24.0",
"yargs": "12.0.2"

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

@@ -56,5 +56,6 @@

return originalImage
.overlayWith(duotoneWithTransparency, {
.composite([{
input: duotoneWithTransparency,
raw: { width, height, channels: 4 },
})
}])
.raw()

@@ -61,0 +62,0 @@ .toBuffer({ resolveWithObject: true })

@@ -63,3 +63,3 @@ const cohercer = require('../cohercer');

}
return sharp.overlayWith(overlay, options);
return sharp.composite([{ input: overlay, ...options }]);
},

@@ -66,0 +66,0 @@ },

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