security/bitwarden-cli: update to 2024.1.0

While here, modify and host FreeBSD node patch files so that they can
be cleanly applied to node 18.15.0, which is needed by this port.

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.1.0

Reported by:	GitHub (watch releases)
This commit is contained in:
Hiroki Tagato 2024-01-16 12:58:24 +09:00
parent df3c76718b
commit 43b9a30a5c
25 changed files with 4343 additions and 4668 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= bitwarden-cli
DISTVERSIONPREFIX= cli-v
DISTVERSION= 2023.12.1
DISTVERSION= 2024.1.0
CATEGORIES= security
MASTER_SITES= https://nodejs.org/dist/v${PKG_NODE_VER}/:node
DISTFILES= node-v${PKG_NODE_VER}${EXTRACT_SUFX}:node \
@ -49,7 +49,7 @@ PORTDOCS= CONTRIBUTING.md README.md SECURITY.md
OPTIONS_DEFINE= DOCS
PREFETCH_FILE= ${PORTNAME}-${DISTVERSION}-node-modules${EXTRACT_SUFX}
PREFETCH_TIMESTAMP= 1703830974
PREFETCH_TIMESTAMP= 61171200
PKG_NODE_VER= 18.15.0
PKG_FETCH_VER= 3.5
PKG_NODE_CONFIGURE_ARGS=--openssl-use-def-ca-store \
@ -89,7 +89,7 @@ post-extract:
post-patch:
# apply FreeBSD patches for node
for p in ${.CURDIR:H:H}/www/node${NODEJS_VERSION}/files/patch-*; do \
for p in ${PATCHDIR}/node/patch-*;do \
${PATCH} -s -p0 -d ${WRKDIR}/node-v${PKG_NODE_VER} < $${p}; \
done
# apply node patch from pkg-fetch

View file

@ -1,7 +1,7 @@
TIMESTAMP = 1703834785
TIMESTAMP = 1705320120
SHA256 (node-v18.15.0.tar.gz) = d65c4c3ef3c8815bccda9502081a29458c7c80797db0763f8752f270a824ac2b
SIZE (node-v18.15.0.tar.gz) = 85359314
SHA256 (bitwarden-cli-2023.12.1-node-modules.tar.gz) = 075b53dbfad3850e0871919067319165165fa4f85abed3f1394d445dc2de3f79
SIZE (bitwarden-cli-2023.12.1-node-modules.tar.gz) = 240036250
SHA256 (bitwarden-clients-cli-v2023.12.1_GH0.tar.gz) = 2490f1b3f9cfb856c73171bcdd2aceb19920a4c308525a7426510383af29791f
SIZE (bitwarden-clients-cli-v2023.12.1_GH0.tar.gz) = 20068554
SHA256 (bitwarden-cli-2024.1.0-node-modules.tar.gz) = 0310415b6b065ef00671a8962b3dfc0d00ea4606402193f61929a8ed961431fc
SIZE (bitwarden-cli-2024.1.0-node-modules.tar.gz) = 253208708
SHA256 (bitwarden-clients-cli-v2024.1.0_GH0.tar.gz) = 912422df41ac3e2d68a3709a844d4980afb0f209ef58fb0da6769ee852fc1ebb
SIZE (bitwarden-clients-cli-v2024.1.0_GH0.tar.gz) = 20175952

View file

