
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@forge/response
Advanced tools
This package provides response objects so that validation can occur within the invocation and related errors can be output to the app logs
The AuthProfile object is useful for validating input given by the app user when going through the external Authentication flow.
By implementing this into the profile retriever function, if the input to the retriever is invalid, then the corresponding error will be output to the app's logs
import { AuthProfile } from '@forge/response';
export const retriever = (body: string) => {
const externalProfile = JSON.parse(body);
return new AuthProfile({
id: externalProfile.user.id,
displayName: externalProfile.user.name,
avatarUrl: externalProfile.user.avatar
});
}
FAQs
Contains object to do validation of response objects at time of invocation
The npm package @forge/response receives a total of 121 weekly downloads. As such, @forge/response popularity was classified as not popular.
We found that @forge/response demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.