New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@imageengine/imageengine-helpers

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imageengine/imageengine-helpers - npm Package Compare versions

Comparing version
0.1.1
to
0.2.0
+3
-1
dist/helpers.js

@@ -26,3 +26,5 @@ "use strict";

no_optimization: "pass",
force_download: "dl"
force_download: "dl",
max_device_pixel_ratio: "maxdpr",
maxDevicePixelRatio: "maxdpr"
};

@@ -29,0 +31,0 @@ function build_IE_url(src, directives, debug) {

@@ -1,2 +0,2 @@

export declare type IEFormat = "png" | "gif" | "jpg" | "jpeg" | "bmp" | "webp" | "jp2" | "svg" | "mp4" | "jxr" | "avif";
export declare type IEFormat = "png" | "gif" | "jpg" | "jpeg" | "bmp" | "webp" | "jp2" | "svg" | "mp4" | "jxr" | "avif" | "jxl";
export declare type IEFit = "stretch" | "box" | "letterbox" | "cropbox" | "outside";

@@ -24,2 +24,4 @@ export interface IEDirectives {

force_download?: true;
max_device_pixel_ratio?: number;
maxDevicePixelRatio?: number;
}
{
"name": "@imageengine/imageengine-helpers",
"version": "0.1.1",
"version": "0.2.0",
"description": "A set of helper functions to generate ImageEngine custom urls with valid directives",

@@ -10,7 +10,7 @@ "homepage": "https://github.com/imgeng/imageengine-helpers",

},
"author": "Micael Nussbaumer",
"author": "Siva Sankar Reddy Bogala",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"files": [
"dist"

@@ -25,4 +25,4 @@ ],

"@types/mocha": "^8.2.3",
"@types/node": "^16.3.1",
"chai": "^4.3.4",
"@types/node": "^16.18.52",
"chai": "^4.3.8",
"mocha": "^9.0.2",

@@ -29,0 +29,0 @@ "ts-node": "^10.1.0",

@@ -24,3 +24,4 @@ A tiny set of helpers and TS types for building [ImageEngine](https://imageengine.io) query URLs for your distribution.

"jxr" |
"avif" ;
"avif"
"jxl" ;

@@ -56,2 +57,3 @@

force_download?: true;
max_device_pixel_ratio: 2.1; // 1-4 float
};

@@ -72,3 +74,4 @@ ```

format: "png",
force_download: true
force_download: true,
max_device_pixel_ratio: 2.1
};

@@ -75,0 +78,0 @@