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

@netlify/plugin-nextjs

Package Overview
Dependencies
Maintainers
19
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.0.0-beta.7 to 5.0.0-beta.8

dist/build/templates/handler-monorepo.tmpl.js

2

dist/build/cache.js

@@ -11,3 +11,3 @@

} from "../esm-chunks/chunk-XA2CZH5Y.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -14,0 +14,0 @@ restoreBuildCache,

@@ -10,5 +10,5 @@

copyPrerenderedContent
} from "../../esm-chunks/chunk-UDWVXRI2.js";
import "../../esm-chunks/chunk-MFN4GH7U.js";
import "../../esm-chunks/chunk-WELZ7LFO.js";
} from "../../esm-chunks/chunk-XFDUV7DP.js";
import "../../esm-chunks/chunk-VZNKO4OO.js";
import "../../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -15,0 +15,0 @@ copyFetchContent,

@@ -11,5 +11,5 @@

writeTagsManifest
} from "../../esm-chunks/chunk-COJ526HO.js";
import "../../esm-chunks/chunk-MFN4GH7U.js";
import "../../esm-chunks/chunk-WELZ7LFO.js";
} from "../../esm-chunks/chunk-YMFYCTRI.js";
import "../../esm-chunks/chunk-VZNKO4OO.js";
import "../../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -16,0 +16,0 @@ copyNextDependencies,

@@ -12,6 +12,6 @@

unpublishStaticDir
} from "../../esm-chunks/chunk-AMJYZZKR.js";
import "../../esm-chunks/chunk-MFN4GH7U.js";
} from "../../esm-chunks/chunk-ZWFKLYLH.js";
import "../../esm-chunks/chunk-VZNKO4OO.js";
import "../../esm-chunks/chunk-TYCYFZ22.js";
import "../../esm-chunks/chunk-WELZ7LFO.js";
import "../../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -18,0 +18,0 @@ copyStaticAssets,

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

createEdgeHandlers
} from "../../esm-chunks/chunk-PCJY2SS7.js";
import "../../esm-chunks/chunk-MFN4GH7U.js";
} from "../../esm-chunks/chunk-ETPYUOBQ.js";
import "../../esm-chunks/chunk-IZ2AVCVF.js";
import "../../esm-chunks/chunk-VZNKO4OO.js";
import "../../esm-chunks/chunk-TYCYFZ22.js";
import "../../esm-chunks/chunk-WELZ7LFO.js";
import "../../esm-chunks/chunk-5JVNISGM.js";
export {
createEdgeHandlers
};

@@ -9,10 +9,10 @@

createServerHandler
} from "../../esm-chunks/chunk-KDRFBPAR.js";
import "../../esm-chunks/chunk-COJ526HO.js";
import "../../esm-chunks/chunk-MFN4GH7U.js";
} from "../../esm-chunks/chunk-WSPFUAK4.js";
import "../../esm-chunks/chunk-YMFYCTRI.js";
import "../../esm-chunks/chunk-IZ2AVCVF.js";
import "../../esm-chunks/chunk-VZNKO4OO.js";
import "../../esm-chunks/chunk-TYCYFZ22.js";
import "../../esm-chunks/chunk-WELZ7LFO.js";
import "../../esm-chunks/chunk-5JVNISGM.js";
export {
createServerHandler
};

@@ -10,5 +10,5 @@

} from "../esm-chunks/chunk-EPSI5TTB.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {
setImageConfig
};

@@ -13,3 +13,3 @@

import "../esm-chunks/chunk-TYCYFZ22.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -16,0 +16,0 @@ EDGE_HANDLER_NAME,

@@ -8,5 +8,9 @@

