[deps]: Update @napi-rs/cli to v2.18.4 (#10584)

* [deps]: Update @napi-rs/cli to v2.18.4

* fix: update desktop/src/package-lock.json to reflect sub-package dependencies

* feat: apply changes after running napi-rs/cli

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
This commit is contained in:
renovate[bot] 2024-10-03 13:13:42 +02:00 committed by GitHub
parent 29db451808
commit 4b200acc3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 10 deletions

View File

@ -3,7 +3,7 @@
/* auto-generated by NAPI-RS */
export namespace passwords {
export declare namespace passwords {
/** Fetch the stored password from the keychain. */
export function getPassword(service: string, account: string): Promise<string>
/** Fetch the stored password from the keychain that was stored with Keytar. */
@ -14,7 +14,7 @@ export namespace passwords {
export function deletePassword(service: string, account: string): Promise<void>
export function isAvailable(): Promise<boolean>
}
export namespace biometrics {
export declare namespace biometrics {
export function prompt(hwnd: Buffer, message: string): Promise<boolean>
export function available(): Promise<boolean>
export function setBiometricSecret(service: string, account: string, secret: string, keyMaterial: KeyMaterial | undefined | null, ivB64: string): Promise<string>
@ -38,16 +38,16 @@ export namespace biometrics {
ivB64: string
}
}
export namespace clipboards {
export declare namespace clipboards {
export function read(): Promise<string>
export function write(text: string, password: boolean): Promise<void>
}
export namespace processisolations {
export declare namespace processisolations {
export function disableCoredumps(): Promise<void>
export function isCoreDumpingDisabled(): Promise<boolean>
export function disableMemoryAccess(): Promise<void>
}
export namespace powermonitors {
export declare namespace powermonitors {
export function onLock(callback: (err: Error | null, ) => any): Promise<void>
export function isLockMonitorAvailable(): Promise<boolean>
}

View File

@ -9,7 +9,7 @@
"author": "",
"license": "GPL-3.0",
"devDependencies": {
"@napi-rs/cli": "2.16.2"
"@napi-rs/cli": "2.18.4"
},
"napi": {
"name": "desktop_napi",

View File

@ -21,6 +21,13 @@
"@napi-rs/cli": "2.16.2"
}
},
"../desktop_native/napi": {
"version": "0.1.0",
"license": "GPL-3.0",
"devDependencies": {
"@napi-rs/cli": "2.18.4"
}
},
"node_modules/@bitwarden/desktop-napi": {
"resolved": "../desktop_native/napi",
"link": true

8
package-lock.json generated
View File

@ -242,7 +242,7 @@
"version": "0.1.0",
"license": "GPL-3.0",
"devDependencies": {
"@napi-rs/cli": "2.16.2"
"@napi-rs/cli": "2.18.4"
}
},
"apps/web": {
@ -7051,9 +7051,9 @@
}
},
"node_modules/@napi-rs/cli": {
"version": "2.16.2",
"resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.16.2.tgz",
"integrity": "sha512-U2aZfnr0s9KkXpZlYC0l5WxWCXL7vJUNpCnWMwq3T9GG9rhYAAUM9CTZsi1Z+0iR2LcHbfq9EfMgoqnuTyUjfg==",
"version": "2.18.4",
"resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.18.4.tgz",
"integrity": "sha512-SgJeA4df9DE2iAEpr3M2H0OKl/yjtg1BnRI5/JyowS71tUWhrfSu2LT0V3vlHET+g1hBVlrO60PmEXwUEKp8Mg==",
"dev": true,
"license": "MIT",
"bin": {