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

@sveltejs/adapter-cloudflare-workers

Package Overview
Dependencies
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/adapter-cloudflare-workers - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

3

ambient.d.ts

@@ -1,2 +0,2 @@

import { CacheStorage } from '@cloudflare/workers-types';
import { CacheStorage, IncomingRequestCfProperties } from '@cloudflare/workers-types';

@@ -10,4 +10,5 @@ declare global {

caches: CacheStorage;
cf?: IncomingRequestCfProperties;
}
}
}

@@ -74,3 +74,5 @@ import { Server } from 'SERVER';

// @ts-expect-error lib.dom is interfering with workers-types
caches
caches,
// @ts-expect-error req is actually a Cloudflare request not a standard request
cf: req.cf
},

@@ -77,0 +79,0 @@ getClientAddress() {

{
"name": "@sveltejs/adapter-cloudflare-workers",
"version": "1.1.4",
"version": "1.2.0",
"description": "SvelteKit adapter that creates a Cloudflare Workers site using a function for dynamic server rendering",

@@ -5,0 +5,0 @@ "repository": {

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