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.0.0-next.13 to 1.0.0-next.14

6

CHANGELOG.md
# @sveltejs/adapter-cloudflare-workers
## 1.0.0-next.14
### Patch Changes
- 7faf52f: Update and consolidate checks for binary body types
## 1.0.0-next.13

@@ -4,0 +10,0 @@

3

files/entry.js
// TODO hardcoding the relative location makes this brittle
import { init, render } from '../output/server/app.js'; // eslint-disable-line import/no-unresolved
import { getAssetFromKV, NotFoundError } from '@cloudflare/kv-asset-handler'; // eslint-disable-line import/no-unresolved
import { isContentTypeBinary } from '@sveltejs/kit/adapter-utils'; // eslint-disable-line import/no-unresolved

@@ -60,3 +61,3 @@ init();

const type = request.headers.get('content-type') || '';
if (type.includes('application/octet-stream')) {
if (isContentTypeBinary(type)) {
return new Uint8Array(await request.arrayBuffer());

@@ -63,0 +64,0 @@ }

{
"name": "@sveltejs/adapter-cloudflare-workers",
"version": "1.0.0-next.13",
"version": "1.0.0-next.14",
"type": "module",

@@ -19,3 +19,3 @@ "exports": {

"devDependencies": {
"@sveltejs/kit": "1.0.0-next.120"
"@sveltejs/kit": "1.0.0-next.125"
},

@@ -22,0 +22,0 @@ "scripts": {

@@ -28,1 +28,5 @@ # adapter-cloudflare-workers

More info on configuring a cloudflare worker site can be found [here](https://developers.cloudflare.com/workers/platform/sites/start-from-existing)
## Changelog
[The Changelog for this package is available on GitHub](https://github.com/sveltejs/kit/blob/master/packages/adapter-cloudflare-workers/CHANGELOG.md).
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