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

@types/qr-image

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/qr-image - npm Package Compare versions

Comparing version 3.2.4 to 3.2.5

15

qr-image/index.d.ts

@@ -42,7 +42,12 @@ // Type definitions for qr-image 3.2

export interface Options {
ec_level?: ec_level | undefined; // error correction level. One of L, M, Q, H. Default M.
type?: image_type | undefined; // image type. Possible values png(default), svg, pdf and eps.
size?: number | undefined; // (png and svg only) for png and undefined for svg.-(png and svg only) — size of one module in pixels.
margin?: number | undefined; // (only png)for png and 1 for others.-white space around QR image in modules.
parse_url?: boolean | undefined; // (experimental, default false) try to optimize QR-code for URLs.
// error correction level. One of L, M, Q, H. Default M.
ec_level?: ec_level | undefined;
// image type. Possible values png(default), svg, pdf and eps.
type?: image_type | undefined;
// (png and svg only) for png and undefined for svg.-(png and svg only) — size of one module in pixels.
size?: number | undefined;
// (only png)for png and 1 for others.-white space around QR image in modules.
margin?: number | undefined;
// (experimental, default false) try to optimize QR-code for URLs.
parse_url?: boolean | undefined;
/**

@@ -49,0 +54,0 @@ * (only png) — function to customize qr bitmap before encoding to PNG

{
"name": "@types/qr-image",
"version": "3.2.4",
"version": "3.2.5",
"description": "TypeScript definitions for qr-image",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qr-image",

},
"typesPublisherContentHash": "7b7d21804c8bcc36d237ba87f57fbb761b2a0b7c3bf6c3047ed1b3f481adb4e2",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "0deb5f0924647d5b86d09d11c240f09a88f2c4f518ae6430baa1cff0c5a212e0",
"typeScriptVersion": "3.8"
}

@@ -52,7 +52,12 @@ # Installation

export interface Options {
ec_level?: ec_level | undefined; // error correction level. One of L, M, Q, H. Default M.
type?: image_type | undefined; // image type. Possible values png(default), svg, pdf and eps.
size?: number | undefined; // (png and svg only) for png and undefined for svg.-(png and svg only) — size of one module in pixels.
margin?: number | undefined; // (only png)for png and 1 for others.-white space around QR image in modules.
parse_url?: boolean | undefined; // (experimental, default false) try to optimize QR-code for URLs.
// error correction level. One of L, M, Q, H. Default M.
ec_level?: ec_level | undefined;
// image type. Possible values png(default), svg, pdf and eps.
type?: image_type | undefined;
// (png and svg only) for png and undefined for svg.-(png and svg only) — size of one module in pixels.
size?: number | undefined;
// (only png)for png and 1 for others.-white space around QR image in modules.
margin?: number | undefined;
// (experimental, default false) try to optimize QR-code for URLs.
parse_url?: boolean | undefined;
/**

@@ -78,3 +83,3 @@ * (only png) — function to customize qr bitmap before encoding to PNG

### Additional Details
* Last updated: Thu, 08 Jul 2021 20:20:01 GMT
* Last updated: Tue, 30 Nov 2021 02:01:05 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -81,0 +86,0 @@ * Global values: none

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