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

@sveltejs/adapter-netlify

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/adapter-netlify - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

11

index.js

@@ -1,4 +0,4 @@

import { appendFileSync, existsSync, readdirSync, readFileSync, writeFileSync } from 'fs';
import { dirname, join, resolve, posix } from 'path';
import { fileURLToPath } from 'url';
import { appendFileSync, existsSync, readdirSync, readFileSync, writeFileSync } from 'node:fs';
import { dirname, join, resolve, posix } from 'node:path';
import { fileURLToPath } from 'node:url';
import esbuild from 'esbuild';

@@ -234,4 +234,5 @@ import toml from '@iarna/toml';

redirects.push(`${pattern} /.netlify/functions/${name} 200`);
redirects.push(`${pattern}/__data.json /.netlify/functions/${name} 200`);
const redirect = `/.netlify/functions/${name} 200`;
redirects.push(`${pattern} ${redirect}`);
redirects.push(`${pattern === '/' ? '' : pattern}/__data.json ${redirect}`);
}

@@ -238,0 +239,0 @@ } else {

{
"name": "@sveltejs/adapter-netlify",
"version": "2.0.3",
"version": "2.0.4",
"repository": {

@@ -41,3 +41,3 @@ "type": "git",

"uvu": "^0.5.6",
"@sveltejs/kit": "^1.5.3"
"@sveltejs/kit": "^1.5.6"
},

@@ -44,0 +44,0 @@ "peerDependencies": {

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