query icon indicating copy to clipboard operation
query copied to clipboard

Current version of `@tanstack/query-devtools` not optimized for air-gapped usage or with a strict CSP

Open tphbrok opened this issue 1 year ago • 0 comments

Which @ngneat/query-* package(s) are the source of the bug?

devtools

Is this a regression?

No

Description

For more information, see https://github.com/TanStack/query/discussions/6535.

In short, pre-v5.14.5 versions of @tanstack/query-devtools use Google Fonts, which breaks JS execution when using the devtools in air-gapped environments or when the CSP is strict. It will either error out on the Google Fonts request in case of offline usage, or on the CSP not allowing Google Fonts.

I understand that a jump from the current v5.4.2 to the target v5.14.5 is a big one, but I wanted to mention it anyways, since I did not find a related issue/discussion in this repository.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

No

tphbrok avatar Jul 30 '24 09:07 tphbrok