@napi-rs/keyring
Advanced tools
+4
-4
@@ -11,5 +11,5 @@ /* tslint:disable */ | ||
| /** find credentials by service name */ | ||
| export function findCredentials(service: string): Array<Credential> | ||
| export function findCredentials(service: string, target?: string | undefined | null): Array<Credential> | ||
| /** find credentials by service name */ | ||
| export function findCredentialsAsync(service: string, signal?: AbortSignal | undefined | null): Promise<Array<Credential>> | ||
| export function findCredentialsAsync(service: string, target?: string | undefined | null, signal?: AbortSignal | undefined | null): Promise<Array<Credential>> | ||
| export class AsyncEntry { | ||
@@ -27,3 +27,3 @@ /** | ||
| */ | ||
| static withTarget(service: string, username: string, target: string): AsyncEntry | ||
| static withTarget(target: string, service: string, username: string): AsyncEntry | ||
| /** | ||
@@ -76,3 +76,3 @@ * Set the password for this entry. | ||
| */ | ||
| static withTarget(service: string, username: string, target: string): Entry | ||
| static withTarget(target: string, service: string, username: string): Entry | ||
| /** | ||
@@ -79,0 +79,0 @@ * Set the password for this entry. |
+14
-13
| { | ||
| "name": "@napi-rs/keyring", | ||
| "version": "1.1.2", | ||
| "version": "1.1.3", | ||
| "description": "https://github.com/hwchen/keyring-rs Node.js binding via https://napi.rs", | ||
@@ -55,3 +55,3 @@ "main": "index.js", | ||
| "prepublishOnly": "napi prepublish -t npm", | ||
| "test": "ava", | ||
| "test": "ava -s", | ||
| "version": "napi version" | ||
@@ -64,2 +64,3 @@ }, | ||
| "@taplo/cli": "^0.5.2", | ||
| "@types/node": "^20.4.2", | ||
| "@typescript-eslint/eslint-plugin": "^6.0.0", | ||
@@ -112,14 +113,14 @@ "@typescript-eslint/parser": "^6.0.0", | ||
| "optionalDependencies": { | ||
| "@napi-rs/keyring-win32-x64-msvc": "1.1.2", | ||
| "@napi-rs/keyring-darwin-x64": "1.1.2", | ||
| "@napi-rs/keyring-linux-x64-gnu": "1.1.2", | ||
| "@napi-rs/keyring-linux-x64-musl": "1.1.2", | ||
| "@napi-rs/keyring-linux-arm64-gnu": "1.1.2", | ||
| "@napi-rs/keyring-win32-ia32-msvc": "1.1.2", | ||
| "@napi-rs/keyring-linux-arm-gnueabihf": "1.1.2", | ||
| "@napi-rs/keyring-darwin-arm64": "1.1.2", | ||
| "@napi-rs/keyring-freebsd-x64": "1.1.2", | ||
| "@napi-rs/keyring-linux-arm64-musl": "1.1.2", | ||
| "@napi-rs/keyring-win32-arm64-msvc": "1.1.2" | ||
| "@napi-rs/keyring-win32-x64-msvc": "1.1.3", | ||
| "@napi-rs/keyring-darwin-x64": "1.1.3", | ||
| "@napi-rs/keyring-linux-x64-gnu": "1.1.3", | ||
| "@napi-rs/keyring-linux-x64-musl": "1.1.3", | ||
| "@napi-rs/keyring-linux-arm64-gnu": "1.1.3", | ||
| "@napi-rs/keyring-win32-ia32-msvc": "1.1.3", | ||
| "@napi-rs/keyring-linux-arm-gnueabihf": "1.1.3", | ||
| "@napi-rs/keyring-darwin-arm64": "1.1.3", | ||
| "@napi-rs/keyring-freebsd-x64": "1.1.3", | ||
| "@napi-rs/keyring-linux-arm64-musl": "1.1.3", | ||
| "@napi-rs/keyring-win32-arm64-msvc": "1.1.3" | ||
| } | ||
| } |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
19109
0.55%18
5.88%