bitwarden/remove-unnecessary-deps.patch
Bruno Pitrus 2ebf1a20d8 - New upstream release 2024.10.0
* no changelog provided
- Add native-messaging.main-fix-path.patch
- Remove a temporarily-nonfree new dependency that is currently dead code (gh#bitwarden/clients#11611)
  * add remove-sdk-internal.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/bitwarden?expand=0&rev=75
2024-10-25 21:15:23 +00:00

213 lines
6.9 KiB
Diff

@types/semver and path-browserify is normally included transitively by storybook which we delete, adding it here explicitely because it is needed for build
--- clients-desktop-v2024.10.0/package.json.orig 2024-10-17 19:25:36.768284926 +0200
+++ clients-desktop-v2024.10.0/package.json 2024-10-17 19:42:05.732483029 +0200
@@ -13,7 +13,6 @@
},
"homepage": "https://bitwarden.com",
"scripts": {
- "prepare": "husky",
"lint": "eslint . --cache --cache-strategy content && prettier --check .",
"lint:fix": "eslint . --cache --cache-strategy content --fix",
"lint:clear": "rimraf .eslintcache",
@@ -26,7 +25,7 @@
"storybook": "ng run components:storybook",
"build-storybook": "ng run components:build-storybook",
"build-storybook:ci": "ng run components:build-storybook --webpack-stats-json",
- "postinstall": "patch-package"
+ "postinstall": "true"
},
"workspaces": [
"apps/*",
@@ -35,117 +34,45 @@
],
"devDependencies": {
"@angular-devkit/build-angular": "16.2.14",
- "@angular-eslint/eslint-plugin": "16.3.1",
- "@angular-eslint/eslint-plugin-template": "16.3.1",
- "@angular-eslint/template-parser": "16.3.1",
- "@angular/cli": "16.2.14",
"@angular/compiler-cli": "16.2.12",
- "@angular/elements": "16.2.12",
"@babel/core": "7.24.9",
"@babel/preset-env": "7.24.8",
- "@compodoc/compodoc": "1.1.25",
- "@electron/notarize": "2.5.0",
- "@electron/rebuild": "3.6.0",
"@ngtools/webpack": "16.2.14",
- "@storybook/addon-a11y": "8.2.9",
- "@storybook/addon-actions": "8.2.9",
- "@storybook/addon-designs": "8.0.3",
- "@storybook/addon-essentials": "8.2.9",
- "@storybook/addon-interactions": "8.2.9",
- "@storybook/addon-links": "8.2.9",
- "@storybook/angular": "8.2.9",
- "@storybook/manager-api": "8.2.9",
- "@storybook/theming": "8.2.9",
- "@types/argon2-browser": "1.18.4",
- "@types/chrome": "0.0.272",
- "@types/firefox-webext-browser": "120.0.4",
- "@types/inquirer": "8.2.10",
"@types/jest": "29.5.12",
- "@types/jquery": "3.5.30",
- "@types/jsdom": "21.1.7",
- "@types/koa": "2.14.0",
- "@types/koa__multer": "2.0.7",
- "@types/koa__router": "12.0.4",
- "@types/koa-bodyparser": "4.3.7",
- "@types/koa-json": "2.0.23",
- "@types/lowdb": "1.0.15",
"@types/lunr": "2.3.7",
"@types/node": "20.16.10",
- "@types/node-fetch": "2.6.4",
"@types/node-forge": "1.3.11",
"@types/node-ipc": "9.2.3",
"@types/papaparse": "5.3.14",
- "@types/proper-lockfile": "4.1.4",
- "@types/retry": "0.12.5",
+ "@types/semver": "^7.3.4",
"@types/zxcvbn": "4.4.5",
- "@typescript-eslint/eslint-plugin": "7.16.1",
- "@typescript-eslint/parser": "7.16.1",
- "@webcomponents/custom-elements": "1.6.0",
- "@yao-pkg/pkg": "5.14.0",
"autoprefixer": "10.4.20",
- "babel-loader": "9.1.3",
- "base64-loader": "1.0.0",
- "browserslist": "4.23.2",
- "chromatic": "11.10.2",
"concurrently": "9.0.1",
"copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
"electron": "32.1.1",
- "electron-builder": "24.13.3",
"electron-log": "5.0.1",
- "electron-reload": "2.0.0-alpha.1",
"electron-store": "8.2.0",
"electron-updater": "6.3.4",
- "eslint": "8.57.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.8.0",
- "eslint-plugin-tailwindcss": "3.17.4",
- "gulp": "4.0.2",
- "gulp-filter": "9.0.1",
- "gulp-if": "3.0.0",
- "gulp-json-editor": "2.6.0",
- "gulp-replace": "1.1.4",
- "gulp-zip": "6.0.0",
"html-loader": "5.0.0",
- "html-webpack-injector": "1.1.4",
"html-webpack-plugin": "5.6.0",
- "husky": "9.1.4",
- "jest-junit": "16.0.0",
"jest-mock-extended": "3.0.7",
- "jest-preset-angular": "14.1.1",
- "lint-staged": "15.2.8",
"mini-css-extract-plugin": "2.9.1",
"node-ipc": "9.2.1",
+ "path-browserify": "^1.0.1",
"postcss": "8.4.38",
"postcss-loader": "8.1.1",
- "prettier": "3.3.3",
- "prettier-plugin-tailwindcss": "0.6.8",
- "process": "0.11.10",
"regedit": "3.0.3",
- "remark-gfm": "4.0.0",
"rimraf": "6.0.1",
"sass": "1.74.1",
"sass-loader": "16.0.1",
- "storybook": "8.2.9",
- "style-loader": "3.3.4",
- "tailwindcss": "3.4.11",
- "ts-jest": "29.2.2",
"ts-loader": "9.5.1",
"tsconfig-paths-webpack-plugin": "4.1.0",
- "type-fest": "2.19.0",
"typescript": "5.1.6",
"url": "0.11.4",
- "util": "0.12.5",
- "wait-on": "8.0.1",
"webpack": "5.94.0",
- "webpack-cli": "5.1.4",
- "webpack-dev-server": "5.0.4",
- "webpack-node-externals": "3.0.0"
+ "webpack-cli": "5.1.4"
},
"dependencies": {
"@angular/animations": "16.2.12",
@@ -157,57 +84,28 @@
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/router": "16.2.12",
- "@bitwarden/sdk-internal": "0.1.3",
- "@electron/fuses": "1.8.0",
- "@koa/multer": "3.0.2",
- "@koa/router": "12.0.1",
"@microsoft/signalr": "8.0.7",
"@microsoft/signalr-protocol-msgpack": "8.0.7",
"@ng-select/ng-select": "11.2.0",
"argon2": "0.40.1",
- "argon2-browser": "1.18.0",
"big-integer": "1.6.52",
- "bootstrap": "4.6.0",
- "braintree-web-drop-in": "1.43.0",
"buffer": "6.0.3",
- "bufferutil": "4.0.8",
- "chalk": "4.1.2",
"commander": "11.1.0",
- "core-js": "3.36.1",
- "form-data": "4.0.0",
- "https-proxy-agent": "7.0.5",
- "inquirer": "8.2.6",
- "jquery": "3.7.1",
- "jsdom": "25.0.1",
"jszip": "3.10.1",
- "koa": "2.15.0",
- "koa-bodyparser": "4.4.1",
- "koa-json": "2.0.2",
- "lowdb": "1.0.0",
"lunr": "2.3.9",
- "multer": "1.4.5-lts.1",
- "ngx-infinite-scroll": "16.0.0",
"ngx-toastr": "17.0.2",
"node-fetch": "2.6.12",
"node-forge": "1.3.1",
"nord": "0.2.1",
"oidc-client-ts": "2.4.0",
- "open": "8.4.2",
"papaparse": "5.4.1",
- "patch-package": "8.0.0",
- "popper.js": "1.16.1",
- "proper-lockfile": "4.1.2",
- "qrcode-parser": "2.1.3",
- "qrious": "4.0.2",
"rxjs": "7.8.1",
- "tabbable": "6.2.0",
"tldts": "6.1.48",
"utf-8-validate": "6.0.4",
"zone.js": "0.13.3",
"zxcvbn": "4.4.2"
},
"overrides": {
- "tailwindcss": "$tailwindcss",
"@storybook/angular": {
"zone.js": "$zone.js"
},
--- clients-desktop-v2024.10.0/apps/desktop/desktop_native/napi/package.json.orig 2024-10-17 19:25:31.222180130 +0200
+++ clients-desktop-v2024.10.0/apps/desktop/desktop_native/napi/package.json 2024-10-17 19:43:45.262219326 +0200
@@ -8,9 +8,6 @@
},
"author": "",
"license": "GPL-3.0",
- "devDependencies": {
- "@napi-rs/cli": "2.18.4"
- },
"napi": {
"name": "desktop_napi",
"triples": {