mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 12:37:20 +08:00
build: update qrcode.react
This commit is contained in:
parent
92e4b3304c
commit
0e2b38dddc
@ -1,11 +1,11 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import React, { useEffect, useRef, useState } from 'react'
|
import React, { useEffect, useRef, useState } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import QRCode from 'qrcode.react'
|
import { QRCodeCanvas as QRCode } from 'qrcode.react'
|
||||||
import QrcodeStyle from './style.module.css'
|
import QrcodeStyle from './style.module.css'
|
||||||
import Tooltip from '@/app/components/base/tooltip'
|
import Tooltip from '@/app/components/base/tooltip'
|
||||||
|
|
||||||
type Props = {
|
interface Props {
|
||||||
content: string
|
content: string
|
||||||
selectorId: string
|
selectorId: string
|
||||||
className?: string
|
className?: string
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
"negotiator": "^0.6.3",
|
"negotiator": "^0.6.3",
|
||||||
"next": "^14.1.1",
|
"next": "^14.1.1",
|
||||||
"pinyin-pro": "^3.23.0",
|
"pinyin-pro": "^3.23.0",
|
||||||
"qrcode.react": "^3.1.0",
|
"qrcode.react": "^4.1.0",
|
||||||
"qs": "^6.13.0",
|
"qs": "^6.13.0",
|
||||||
"rc-textarea": "^1.5.2",
|
"rc-textarea": "^1.5.2",
|
||||||
"react": "~18.2.0",
|
"react": "~18.2.0",
|
||||||
|
|||||||
10
web/pnpm-lock.yaml
generated
10
web/pnpm-lock.yaml
generated
@ -146,8 +146,8 @@ importers:
|
|||||||
specifier: ^3.23.0
|
specifier: ^3.23.0
|
||||||
version: 3.25.0
|
version: 3.25.0
|
||||||
qrcode.react:
|
qrcode.react:
|
||||||
specifier: ^3.1.0
|
specifier: ^4.1.0
|
||||||
version: 3.2.0(react@18.2.0)
|
version: 4.1.0(react@18.2.0)
|
||||||
qs:
|
qs:
|
||||||
specifier: ^6.13.0
|
specifier: ^6.13.0
|
||||||
version: 6.13.0
|
version: 6.13.0
|
||||||
@ -6644,8 +6644,8 @@ packages:
|
|||||||
pure-rand@6.1.0:
|
pure-rand@6.1.0:
|
||||||
resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
|
resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
|
||||||
|
|
||||||
qrcode.react@3.2.0:
|
qrcode.react@4.1.0:
|
||||||
resolution: {integrity: sha512-YietHHltOHA4+l5na1srdaMx4sVSOjV9tamHs+mwiLWAMr6QVACRUw1Neax5CptFILcNoITctJY0Ipyn5enQ8g==}
|
resolution: {integrity: sha512-uqXVIIVD/IPgWLYxbOczCNAQw80XCM/LulYDADF+g2xDsPj5OoRwSWtIS4jGyp295wyjKstfG1qIv/I2/rNWpQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
||||||
|
|
||||||
@ -16229,7 +16229,7 @@ snapshots:
|
|||||||
|
|
||||||
pure-rand@6.1.0: {}
|
pure-rand@6.1.0: {}
|
||||||
|
|
||||||
qrcode.react@3.2.0(react@18.2.0):
|
qrcode.react@4.1.0(react@18.2.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
react: 18.2.0
|
react: 18.2.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user