
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
gatsby-plugin-exact-client-paths
Advanced tools
Gatsby plugin for client rendering exact page routes.
Gatsby plugin for client rendering exact page routes.
yarn add gatsby-plugin-exact-client-paths
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-exact-client-paths',
options: {
clientPaths: ['/preview', '/clientOnly'],
},
},
],
}
gatsby-plugin-create-client-paths?This plugin attempts to address the inability to client-side render singular
routes in Gatsby, most particularly with top level routes such as /preview.
With gatsby-plugin-create-client-paths, you must create at least 1 route that
is still processed via Gatsby's SSR pipeline that handles the client-side
routing for nested paths. This can be problematic when top level client-side
routes like https://hostname.com/preview are needed, and we don't want to
imperatively define a <Router> component directly in our homepage index
component.
This plugin establishes a <Router> behind the scenes of your index page that
will normally display your SSR'd content or a client rendered page if the
current path matches a path specified in the clientPaths plugin options.
useStaticQuery
hook will crash.yarn test
This project is MIT licensed.
FAQs
Gatsby plugin for client rendering exact page routes.
We found that gatsby-plugin-exact-client-paths 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.