
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
vite-plugin-ssg-utils
Advanced tools
Utils for vite-ssg and other Vite SSG or SSR tools.
ResizeObserver
for SSR and SSG buildsyarn add -D vite-plugin-ssg-utils
The plugin will only be applied when the build
command is used and config.build.ssr
is truthy.
This is the case when using tools like vite-ssg.
import { defineConfig } from 'vite'
import SSGUtils from 'vite-plugin-ssg-utils'
export default defineConfig({
plugins: [
// The options are not required.
// Default values are used in the following example.
SSGUtils({
resizeObserver: true,
}),
// ...other plugins
],
// ...remaining config
})
Optionally, the plugin can be configured with the following options.
resizeObserver
Value | Description |
---|---|
true (default) | Mock ResizeObserver using a dummy class |
false | Do not mock ResizeObserver |
new () => ResizeObserver | Mock ResizeObserver with a custom class |
FAQs
Utils for vite-ssg and other Vite SSG or SSR tools.
We found that vite-plugin-ssg-utils 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.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.