Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/canvas

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/canvas - npm Package Compare versions

Comparing version 0.2.24 to 0.3.0

9

CHANGELOG.md
# 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 @@

4

index.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc