@jimp/plugin-resize
Advanced tools
Comparing version 0.21.2 to 0.21.3
@@ -0,1 +1,13 @@ | ||
# v0.21.2 (Sun Feb 05 2023) | ||
#### 🐛 Bug Fix | ||
- Change some exports to move towards more ESM compatibility [#1154](https://github.com/jimp-dev/jimp/pull/1154) ([@danielholmes](https://github.com/danielholmes)) | ||
#### Authors: 1 | ||
- Daniel Holmes ([@danielholmes](https://github.com/danielholmes)) | ||
--- | ||
# v0.21.0 (Sun Feb 05 2023) | ||
@@ -2,0 +14,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
// JavaScript Image Resizer (c) 2012 - Grant Galitz | ||
@@ -356,3 +360,5 @@ // Released to public domain 29 July 2013: https://github.com/grantgalitz/JS-Image-Resizer/issues/4 | ||
}; | ||
module.exports = Resize; | ||
var _default = Resize; | ||
exports.default = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=resize.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = void 0; | ||
/** | ||
@@ -25,3 +29,3 @@ * Copyright (c) 2015 Guyon Roche | ||
module.exports = { | ||
const operations = { | ||
nearestNeighbor(src, dst) { | ||
@@ -250,2 +254,5 @@ const wSrc = src.width; | ||
}; | ||
var _default = operations; | ||
exports.default = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=resize2.js.map |
@@ -354,3 +354,3 @@ // JavaScript Image Resizer (c) 2012 - Grant Galitz | ||
}; | ||
module.exports = Resize; | ||
export default Resize; | ||
//# sourceMappingURL=resize.js.map |
@@ -23,3 +23,3 @@ /** | ||
module.exports = { | ||
const operations = { | ||
nearestNeighbor(src, dst) { | ||
@@ -248,2 +248,3 @@ const wSrc = src.width; | ||
}; | ||
export default operations; | ||
//# sourceMappingURL=resize2.js.map |
{ | ||
"name": "@jimp/plugin-resize", | ||
"version": "0.21.2", | ||
"version": "0.21.3", | ||
"description": "Resize an image.", | ||
@@ -24,3 +24,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@jimp/utils": "^0.21.2" | ||
"@jimp/utils": "^0.21.3" | ||
}, | ||
@@ -31,4 +31,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@jimp/custom": "^0.21.2", | ||
"@jimp/test-utils": "^0.21.2" | ||
"@jimp/custom": "^0.21.3", | ||
"@jimp/test-utils": "^0.21.3" | ||
}, | ||
@@ -38,3 +38,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4634325df1db45594f91a86c3e11cdbdc4416485" | ||
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3" | ||
} |
@@ -548,2 +548,2 @@ // JavaScript Image Resizer (c) 2012 - Grant Galitz | ||
module.exports = Resize; | ||
export default Resize; |
@@ -23,3 +23,3 @@ /** | ||
module.exports = { | ||
const operations = { | ||
nearestNeighbor(src, dst) { | ||
@@ -295,1 +295,3 @@ const wSrc = src.width; | ||
}; | ||
export default operations; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
225592
2455
Updated@jimp/utils@^0.21.3