
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
vue-memoized-composable
Advanced tools
A Vue composable that memoizes the result of a function.
pnpm install vue-memoized-composable
import { createMemoizedComposable } from 'vue-memoized-composable'
const useUser = createMemoizedComposable((userId: Ref<string>) => {
const { data } = useQuery({
queryKey: ['user', userId],
queryFn: () => fetchUser(userId.value),
})
console.log('useUser', userId.value)
return data
})
const userId = ref('1')
const user1 = useUser(userId)
const user2 = useUser(userId)
// user1 and user2 will be the same
// useUser will be called only once
// logs: useUser 1
const userId3 = ref('2')
const user3 = useUser(userId3)
// user3 will be a new instance
// useUser will be called again
// logs: useUser 2
MIT License © Croatia Lu
FAQs
A Vue composable that memoizes the result of a function
We found that vue-memoized-composable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.