Comparing version 0.0.23 to 0.0.24
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"scripts": { | ||
@@ -30,3 +30,3 @@ "lint": "tslint --project ./tsconfig.json", | ||
"rollup-plugin-auto-external": "^2.0.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"rollup-plugin-typescript2": "^0.36.0", | ||
"source-map-support": "^0.5.9", | ||
@@ -33,0 +33,0 @@ "tslib": "^2.3.1", |
@@ -7,3 +7,3 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -23,8 +23,17 @@ | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { | ||
var e = new Error(message); | ||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; | ||
}; | ||
var tuple = function () { | ||
@@ -51,3 +60,3 @@ var args = []; | ||
return (_b = {}, _b[k] = v, _b); | ||
}))); | ||
}), false)); | ||
}; | ||
@@ -204,2 +213,4 @@ // Inspired by https://stackoverflow.com/a/37616104/5932012 | ||
facepad: mapValueIfDefined(String)(query.facepad), | ||
'fp-x': mapValueIfDefined(String)(query.fpX), | ||
'fp-y': mapValueIfDefined(String)(query.fpY), | ||
'fp-z': mapValueIfDefined(String)(query.fpZ), | ||
@@ -206,0 +217,0 @@ 'min-h': mapValueIfDefined(String)(query.minH), |
@@ -90,2 +90,4 @@ export declare enum ImgixFit { | ||
facepad?: number; | ||
'fp-x'?: number; | ||
'fp-y'?: number; | ||
'fp-z'?: number; | ||
@@ -92,0 +94,0 @@ 'min-h'?: number; |
import { addQueryToUrl } from 'url-transformers'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -18,8 +18,17 @@ | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { | ||
var e = new Error(message); | ||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; | ||
}; | ||
var tuple = function () { | ||
@@ -46,3 +55,3 @@ var args = []; | ||
return (_b = {}, _b[k] = v, _b); | ||
}))); | ||
}), false)); | ||
}; | ||
@@ -206,2 +215,4 @@ // Inspired by https://stackoverflow.com/a/37616104/5932012 | ||
facepad: mapValueIfDefined(String)(query.facepad), | ||
'fp-x': mapValueIfDefined(String)(query.fpX), | ||
'fp-y': mapValueIfDefined(String)(query.fpY), | ||
'fp-z': mapValueIfDefined(String)(query.fpZ), | ||
@@ -208,0 +219,0 @@ 'min-h': mapValueIfDefined(String)(query.minH), |
@@ -6,3 +6,3 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -22,8 +22,17 @@ | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { | ||
var e = new Error(message); | ||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; | ||
}; | ||
var tuple = function () { | ||
@@ -50,3 +59,3 @@ var args = []; | ||
return (_b = {}, _b[k] = v, _b); | ||
}))); | ||
}), false)); | ||
}; | ||
@@ -210,2 +219,4 @@ // Inspired by https://stackoverflow.com/a/37616104/5932012 | ||
facepad: mapValueIfDefined(String)(query.facepad), | ||
'fp-x': mapValueIfDefined(String)(query.fpX), | ||
'fp-y': mapValueIfDefined(String)(query.fpY), | ||
'fp-z': mapValueIfDefined(String)(query.fpZ), | ||
@@ -212,0 +223,0 @@ 'min-h': mapValueIfDefined(String)(query.minH), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
86161
924