forked from pool/bitwarden
Accepting request 1083144 from devel:languages:nodejs
OBS-URL: https://build.opensuse.org/request/show/1083144 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitwarden?expand=0&rev=5
This commit is contained in:
commit
aa0b39c73d
4
_service
4
_service
@ -2,8 +2,8 @@
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/bitwarden/clients.git</param>
|
||||
<param name="revision">desktop-v2023.3.2</param>
|
||||
<param name="version">2023.3.2</param>
|
||||
<param name="revision">desktop-v2023.4.0</param>
|
||||
<param name="version">2023.4.0</param>
|
||||
<param name="filename">bitwarden</param>
|
||||
<param name="exclude">bitwarden_license/*</param>
|
||||
<!-- The code in bitwarden_license MUST NOT be included in published tarballs as it is non-redistributable! -->
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4944252bcb24fb301a996b822839ba698e8ade7df70c647b8780cc9ce693ae6c
|
||||
size 19841037
|
3
bitwarden-2023.4.0.obscpio
Normal file
3
bitwarden-2023.4.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c70f9530bac2fcd8f2ed00ea25e48baaa7670597a8c68016ecac5677bab5a95c
|
||||
size 20123149
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 20:36:50 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||
- New upstream release 2022.4.0
|
||||
* Send service refactor
|
||||
* Updated help links
|
||||
- Correct bogus npm(…) RPM provides
|
||||
- Do not ship JS debuginfo (no-sourcemaps.patch)
|
||||
- Fix unresolvable build on Fedora
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 09:59:54 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>
|
||||
- New upstream release 2022.3.2
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: bitwarden
|
||||
version: 2023.3.2
|
||||
mtime: 1680795629
|
||||
commit: 6c2f6dff7e5bc396404a0375902f23e49e2d2a39
|
||||
version: 2023.4.0
|
||||
mtime: 1682508657
|
||||
commit: 4231d099cc45c8c58025fa5d33cd575ab80aacef
|
||||
|
@ -17,9 +17,8 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: bitwarden
|
||||
Version: 2023.3.2
|
||||
Version: 2023.4.0
|
||||
Release: 0
|
||||
Summary: A secure and free password manager for all of your devices
|
||||
Group: Productivity/Security
|
||||
@ -60,6 +59,7 @@ Patch4: desktop_native-rust-arch.patch
|
||||
Patch5: use-node-argon2.patch
|
||||
Patch6: argon2-binary-path.patch
|
||||
Patch7: bug-reporting-url.patch
|
||||
Patch8: no-sourcemaps.patch
|
||||
|
||||
|
||||
#patches to use system libs
|
||||
@ -72,9 +72,17 @@ Patch4000: remove-esbuild-version-check.patch
|
||||
%if 0%{?fedora_version}
|
||||
%define _ttfontsdir %{_datadir}/fonts/truetype
|
||||
%endif
|
||||
BuildRequires: npm
|
||||
%if 0%{?fedora} >= 37
|
||||
BuildRequires: nodejs-npm
|
||||
%else
|
||||
BuildRequires: npm
|
||||
%endif
|
||||
BuildRequires: cargo
|
||||
BuildRequires: rust-packaging
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: rust-srpm-macros
|
||||
%else
|
||||
BuildRequires: rust-packaging
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: hicolor-icon-theme
|
||||
@ -94,6 +102,9 @@ Requires: (google-opensans-fonts or open-sans-fonts)
|
||||
Requires: nodejs-electron%{_isa}
|
||||
|
||||
%global __requires_exclude ^npm(.*)|^nodejs(.*)
|
||||
%global __provides_exclude ^npm(.*)|^nodejs(.*)
|
||||
|
||||
|
||||
|
||||
%description
|
||||
Bitwarden is a free and open-source password management service that stores sensitive information such as website credentials in an encrypted vault. Bitwarden offers a cloud-hosted service as well as the ability to deploy the solution on-premises. This package provides the GUI client.
|
||||
|
41
no-sourcemaps.patch
Normal file
41
no-sourcemaps.patch
Normal file
@ -0,0 +1,41 @@
|
||||
--- clients/tsconfig.json.old 2023-04-26 13:30:57.000000000 +0200
|
||||
+++ clients/tsconfig.json 2023-04-26 20:15:39.879489082 +0200
|
||||
@@ -6,7 +6,7 @@
|
||||
"target": "ES2016",
|
||||
"module": "ES2020",
|
||||
"lib": ["es5", "es6", "es7", "dom"],
|
||||
- "sourceMap": true,
|
||||
+ "sourceMap": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
--- clients/apps/desktop/webpack.renderer.js.old 2023-04-26 13:30:57.000000000 +0200
|
||||
+++ clients/apps/desktop/webpack.renderer.js 2023-04-26 20:17:42.900973173 +0200
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
const renderer = {
|
||||
mode: NODE_ENV,
|
||||
- devtool: "source-map",
|
||||
+ devtool: false,
|
||||
target: "electron-renderer",
|
||||
node: {
|
||||
__dirname: false,
|
||||
@@ -138,7 +138,7 @@
|
||||
new AngularWebpackPlugin({
|
||||
tsConfigPath: "tsconfig.renderer.json",
|
||||
entryModule: "src/app/app.module#AppModule",
|
||||
- sourceMap: true,
|
||||
+ sourceMap: false,
|
||||
}),
|
||||
// ref: https://github.com/angular/angular/issues/20357
|
||||
new webpack.ContextReplacementPlugin(
|
||||
@@ -150,9 +150,6 @@
|
||||
filename: "index.html",
|
||||
chunks: ["app/vendor", "app/main"],
|
||||
}),
|
||||
- new webpack.SourceMapDevToolPlugin({
|
||||
- include: ["app/main.js"],
|
||||
- }),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: "[name].[contenthash].css",
|
||||
chunkFilename: "[id].[contenthash].css",
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:802906cdcf057fc053143b8bcea9898f5df62756c72e63d2a5db44aa42234d5b
|
||||
size 33819765
|
||||
oid sha256:b6c974cdced1b34d6c9e9611139dbe85cb33a4ff3b3f3c7a3bf31f10918cd52d
|
||||
size 36806128
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- bitwarden/node_modules/esbuild/install.js.old 2023-02-18 17:54:51.928231193 +0100
|
||||
+++ bitwarden/node_modules/esbuild/install.js 2023-02-18 18:18:42.659268572 +0100
|
||||
@@ -85,7 +85,7 @@
|
||||
const stdout = child_process.execFileSync(command.shift(), command, {
|
||||
stdio: "pipe"
|
||||
}).toString().trim();
|
||||
- if (stdout !== "0.14.49") {
|
||||
}
|
||||
throw err;
|
||||
}
|
||||
- if (stdout !== "0.17.8") {
|
||||
+ if (0) {
|
||||
throw new Error(`Expected ${JSON.stringify("0.14.49")} but got ${JSON.stringify(stdout)}`);
|
||||
throw new Error(`Expected ${JSON.stringify("0.17.8")} but got ${JSON.stringify(stdout)}`);
|
||||
}
|
||||
}
|
||||
|
@ -8,26 +8,28 @@
|
||||
"lint": "eslint . --cache --cache-strategy content && prettier --check .",
|
||||
"lint:fix": "eslint . --cache --cache-strategy content --fix",
|
||||
"lint:clear": "rimraf .eslintcache",
|
||||
@@ -32,51 +31,18 @@
|
||||
@@ -32,53 +31,18 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^14.0.6",
|
||||
- "@angular-eslint/eslint-plugin": "^14.1.2",
|
||||
- "@angular-eslint/eslint-plugin-template": "^14.1.2",
|
||||
- "@angular-eslint/template-parser": "^14.1.2",
|
||||
- "@angular/cli": "^14.0.6",
|
||||
"@angular/compiler-cli": "^14.0.6",
|
||||
- "@angular/elements": "^14.0.6",
|
||||
"@angular-devkit/build-angular": "^15.2.2",
|
||||
- "@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.2",
|
||||
"@angular/compiler-cli": "^15.2.2",
|
||||
- "@angular/elements": "^15.2.2",
|
||||
- "@compodoc/compodoc": "^1.1.19",
|
||||
- "@electron/notarize": "^1.2.3",
|
||||
- "@electron/rebuild": "^3.2.10",
|
||||
"@fluffy-spoon/substitute": "^1.208.0",
|
||||
"@ngtools/webpack": "^14.0.6",
|
||||
- "@storybook/addon-a11y": "^6.5.7",
|
||||
- "@storybook/addon-actions": "^6.5.7",
|
||||
- "@storybook/addon-essentials": "^6.5.7",
|
||||
- "@storybook/addon-links": "^6.5.7",
|
||||
- "@storybook/angular": "^6.5.7",
|
||||
- "@storybook/builder-webpack5": "^6.5.7",
|
||||
- "@storybook/manager-webpack5": "^6.5.7",
|
||||
"@ngtools/webpack": "^15.2.2",
|
||||
- "@storybook/addon-a11y": "^6.5.16",
|
||||
- "@storybook/addon-actions": "^6.5.16",
|
||||
- "@storybook/addon-essentials": "^6.5.16",
|
||||
- "@storybook/addon-links": "^6.5.16",
|
||||
- "@storybook/angular": "^6.5.16",
|
||||
- "@storybook/builder-webpack5": "^6.5.16",
|
||||
- "@storybook/manager-webpack5": "^6.5.16",
|
||||
- "@types/argon2-browser": "^1.18.1",
|
||||
- "@types/chrome": "^0.0.190",
|
||||
"@types/duo_web_sdk": "^2.7.1",
|
||||
@ -35,15 +37,15 @@
|
||||
- "@types/inquirer": "^8.2.1",
|
||||
"@types/jest": "^27.5.0",
|
||||
- "@types/jquery": "^3.5.14",
|
||||
- "@types/jsdom": "^16.2.14",
|
||||
- "@types/jsdom": "^21.1.0",
|
||||
- "@types/koa": "^2.13.4",
|
||||
- "@types/koa__multer": "^2.0.4",
|
||||
- "@types/koa__router": "^8.0.11",
|
||||
- "@types/koa-bodyparser": "^4.3.7",
|
||||
- "@types/koa-bodyparser": "4.3.7",
|
||||
- "@types/koa-json": "^2.0.20",
|
||||
- "@types/lowdb": "^1.0.11",
|
||||
"@types/lunr": "^2.3.4",
|
||||
"@types/node": "^16.11.12",
|
||||
"@types/node": "^16.18.14",
|
||||
- "@types/node-fetch": "^2.6.1",
|
||||
"@types/node-forge": "^1.0.2",
|
||||
"@types/node-ipc": "^9.2.0",
|
||||
@ -51,8 +53,8 @@
|
||||
- "@types/proper-lockfile": "^4.1.2",
|
||||
- "@types/retry": "^0.12.2",
|
||||
"@types/zxcvbn": "^4.4.1",
|
||||
- "@typescript-eslint/eslint-plugin": "^5.22.0",
|
||||
- "@typescript-eslint/parser": "^5.22.0",
|
||||
- "@typescript-eslint/eslint-plugin": "^5.51.0",
|
||||
- "@typescript-eslint/parser": "^5.51.0",
|
||||
- "autoprefixer": "^10.4.7",
|
||||
- "base64-loader": "^1.0.0",
|
||||
"buffer": "^6.0.3",
|
||||
@ -64,7 +66,7 @@
|
||||
"css-loader": "^6.5.1",
|
||||
"del": "^6.0.0",
|
||||
"electron": "21.3.1",
|
||||
- "electron-builder": "22.11.10",
|
||||
- "electron-builder": "^23.6.0",
|
||||
"electron-log": "^4.4.8",
|
||||
- "electron-notarize": "^1.2.2",
|
||||
- "electron-rebuild": "^3.2.9",
|
||||
@ -74,7 +76,7 @@
|
||||
- "eslint": "^8.14.0",
|
||||
- "eslint-config-prettier": "^8.5.0",
|
||||
- "eslint-import-resolver-typescript": "^2.7.1",
|
||||
- "eslint-plugin-import": "^2.26.0",
|
||||
- "eslint-plugin-import": "2.26.0",
|
||||
- "eslint-plugin-rxjs": "^5.0.2",
|
||||
- "eslint-plugin-rxjs-angular": "^2.0.0",
|
||||
- "eslint-plugin-tailwindcss": "^3.8.3",
|
||||
@ -90,15 +92,15 @@
|
||||
- "husky": "^8.0.1",
|
||||
- "jest-junit": "^15.0.0",
|
||||
"jest-mock-extended": "2.0.6",
|
||||
- "jest-preset-angular": "^12.1.0",
|
||||
- "jest-preset-angular": "^12.2.6",
|
||||
- "lint-staged": "^13.0.3",
|
||||
"mini-css-extract-plugin": "^2.4.5",
|
||||
"node-ipc": "9.2.1",
|
||||
- "pkg": "5.8.0",
|
||||
"postcss": "^8.4.14",
|
||||
- "postcss-loader": "^7.0.1",
|
||||
- "prettier": "^2.7.1",
|
||||
- "prettier-plugin-tailwindcss": "^0.1.13",
|
||||
- "prettier": "2.8.4",
|
||||
- "prettier-plugin-tailwindcss": "^0.2.5",
|
||||
- "process": "^0.11.10",
|
||||
"regedit": "^3.0.3",
|
||||
"rimraf": "^3.0.2",
|
||||
@ -112,7 +114,7 @@
|
||||
"ts-loader": "^9.2.5",
|
||||
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
||||
- "type-fest": "^2.18.0",
|
||||
"typescript": "4.6.4",
|
||||
"typescript": "4.9.5",
|
||||
- "url": "^0.11.0",
|
||||
- "util": "^0.12.4",
|
||||
- "wait-on": "^6.0.1",
|
||||
@ -123,16 +125,16 @@
|
||||
+ "webpack-cli": "^4.9.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "^14.0.6",
|
||||
"@angular/animations": "^15.2.2",
|
||||
@@ -148,53 +76,25 @@
|
||||
"@angular/platform-browser": "^14.0.6",
|
||||
"@angular/platform-browser-dynamic": "^14.0.6",
|
||||
"@angular/router": "^14.0.6",
|
||||
"@angular/platform-browser": "^15.2.2",
|
||||
"@angular/platform-browser-dynamic": "^15.2.2",
|
||||
"@angular/router": "^15.2.2",
|
||||
- "@koa/multer": "^3.0.0",
|
||||
- "@koa/router": "^10.1.1",
|
||||
"@microsoft/signalr": "^6.0.7",
|
||||
"@microsoft/signalr-protocol-msgpack": "^6.0.7",
|
||||
- "@ng-select/ng-select": "^9.0.2",
|
||||
- "@ng-select/ng-select": "^10.0.3",
|
||||
"argon2": "^0.30.3",
|
||||
- "argon2-browser": "^1.18.0",
|
||||
"big-integer": "^1.6.51",
|
||||
@ -156,8 +158,8 @@
|
||||
- "lowdb": "^1.0.0",
|
||||
"lunr": "^2.3.9",
|
||||
- "multer": "^1.4.5-lts.1",
|
||||
- "ngx-infinite-scroll": "^14.0.0",
|
||||
"ngx-toastr": "^15.0.0",
|
||||
- "ngx-infinite-scroll": "^15.0.0",
|
||||
"ngx-toastr": "^16.0.2",
|
||||
"node-fetch": "^2.6.7",
|
||||
"node-forge": "^1.3.1",
|
||||
"nord": "0.2.1",
|
||||
@ -167,17 +169,17 @@
|
||||
- "proper-lockfile": "^4.1.2",
|
||||
- "qrious": "4.0.2",
|
||||
"rxjs": "^7.5.5",
|
||||
"sweetalert2": "^10.16.6",
|
||||
"sweetalert2": "10.16.9",
|
||||
"tldts": "^5.7.84",
|
||||
- "utf-8-validate": "^5.0.9",
|
||||
"zone.js": "^0.11.4",
|
||||
"zone.js": "0.12.0",
|
||||
"zxcvbn": "^4.4.2"
|
||||
},
|
||||
"overrides": {
|
||||
- "tailwindcss": "$tailwindcss",
|
||||
"react": "^18.0.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"react": "^18.0.0",
|
||||
"@storybook/angular": {
|
||||
"zone.js": "$zone.js"
|
||||
--- a/apps/desktop/desktop_native/package.json
|
||||
+++ b/apps/desktop/desktop_native/package.json
|
||||
@@ -10,9 +10,6 @@
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:259a7227941963e471ed832ee77171d6efe46a6f2de714129300ad84352ea1d4
|
||||
size 29645626
|
||||
oid sha256:b32d417335e44245f4c6193536efbd1edb2e32cbc060e6e13a1560302f9ed017
|
||||
size 30650084
|
||||
|
Loading…
Reference in New Issue
Block a user