Socket
Socket
Sign inDemoInstall

ipx

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipx - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

10

dist/cli.js

@@ -197,2 +197,3 @@ #!/usr/bin/env node

apply: (context, _pipe, background2) => {
background2 = String(background2);
if (!background2.startsWith("#") && (HEX_RE.test(background2) || SHORTHEX_RE.test(background2))) {

@@ -218,3 +219,4 @@ background2 = "#" + background2;

args: [VArg, VArg, VArg],
apply: (context, pipe, width2, height2) => {
apply: (context, pipe, size) => {
const [width2, height2] = String(size).split("x").map((v) => Number(v));
return pipe.resize(width2, height2, {

@@ -258,4 +260,6 @@ fit: context.fit,

args: [VArg],
apply: (_context, pipe, angel) => {
return pipe.rotate(angel);
apply: (context, pipe, angel) => {
return pipe.rotate(angel, {
background: context.background
});
}

@@ -262,0 +266,0 @@ };

{
"name": "ipx",
"version": "0.7.0",
"version": "0.7.1",
"repository": "unjs/ipx",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -49,5 +49,5 @@ # IPX

Resize to `200px` using `embed` method and change format to `webp`:
Resize to `200x200px` using `embed` method and change format to `webp`:
`http://localhost:3000/embed,f_webp,s_200/static/buffalo.png`
`http://localhost:3000/embed,f_webp,s_200x200/static/buffalo.png`

@@ -54,0 +54,0 @@ ### Modifiers

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