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

Dependencies update, linting and fix for deprecations #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ptweety
Copy link
Contributor

@ptweety ptweety commented Apr 10, 2022

Hi @hobbyquaker,

I want to help with some dependency updates in this project. Hence this PR.

  • Updated dependencies: hap-nodejs from 0.4.52 to 0.10.0
  • Updated devDependencies: xo from 0.24.0 to 0.48.0
  • Disabled xo linter rules: unicorn/prefer-module, unicorn/numeric-separators-style, import/extensions
  • Fixed linter issues, but still 4 Todos left
  • Fixed deprecated: manuall initialization of HAP and moved to directly set HAPStorage.setCustomStoragePath
  • Fixed deprecated: BatteryService replaced by Battery Service
  • Fixed deprecated: Slat replaced by Slats Service
  • Fixed deprecated: Accessory.Categories replaced by Categories Enum

- Updated dependencies: hap-nodejs from `0.4.52` to `0.10.0`
- Updated devDependencies: xo from `0.24.0` to `0.48.0`
- Disabled xo linter rules: `unicorn/prefer-module`, `unicorn/numeric-separators-style`, `import/extensions`
- Fixed linter issues, but still 4 Todos left
- Fixed deprecated: manuall initialization of HAP and moved to directly set HAPStorage.setCustomStoragePath
- Fixed deprecated: `BatteryService` replaced by `Battery`
- Fixed deprecated: `Slat` replaced by `Slats`
- Fixed deprecated: `Accessory.Categories` by `Categories` Enum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant