mirror of https://github.com/tauri-apps/tauri
fix(api): convert `Position` to `PhsyicalPosition` for `TrayIconEvent` (#11104)
* fix(api): convert `Position` to `PhsyicalPosition` for `TrayIconEvent` ref: https://github.com/tauri-apps/plugins-workspace/pull/1822#issuecomment-2365442240 * fix lint * Add missing `doubleClick` event type * change file * update lockfile * Update .changes/api-tray-icon-event-value-mismatch-type.md [skip ci] --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
This commit is contained in:
parent
ae12f3cc90
commit
cbe3bd80d8
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@tauri-apps/api": "patch:bug"
|
||||
---
|
||||
|
||||
Add missing `TrayIconDoubleClickEvent` type and `doubleClick` variant in `TrayIconEvent` type.
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
"@tauri-apps/api": "patch:bug"
|
||||
---
|
||||
|
||||
Fix invalid value passed to the callback `action` function that doesn't match the `TrayIconEvent` type.
|
||||
|
File diff suppressed because one or more lines are too long
|
@ -25,5 +25,10 @@
|
|||
"devDependencies": {
|
||||
"prettier": "^3.3.3"
|
||||
},
|
||||
"packageManager": "pnpm@9.9.0"
|
||||
"packageManager": "pnpm@9.9.0",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"rollup@>=4.0.0 <4.22.4": ">=4.22.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,23 @@ export interface TrayIconClickEvent {
|
|||
button_state: MouseButtonState
|
||||
}
|
||||
|
||||
/** A double click happened on the tray icon. **Windows Only** */
|
||||
export interface TrayIconDoubleClickEvent {
|
||||
/** Id of the tray icon which triggered this event. */
|
||||
id: string
|
||||
/** Physical X Position of the click the triggered this event. */
|
||||
x: number
|
||||
/** Physical Y Position of the click the triggered this event. */
|
||||
y: number
|
||||
/** Position and size of the tray icon. */
|
||||
rect: {
|
||||
position: PhysicalPosition
|
||||
size: PhysicalSize
|
||||
}
|
||||
/** Mouse button that triggered this event. */
|
||||
button: MouseButton
|
||||
}
|
||||
|
||||
/** The mouse entered the tray icon region. */
|
||||
export interface TrayIconEnterEvent {
|
||||
/** Id of the tray icon which triggered this event. */
|
||||
|
@ -84,6 +101,7 @@ export interface TrayIconLeaveEvent {
|
|||
*/
|
||||
export type TrayIconEvent =
|
||||
| { click: TrayIconClickEvent }
|
||||
| { doubleClick: TrayIconDoubleClickEvent }
|
||||
| { enter: TrayIconEnterEvent }
|
||||
| { move: TrayIconMoveEvent }
|
||||
| { leave: TrayIconLeaveEvent }
|
||||
|
@ -207,7 +225,36 @@ export class TrayIcon extends Resource {
|
|||
|
||||
const handler = new Channel<TrayIconEvent>()
|
||||
if (options?.action) {
|
||||
handler.onmessage = options.action
|
||||
const action = options.action
|
||||
handler.onmessage = (e) => {
|
||||
if ('click' in e) {
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.click.rect.position = mapPosition(e.click.rect.position)
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.click.rect.size = mapSize(e.click.rect.size)
|
||||
} else if ('doubleClick' in e) {
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.doubleClick.rect.position = mapPosition(e.doubleClick.rect.position)
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.doubleClick.rect.size = mapSize(e.doubleClick.rect.size)
|
||||
} else if ('enter' in e) {
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.enter.rect.position = mapPosition(e.enter.rect.position)
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.enter.rect.size = mapSize(e.enter.rect.size)
|
||||
} else if ('move' in e) {
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.move.rect.position = mapPosition(e.move.rect.position)
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.move.rect.size = mapSize(e.move.rect.size)
|
||||
} else if ('leave' in e) {
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.leave.rect.position = mapPosition(e.leave.rect.position)
|
||||
// @ts-expect-error `TrayIconEvent` doesn't quite match the value yet so we reconstruct the incorrect fields
|
||||
e.leave.rect.size = mapSize(e.leave.rect.size)
|
||||
}
|
||||
action(e)
|
||||
}
|
||||
delete options.action
|
||||
}
|
||||
|
||||
|
@ -310,3 +357,14 @@ export class TrayIcon extends Resource {
|
|||
})
|
||||
}
|
||||
}
|
||||
|
||||
function mapPosition(pos: {
|
||||
Physical: { x: number; y: number }
|
||||
}): PhysicalPosition {
|
||||
return new PhysicalPosition(pos.Physical.x, pos.Physical.y)
|
||||
}
|
||||
function mapSize(pos: {
|
||||
Physical: { width: number; height: number }
|
||||
}): PhysicalSize {
|
||||
return new PhysicalSize(pos.Physical.width, pos.Physical.height)
|
||||
}
|
||||
|
|
191
pnpm-lock.yaml
191
pnpm-lock.yaml
|
@ -4,6 +4,9 @@ settings:
|
|||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
overrides:
|
||||
rollup@>=4.0.0 <4.22.4: '>=4.22.4'
|
||||
|
||||
importers:
|
||||
|
||||
.:
|
||||
|
@ -44,7 +47,7 @@ importers:
|
|||
version: 4.2.19
|
||||
unocss:
|
||||
specifier: ^0.61.0
|
||||
version: 0.61.9(postcss@8.4.47)(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
version: 0.61.9(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
vite:
|
||||
specifier: ^5.4.6
|
||||
version: 5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)
|
||||
|
@ -60,10 +63,10 @@ importers:
|
|||
version: 9.9.0
|
||||
'@rollup/plugin-terser':
|
||||
specifier: 0.4.4
|
||||
version: 0.4.4(rollup@4.21.0)
|
||||
version: 0.4.4(rollup@4.22.4)
|
||||
'@rollup/plugin-typescript':
|
||||
specifier: 11.1.6
|
||||
version: 11.1.6(rollup@4.21.0)(tslib@2.6.3)(typescript@5.5.4)
|
||||
version: 11.1.6(rollup@4.22.4)(tslib@2.6.3)(typescript@5.5.4)
|
||||
'@types/eslint':
|
||||
specifier: ^9.0.0
|
||||
version: 9.6.0
|
||||
|
@ -86,8 +89,8 @@ importers:
|
|||
specifier: ^15.4.0
|
||||
version: 15.9.0
|
||||
rollup:
|
||||
specifier: 4.21.0
|
||||
version: 4.21.0
|
||||
specifier: 4.22.4
|
||||
version: 4.22.4
|
||||
tslib:
|
||||
specifier: ^2.6.3
|
||||
version: 2.6.3
|
||||
|
@ -822,7 +825,7 @@ packages:
|
|||
resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^2.0.0||^3.0.0||^4.0.0
|
||||
rollup: '>=4.22.4'
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
|
@ -831,7 +834,7 @@ packages:
|
|||
resolution: {integrity: sha512-R92yOmIACgYdJ7dJ97p4K69I8gg6IEHt8M7dUBxN3W6nrO8uUxX5ixl0yU/N3aZTi8WhPuICvOHXQvF6FaykAA==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^2.14.0||^3.0.0||^4.0.0
|
||||
rollup: '>=4.22.4'
|
||||
tslib: '*'
|
||||
typescript: '>=3.7.0'
|
||||
peerDependenciesMeta:
|
||||
|
@ -844,88 +847,88 @@ packages:
|
|||
resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
|
||||
rollup: '>=4.22.4'
|
||||
peerDependenciesMeta:
|
||||
rollup:
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-android-arm-eabi@4.21.0':
|
||||
resolution: {integrity: sha512-WTWD8PfoSAJ+qL87lE7votj3syLavxunWhzCnx3XFxFiI/BA/r3X7MUM8dVrH8rb2r4AiO8jJsr3ZjdaftmnfA==}
|
||||
'@rollup/rollup-android-arm-eabi@4.22.4':
|
||||
resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
|
||||
'@rollup/rollup-android-arm64@4.21.0':
|
||||
resolution: {integrity: sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==}
|
||||
'@rollup/rollup-android-arm64@4.22.4':
|
||||
resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
|
||||
'@rollup/rollup-darwin-arm64@4.21.0':
|
||||
resolution: {integrity: sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==}
|
||||
'@rollup/rollup-darwin-arm64@4.22.4':
|
||||
resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@rollup/rollup-darwin-x64@4.21.0':
|
||||
resolution: {integrity: sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==}
|
||||
'@rollup/rollup-darwin-x64@4.22.4':
|
||||
resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@rollup/rollup-linux-arm-gnueabihf@4.21.0':
|
||||
resolution: {integrity: sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==}
|
||||
'@rollup/rollup-linux-arm-gnueabihf@4.22.4':
|
||||
resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-arm-musleabihf@4.21.0':
|
||||
resolution: {integrity: sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==}
|
||||
'@rollup/rollup-linux-arm-musleabihf@4.22.4':
|
||||
resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-arm64-gnu@4.21.0':
|
||||
resolution: {integrity: sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==}
|
||||
'@rollup/rollup-linux-arm64-gnu@4.22.4':
|
||||
resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-arm64-musl@4.21.0':
|
||||
resolution: {integrity: sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==}
|
||||
'@rollup/rollup-linux-arm64-musl@4.22.4':
|
||||
resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-powerpc64le-gnu@4.21.0':
|
||||
resolution: {integrity: sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==}
|
||||
'@rollup/rollup-linux-powerpc64le-gnu@4.22.4':
|
||||
resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-riscv64-gnu@4.21.0':
|
||||
resolution: {integrity: sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==}
|
||||
'@rollup/rollup-linux-riscv64-gnu@4.22.4':
|
||||
resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-s390x-gnu@4.21.0':
|
||||
resolution: {integrity: sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==}
|
||||
'@rollup/rollup-linux-s390x-gnu@4.22.4':
|
||||
resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-x64-gnu@4.21.0':
|
||||
resolution: {integrity: sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==}
|
||||
'@rollup/rollup-linux-x64-gnu@4.22.4':
|
||||
resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-linux-x64-musl@4.21.0':
|
||||
resolution: {integrity: sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==}
|
||||
'@rollup/rollup-linux-x64-musl@4.22.4':
|
||||
resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@rollup/rollup-win32-arm64-msvc@4.21.0':
|
||||
resolution: {integrity: sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==}
|
||||
'@rollup/rollup-win32-arm64-msvc@4.22.4':
|
||||
resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@rollup/rollup-win32-ia32-msvc@4.21.0':
|
||||
resolution: {integrity: sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==}
|
||||
'@rollup/rollup-win32-ia32-msvc@4.22.4':
|
||||
resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@rollup/rollup-win32-x64-msvc@4.21.0':
|
||||
resolution: {integrity: sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==}
|
||||
'@rollup/rollup-win32-x64-msvc@4.22.4':
|
||||
resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
|
@ -1904,8 +1907,8 @@ packages:
|
|||
rollup-pluginutils@2.8.2:
|
||||
resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==}
|
||||
|
||||
rollup@4.21.0:
|
||||
resolution: {integrity: sha512-vo+S/lfA2lMS7rZ2Qoubi6I5hwZwzXeUIctILZLbHI+laNtvhhOIon2S1JksA5UEDQ7l3vberd0fxK44lTYjbQ==}
|
||||
rollup@4.22.4:
|
||||
resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==}
|
||||
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
|
||||
hasBin: true
|
||||
|
||||
|
@ -2825,77 +2828,77 @@ snapshots:
|
|||
|
||||
'@polka/url@1.0.0-next.25': {}
|
||||
|
||||
'@rollup/plugin-terser@0.4.4(rollup@4.21.0)':
|
||||
'@rollup/plugin-terser@0.4.4(rollup@4.22.4)':
|
||||
dependencies:
|
||||
serialize-javascript: 6.0.2
|
||||
smob: 1.5.0
|
||||
terser: 5.31.6
|
||||
optionalDependencies:
|
||||
rollup: 4.21.0
|
||||
rollup: 4.22.4
|
||||
|
||||
'@rollup/plugin-typescript@11.1.6(rollup@4.21.0)(tslib@2.6.3)(typescript@5.5.4)':
|
||||
'@rollup/plugin-typescript@11.1.6(rollup@4.22.4)(tslib@2.6.3)(typescript@5.5.4)':
|
||||
dependencies:
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.21.0)
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.22.4)
|
||||
resolve: 1.22.8
|
||||
typescript: 5.5.4
|
||||
optionalDependencies:
|
||||
rollup: 4.21.0
|
||||
rollup: 4.22.4
|
||||
tslib: 2.6.3
|
||||
|
||||
'@rollup/pluginutils@5.1.0(rollup@4.21.0)':
|
||||
'@rollup/pluginutils@5.1.0(rollup@4.22.4)':
|
||||
dependencies:
|
||||
'@types/estree': 1.0.5
|
||||
estree-walker: 2.0.2
|
||||
picomatch: 2.3.1
|
||||
optionalDependencies:
|
||||
rollup: 4.21.0
|
||||
rollup: 4.22.4
|
||||
|
||||
'@rollup/rollup-android-arm-eabi@4.21.0':
|
||||
'@rollup/rollup-android-arm-eabi@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-android-arm64@4.21.0':
|
||||
'@rollup/rollup-android-arm64@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-darwin-arm64@4.21.0':
|
||||
'@rollup/rollup-darwin-arm64@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-darwin-x64@4.21.0':
|
||||
'@rollup/rollup-darwin-x64@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-arm-gnueabihf@4.21.0':
|
||||
'@rollup/rollup-linux-arm-gnueabihf@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-arm-musleabihf@4.21.0':
|
||||
'@rollup/rollup-linux-arm-musleabihf@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-arm64-gnu@4.21.0':
|
||||
'@rollup/rollup-linux-arm64-gnu@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-arm64-musl@4.21.0':
|
||||
'@rollup/rollup-linux-arm64-musl@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-powerpc64le-gnu@4.21.0':
|
||||
'@rollup/rollup-linux-powerpc64le-gnu@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-riscv64-gnu@4.21.0':
|
||||
'@rollup/rollup-linux-riscv64-gnu@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-s390x-gnu@4.21.0':
|
||||
'@rollup/rollup-linux-s390x-gnu@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-x64-gnu@4.21.0':
|
||||
'@rollup/rollup-linux-x64-gnu@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-linux-x64-musl@4.21.0':
|
||||
'@rollup/rollup-linux-x64-musl@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-win32-arm64-msvc@4.21.0':
|
||||
'@rollup/rollup-win32-arm64-msvc@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-win32-ia32-msvc@4.21.0':
|
||||
'@rollup/rollup-win32-ia32-msvc@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@rollup/rollup-win32-x64-msvc@4.21.0':
|
||||
'@rollup/rollup-win32-x64-msvc@4.22.4':
|
||||
optional: true
|
||||
|
||||
'@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.19)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))':
|
||||
|
@ -3019,21 +3022,21 @@ snapshots:
|
|||
'@typescript-eslint/types': 8.2.0
|
||||
eslint-visitor-keys: 3.4.3
|
||||
|
||||
'@unocss/astro@0.61.9(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))':
|
||||
'@unocss/astro@0.61.9(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))':
|
||||
dependencies:
|
||||
'@unocss/core': 0.61.9
|
||||
'@unocss/reset': 0.61.9
|
||||
'@unocss/vite': 0.61.9(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
'@unocss/vite': 0.61.9(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
optionalDependencies:
|
||||
vite: 5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- supports-color
|
||||
|
||||
'@unocss/cli@0.61.9(rollup@4.21.0)':
|
||||
'@unocss/cli@0.61.9(rollup@4.22.4)':
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.3.0
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.21.0)
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.22.4)
|
||||
'@unocss/config': 0.61.9
|
||||
'@unocss/core': 0.61.9
|
||||
'@unocss/preset-uno': 0.61.9
|
||||
|
@ -3164,10 +3167,10 @@ snapshots:
|
|||
dependencies:
|
||||
'@unocss/core': 0.61.9
|
||||
|
||||
'@unocss/vite@0.61.9(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))':
|
||||
'@unocss/vite@0.61.9(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))':
|
||||
dependencies:
|
||||
'@ampproject/remapping': 2.3.0
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.21.0)
|
||||
'@rollup/pluginutils': 5.1.0(rollup@4.22.4)
|
||||
'@unocss/config': 0.61.9
|
||||
'@unocss/core': 0.61.9
|
||||
'@unocss/inspector': 0.61.9
|
||||
|
@ -4017,26 +4020,26 @@ snapshots:
|
|||
dependencies:
|
||||
estree-walker: 0.6.1
|
||||
|
||||
rollup@4.21.0:
|
||||
rollup@4.22.4:
|
||||
dependencies:
|
||||
'@types/estree': 1.0.5
|
||||
optionalDependencies:
|
||||
'@rollup/rollup-android-arm-eabi': 4.21.0
|
||||
'@rollup/rollup-android-arm64': 4.21.0
|
||||
'@rollup/rollup-darwin-arm64': 4.21.0
|
||||
'@rollup/rollup-darwin-x64': 4.21.0
|
||||
'@rollup/rollup-linux-arm-gnueabihf': 4.21.0
|
||||
'@rollup/rollup-linux-arm-musleabihf': 4.21.0
|
||||
'@rollup/rollup-linux-arm64-gnu': 4.21.0
|
||||
'@rollup/rollup-linux-arm64-musl': 4.21.0
|
||||
'@rollup/rollup-linux-powerpc64le-gnu': 4.21.0
|
||||
'@rollup/rollup-linux-riscv64-gnu': 4.21.0
|
||||
'@rollup/rollup-linux-s390x-gnu': 4.21.0
|
||||
'@rollup/rollup-linux-x64-gnu': 4.21.0
|
||||
'@rollup/rollup-linux-x64-musl': 4.21.0
|
||||
'@rollup/rollup-win32-arm64-msvc': 4.21.0
|
||||
'@rollup/rollup-win32-ia32-msvc': 4.21.0
|
||||
'@rollup/rollup-win32-x64-msvc': 4.21.0
|
||||
'@rollup/rollup-android-arm-eabi': 4.22.4
|
||||
'@rollup/rollup-android-arm64': 4.22.4
|
||||
'@rollup/rollup-darwin-arm64': 4.22.4
|
||||
'@rollup/rollup-darwin-x64': 4.22.4
|
||||
'@rollup/rollup-linux-arm-gnueabihf': 4.22.4
|
||||
'@rollup/rollup-linux-arm-musleabihf': 4.22.4
|
||||
'@rollup/rollup-linux-arm64-gnu': 4.22.4
|
||||
'@rollup/rollup-linux-arm64-musl': 4.22.4
|
||||
'@rollup/rollup-linux-powerpc64le-gnu': 4.22.4
|
||||
'@rollup/rollup-linux-riscv64-gnu': 4.22.4
|
||||
'@rollup/rollup-linux-s390x-gnu': 4.22.4
|
||||
'@rollup/rollup-linux-x64-gnu': 4.22.4
|
||||
'@rollup/rollup-linux-x64-musl': 4.22.4
|
||||
'@rollup/rollup-win32-arm64-msvc': 4.22.4
|
||||
'@rollup/rollup-win32-ia32-msvc': 4.22.4
|
||||
'@rollup/rollup-win32-x64-msvc': 4.22.4
|
||||
fsevents: 2.3.3
|
||||
|
||||
run-parallel@1.2.0:
|
||||
|
@ -4053,7 +4056,7 @@ snapshots:
|
|||
dependencies:
|
||||
chokidar: 3.6.0
|
||||
immutable: 4.3.7
|
||||
source-map-js: 1.2.0
|
||||
source-map-js: 1.2.1
|
||||
optional: true
|
||||
|
||||
selfsigned@2.4.1:
|
||||
|
@ -4232,10 +4235,10 @@ snapshots:
|
|||
pathe: 1.1.2
|
||||
ufo: 1.5.4
|
||||
|
||||
unocss@0.61.9(postcss@8.4.47)(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)):
|
||||
unocss@0.61.9(postcss@8.4.47)(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)):
|
||||
dependencies:
|
||||
'@unocss/astro': 0.61.9(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
'@unocss/cli': 0.61.9(rollup@4.21.0)
|
||||
'@unocss/astro': 0.61.9(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
'@unocss/cli': 0.61.9(rollup@4.22.4)
|
||||
'@unocss/core': 0.61.9
|
||||
'@unocss/extractor-arbitrary-variants': 0.61.9
|
||||
'@unocss/postcss': 0.61.9(postcss@8.4.47)
|
||||
|
@ -4253,7 +4256,7 @@ snapshots:
|
|||
'@unocss/transformer-compile-class': 0.61.9
|
||||
'@unocss/transformer-directives': 0.61.9
|
||||
'@unocss/transformer-variant-group': 0.61.9
|
||||
'@unocss/vite': 0.61.9(rollup@4.21.0)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
'@unocss/vite': 0.61.9(rollup@4.22.4)(vite@5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6))
|
||||
optionalDependencies:
|
||||
vite: 5.4.6(@types/node@20.16.1)(sass@1.77.8)(terser@5.31.6)
|
||||
transitivePeerDependencies:
|
||||
|
@ -4292,7 +4295,7 @@ snapshots:
|
|||
dependencies:
|
||||
esbuild: 0.21.5
|
||||
postcss: 8.4.47
|
||||
rollup: 4.21.0
|
||||
rollup: 4.22.4
|
||||
optionalDependencies:
|
||||
'@types/node': 20.16.1
|
||||
fsevents: 2.3.3
|
||||
|
|
Loading…
Reference in New Issue