@thi.ng/canvas
Advanced tools
Comparing version 0.2.24 to 0.3.0
# Change Log | ||
- **Last updated**: 2024-07-22T13:15:57Z | ||
- **Last updated**: 2024-08-01T16:32:31Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,9 @@ | ||
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.3.0) (2024-08-01) | ||
#### 🚀 Features | ||
- extend CanvasContext and related functions to support OffscreenCanvas for better performance in web workers ([56d0985](https://github.com/thi-ng/umbrella/commit/56d0985)) | ||
refactor(pixel): update canvas handling in pixel module to accommodate OffscreenCanvas for improved rendering capabilities | ||
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.2.0) (2024-01-26) | ||
@@ -14,0 +21,0 @@ |
@@ -25,4 +25,4 @@ export interface Canvas2DOpts { | ||
export interface CanvasContext { | ||
canvas: HTMLCanvasElement; | ||
ctx: CanvasRenderingContext2D; | ||
canvas: HTMLCanvasElement | OffscreenCanvas; | ||
ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D; | ||
} | ||
@@ -29,0 +29,0 @@ /** |
{ | ||
"name": "@thi.ng/canvas", | ||
"version": "0.2.24", | ||
"version": "0.3.0", | ||
"description": "Canvas creation & HDPI support helpers", | ||
@@ -78,3 +78,3 @@ "type": "module", | ||
}, | ||
"gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n" | ||
"gitHead": "5b6de5f99277b244646722a40ea787971c6ffd05\n" | ||
} |
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
32819