@jimp/utils
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,17 @@ | ||
# v1.0.3 (Sat Aug 31 2024) | ||
#### 🐛 Bug Fix | ||
- Fix build [#1303](https://github.com/jimp-dev/jimp/pull/1303) ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
#### ⚠️ Pushed to `main` | ||
- add clean script ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
#### Authors: 1 | ||
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
--- | ||
# v1.0.2 (Sat Aug 31 2024) | ||
@@ -2,0 +18,0 @@ |
@@ -6,3 +6,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.cssColorToHex = exports.limit255 = exports.colorDiff = exports.rgbaToInt = exports.intToRGBA = exports.scanIterator = exports.scan = exports.clone = void 0; | ||
exports.clone = clone; | ||
exports.scan = scan; | ||
exports.scanIterator = scanIterator; | ||
exports.intToRGBA = intToRGBA; | ||
exports.rgbaToInt = rgbaToInt; | ||
exports.colorDiff = colorDiff; | ||
exports.limit255 = limit255; | ||
exports.cssColorToHex = cssColorToHex; | ||
const tinycolor2_1 = __importDefault(require("tinycolor2")); | ||
@@ -18,3 +25,2 @@ function clone(image) { | ||
} | ||
exports.clone = clone; | ||
function scan(image, | ||
@@ -66,3 +72,2 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
} | ||
exports.scan = scan; | ||
function* scanIterator(image, x, y, w, h) { | ||
@@ -81,3 +86,2 @@ // round input | ||
} | ||
exports.scanIterator = scanIterator; | ||
/** | ||
@@ -115,3 +119,2 @@ * A helper method that converts RGBA values to a single integer value | ||
} | ||
exports.intToRGBA = intToRGBA; | ||
/** | ||
@@ -160,3 +163,2 @@ * A static helper method that converts RGBA values to a single integer value | ||
} | ||
exports.rgbaToInt = rgbaToInt; | ||
/** | ||
@@ -196,3 +198,2 @@ * Compute color difference | ||
} | ||
exports.colorDiff = colorDiff; | ||
/** | ||
@@ -213,3 +214,2 @@ * Limits a number to between 0 or 255 | ||
} | ||
exports.limit255 = limit255; | ||
/** | ||
@@ -231,3 +231,2 @@ * Converts a css color (Hex, 8-digit (RGBA) Hex, RGB, RGBA, HSL, HSLA, HSV, HSVA, Named) to a hex number | ||
} | ||
exports.cssColorToHex = cssColorToHex; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"type": "commonjs", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
"type": "commonjs" | ||
} |
{ | ||
"type": "module", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"sideEffects": false | ||
} | ||
"type": "module" | ||
} |
{ | ||
"name": "@jimp/utils", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"repository": "jimp-dev/jimp", | ||
@@ -10,3 +10,3 @@ "scripts": { | ||
"dev": "tshy --watch", | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist" | ||
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo" | ||
}, | ||
@@ -16,12 +16,13 @@ "author": "Andrew Lisowski <lisowski54@gmail.com>", | ||
"dependencies": { | ||
"@jimp/types": "1.0.2", | ||
"@jimp/types": "1.0.3", | ||
"tinycolor2": "^1.6.0" | ||
}, | ||
"devDependencies": { | ||
"@jimp/config-eslint": "1.0.2", | ||
"@jimp/config-typescript": "1.0.2", | ||
"@jimp/config-eslint": "1.0.3", | ||
"@jimp/config-typescript": "1.0.3", | ||
"@types/node": "^20.12.5", | ||
"@types/tinycolor2": "^1.4.6", | ||
"eslint": "^8.57.0", | ||
"tshy": "^1.12.0", | ||
"typescript": "^5.4.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^1.4.0" | ||
@@ -55,3 +56,3 @@ }, | ||
"sideEffects": false, | ||
"gitHead": "5e52bfd76c68b45db3a7a2ed8450e47f1fcf8853" | ||
"gitHead": "4b35cc0866903bc9e5d48d31ca34fcbec9ab111f" | ||
} |
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
53259
8
29
975
+ Added@jimp/types@1.0.3(transitive)
- Removed@jimp/types@1.0.2(transitive)
Updated@jimp/types@1.0.3