
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@inlang/cross-sell-sherlock
Advanced tools
.vscode/extensions.json
file..vscode/extensions.json
file if they are not already present.Put this one into your dependencies
in package.json
& install it with pnpm install
:
"@inlang/cross-sell-sherlock": "workspace:*"
The module exports two main asynchronous functions:
isAdopted(fs: NodeishFilesystem, workingDirectory?: string): Promise<boolean>
Checks whether the inlang.vs-code-extension
is recommended in the workspace.
fs
: A NodeishFilesystem
object to interact with the file system.workingDirectory
: (Optional) The working directory path.Promise<boolean>
: true
if the extension is recommended, false
otherwise.add(fs: NodeishFilesystem, workingDirectory?: string): Promise<void>
Adds the inlang.vs-code-extension
recommendation to the workspace if it's not already present.
fs
: A NodeishFilesystem
object to interact with the file system.workingDirectory
: (Optional) The working directory path.import { isAdopted, add } from '@inlang/cross-sell-sherlock';
import { NodeishFilesystem } from '@lix-js/fs';
async function addSherlock(fs: NodeishFilesystem) {
const isExtensionAdopted = await isAdopted(fs);
if (!isExtensionAdopted) {
// prompt for user confirmation
const userConfirmed = await promptUser();
if (userConfirmed) {
await add(fs);
console.log('Extension recommendation added.');
} else {
console.log('User declined to add extension recommendation.');
}
}
}
Contributions are welcome! If you have a feature request, bug report, or proposal, please open an issue or submit a pull request. Our Discord can be found here.
FAQs
A package to cross-sell Sherlock
We found that @inlang/cross-sell-sherlock demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.