![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@slashid/jump-page
Advanced tools
Readme
WIP jump page implementation for the SDK. SSG + client side rendering.
This package comes with CLI support so you can run it locally:
npm install -g @slashid/jump-page
Usage: sid-jump-cli serve [options]
Start the development server
Options:
-p, --port <number> Port to use for the development server (default: 4321)
-a, --api-url <char> SlashID API URL (default: "https://api.slashid.com")
-s, --sdk-url <char> SlashID SDK URL (default: "https://cdn.slashid.com/sdk.html")
-h, --help display help for command
Astro renders a static site by default, meaning the even when using React components they won't hydrate out of the box - it is required to explicitly tell Astro which components should be hydrated by creating an island.
Another gotcha is that when rendering multiple React components from an Astro component, it is not enough to create an island for the parent component, but for each of the children as well. Example:
// Page.astro
---
import { Parent, Child } from './components';
---
<Parent client:load>
<Child client:load />
</Parent>
Notice how the Child
component also needs the client:load
attribute. Otherwise it would only be rendered when generating the site.
To prevent issues like these, encapsulate the whole client side app in a single parent component and create an island for it.
// app.tsx
import { Parent, Child } from "./components";
export function App() {
return (
<Parent>
<Child client:load />
</Parent>
);
}
// Page.astro
---
import { App } from './app';
---
<App client:load />
FAQs
WIP jump page implementation for the SDK. SSG + client side rendering.
We found that @slashid/jump-page demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.