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

image-api-spec

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-api-spec - npm Package Compare versions

Comparing version 5.0.2 to 7.1.0

2

bower.json
{
"name": "image-api-spec",
"version": "5.0.2",
"version": "7.1.0",
"homepage": "https://github.com/imgix/image-api-spec",

@@ -5,0 +5,0 @@ "authors": [

@@ -255,2 +255,116 @@ (function (root, factory) {

},
"border-radius-inner": {
"display_name": "border-radius-inner",
"category": "border_and_padding",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"border"
],
"url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius-inner",
"short_description": "Sets the inner radius of the image's border in pixels."
},
"border-radius": {
"display_name": "border-radius",
"category": "border_and_padding",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"border"
],
"url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius",
"short_description": "Sets the outer radius of the image's border in pixels."
},
"border": {

@@ -265,12 +379,16 @@ "display_name": "border",

{
"0": {
"type": "integer",
"suggested_range": {
"min": 1,
"max": 100
"0": [
{
"type": "integer",
"suggested_range": {
"min": 1,
"max": 100
}
}
},
"1": {
"type": "hex_color"
},
],
"1": [
{
"type": "hex_color"
}
],
"type": "list",

@@ -517,2 +635,59 @@ "length": 2

},
"corner-radius": {
"display_name": "corner radius",
"category": "mask",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"mask=corners"
],
"url": "https://docs.imgix.com/apis/url/mask/corner-radius",
"short_description": "Specifies the radius value for a rounded corner mask."
},
"crop": {

@@ -646,2 +821,16 @@ "display_name": "crop mode",

},
"expires": {
"display_name": "URL expiration timestamp",
"category": "expiration",
"available_in": [
"url"
],
"expects": [
{
"type": "timestamp"
}
],
"url": "https://docs.imgix.com/apis/url/expires",
"short_description": "A Unix timestamp specifying a UTC time. Requests made to this URL after that time will output a 404 status code."
},
"faceindex": {

@@ -1316,3 +1505,4 @@ "display_name": "face index",

"possible_values": [
"ellipse"
"ellipse",
"corners"
]

@@ -1328,4 +1518,23 @@ },

"url": "https://docs.imgix.com/apis/url/mask",
"short_description": "Specifies the location of the mask image."
"short_description": "Defines the type of mask and specifies the URL if that type is selected."
},
"maskbg": {
"display_name": "mask background color",
"category": "mask",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "hex_color"
}
],
"default": "fff",
"depends": [
"mask"
],
"url": "https://docs.imgix.com/apis/url/mask/mask-bg",
"short_description": "Colors the background of the transparent mask area of images"
},
"max-h": {

@@ -1636,26 +1845,50 @@ "display_name": "maximum height",

{
"0": {
"type": "integer",
"strict_range": {
"min": 0
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"type": "string",
"possible_values": [
"left",
"center",
"right"
]
}
},
"1": {
"type": "integer",
"strict_range": {
"min": 0
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"type": "string",
"possible_values": [
"top",
"middle",
"bottom"
]
}
},
"2": {
"type": "integer",
"strict_range": {
"min": 1
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 1
}
}
},
"3": {
"type": "integer",
"strict_range": {
"min": 1
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 1
}
}
},
],
"type": "list"

@@ -2746,5 +2979,5 @@ }

},
"version": "5.0.2"
"version": "7.1.0"
};
}));

@@ -239,2 +239,116 @@ {

},
"border-radius-inner": {
"display_name": "border-radius-inner",
"category": "border_and_padding",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"border"
],
"url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius-inner",
"short_description": "Sets the inner radius of the image's border in pixels."
},
"border-radius": {
"display_name": "border-radius",
"category": "border_and_padding",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"border"
],
"url": "https://docs.imgix.com/apis/url/border-and-padding/border-radius",
"short_description": "Sets the outer radius of the image's border in pixels."
},
"border": {

@@ -249,12 +363,16 @@ "display_name": "border",

{
"0": {
"type": "integer",
"suggested_range": {
"min": 1,
"max": 100
"0": [
{
"type": "integer",
"suggested_range": {
"min": 1,
"max": 100
}
}
},
"1": {
"type": "hex_color"
},
],
"1": [
{
"type": "hex_color"
}
],
"type": "list",

@@ -501,2 +619,59 @@ "length": 2

},
"corner-radius": {
"display_name": "corner radius",
"category": "mask",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 0
}
}
],
"type": "list",
"length": 4
}
],
"depends": [
"mask=corners"
],
"url": "https://docs.imgix.com/apis/url/mask/corner-radius",
"short_description": "Specifies the radius value for a rounded corner mask."
},
"crop": {

@@ -630,2 +805,16 @@ "display_name": "crop mode",

},
"expires": {
"display_name": "URL expiration timestamp",
"category": "expiration",
"available_in": [
"url"
],
"expects": [
{
"type": "timestamp"
}
],
"url": "https://docs.imgix.com/apis/url/expires",
"short_description": "A Unix timestamp specifying a UTC time. Requests made to this URL after that time will output a 404 status code."
},
"faceindex": {

@@ -1300,3 +1489,4 @@ "display_name": "face index",

"possible_values": [
"ellipse"
"ellipse",
"corners"
]

@@ -1312,4 +1502,23 @@ },

"url": "https://docs.imgix.com/apis/url/mask",
"short_description": "Specifies the location of the mask image."
"short_description": "Defines the type of mask and specifies the URL if that type is selected."
},
"maskbg": {
"display_name": "mask background color",
"category": "mask",
"available_in": [
"url",
"graph"
],
"expects": [
{
"type": "hex_color"
}
],
"default": "fff",
"depends": [
"mask"
],
"url": "https://docs.imgix.com/apis/url/mask/mask-bg",
"short_description": "Colors the background of the transparent mask area of images"
},
"max-h": {

@@ -1620,26 +1829,50 @@ "display_name": "maximum height",

{
"0": {
"type": "integer",
"strict_range": {
"min": 0
"0": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"type": "string",
"possible_values": [
"left",
"center",
"right"
]
}
},
"1": {
"type": "integer",
"strict_range": {
"min": 0
],
"1": [
{
"type": "integer",
"strict_range": {
"min": 0
}
},
{
"type": "string",
"possible_values": [
"top",
"middle",
"bottom"
]
}
},
"2": {
"type": "integer",
"strict_range": {
"min": 1
],
"2": [
{
"type": "integer",
"strict_range": {
"min": 1
}
}
},
"3": {
"type": "integer",
"strict_range": {
"min": 1
],
"3": [
{
"type": "integer",
"strict_range": {
"min": 1
}
}
},
],
"type": "list"

@@ -2730,3 +2963,3 @@ }

},
"version": "5.0.2"
"version": "7.1.0"
}
{
"name": "image-api-spec",
"version": "5.0.2",
"version": "7.1.0",
"description": "A single source of truth for the imgix URL API.",

@@ -5,0 +5,0 @@ "main": "dist/manifest.json",

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