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

chore: upgrade typescript & fix type errors #2482

Merged
merged 1 commit into from
Feb 20, 2025
Merged

chore: upgrade typescript & fix type errors #2482

merged 1 commit into from
Feb 20, 2025

Conversation

pwltr
Copy link
Collaborator

@pwltr pwltr commented Feb 20, 2025

Description

Upgrade typescript and fix type errors. I tested everything manually to make sure the changed code behaves as before.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (improving code without creating new functionality)

Tests

  • Detox test
  • Unit test
  • No test

@pwltr pwltr requested a review from coreyphillips February 20, 2025 16:37
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9 None 0 11.9 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9 None 0 10.8 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9 None 0 10.6 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9 None 0 25.7 kB nicolo-ribaudo
npm/@babel/plugin-proposal-async-generator-functions@7.20.7 None 0 20 kB nicolo-ribaudo
npm/@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2 None 0 16.3 kB nicolo-ribaudo
npm/@babel/plugin-transform-block-scoped-functions@7.26.5 None 0 7.15 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/plugin-transform-class-static-block@7.26.0 None 0 10.2 kB nicolo-ribaudo
npm/@babel/plugin-transform-dotall-regex@7.25.9 None 0 4.13 kB nicolo-ribaudo
npm/@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9 None 0 5.34 kB nicolo-ribaudo
npm/@babel/plugin-transform-exponentiation-operator@7.26.3 None 0 11.5 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-amd@7.25.9 None 0 20.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-modules-systemjs@7.25.9 None 0 66.6 kB nicolo-ribaudo
npm/@babel/plugin-transform-object-super@7.25.9 None 0 9.22 kB nicolo-ribaudo
npm/@babel/plugin-transform-regexp-modifiers@7.26.0 None 0 4.22 kB nicolo-ribaudo
npm/@babel/plugin-transform-template-literals@7.24.1 None 0 15.9 kB nicolo-ribaudo
npm/@babel/plugin-transform-typeof-symbol@7.26.7 None 0 10.4 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/preset-env@7.26.9 None +1 221 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/preset-modules@0.1.6-no-external-plugins None 0 38.6 kB nicolo-ribaudo
npm/@biomejs/biome@1.9.4 shell 0 210 kB dominionl
npm/@biomejs/cli-darwin-arm64@1.9.4 None 0 23.9 MB dominionl
npm/@biomejs/cli-darwin-x64@1.9.4 None 0 25.8 MB dominionl
npm/@biomejs/cli-linux-arm64-musl@1.9.4 None 0 23.1 MB dominionl
npm/@biomejs/cli-linux-arm64@1.9.4 None 0 25.4 MB dominionl
npm/@biomejs/cli-linux-x64-musl@1.9.4 None 0 28.3 MB dominionl
npm/@biomejs/cli-linux-x64@1.9.4 None 0 28.7 MB dominionl
npm/@biomejs/cli-win32-arm64@1.9.4 None 0 27.9 MB dominionl
npm/@biomejs/cli-win32-x64@1.9.4 None 0 33.1 MB dominionl
npm/@commitlint/cli@19.2.2 None 0 30.5 kB escapedcat
npm/@commitlint/config-validator@19.0.3 unsafe 0 12.1 kB escapedcat
npm/@commitlint/execute-rule@19.0.0 None 0 3.86 kB escapedcat
npm/@commitlint/format@19.0.3 None 0 10.7 kB escapedcat
npm/@commitlint/is-ignored@19.2.2 None 0 6.86 kB escapedcat
npm/@commitlint/lint@19.2.2 None 0 14 kB escapedcat
npm/@commitlint/load@19.2.0 environment, filesystem, unsafe 0 36.3 kB escapedcat
npm/@commitlint/parse@19.0.3 None 0 4.62 kB escapedcat
npm/@commitlint/read@19.2.1 filesystem 0 11.6 kB escapedcat
npm/@commitlint/resolve-extends@19.1.0 filesystem 0 17.6 kB escapedcat
npm/@commitlint/rules@19.0.3 None 0 70.9 kB escapedcat
npm/@commitlint/types@19.0.3 None 0 24.1 kB escapedcat
npm/@emotion/is-prop-valid@1.2.0 environment 0 28.2 kB emotion-release-bot
npm/@emotion/memoize@0.8.0 environment 0 3.48 kB emotion-release-bot
npm/@emotion/stylis@0.8.5 environment 0 105 kB emotion-release-bot
npm/@emotion/unitless@0.7.5 environment 0 8.26 kB emotion-release-bot
npm/@types/use-sync-external-store@0.0.3 None 0 3.61 kB types
npm/available-typed-arrays@1.0.7 None 0 20.4 kB ljharb
npm/babel-plugin-styled-components@2.1.1 filesystem 0 42.8 kB probablyup
npm/babel-plugin-syntax-jsx@6.18.0 None 0 969 B hzoo
npm/boolbase@1.0.0 None 0 1.33 kB feedic
npm/camelize@1.0.1 None 0 12.5 kB ljharb
npm/cosmiconfig-typescript-loader@5.0.0 None 0 12.6 kB codex-
npm/css-color-keywords@1.0.0 None 0 6.49 kB sonicdoe
npm/css-select@5.1.0 None 0 224 kB feedic
npm/css-to-react-native@3.2.0 environment 0 90 kB jacobp100
npm/css-tree@1.1.3 None 0 989 kB lahmatiy
npm/css-what@6.1.0 None 0 66 kB feedic
npm/deep-diff@0.3.8 None 0 106 kB flitbit
npm/define-data-property@1.1.4 None 0 30.9 kB ljharb
npm/dom-serializer@2.0.0 None 0 28.8 kB feedic
npm/domelementtype@2.3.0 None 0 11.4 kB feedic
npm/domhandler@5.0.3 None 0 75.3 kB feedic
npm/domutils@3.0.1 network 0 155 kB feedic
npm/entities@4.5.0 None 0 413 kB feedic
npm/es-define-property@1.0.0 None 0 11.8 kB ljharb
npm/es-errors@1.3.0 None 0 12.3 kB ljharb
npm/eventemitter3@4.0.7 None 0 38 kB lpinca
npm/for-each@0.3.3 None 0 13 kB ljharb
npm/gopd@1.0.1 None 0 7.7 kB ljharb
npm/has-property-descriptors@1.0.2 None 0 10.9 kB ljharb
npm/has-tostringtag@1.0.0 None 0 10.9 kB ljharb
npm/hasown@2.0.0 None 0 10.8 kB ljharb
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/lodash.isplainobject@4.0.6 None 0 6.89 kB jdalton
npm/lodash.uniq@4.5.0 None 0 25 kB jdalton
npm/mdn-data@2.0.14 None 0 562 kB escattone
npm/nth-check@2.1.1 None 0 42.6 kB feedic
npm/possible-typed-array-names@1.0.0 None 0 10.9 kB ljharb
npm/postcss-value-parser@4.2.0 None 0 27.2 kB evilebottnawi
npm/querystringify@2.2.0 None 0 6.96 kB lpinca
npm/react-freeze@1.0.3 None 0 19.5 kB kacperkapusciak
npm/react-native-reanimated-carousel@4.0.2 None 0 1.39 MB caspian.zhao
npm/react-native-reanimated@3.16.7 environment, eval 0 3.4 MB tomekzaw
npm/react-native-restart@0.0.27 None 0 599 kB avishayil
npm/react-native-safe-area-context@5.0.0 None 0 241 kB janicduplessis
npm/react-native-screens@4.3.0 environment 0 1.67 MB kkafar
npm/react-native-share@10.2.0 None 0 317 kB mateusandrade
npm/react-native-svg@15.9.0 network 0 3.96 MB jake7
npm/react-native-tcp-socket@6.0.6 None 0 173 kB rapsssito
npm/react-native-toast-message@2.2.1 None 0 41.4 kB calintamas
npm/react-native-zip-archive@7.0.1 None 0 50.2 kB plrthink
npm/react-redux@9.1.2 environment 0 740 kB acemarke
npm/redux-logger@3.0.6 None 0 34.3 kB evgenyrodionov
npm/redux-persist@6.0.0 environment 0 418 kB rt2zz
npm/requires-port@1.0.0 None 0 8.56 kB 3rdeden
npm/rn-android-keyboard-adjust@2.1.2 None 0 29.3 kB darleikroth
npm/rn-qr-generator@1.4.3 None 0 114 kB gevorg94
npm/set-function-length@1.2.2 None 0 14.7 kB ljharb
npm/shallowequal@1.1.0 None 0 7.35 kB dashed
npm/sodium-react-native-direct@0.4.4 None 0 13.5 MB pwltr
npm/styled-components@5.3.11 environment 0 3.02 MB probablyup
npm/url-parse@1.5.10 None 0 63 kB swaagie
npm/uuid@9.0.1 None 0 123 kB ctavan
npm/web-streams-polyfill@3.3.3 None 0 9.04 MB mattiasbuelens
npm/which-typed-array@1.1.15 None 0 40.7 kB ljharb

