mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 18:33:50 +00:00
[deps] Platform: Lock file maintenance (#14932)
* [deps]: Lock file maintenance * Pin is-generator-function, downgrade open * Bump zbus to match zbus_macro * Attempt to fix rust compile issue by matching zbus and zbus_macro * Update ashpd ... * Fix lockfile --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
committed by
jaasen-livefront
parent
dddd4b0918
commit
5842cf30bb
@@ -83,7 +83,7 @@
|
||||
"multer": "2.0.2",
|
||||
"node-fetch": "2.6.12",
|
||||
"node-forge": "1.3.2",
|
||||
"open": "11.0.0",
|
||||
"open": "8.4.2",
|
||||
"papaparse": "5.5.3",
|
||||
"proper-lockfile": "4.1.2",
|
||||
"rxjs": "7.8.1",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
// @ts-strict-ignore
|
||||
import * as child_process from "child_process";
|
||||
|
||||
import open from "open";
|
||||
// eslint-disable-next-line
|
||||
const open = require("open");
|
||||
|
||||
import { ClientType, DeviceType } from "@bitwarden/common/enums";
|
||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||
@@ -87,8 +88,7 @@ export class CliPlatformUtilsService implements PlatformUtilsService {
|
||||
if (process.platform === "linux") {
|
||||
child_process.spawnSync("xdg-open", [uri]);
|
||||
} else {
|
||||
// eslint-disable-next-line no-console
|
||||
open(uri).catch(console.error);
|
||||
open(uri);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user