diff options
author | 2023-07-29 21:12:16 -0600 | |
---|---|---|
committer | 2023-07-30 08:42:16 +0530 | |
commit | 32f76b74a69ad4d60a014bf075c39517888436bc (patch) | |
tree | 753378cc30f52d1e0e51be64b5a83d39f08f39c8 /pnpm-lock.yaml | |
parent | 6.4.1-nightly.15 [skip ci] (diff) | |
download | ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.tar.gz ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.tar.zst ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.zip |
refactor: various improvements (#1296)
* refactor: various improvements
- enable no-use-before-define eslint rule
- shuffle code to conform to no-use-before-define eslint rule
- remove btoa dependency which is deprecated and replace with Buffer.from(string).toString('base64')
- convert some any types into useful ones
- add type annotations where possible
- remove unused @types/expect.js
- install @types/semver and ts-node which were missing
- repair and rewrite add-crowdin-contributors script
- remove export keyword from variables which are never consumed in another file
- remove unity indicator hack where linked issue was closed
- remove module declaration for kebab-case which is unused
- add missing state interface for certain components
- remove default exports for files which already have a named export
- export IRecipePreview so it can be used throughout codebase
- remove unused removeCacheForCallWith method from CachedRequest.ts
- cleanup unused colors and styles inside legacy theme
* - improve ColorPickerInput
- fix invalid DOM nesting with div inside p in EditSettingsForm
- fix progressbarAccentColor color picker not updating input when using slider
- install missing @types/react-color dependency
Diffstat (limited to 'pnpm-lock.yaml')
-rw-r--r-- | pnpm-lock.yaml | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c96e3e65..17b636a08 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml | |||
@@ -68,9 +68,6 @@ dependencies: | |||
68 | auto-launch: | 68 | auto-launch: |
69 | specifier: 5.0.6 | 69 | specifier: 5.0.6 |
70 | version: 5.0.6 | 70 | version: 5.0.6 |
71 | btoa: | ||
72 | specifier: 1.2.1 | ||
73 | version: 1.2.1 | ||
74 | classnames: | 71 | classnames: |
75 | specifier: 2.3.2 | 72 | specifier: 2.3.2 |
76 | version: 2.3.2 | 73 | version: 2.3.2 |
@@ -276,9 +273,6 @@ devDependencies: | |||
276 | '@types/color': | 273 | '@types/color': |
277 | specifier: 3.0.3 | 274 | specifier: 3.0.3 |
278 | version: 3.0.3 | 275 | version: 3.0.3 |
279 | '@types/expect.js': | ||
280 | specifier: 0.3.29 | ||
281 | version: 0.3.29 | ||
282 | '@types/fs-extra': | 276 | '@types/fs-extra': |
283 | specifier: 11.0.1 | 277 | specifier: 11.0.1 |
284 | version: 11.0.1 | 278 | version: 11.0.1 |
@@ -300,6 +294,9 @@ devDependencies: | |||
300 | '@types/react': | 294 | '@types/react': |
301 | specifier: 18.2.12 | 295 | specifier: 18.2.12 |
302 | version: 18.2.12 | 296 | version: 18.2.12 |
297 | '@types/react-color': | ||
298 | specifier: 3.0.6 | ||
299 | version: 3.0.6 | ||
303 | '@types/react-dom': | 300 | '@types/react-dom': |
304 | specifier: 18.2.5 | 301 | specifier: 18.2.5 |
305 | version: 18.2.5 | 302 | version: 18.2.5 |
@@ -312,6 +309,9 @@ devDependencies: | |||
312 | '@types/route-parser': | 309 | '@types/route-parser': |
313 | specifier: 0.1.4 | 310 | specifier: 0.1.4 |
314 | version: 0.1.4 | 311 | version: 0.1.4 |
312 | '@types/semver': | ||
313 | specifier: 7.5.0 | ||
314 | version: 7.5.0 | ||
315 | '@types/tar': | 315 | '@types/tar': |
316 | specifier: 6.1.5 | 316 | specifier: 6.1.5 |
317 | version: 6.1.5 | 317 | version: 6.1.5 |
@@ -417,6 +417,9 @@ devDependencies: | |||
417 | tiny-glob: | 417 | tiny-glob: |
418 | specifier: 0.2.9 | 418 | specifier: 0.2.9 |
419 | version: 0.2.9 | 419 | version: 0.2.9 |
420 | ts-node: | ||
421 | specifier: 10.9.1 | ||
422 | version: 10.9.1(@types/node@18.15.3)(typescript@5.0.4) | ||
420 | typescript: | 423 | typescript: |
421 | specifier: 5.0.4 | 424 | specifier: 5.0.4 |
422 | version: 5.0.4 | 425 | version: 5.0.4 |
@@ -2421,10 +2424,6 @@ packages: | |||
2421 | '@types/ms': 0.7.31 | 2424 | '@types/ms': 0.7.31 |
2422 | dev: true | 2425 | dev: true |
2423 | 2426 | ||
2424 | /@types/expect.js@0.3.29: | ||
2425 | resolution: {integrity: sha512-zLlr7lW52PKk7GAMJc2v8zaVJUgkrOJBa+6/aGbzq/TYsrqrNT719kkf/98lrgCiV+VO/uwJM0E328NGtcB5yQ==} | ||
2426 | dev: true | ||
2427 | |||
2428 | /@types/fs-extra@11.0.1: | 2427 | /@types/fs-extra@11.0.1: |
2429 | resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} | 2428 | resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} |
2430 | dependencies: | 2429 | dependencies: |
@@ -2531,6 +2530,13 @@ packages: | |||
2531 | /@types/prop-types@15.7.5: | 2530 | /@types/prop-types@15.7.5: |
2532 | resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} | 2531 | resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} |
2533 | 2532 | ||
2533 | /@types/react-color@3.0.6: | ||
2534 | resolution: {integrity: sha512-OzPIO5AyRmLA7PlOyISlgabpYUa3En74LP8mTMa0veCA719SvYQov4WLMsHvCgXP+L+KI9yGhYnqZafVGG0P4w==} | ||
2535 | dependencies: | ||
2536 | '@types/react': 18.2.12 | ||
2537 | '@types/reactcss': 1.2.6 | ||
2538 | dev: true | ||
2539 | |||
2534 | /@types/react-dom@18.2.5: | 2540 | /@types/react-dom@18.2.5: |
2535 | resolution: {integrity: sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==} | 2541 | resolution: {integrity: sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==} |
2536 | dependencies: | 2542 | dependencies: |
@@ -2556,6 +2562,12 @@ packages: | |||
2556 | '@types/scheduler': 0.16.2 | 2562 | '@types/scheduler': 0.16.2 |
2557 | csstype: 3.1.2 | 2563 | csstype: 3.1.2 |
2558 | 2564 | ||
2565 | /@types/reactcss@1.2.6: | ||
2566 | resolution: {integrity: sha512-qaIzpCuXNWomGR1Xq8SCFTtF4v8V27Y6f+b9+bzHiv087MylI/nTCqqdChNeWS7tslgROmYB7yeiruWX7WnqNg==} | ||
2567 | dependencies: | ||
2568 | '@types/react': 18.2.12 | ||
2569 | dev: true | ||
2570 | |||
2559 | /@types/responselike@1.0.0: | 2571 | /@types/responselike@1.0.0: |
2560 | resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} | 2572 | resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} |
2561 | dependencies: | 2573 | dependencies: |
@@ -2568,13 +2580,8 @@ packages: | |||
2568 | /@types/scheduler@0.16.2: | 2580 | /@types/scheduler@0.16.2: |
2569 | resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} | 2581 | resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} |
2570 | 2582 | ||
2571 | /@types/semver@7.3.13: | ||
2572 | resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} | ||
2573 | dev: false | ||
2574 | |||
2575 | /@types/semver@7.5.0: | 2583 | /@types/semver@7.5.0: |
2576 | resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} | 2584 | resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} |
2577 | dev: true | ||
2578 | 2585 | ||
2579 | /@types/stack-trace@0.0.29: | 2586 | /@types/stack-trace@0.0.29: |
2580 | resolution: {integrity: sha512-TgfOX+mGY/NyNxJLIbDWrO9DjGoVSW9+aB8H2yy1fy32jsvxijhmyJI9fDFgvz3YP4lvJaq9DzdR/M1bOgVc9g==} | 2587 | resolution: {integrity: sha512-TgfOX+mGY/NyNxJLIbDWrO9DjGoVSW9+aB8H2yy1fy32jsvxijhmyJI9fDFgvz3YP4lvJaq9DzdR/M1bOgVc9g==} |
@@ -3771,12 +3778,6 @@ packages: | |||
3771 | engines: {node: '>=0.6.19'} | 3778 | engines: {node: '>=0.6.19'} |
3772 | dev: false | 3779 | dev: false |
3773 | 3780 | ||
3774 | /btoa@1.2.1: | ||
3775 | resolution: {integrity: sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==} | ||
3776 | engines: {node: '>= 0.4.0'} | ||
3777 | hasBin: true | ||
3778 | dev: false | ||
3779 | |||
3780 | /buffer-alloc-unsafe@1.1.0: | 3781 | /buffer-alloc-unsafe@1.1.0: |
3781 | resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} | 3782 | resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} |
3782 | dev: false | 3783 | dev: false |
@@ -5106,7 +5107,7 @@ packages: | |||
5106 | /electron-updater@5.3.0: | 5107 | /electron-updater@5.3.0: |
5107 | resolution: {integrity: sha512-iKEr7yQBcvnQUPnSDYGSWC9t0eF2YbZWeYYYZzYxdl+HiRejXFENjYMnYjoOm2zxyD6Cr2JTHZhp9pqxiXuCOw==} | 5108 | resolution: {integrity: sha512-iKEr7yQBcvnQUPnSDYGSWC9t0eF2YbZWeYYYZzYxdl+HiRejXFENjYMnYjoOm2zxyD6Cr2JTHZhp9pqxiXuCOw==} |
5108 | dependencies: | 5109 | dependencies: |
5109 | '@types/semver': 7.3.13 | 5110 | '@types/semver': 7.5.0 |
5110 | builder-util-runtime: 9.1.1 | 5111 | builder-util-runtime: 9.1.1 |
5111 | fs-extra: 10.1.0 | 5112 | fs-extra: 10.1.0 |
5112 | js-yaml: 4.1.0 | 5113 | js-yaml: 4.1.0 |