🚮 Removed packages: npm/@bcoe/v8-coverage@0.2.3, npm/@nodelib/fs.scandir@2.1.5, npm/@nodelib/fs.stat@2.0.5, npm/@protobufjs/aspromise@1.1.2, npm/@protobufjs/base64@1.1.2, npm/@protobufjs/codegen@2.0.4, npm/@protobufjs/eventemitter@1.1.0, npm/@protobufjs/fetch@1.1.0, npm/@protobufjs/float@1.0.2, npm/@protobufjs/inquire@1.1.0, npm/@protobufjs/path@1.1.2, npm/@protobufjs/pool@1.1.0, npm/@protobufjs/utf8@1.1.0, npm/bl@4.1.0, npm/cli-cursor@3.1.0, npm/clone@1.0.4, npm/defaults@1.0.4, npm/delay@5.0.0, npm/detect-newline@3.1.0, npm/flat@5.0.2, npm/glob-parent@5.1.2, npm/global-directory@4.0.1, npm/html-escaper@2.0.2, npm/ini@4.1.1, npm/is-extglob@2.1.1, npm/is-glob@4.0.3, npm/is-interactive@1.0.0, npm/is-plain-obj@2.1.0, npm/is-unicode-supported@0.1.0, npm/isarray@1.0.0, npm/jest-docblock@29.7.0, npm/kleur@3.0.3, npm/log-symbols@4.1.0, npm/merge2@1.4.1, npm/natural-compare@1.4.0, npm/prompts@2.4.2, npm/restore-cursor@3.1.0, npm/reusify@1.0.4, npm/run-parallel@1.2.0, npm/sisteransi@1.0.5, npm/strip-json-comments@3.1.1, npm/wcwidth@1.0.1

View full report↗︎

@pwltr pwltr merged commit 0ab3919 into master Feb 20, 2025
7 checks passed
@pwltr pwltr deleted the chore/type-check branch February 20, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants