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

@netlify/plugin-nextjs

Package Overview
Dependencies
Maintainers
21
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/plugin-nextjs - npm Package Compare versions

Comparing version 5.7.1 to 5.7.2

dist/esm-chunks/chunk-APO262HE.js

3

dist/build/content/prerendered.js

@@ -19,3 +19,3 @@

require_semver
} from "../../esm-chunks/chunk-EFGWM7RS.js";
} from "../../esm-chunks/chunk-APO262HE.js";
import {

@@ -214,2 +214,3 @@ __toESM

switch (true) {
// Parallel route default layout has no prerendered page
case (meta.dataRoute?.endsWith("/default.rsc") && !existsSync(join(ctx.publishDir, "server/app", `${key}.html`))):

@@ -216,0 +217,0 @@ return;

@@ -19,3 +19,3 @@

require_semver
} from "../../esm-chunks/chunk-EFGWM7RS.js";
} from "../../esm-chunks/chunk-APO262HE.js";
import {

@@ -22,0 +22,0 @@ __toESM

@@ -9,3 +9,3 @@

require_semver
} from "../esm-chunks/chunk-EFGWM7RS.js";
} from "../esm-chunks/chunk-APO262HE.js";
import {

@@ -12,0 +12,0 @@ __toESM

@@ -12,3 +12,3 @@

require_semver
} from "../esm-chunks/chunk-EFGWM7RS.js";
} from "../esm-chunks/chunk-APO262HE.js";
import {

@@ -15,0 +15,0 @@ __toESM

@@ -149,3 +149,3 @@

// if we are serving already stale response, instruct edge to not attempt to cache that response
headers.get("x-nextjs-cache") === "STALE" ? "public, max-age=0, must-revalidate" : `s-maxage=${requestContext.routeHandlerRevalidate === false ? 31536e3 : requestContext.routeHandlerRevalidate}, stale-while-revalidate=31536000, durable`
headers.get("x-nextjs-cache") === "STALE" ? "public, max-age=0, must-revalidate, durable" : `s-maxage=${requestContext.routeHandlerRevalidate === false ? 31536e3 : requestContext.routeHandlerRevalidate}, stale-while-revalidate=31536000, durable`
);

@@ -163,3 +163,3 @@ headers.set("netlify-cdn-cache-control", cdnCacheControl);

// if we are serving already stale response, instruct edge to not attempt to cache that response
headers.get("x-nextjs-cache") === "STALE" ? "public, max-age=0, must-revalidate" : [
headers.get("x-nextjs-cache") === "STALE" ? "public, max-age=0, must-revalidate, durable" : [
...getHeaderValueArray(cacheControl).map(

@@ -166,0 +166,0 @@ (value) => value === "stale-while-revalidate" ? "stale-while-revalidate=31536000" : value

{
"name": "@netlify/plugin-nextjs",
"version": "5.7.1",
"version": "5.7.2",
"description": "Run Next.js seamlessly on Netlify",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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