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

@types/qrcode

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/qrcode - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

10

qrcode/index.d.ts

@@ -15,2 +15,4 @@ // Type definitions for qrcode 1.4

export type QRCodeMAskPattern = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | '1' | '2' | '3' | '4' | '5' | '6' | '7';
export interface QRCodeOptions {

@@ -28,2 +30,8 @@ /**

/**
* maskPattern.
* Possible values are numbers 0 to 7 or strings representing numbers 0 to 7.
* Default: undefined - most suitable value will be calculated.
*/
maskPattern?: QRCodeMAskPattern;
/**
* Helper function used internally to convert a kanji to its Shift JIS value.

@@ -169,3 +177,3 @@ * Provide this function if you need support for Kanji mode.

*/
maskPattern: any;
maskPattern: QRCodeMAskPattern;
/**

@@ -172,0 +180,0 @@ * Generated segments

6

qrcode/package.json
{
"name": "@types/qrcode",
"version": "1.4.2",
"version": "1.4.3",
"description": "TypeScript definitions for qrcode",

@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qrcode",

},
"typesPublisherContentHash": "3b627c8bce672020ce1168c8dc1540c2f23010137c64ded223522f59446a6c66",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "2695799b86e6e0c53b25dee11373065eb8819d4923e223407482d5bc69a9baac",
"typeScriptVersion": "4.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 16 Dec 2021 22:32:05 GMT
* Last updated: Tue, 16 Aug 2022 12:32:38 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,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