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.2.1 to 1.2.2

5

files/entry.js

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

let { pathname } = url;
let { pathname, search } = url;
try {

@@ -61,3 +61,3 @@ pathname = decodeURIComponent(pathname);

const location = pathname.at(-1) === '/' ? stripped_pathname : pathname + '/';
let location = pathname.at(-1) === '/' ? stripped_pathname : pathname + '/';

@@ -74,2 +74,3 @@ if (is_static_asset || prerendered.has(pathname)) {

} else if (location && prerendered.has(location)) {
if (search) location += search;
return new Response('', {

@@ -76,0 +77,0 @@ status: 308,

4

package.json
{
"name": "@sveltejs/adapter-cloudflare-workers",
"version": "1.2.1",
"version": "1.2.2",
"description": "SvelteKit adapter that creates a Cloudflare Workers site using a function for dynamic server rendering",

@@ -41,3 +41,3 @@ "repository": {

"scripts": {
"lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",
"lint": "prettier --check .",
"format": "pnpm lint --write",

@@ -44,0 +44,0 @@ "check": "tsc"

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