Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LW-9860] - Upgrade vulnerabilities and remove unused files #3156

Open
wants to merge 52 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
e2b2683
Removed tests and storybook
danielmain Feb 26, 2024
1d99e79
upgraded trezor packages
danielmain Feb 26, 2024
87c0de4
[LW-9860] Fix some native modules builds on macOS
michalrus Feb 26, 2024
f43116d
[LW-9860] Fix the installer builds
michalrus Feb 26, 2024
748d92c
[LW-9860] Fix the macOS installer
michalrus Feb 27, 2024
c69bb12
[LW-9860] Fix the macOS installer, bis
michalrus Feb 27, 2024
12ddc14
[LW-9860] Fix the Windows build
michalrus Feb 28, 2024
8f08423
[LW-9860] Fix the fix...
michalrus Feb 28, 2024
d817efd
[LW-9860] Don’t rely on `uname` (for cross-builds)
michalrus Feb 28, 2024
7184b1d
Added logging to trezor interactions
danielmain Mar 4, 2024
fe12832
Fix trezor support, upgraded electron to 27
danielmain Mar 8, 2024
48591a0
Fixed types, upgraded typescript
danielmain Mar 8, 2024
b7dbd1a
Fixed ts types
danielmain Mar 10, 2024
c9bd30c
fixed prettier
danielmain Mar 10, 2024
b967043
Removed unused imports
danielmain Mar 11, 2024
ab41b3b
Fixed wrong check
danielmain Mar 11, 2024
73557d9
Fixed eslint issues
danielmain Mar 11, 2024
674c55b
rolling back changes
danielmain Mar 14, 2024
b25a67e
moving react-polymorph into repository
danielmain Mar 15, 2024
7f19a4b
converted react-polymorgh files into typescript
danielmain Mar 15, 2024
f4dd537
fixed eslint issues
danielmain Mar 15, 2024
5966dc9
added ts-nocheck
danielmain Mar 16, 2024
5f4e446
removed js and jsx files, added new dependencies.
danielmain Mar 20, 2024
9747624
Updated the rest of vulnerable packages
danielmain Mar 21, 2024
48163e0
chore: get rid of `electron-chromedriver` in `*.nix`
michalrus Mar 21, 2024
590af4f
chore: clear dependency hashes, and fill in these for `x86_64-linux`
michalrus Mar 21, 2024
7637aa6
chore: fill in new hashes for `*-darwin`
michalrus Mar 21, 2024
d194a20
chore: fill in new hashes for `x86_64-windows`
michalrus Mar 21, 2024
d68e8df
added missing dependencies for mac
danielmain Mar 23, 2024
651a3ec
added missing dependencies for mac and fixed eslint issues
danielmain Mar 23, 2024
9f26997
added missing dependencies for mac
danielmain Mar 23, 2024
48f1576
added windows dependencies
danielmain Mar 24, 2024
df11af3
fix windows dependencies in nix files
danielmain Mar 24, 2024
d1606ed
added runtime dependencies
danielmain Mar 26, 2024
5020ea3
resolving conflicts
danielmain Mar 26, 2024
bb2d5b6
added hashes from commit d194a20
danielmain Mar 26, 2024
c6190ca
Expose `native-modules.zip` for Windows development & debugging
michalrus Mar 27, 2024
e5d2713
upgraded mobx
danielmain Apr 3, 2024
4567331
added missing translation screen
danielmain Apr 4, 2024
549f054
Merge branch 'develop' into chore/LW-9860-upgrade-vulnerability-packages
danielmain Apr 4, 2024
bda84bf
Added DATA_DIR in the arguments
danielmain Apr 5, 2024
49d2ea4
Added rebuild-native-modules.bat for windows compilation
danielmain Apr 5, 2024
6e1ccb0
Update swc-loader
danielmain Apr 5, 2024
2efdaba
Update swc in yarn.lock
danielmain Apr 5, 2024
f025866
migrated `cardano-launcher` into Daedalus
danielmain Apr 5, 2024
9f1800b
upgraded packages, removed autogenerated files
danielmain Apr 11, 2024
e8fe806
identified incompatilbe lib
danielmain Apr 11, 2024
3412c8d
removed patch upgraded some packages
danielmain Apr 12, 2024
e17e777
upgraded svg loader
danielmain Apr 12, 2024
afb5f24
downgrade to react 17
danielmain Apr 14, 2024
5bad6be
removed unused code, fixed import of cardano-launcher
danielmain Apr 15, 2024
ae32ea7
migrated to mobx version 6
danielmain May 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 13 additions & 2 deletions .eslintrc
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@
"jest": true
},
"rules": {
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"arrow-body-style": 0,
"class-methods-use-this": 0,
"consistent-return": "warn",
Expand All @@ -27,6 +38,7 @@
"jsx-a11y/alt-text": 0,
"lines-between-class-members": 0,
"global-require": 0,
"react/function-component-definition": 0,
"import/extensions": 0,
"import/no-cycle": 0,
"import/no-dynamic-require": 0,
Expand Down Expand Up @@ -87,13 +99,12 @@
"react/static-property-placement": 0,
"react/jsx-no-useless-fragment": 0,
"prefer-regex-literals": 0,
"no-unused-vars": "warn",
"react/no-unused-class-component-methods": "warn",
"react/no-unstable-nested-components": "warn",
"no-promise-executor-return": "warn",
"default-param-last": "warn"
},
"plugins": ["@typescript-eslint", "import", "promise", "react", "jest"],
"plugins": ["@typescript-eslint", "import", "promise", "react", "jest", "unused-imports"],
"globals": {
"API": true,
"CARDANO_WALLET_VERSION": true,
Expand Down
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Open a thread on #daedalus-qa on Slack, mention `@daedalusqa` and `@daedalusteam
- [ ] There are no missing translations (running `yarn manage:translations` produces no changes)
- [ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
- [ ] Japanese text changes are proofread and approved (Junko Oda)
- [ ] Storybook works and no stories are broken (`yarn storybook`)
- [ ] In case of dependency changes `yarn.lock` file is updated

### Code Quality
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,8 @@ yalc.lock

# Typescript
*.scss.d.ts
/source/**/*.js
/source/**/*.jsx
/source/**/*.js.map
!/source/main/webpack.config.js
!/source/renderer/webpack.config.js
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# But not the following folders
!source/
!features/
!storybook/
!hardware-wallet-tests/
!tests/

Expand Down
67 changes: 0 additions & 67 deletions gulpfile.js

This file was deleted.

67 changes: 67 additions & 0 deletions hardware-wallet-tests/cardano-app-already-launched.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hardware-wallet-tests/cardano-app-already-launched.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions hardware-wallet-tests/cardano-app-not-started.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hardware-wallet-tests/cardano-app-not-started.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions hardware-wallet-tests/connect-multiple-hardware-wallets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions hardware-wallet-tests/disconnect-multiple-hardware-wallets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading