[Bug]: Client libraries are very outdated #908

Open
opened 2026-04-24 23:25:46 +02:00 by adam · 3 comments
Owner

Originally created by @lkiesow on GitHub (Jan 22, 2023).

Describe the issue

Looking at the client libraries, they are quite outdated:

❯ npm outdated
Package              Current  Wanted  Latest  Location                          Depended by
@nuxtjs/tailwindcss    4.2.1   4.2.1   6.2.0  node_modules/@nuxtjs/tailwindcss  client
core-js               3.26.1  3.27.2  3.27.2  node_modules/core-js              client
hls.js                 1.2.7   1.3.1   1.3.1  node_modules/hls.js               client
nuxt                  2.15.8  2.15.8   3.0.0  node_modules/nuxt                 client
nuxt-socket-io        1.1.24  1.1.24  3.0.12  node_modules/nuxt-socket-io       client
postcss               8.4.19  8.4.21  8.4.21  node_modules/postcss              client
trix                   1.3.1   1.3.1   2.0.4  node_modules/trix                 client

Since this is the client and not the server component, this is probably less critical, but this should get updated eventually nonetheless Several of the old components report problems if you run:.

❯ npm audit

Audiobookshelf version

master (2023-01-22)

Originally created by @lkiesow on GitHub (Jan 22, 2023). ### Describe the issue Looking at the client libraries, they are quite outdated: ``` ❯ npm outdated Package Current Wanted Latest Location Depended by @nuxtjs/tailwindcss 4.2.1 4.2.1 6.2.0 node_modules/@nuxtjs/tailwindcss client core-js 3.26.1 3.27.2 3.27.2 node_modules/core-js client hls.js 1.2.7 1.3.1 1.3.1 node_modules/hls.js client nuxt 2.15.8 2.15.8 3.0.0 node_modules/nuxt client nuxt-socket-io 1.1.24 1.1.24 3.0.12 node_modules/nuxt-socket-io client postcss 8.4.19 8.4.21 8.4.21 node_modules/postcss client trix 1.3.1 1.3.1 2.0.4 node_modules/trix client ``` Since this is the client and not the server component, this is probably less critical, but this should get updated eventually nonetheless Several of the old components report problems if you run:. ``` ❯ npm audit ``` ### Audiobookshelf version master (2023-01-22)
adam added the bug label 2026-04-24 23:25:46 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 22, 2023):

With the nuxt and related packages I want to first see if we can rewrite this in a way that will allow for using subfolder URL. Those have breaking changes so that migration could take a while.

I also like to look at what is actually changing in these libraries which can take a long time so it just doesn't take priority unless there is a security concern.

@advplyr commented on GitHub (Jan 22, 2023): With the nuxt and related packages I want to first see if we can rewrite this in a way that will allow for using subfolder URL. Those have breaking changes so that migration could take a while. I also like to look at what is actually changing in these libraries which can take a long time so it just doesn't take priority unless there is a security concern.
Author
Owner

@dsinghvi commented on GitHub (Apr 9, 2023):

@advplyr i work on an open source project Fern to help automate client generation. Our clients follow the latest best practices in each language. Checkout some examples: Scale AI, FlatFile.

If client generation were automatic, would that be helpful ?

@dsinghvi commented on GitHub (Apr 9, 2023): @advplyr i work on an open source project [Fern](https://github.com/fern-api/fern/) to help automate client generation. Our clients follow the latest best practices in each language. Checkout some examples: [Scale AI](https://github.com/fern-scale/scaleapi-node-client), [FlatFile](https://github.com/FlatFilers/flatfile-node). If client generation were automatic, would that be helpful ?
Author
Owner

@advplyr commented on GitHub (Apr 9, 2023):

@dsinghvi I'm not sure what you mean. The problem we have now with the way I setup Nuxt is we are generating the client in the Dockerfile or before packaging the deb.

I didn't think this would be an issue until requests started coming in to support subfolders like https://example.com/audiobookshelf, which would require the routes be generated at runtime.

@advplyr commented on GitHub (Apr 9, 2023): @dsinghvi I'm not sure what you mean. The problem we have now with the way I setup Nuxt is we are generating the client in the [Dockerfile](https://github.com/advplyr/audiobookshelf/blob/master/Dockerfile#L6) or before packaging the deb. I didn't think this would be an issue until requests started coming in to support subfolders like `https://example.com/audiobookshelf`, which would require the routes be generated at runtime.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#908