
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
product-guide
Advanced tools
Repository includes React plugin
import ProductGuide, {VerticalPosition, HorizontalPosition} from "product-guide"; // there're also type exports
<ProductGuide
isOpen={isOpen}
onClose={() => setIsOpen(false)}
verticalPosition={VerticalPosition.Center}
horizontalPosition={HorizontalPosition.Right}
steps={[
{
selector: "#item1",
content: () => <span>test content</span>,
},
{
title: "Very long texttttttttttttttttttttttttttttttttttttttttttttttt",
selector: ".profile-text",
content: "This one is used for example",
},
{
title: "Yeah, that's the step title",
selector: ".profile-picture",
content: "This is your profile picture",
action: ({stepIndex}) => {
// here you can do redirect to another page
}
}
]}
/>
type Props = {
palette?: string, // main color theme for the widget
steps: AppGuideStep[],
isOpen: boolean,
closeOnMaskClick?: boolean, // if true, the user can close the widget by clicking on the black mask
onClose: () => void, // callback for clicking on the X (close) button
verticalPosition?: VerticalPosition, // prefered vertical position (won't be used if there's no enough space)
horizontalPosition?: HorizontalPosition, // prefered horizontal position (won't be used if there's no enough space)
activeStepIndex?: number
setActiveStepIndex?: (stepIndex: number) => void
}
interface AppGuideStep {
title?: any,
selector?: string, // css selector like "#some-id" or ".some-class"
content: any,
action?: (args: AppGuideStepActionArgs) => void
}
interface AppGuideStepActionArgs {
stepIndex: number
}
FAQs
Unknown package
We found that product-guide demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.