@ -0,0 +1,11 @@
--- common.gypi.orig 2023-03-05 06:42:51 UTC
+++ common.gypi
@@ -426,7 +426,7 @@
'ldflags': [ '-m32' ],
}],
[ 'target_arch=="ppc64" and OS!="aix"', {
- 'cflags': [ '-m64', '-mminimal-toc' ],
+ 'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
}],
[ 'target_arch=="s390x" and OS=="linux"', {

View file

@ -0,0 +1,11 @@
--- deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2023-03-05 06:42:52 UTC
+++ deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi
@@ -13,7 +13,7 @@
'-Wall -O3 -fomit-frame-pointer',
],
'openssl_ex_libs_linux-elf': [
- '-ldl -pthread',
+ '-pthread',
],
'openssl_cli_srcs_linux-elf': [
'openssl/apps/lib/cmp_mock_srv.c',

View file

@ -0,0 +1,11 @@
--- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2023-03-05 06:42:52 UTC
+++ deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi
@@ -977,7 +977,7 @@
'-Wall -O3 -fomit-frame-pointer',
],
'openssl_ex_libs_linux-elf': [
- '-ldl -pthread',
+ '-pthread',
],
},
'include_dirs': [

View file

@ -0,0 +1,17 @@
--- deps/openssl/openssl-cl_no_asm.gypi.orig 2023-03-05 06:42:52 UTC
+++ deps/openssl/openssl-cl_no_asm.gypi
@@ -1,4 +1,5 @@
{
+ 'defines': ['OPENSSL_NO_ASM'],
'conditions': [
['target_arch=="ppc64" and OS=="aix"', {
'includes': ['config/archs/aix64-gcc-as/no-asm/openssl-cl.gypi'],
@@ -43,7 +44,7 @@
'includes': ['config/archs/linux64-riscv64/no-asm/openssl-cl.gypi'],
}, {
# Other architectures don't use assembly
- 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'],
+ 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'],
}],
],
}

View file

@ -0,0 +1,11 @@
--- deps/openssl/openssl_no_asm.gypi.orig 2023-03-05 06:42:52 UTC
+++ deps/openssl/openssl_no_asm.gypi
@@ -44,7 +44,7 @@
'includes': ['config/archs/linux64-riscv64/no-asm/openssl.gypi'],
}, {
# Other architectures don't use assembly
- 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'],
+ 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'],
}],
],
}

View file

@ -0,0 +1,13 @@
--- deps/v8/src/base/platform/platform-freebsd.cc.orig 2023-03-05 06:42:53 UTC
+++ deps/v8/src/base/platform/platform-freebsd.cc
@@ -82,8 +82,8 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
lib_name = std::string(path);
}
result.push_back(SharedLibraryAddress(
- lib_name, reinterpret_cast<uintptr_t>(map->kve_start),
- reinterpret_cast<uintptr_t>(map->kve_end)));
+ lib_name, static_cast<uintptr_t>(map->kve_start),
+ static_cast<uintptr_t>(map->kve_end)));
}
start += ssize;

View file

@ -0,0 +1,18 @@
--- deps/v8/src/codegen/arm/cpu-arm.cc.orig 2023-03-05 06:42:53 UTC
+++ deps/v8/src/codegen/arm/cpu-arm.cc
@@ -2,12 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "include/v8config.h"
+
// CPU specific code for arm independent of OS goes here.
#ifdef __arm__
#ifdef __QNXNTO__
#include <sys/mman.h> // for cache flushing.
#undef MAP_TYPE
#elif V8_OS_FREEBSD
+#include <sys/cdefs.h>
#include <machine/sysarch.h> // for cache flushing
#include <sys/types.h>
#elif V8_OS_STARBOARD

View file

@ -0,0 +1,20 @@
--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2023-03-05 06:42:53 UTC
+++ deps/v8/src/codegen/ppc/constants-ppc.h
@@ -36,7 +36,7 @@
#endif
#if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || !V8_TARGET_ARCH_PPC64 || \
- V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)
+ (defined(_CALL_ELF) && _CALL_ELF == 2)
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
#else
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0
@@ -44,7 +44,7 @@
#if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || \
(V8_TARGET_ARCH_PPC64 && \
- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
+ (defined(_CALL_ELF) && _CALL_ELF == 2))
#define ABI_CALL_VIA_IP 1
#else
#define ABI_CALL_VIA_IP 0

View file

