Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sveltejs/adapter-cloudflare

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/adapter-cloudflare - npm Package Compare versions

Comparing version 1.0.0-next.27 to 1.0.0-next.28

10

index.js

@@ -7,3 +7,10 @@ import { writeFileSync } from 'fs';

/** @type {import('.').default} */
export default function (options = {}) {
export default function () {
// TODO remove for 1.0
if (arguments.length > 0) {
throw new Error(
'esbuild options can no longer be passed to adapter-cloudflare — see https://github.com/sveltejs/kit/pull/4639'
);
}
return {

@@ -44,3 +51,2 @@ name: '@sveltejs/adapter-cloudflare',

target: 'es2020',
...options,
entryPoints: [`${tmp}/_worker.js`],

@@ -47,0 +53,0 @@ outfile: `${dest}/_worker.js`,

2

package.json
{
"name": "@sveltejs/adapter-cloudflare",
"version": "1.0.0-next.27",
"version": "1.0.0-next.28",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc