
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@jill64/adapter-cloudflare
Advanced tools
🔌 SvelteKit Adapter for Cloudflare Pages with nodejs_compat
🔌 SvelteKit Adapter for Cloudflare Pages with nodejs_compat
This adapter is based on Node.js compatibility and allows some node modules to be used with Cloudflare Pages.
npm i -D @jill64/adapter-cloudflare
// svelte.config.js
import adapter from '@jill64/adapter-cloudflare'
export default {
kit: {
adapter: adapter({
/* @sveltejs/adapter-cloudflare options */
// routes: {
// // ...
// }
})
}
}
If you need a node module that is not officially supported, add a polyfill with the following options based on esbuild-plugin-polyfill-node.
// svelte.config.js
import adapter from '@jill64/adapter-cloudflare'
export default {
kit: {
adapter: adapter({
// /* esbuild-plugin-polyfill-node options */
// globals: {
// // ...
// },
// polyfills: {
// // ...
// }
})
}
}
Enable Node.js compatibility in Cloudflare Pages.
nodejs_compat
to the Compatibility flags.Deploy your project.
FAQs
🔌 SvelteKit Adapter for Cloudflare Pages with nodejs_compat
The npm package @jill64/adapter-cloudflare receives a total of 0 weekly downloads. As such, @jill64/adapter-cloudflare popularity was classified as not popular.
We found that @jill64/adapter-cloudflare 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.