import {
createServerHandler
} from "./esm-chunks/chunk-WSPFUAK4.js";
import {
copyFetchContent,
copyPrerenderedContent
} from "./esm-chunks/chunk-UDWVXRI2.js";
} from "./esm-chunks/chunk-XFDUV7DP.js";
import "./esm-chunks/chunk-YMFYCTRI.js";
import {

@@ -17,11 +21,11 @@ copyStaticAssets,

unpublishStaticDir
} from "./esm-chunks/chunk-AMJYZZKR.js";
} from "./esm-chunks/chunk-ZWFKLYLH.js";
import {
createEdgeHandlers
} from "./esm-chunks/chunk-PCJY2SS7.js";
} from "./esm-chunks/chunk-ETPYUOBQ.js";
import {
createServerHandler
} from "./esm-chunks/chunk-KDRFBPAR.js";
import "./esm-chunks/chunk-COJ526HO.js";
import "./esm-chunks/chunk-MFN4GH7U.js";
PluginContext
} from "./esm-chunks/chunk-IZ2AVCVF.js";
import "./esm-chunks/chunk-VZNKO4OO.js";
import "./esm-chunks/chunk-TYCYFZ22.js";
import {

@@ -34,7 +38,3 @@ restoreBuildCache,

} from "./esm-chunks/chunk-EPSI5TTB.js";
import {
PluginContext
} from "./esm-chunks/chunk-IZ2AVCVF.js";
import "./esm-chunks/chunk-TYCYFZ22.js";
import "./esm-chunks/chunk-WELZ7LFO.js";
import "./esm-chunks/chunk-5JVNISGM.js";

@@ -41,0 +41,0 @@ // src/index.ts

@@ -13,3 +13,3 @@

import "../esm-chunks/chunk-K233JI4O.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -16,0 +16,0 @@ getRunConfig,

@@ -11,3 +11,3 @@

} from "../esm-chunks/chunk-K233JI4O.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -14,0 +14,0 @@ MODULE_DIR,

@@ -13,5 +13,5 @@

setVaryHeaders
} from "../esm-chunks/chunk-W5TLWQMF.js";
} from "../esm-chunks/chunk-N23TUUXK.js";
import "../esm-chunks/chunk-TYCYFZ22.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {

@@ -18,0 +18,0 @@ adjustDateHeader,

@@ -9,6 +9,6 @@

nextResponseProxy
} from "../esm-chunks/chunk-NE4HYI2D.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
} from "../esm-chunks/chunk-WT2HN3M6.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {
nextResponseProxy
};

@@ -9,4 +9,4 @@

import_internal
} from "../esm-chunks/chunk-X7XIMV6B.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
} from "../esm-chunks/chunk-HYBEXB2Z.js";
import "../esm-chunks/chunk-5JVNISGM.js";
var export_LogLevel = import_internal.LogLevel;

@@ -13,0 +13,0 @@ var export_logger = import_internal.systemLogger;

@@ -10,5 +10,5 @@

} from "../esm-chunks/chunk-TYCYFZ22.js";
import "../esm-chunks/chunk-WELZ7LFO.js";
import "../esm-chunks/chunk-5JVNISGM.js";
export {
encodeBlobKey
};

@@ -6,2 +6,7 @@ // NOTE: This is a fragment of a JavaScript program that will be inlined with

import process from 'node:process'
import * as BufferCompat from 'node:buffer'
import * as EventsCompat from 'node:events'
import * as AsyncHooksCompat from 'node:async_hooks'
import * as AssertCompat from 'node:assert'
import * as UtilCompat from 'node:util'

@@ -12,2 +17,24 @@ globalThis.process = process

// next.js generates require("node:buffer") statemenents:
// https://github.com/vercel/next.js/blob/89e68377baf3ea6d2bf09e0ae694f57ec5c8ea93/packages/next/src/build/webpack-config.ts#L1677-L1684
// we need to shim them, because require doesn't work on Deno
// we've also added a few more shims that Next.js also shims in their own sandbox:
// https://github.com/vercel/next.js/blob/55b472b5fc8da9a97ffca0070befa80ae431217f/packages/next/src/server/web/sandbox/context.ts#L177
globalThis.require = function nextRuntimeMinimalRequireShim(name) {
switch (name.replace(/^node:/, '')) {
case 'buffer':
return BufferCompat
case 'events':
return EventsCompat
case 'async_hooks':
return AsyncHooksCompat
case 'assert':
return AssertCompat
case 'util':
return UtilCompat
default:
throw new ReferenceError(`require is not defined`)
}
}
var _ENTRIES = {}
{
"name": "@netlify/plugin-nextjs",
"version": "5.0.0-beta.7",
"version": "5.0.0-beta.8",
"description": "Run Next.js seamlessly on Netlify",

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

Sorry, the diff of this file is not supported yet

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