Socket
Socket
Sign inDemoInstall

next-qrcode

Package Overview
Dependencies
33
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.1 to 2.5.0

8

dist/useQRCode.d.ts

@@ -1,2 +0,2 @@

/// <reference types="react" />
import React from 'react';
export interface Colors {

@@ -30,5 +30,5 @@ dark?: string;

export declare function useQRCode(): {
Image: <T extends HTMLImageElement>({ text, options, }: IQRCode) => JSX.Element;
Canvas: <T_1 extends HTMLCanvasElement>({ text, options, logo, }: IQRCode) => JSX.Element;
SVG: <T_2 extends HTMLDivElement>({ text, options, }: IQRCode) => JSX.Element;
Image: <T extends HTMLImageElement>({ text, options, }: IQRCode) => React.JSX.Element;
Canvas: <T_1 extends HTMLCanvasElement>({ text, options, logo, }: IQRCode) => React.JSX.Element;
SVG: <T_2 extends HTMLDivElement>({ text, options, }: IQRCode) => React.JSX.Element;
};
{
"name": "next-qrcode",
"version": "2.4.1",
"version": "2.5.0",
"description": "React hooks for generating QR code for your next React apps.",

@@ -71,3 +71,3 @@ "author": "Bunlong <bunlong.van@gmail.com>",

"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^27.0.5",

@@ -74,0 +74,0 @@ "tslib": "^2.3.1",

@@ -16,3 +16,3 @@ # next-qrcode

[Live Demo](https://next-qrcode.js.org)
[Live Demo](https://next-qrcode.js.org/demo)

@@ -30,3 +30,3 @@ ## šŸ”§ Install

```js
yarn add next-qrcode
yarn add next-qrcode --save
```

@@ -454,5 +454,5 @@

Latest version 2.4.1 (2023-02-28):
Latest version 2.5.0 (2023-07-05):
* Fix setting logo to center
* Upgrade dependencies

@@ -459,0 +459,0 @@ Details changes for each release are documented in the [CHANGELOG.md](https://github.com/Bunlong/next-qrcode/blob/master/CHANGELOG.md).

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc