New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/canvas

Package Overview
Dependencies
Maintainers
0
Versions
45
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 1.0.1 to 1.0.2

8

CHANGELOG.md
# Change Log
- **Last updated**: 2025-01-04T21:07:37Z
- **Last updated**: 2025-01-14T12:23:33Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@1.0.2) (2025-01-14)
#### ♻️ Refactoring
- use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.5.0) (2024-08-10)

@@ -14,0 +20,0 @@

2

index.js

@@ -5,3 +5,3 @@ const adaptiveCanvas2d = (width, height = width, parent, opts = {}) => {

opts.pixelated && (canvas.style.imageRendering = "pixelated");
parent && parent.appendChild(canvas);
parent?.appendChild(canvas);
return {

@@ -8,0 +8,0 @@ canvas,

{
"name": "@thi.ng/canvas",
"version": "1.0.1",
"version": "1.0.2",
"description": "Canvas creation & HDPI support helpers",

@@ -80,3 +80,3 @@ "type": "module",

},
"gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n"
"gitHead": "6542b842120bef47cc18d45a1b1db68307a7f04b\n"
}

@@ -71,3 +71,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (brotli'd, pre-treeshake): ESM: 380 bytes
Package sizes (brotli'd, pre-treeshake): ESM: 372 bytes

@@ -74,0 +74,0 @@ ## Dependencies

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