responsive-loader
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -31,2 +31,8 @@ "use strict"; | ||
} | ||
if (mime === 'image/png') { | ||
resized = resized.png({ | ||
quality: options.quality, | ||
progressive: options.progressive, | ||
}); | ||
} | ||
if (mime === 'image/webp') { | ||
@@ -33,0 +39,0 @@ resized = resized.webp({ |
{ | ||
"name": "responsive-loader", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "A webpack loader for responsive images", | ||
@@ -55,6 +55,6 @@ "main": "lib/cjs.js", | ||
"dependencies": { | ||
"@types/node": "^17.0.39", | ||
"@types/node": "^18.11.9", | ||
"find-cache-dir": "^3.3.2", | ||
"json5": "^2.2.1", | ||
"loader-utils": "^3.2.0", | ||
"loader-utils": "^3.2.1", | ||
"make-dir": "^3.1.0", | ||
@@ -64,21 +64,21 @@ "schema-utils": "^4.0.0" | ||
"devDependencies": { | ||
"@babel/core": "^7.18.2", | ||
"@babel/preset-env": "^7.18.2", | ||
"@babel/core": "^7.20.2", | ||
"@babel/preset-env": "^7.20.2", | ||
"@types/find-cache-dir": "^3.2.1", | ||
"@types/jest": "^28.1.0", | ||
"@types/jest": "^29.2.3", | ||
"@types/json-schema": "^7.0.11", | ||
"@types/sharp": "^0.30.2", | ||
"@types/sharp": "^0.31.0", | ||
"@types/webpack": "^5.28.0", | ||
"@typescript-eslint/eslint-plugin": "^5.27.0", | ||
"@typescript-eslint/parser": "^5.27.0", | ||
"babel-jest": "^28.1.0", | ||
"eslint": "^8.17.0", | ||
"jest": "^28.1.0", | ||
"jimp": "^0.16.1", | ||
"prettier": "^2.6.2", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"babel-jest": "^29.3.1", | ||
"eslint": "^8.27.0", | ||
"jest": "^29.3.1", | ||
"jimp": "^0.16.2", | ||
"prettier": "^2.7.1", | ||
"prettier-eslint": "^15.0.1", | ||
"sharp": "^0.30.6", | ||
"typescript": "^4.7.3", | ||
"webpack": "^5.64.4", | ||
"webpack-cli": "^4.9.2" | ||
"sharp": "^0.31.2", | ||
"typescript": "^4.9.3", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^5.0.0" | ||
}, | ||
@@ -85,0 +85,0 @@ "jest": { |
50563
15
766
+ Added@types/node@18.19.74(transitive)
+ Addedundici-types@5.26.5(transitive)
- Removed@types/node@17.0.45(transitive)
Updated@types/node@^18.11.9
Updatedloader-utils@^3.2.1