Skip to content

Implement reportAccountAction, fix bug in auth flow between sonos and… - #1

Open
chxx wants to merge 78 commits into
chxx:masterfrom
simojenki:master
Open

Implement reportAccountAction, fix bug in auth flow between sonos and…#1
chxx wants to merge 78 commits into
chxx:masterfrom
simojenki:master

Conversation

@chxx

@chxx chxx commented Oct 30, 2025

Copy link
Copy Markdown
Owner

… bonob

simojenki and others added 30 commits October 25, 2025 03:28
…e data for some reason, adding endpoints stops 404 however
Cannot upgrade to node 24 without looking armv7 support
… redundant key value from various sonos interaction calls, rename bnbt header to authorization
* Refactor/cleanup library/service versus subsonic
Move subsonic music service/library into own file

* Remove bearer token and unused variations of subsonic service type
…to (#238)

support auth headers in http request smapi option
Bumps [jws](https://github.com/brianloveswords/node-jws) to 3.2.3 and updates ancestor dependency . These dependencies need to be updated together.


Updates `jws` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](auth0/node-jws@v3.2.2...v3.2.3)

Updates `jws` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](auth0/node-jws@v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
- dependency-name: jws
  dependency-version: 4.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.0...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Correct documentation around the use of cloudflared
dependabot Bot and others added 30 commits May 25, 2026 09:00
When S1 is disabled (the default), skip reading all other SONOS_* env
vars and return hardcoded safe defaults (discovery disabled, sid -1).
Only when BNB_SONOS_ENABLE_S1=true are the env vars consulted.
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](form-data/form-data@v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Clarified that Sonos only supports HTTPS on port 443, and using another port will fail silently.
* Bump axios to 1.18.1

axios 1.18.1's response header types are now a broader union
(AxiosHeaderValue | undefined via bracket access) rather than plain
string, surfacing a few spots that assumed headers were always present:

- TrackStream.headers widened to allow undefined per field - matches what
  server.ts's respondWith already did at runtime (filtering out undefined
  entries before calling res.setHeader), it just wasn't reflected in the
  type before.
- sonosisfyContentType now only runs when content-type is actually present,
  since it unconditionally splits the string.
- CoverArt.contentType (a non-optional string) coerces a missing header to
  an empty string rather than propagating undefined, since that type never
  allowed for absence.

All 1651 tests pass, build is clean.

* Bump @babel/core to 7.29.7

Transitive dev-dependency via jest, pinned through overrides since it's
not a direct dependency. Was resolving to 7.28.5, flagged by npm audit
for an arbitrary file read via sourceMappingURL comment (GHSA-4x5r-pxfx-6jf8,
fixed in 7.29.6). Pinned to the latest 7.x release rather than the new 8.x
major, since jest 30.3.0's babel toolchain (babel-jest, babel-preset-jest,
etc.) is built against babel 7.

All 1651 tests pass, build is clean.

* Fix remaining npm audit findings: brace-expansion and js-yaml

Both transitive dev-dependencies, pinned through overrides:

- brace-expansion 5.0.5 (via nodemon -> minimatch@10) hit a DoS in its
  numeric-range expansion (GHSA-jxxr-4gwj-5jf2, fixed in 5.0.6). Scoped
  the override to nodemon's dependency chain specifically rather than
  overriding brace-expansion globally - jest pulls in separate 1.x/2.x
  instances via its own minimatch versions that aren't vulnerable (only
  the 5.x line has this bug) and would have broken under a 5.x override.
- js-yaml 3.14.2 (via jest's babel-plugin-istanbul) had a
  quadratic-complexity DoS in merge key handling (GHSA-h67p-54hq-rp68,
  fixed in 3.15.0). Only one instance in the tree, so a plain override
  was sufficient.

npm audit now reports 0 vulnerabilities. All 1651 tests pass, build clean.
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.15.24 to 1.15.43.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits/v1.15.43/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.43
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.11.20 to 1.11.21.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](iamkun/dayjs@v1.11.20...v1.11.21)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-version: 1.11.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 6.0.3 to 7.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

---
updated-dependencies:
- dependency-name: "@types/supertest"
  dependency-version: 7.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Tweak icons for loved/stared

* Update labels for S1 love/unlove & stars
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.

5 participants