1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-17 18:09:17 +00:00

Revert "[deps] Platform: Lock file maintenance (#14932)" (#18406)

This reverts commit 5dee97158a.
This commit is contained in:
Colton Hurst
2026-01-16 11:37:07 -05:00
committed by GitHub
parent 12516ceeea
commit 3b2286fbb0
8 changed files with 8033 additions and 10395 deletions

View File

@@ -83,7 +83,7 @@
"multer": "2.0.2",
"node-fetch": "2.6.12",
"node-forge": "1.3.2",
"open": "8.4.2",
"open": "11.0.0",
"papaparse": "5.5.3",
"proper-lockfile": "4.1.2",
"rxjs": "7.8.1",

View File

@@ -2,8 +2,7 @@
// @ts-strict-ignore
import * as child_process from "child_process";
// eslint-disable-next-line
const open = require("open");
import open from "open";
import { ClientType, DeviceType } from "@bitwarden/common/enums";
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
@@ -88,7 +87,8 @@ export class CliPlatformUtilsService implements PlatformUtilsService {
if (process.platform === "linux") {
child_process.spawnSync("xdg-open", [uri]);
} else {
open(uri);
// eslint-disable-next-line no-console
open(uri).catch(console.error);
}
}