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.4.2 to 0.4.3

4

bin/cli.js

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

}
if (!format.match(/jpeg|webp|png|jpg|svg/)) {
if (!format.match(/jpeg|webp|png|jpg|svg|gif/)) {
throw badRequest(`Unkown image format ${format}`);

@@ -521,3 +521,3 @@ }

skipOperations(info) {
if (info.format.match(/svg/)) {
if (info.format.match(/svg|gif/)) {
return true;

@@ -524,0 +524,0 @@ }

@@ -5,2 +5,9 @@ # Changelog

### [0.4.3](https://github.com/nuxt-contrib/ipx/compare/v0.4.2...v0.4.3) (2020-11-25)
### Features
* allow gif images ([#15](https://github.com/nuxt-contrib/ipx/issues/15)) ([51dcfc1](https://github.com/nuxt-contrib/ipx/commit/51dcfc1dc0a076eca2c33ce5fcaf37b970964bca))
### [0.4.2](https://github.com/nuxt-contrib/ipx/compare/v0.4.1...v0.4.2) (2020-11-18)

@@ -7,0 +14,0 @@

@@ -409,3 +409,3 @@ 'use strict';

}
if (!format.match(/jpeg|webp|png|jpg|svg/)) {
if (!format.match(/jpeg|webp|png|jpg|svg|gif/)) {
throw badRequest(`Unkown image format ${format}`);

@@ -519,3 +519,3 @@ }

skipOperations(info) {
if (info.format.match(/svg/)) {
if (info.format.match(/svg|gif/)) {
return true;

@@ -522,0 +522,0 @@ }

@@ -393,3 +393,3 @@ import { resolve, posix, relative, dirname, extname } from 'path';

}
if (!format.match(/jpeg|webp|png|jpg|svg/)) {
if (!format.match(/jpeg|webp|png|jpg|svg|gif/)) {
throw badRequest(`Unkown image format ${format}`);

@@ -503,3 +503,3 @@ }

skipOperations(info) {
if (info.format.match(/svg/)) {
if (info.format.match(/svg|gif/)) {
return true;

@@ -506,0 +506,0 @@ }

@@ -409,3 +409,3 @@ 'use strict';

}
if (!format.match(/jpeg|webp|png|jpg|svg/)) {
if (!format.match(/jpeg|webp|png|jpg|svg|gif/)) {
throw badRequest(`Unkown image format ${format}`);

@@ -519,3 +519,3 @@ }

skipOperations(info) {
if (info.format.match(/svg/)) {
if (info.format.match(/svg|gif/)) {
return true;

@@ -522,0 +522,0 @@ }

{
"name": "ipx",
"version": "0.4.2",
"version": "0.4.3",
"repository": "nuxt-contrib/ipx",

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

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