@ -0,0 +1,13 @@
--- deps/v8/src/libsampler/sampler.cc.orig 2023-03-05 06:42:53 UTC
+++ deps/v8/src/libsampler/sampler.cc
@@ -497,6 +497,10 @@ void SignalHandler::FillRegisterState(void* context, R
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
+#elif V8_TARGET_ARCH_PPC64
+ state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
+ state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
+ state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
#endif // V8_HOST_ARCH_*
#elif V8_OS_NETBSD
#if V8_HOST_ARCH_IA32

View file

@ -0,0 +1,12 @@
--- node.gypi.orig 2023-03-05 06:42:54 UTC
+++ node.gypi
@@ -349,6 +349,9 @@
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'conditions': [
+ ['openssl_no_asm==1', {
+ 'defines': [ 'OPENSSL_NO_ASM' ],
+ }],
[ 'node_shared_openssl=="false"', {
'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ],
'dependencies': [

View file

@ -0,0 +1,11 @@
--- src/cares_wrap.h.orig 2023-03-05 06:42:54 UTC
+++ src/cares_wrap.h
@@ -23,7 +23,7 @@
# include <netdb.h>
#endif // __POSIX__
-# include <ares_nameser.h>
+# include <arpa/nameser.h>
namespace node {
namespace cares_wrap {

View file

@ -0,0 +1,15 @@
--- src/crypto/crypto_util.cc.orig 2023-03-05 06:42:54 UTC
+++ src/crypto/crypto_util.cc
@@ -194,10 +194,12 @@ void InitCryptoOnce() {
// No-op with OPENSSL_NO_COMP builds of OpenSSL.
sk_SSL_COMP_zero(SSL_COMP_get_compression_methods());
+#if OPENSSL_VERSION_MAJOR < 3
#ifndef OPENSSL_NO_ENGINE
ERR_load_ENGINE_strings();
ENGINE_load_builtin_engines();
#endif // !OPENSSL_NO_ENGINE
+#endif
}
void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) {

View file

@ -0,0 +1,11 @@
--- tools/v8_gypfiles/v8.gyp.orig 2023-03-05 06:42:55 UTC
+++ tools/v8_gypfiles/v8.gyp
@@ -977,7 +977,7 @@
}],
# Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
# to implement atomic memory access
- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', {
+ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "riscv64", "loong64"]', {
'link_settings': {
'libraries': ['-latomic', ],
},

View file

@ -1,6 +1,6 @@
{
"name": "@bitwarden/browser",
"version": "2023.12.0",
"version": "2024.1.0",
"scripts": {
"build": "webpack",
"build:mv3": "cross-env MANIFEST_VERSION=3 webpack",

View file

@ -1,7 +1,7 @@
{
"name": "@bitwarden/cli",
"description": "A secure and free password manager for all of your devices.",
"version": "2023.12.1",
"version": "2024.1.0",
"keywords": [
"bitwarden",
"password",
@ -57,7 +57,7 @@
"form-data": "4.0.0",
"https-proxy-agent": "5.0.1",
"inquirer": "8.2.6",
"jsdom": "22.1.0",
"jsdom": "23.0.1",
"jszip": "3.10.1",
"koa": "2.14.2",
"koa-bodyparser": "4.4.1",
@ -71,7 +71,7 @@
"papaparse": "5.4.1",
"proper-lockfile": "4.1.2",
"rxjs": "7.8.1",
"tldts": "6.0.14",
"tldts": "6.1.1",
"zxcvbn": "4.4.2"
}
}

View file

@ -1,7 +1,7 @@
{
"name": "@bitwarden/desktop",
"description": "A secure and free password manager for all of your devices.",
"version": "2023.12.0",
"version": "2024.1.0",
"keywords": [
"bitwarden",
"password",

View file

@ -1,6 +1,6 @@
{
"name": "@bitwarden/web-vault",
"version": "2023.12.0",
"version": "2024.1.0",
"scripts": {
"build:oss": "webpack",
"build:bit": "webpack -c ../../bitwarden_license/bit-web/webpack.config.js",
@ -12,6 +12,7 @@
"build:bit:qa": "cross-env NODE_ENV=production ENV=qa npm run build:bit",
"build:bit:euprd": "cross-env NODE_ENV=production ENV=euprd npm run build:bit",
"build:bit:euqa": "cross-env NODE_ENV=production ENV=euqa npm run build:bit",
"build:bit:usdev": "cross-env NODE_ENV=production ENV=usdev npm run build:bit",
"build:bit:cloud": "cross-env NODE_ENV=production ENV=cloud npm run build:bit",
"build:oss:selfhost:watch": "cross-env ENV=selfhosted npm run build:oss:watch",
"build:bit:selfhost:watch": "cross-env ENV=selfhosted npm run build:bit:watch",

View file

@ -0,0 +1,20 @@
{
"name": "@bitwarden/admin-console",
"version": "0.0.0",
"description": "Common code used across Bitwarden JavaScript projects.",
"keywords": [
"bitwarden"
],
"author": "Bitwarden Inc.",
"homepage": "https://bitwarden.com",
"repository": {
"type": "git",
"url": "https://github.com/bitwarden/clients"
},
"license": "GPL-3.0",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"build:watch": "npm run clean && tsc -watch"
}
}

View file

@ -0,0 +1,20 @@
{
"name": "@bitwarden/billing",
"version": "0.0.0",
"description": "Common code used across Bitwarden JavaScript projects.",
"keywords": [
"bitwarden"
],
"author": "Bitwarden Inc.",
"homepage": "https://bitwarden.com",
"repository": {
"type": "git",
"url": "https://github.com/bitwarden/clients"
},
"license": "GPL-3.0",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"build:watch": "npm run clean && tsc -watch"
}
}

View file

@ -0,0 +1,20 @@
{
"name": "@bitwarden/platform",
"version": "0.0.0",
"description": "Common code used across Bitwarden JavaScript projects.",
"keywords": [
"bitwarden"
],
"author": "Bitwarden Inc.",
"homepage": "https://bitwarden.com",
"repository": {
"type": "git",
"url": "https://github.com/bitwarden/clients"
},
"license": "GPL-3.0",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"build:watch": "npm run clean && tsc -watch"
}
}

File diff suppressed because it is too large Load diff

View file

@ -34,31 +34,34 @@
"libs/*"
],
"devDependencies": {
"@angular-devkit/build-angular": "15.2.9",
"@angular-devkit/build-angular": "15.2.10",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "15.2.1",
"@angular-eslint/template-parser": "15.2.1",
"@angular/cli": "15.2.9",
"@angular/compiler-cli": "15.2.9",
"@angular/elements": "15.2.9",
"@compodoc/compodoc": "1.1.21",
"@electron/notarize": "1.2.4",
"@electron/rebuild": "3.2.13",
"@ngtools/webpack": "15.2.9",
"@storybook/addon-a11y": "7.3.0",
"@storybook/addon-actions": "7.3.0",
"@storybook/addon-designs": "7.0.4",
"@storybook/addon-essentials": "7.3.0",
"@storybook/addon-links": "7.3.0",
"@storybook/angular": "7.3.0",
"@angular/cli": "15.2.10",
"@angular/compiler-cli": "15.2.10",
"@angular/elements": "15.2.10",
"@compodoc/compodoc": "1.1.23",
"@electron/notarize": "2.2.0",
"@electron/rebuild": "3.4.1",
"@ngtools/webpack": "15.2.10",
"@storybook/addon-a11y": "7.6.4",
"@storybook/addon-actions": "7.6.4",
"@storybook/addon-designs": "7.0.7",
"@storybook/addon-essentials": "7.6.4",
"@storybook/addon-links": "7.6.4",
"@storybook/angular": "7.6.4",
"@storybook/addon-interactions": "7.6.4",
"@storybook/jest": "0.2.3",
"@storybook/testing-library": "0.2.2",
"@types/argon2-browser": "1.18.1",
"@types/chrome": "0.0.243",
"@types/duo_web_sdk": "2.7.1",
"@types/firefox-webext-browser": "111.0.1",
"@types/inquirer": "8.2.6",
"@types/jest": "29.5.3",
"@types/jquery": "3.5.16",
"@types/jsdom": "21.1.1",
"@types/jest": "29.5.11",
"@types/jquery": "3.5.29",
"@types/jsdom": "21.1.6",
"@types/koa": "2.13.8",
"@types/koa__multer": "2.0.4",
"@types/koa__router": "12.0.0",
@ -66,117 +69,116 @@
"@types/koa-json": "2.0.20",
"@types/lowdb": "1.0.11",
"@types/lunr": "2.3.4",
"@types/node": "18.17.5",
"@types/node": "18.19.2",
"@types/node-fetch": "2.6.4",
"@types/node-forge": "1.3.4",
"@types/node-forge": "1.3.10",
"@types/node-ipc": "9.2.0",
"@types/papaparse": "5.3.13",
"@types/papaparse": "5.3.14",
"@types/proper-lockfile": "4.1.2",
"@types/react": "16.14.45",
"@types/react": "16.14.54",
"@types/retry": "0.12.2",
"@types/zxcvbn": "4.4.1",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@types/zxcvbn": "4.4.4",
"@typescript-eslint/eslint-plugin": "6.16.0",
"@typescript-eslint/parser": "6.16.0",
"@webcomponents/custom-elements": "1.6.0",
"autoprefixer": "10.4.15",
"autoprefixer": "10.4.16",
"base64-loader": "1.0.0",
"buffer": "6.0.3",
"chromatic": "6.22.0",
"chromatic": "10.0.0",
"clean-webpack-plugin": "4.0.0",
"concurrently": "8.2.0",
"concurrently": "8.2.2",
"copy-webpack-plugin": "11.0.0",
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"del": "6.1.1",
"electron": "25.9.1",
"electron": "27.2.0",
"electron-builder": "23.6.0",
"electron-log": "5.0.0",
"electron-log": "5.0.1",
"electron-reload": "2.0.0-alpha.1",
"electron-store": "8.1.0",
"electron-updater": "5.3.0",
"eslint": "8.47.0",
"eslint-config-prettier": "8.10.0",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-plugin-import": "2.28.0",
"electron-updater": "6.1.7",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-rxjs-angular": "2.0.1",
"eslint-plugin-storybook": "0.6.13",
"eslint-plugin-storybook": "0.6.15",
"eslint-plugin-tailwindcss": "3.13.0",
"gulp": "4.0.2",
"gulp-filter": "7.0.0",
"gulp-filter": "9.0.1",
"gulp-if": "3.0.0",
"gulp-json-editor": "2.5.7",
"gulp-json-editor": "2.6.0",
"gulp-replace": "1.1.4",
"gulp-zip": "5.1.0",
"gulp-zip": "6.0.0",
"html-loader": "4.2.0",
"html-webpack-injector": "1.1.4",
"html-webpack-plugin": "5.5.3",
"html-webpack-plugin": "5.5.4",
"husky": "8.0.3",
"jest-junit": "16.0.0",
"jest-mock-extended": "3.0.5",
"jest-preset-angular": "13.1.1",
"lint-staged": "13.3.0",
"jest-preset-angular": "13.1.4",
"lint-staged": "15.2.0",
"mini-css-extract-plugin": "2.7.6",
"node-ipc": "9.2.1",
"pkg": "vercel/pkg",
"postcss": "8.4.31",
"postcss": "8.4.32",
"postcss-loader": "7.3.3",
"prettier": "2.8.8",
"prettier-plugin-tailwindcss": "0.3.0",
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "0.5.10",
"process": "0.11.10",
"react": "18.2.0",
"react-dom": "18.2.0",
"regedit": "^3.0.3",
"remark-gfm": "3.0.1",
"rimraf": "5.0.1",
"sass": "1.65.1",
"rimraf": "5.0.5",
"sass": "1.69.5",
"sass-loader": "13.3.2",
"storybook": "7.3.0",
"storybook": "7.6.4",
"style-loader": "3.3.3",
"tailwindcss": "3.3.3",
"tailwindcss": "3.3.5",
"ts-jest": "29.1.1",
"ts-loader": "9.4.4",
"ts-loader": "9.5.1",
"tsconfig-paths-webpack-plugin": "4.1.0",
"type-fest": "2.19.0",
"typescript": "4.9.5",
"url": "0.11.1",
"url": "0.11.3",
"util": "0.12.5",
"wait-on": "7.0.1",
"webpack": "5.88.2",
"wait-on": "7.2.0",
"webpack": "5.89.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
"webpack-node-externals": "3.0.0"
},
"dependencies": {
"@angular/animations": "15.2.9",
"@angular/animations": "15.2.10",
"@angular/cdk": "15.2.9",
"@angular/common": "15.2.9",
"@angular/compiler": "15.2.9",
"@angular/core": "15.2.9",
"@angular/forms": "15.2.9",
"@angular/platform-browser": "15.2.9",
"@angular/platform-browser-dynamic": "15.2.9",
"@angular/router": "15.2.9",
"@angular/common": "15.2.10",
"@angular/compiler": "15.2.10",
"@angular/core": "15.2.10",
"@angular/forms": "15.2.10",
"@angular/platform-browser": "15.2.10",
"@angular/platform-browser-dynamic": "15.2.10",
"@angular/router": "15.2.10",
"@koa/multer": "3.0.2",
"@koa/router": "12.0.0",
"@microsoft/signalr": "6.0.21",
"@microsoft/signalr-protocol-msgpack": "6.0.21",
"@microsoft/signalr": "6.0.25",
"@microsoft/signalr-protocol-msgpack": "6.0.25",
"@ng-select/ng-select": "10.0.4",
"argon2": "0.31.0",
"argon2-browser": "1.18.0",
"big-integer": "1.6.51",
"bootstrap": "4.6.0",
"braintree-web-drop-in": "1.40.0",
"bufferutil": "4.0.7",
"braintree-web-drop-in": "1.41.0",
"bufferutil": "4.0.8",
"chalk": "4.1.2",
"commander": "7.2.0",
"core-js": "3.32.0",
"core-js": "3.34.0",
"duo_web_sdk": "github:duosecurity/duo_web_sdk",
"form-data": "4.0.0",
"https-proxy-agent": "5.0.1",
"inquirer": "8.2.6",
"jquery": "3.7.0",
"jsdom": "22.1.0",
"jquery": "3.7.1",
"jsdom": "23.0.1",
"jszip": "3.10.1",
"koa": "2.14.2",
"koa-bodyparser": "4.4.1",
@ -189,17 +191,17 @@
"node-fetch": "2.6.12",
"node-forge": "1.3.1",
"nord": "0.2.1",
"oidc-client-ts": "2.3.0",
"oidc-client-ts": "2.4.0",
"open": "8.4.2",
"papaparse": "5.4.1",
"patch-package": "6.5.1",
"patch-package": "8.0.0",
"popper.js": "1.16.1",
"proper-lockfile": "4.1.2",
"qrious": "4.0.2",
"rxjs": "7.8.1",
"tabbable": "6.2.0",
"tldts": "6.0.14",
"utf-8-validate": "5.0.10",
"tldts": "6.1.1",
"utf-8-validate": "6.0.3",
"zone.js": "0.12.0",
"zxcvbn": "4.4.2"
},
@ -211,7 +213,7 @@
"replacestream": "4.0.3"
},
"resolutions": {
"@types/react": "16.14.45"
"@types/react": "16.14.54"
},
"lint-staged": {
"*": "prettier --cache --ignore-unknown --write",

View file

@ -1,15 +1,15 @@
--- apps/cli/src/platform/services/cli-platform-utils.service.ts.orig 2023-07-25 08:24:23 UTC
--- apps/cli/src/platform/services/cli-platform-utils.service.ts.orig 2024-01-09 15:12:51 UTC
+++ apps/cli/src/platform/services/cli-platform-utils.service.ts
@@ -24,7 +24,7 @@ export class CliPlatformUtilsService implements Platfo
@@ -27,7 +27,7 @@ export class CliPlatformUtilsService implements Platfo
case "darwin":
this.deviceCache = DeviceType.MacOsDesktop;
this.deviceCache = DeviceType.MacOsCLI;
break;
- case "linux":
+ case "linux": case "freebsd":
default:
this.deviceCache = DeviceType.LinuxDesktop;
this.deviceCache = DeviceType.LinuxCLI;
break;
@@ -76,7 +76,7 @@ export class CliPlatformUtilsService implements Platfo
@@ -79,7 +79,7 @@ export class CliPlatformUtilsService implements Platfo
}
launchUri(uri: string, options?: any): void {