
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@elementor/query
Advanced tools
This package is a wrapper around @tanstack/react-query in order to easily expose it in the Editor.
For more information about @tanstack/react-query please refer to the official documentation.
[!WARNING] Please refrain from accessing or depending on functions and variables starting with double underscores, as they are subject to change without notice. Naming convention involving double underscores (
__) as a prefix to indicate that a function or variable is meant for internal use and should not be accessed or relied upon by third-party developers.
import { createQueryClient, QueryClientProvider, useQuery } from '@elementor/query';
const queryClient = createQueryClient();
const App = () => (
<QueryClientProvider client={ queryClient }>
<MyComponent />
</QueryClientProvider>
);
const MyComponent = () => {
const { data: todos, isLoading } = useQuery( {
queryKey: 'todos',
queryFn: () => fetch( '/todos' ).then( ( res ) => res.json() ),
} );
if ( isLoading ) {
return <div>Loading...</div>;
}
return todos.map( /* ... */ );
};
FAQs
Wrapper around `@tanstack/react-query`
The npm package @elementor/query receives a total of 5,544 weekly downloads. As such, @elementor/query popularity was classified as popular.
We found that @elementor/query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.