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

solid-qr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-qr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"version": "1.0.0",
"version": "1.0.1",
"name": "solid-qr",

@@ -4,0 +4,0 @@ "description": "A minimal QR code image generator for SolidJS",

@@ -56,11 +56,11 @@ <p>

| key | Type | Default | Description |
| --- | ---- |------- | ----------- | ----- |
| `verison` | `number` | | QR Code version ranging from 1 to 40. If not specified the more suitable value will be calculated.
| `errorCorrectionLevel` | `"low" | "medium" | "quartile" | "high"` | `medium` | QR Code error correction level
| `maskPattern` | `0 | 1 | 2 | 3 | 4 | 5 | 6 | 7` | |Mask pattern used to mask the symbol. If not specified the more suitable value will be calculated.
| `margin` | `number` | `2` | Define how much wide the quiet zone should be.
| `scale` | `number` | `4` | Scale factor. A value of 1 means 1px per modules (black dots).
| `width` | `number` | `512` | Forces a specific width for the output image.If width is too small to contain the qr symbol, this option will be ignored.Takes precedence over `scale`.
| `color.dark`| `string` | `#000000ff` | Color of dark module. Value must be in hex format (RGBA).
| `color.light` | `string` | `#ffffffff` | Color of light module. Value must be in hex format (RGBA).
| **Key** | **Type** | **Default** | **Description** |
|----------------------|--------------------------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| `version` | number | | QR Code version ranging from 1 to 40. If not specified the more suitable value will be calculated. |
| `errorCorrectionLevel` | `low \| medium \| quartile \| high` | `medium` | QR Code error correction level |
| `maskPattern` | `1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7` | | Mask pattern used to mask the symbol. If not specified the more suitable value will be calculated. |
| `margin` | `number` | `2` | Define how much wide the quiet zone should be. |
| `scale` | `number` | `4` | Scale factor. A value of 1 means 1px per modules (black dots). |
| `width` | `number` | `512` | Forces a specific width for the output image.If width is too small to contain the qr symbol, this option will be ignored.Takes precedence over `scale`. |
| `color.dark` | `string` | `#000000ff` | Color of dark module. Value must be in hex format (RGBA). |
| `color.light` | `string` | `#ffffffff` | Color of light module. Value must be in hex format (RGBA). |
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