Socket
Socket
Sign inDemoInstall

@netlify/plugin-nextjs

Package Overview
Dependencies
Maintainers
23
Versions
257
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.3.1 to 5.4.0-canary-perf-debug.0

dist/esm-chunks/package-NQYUR3EH.js

13

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

@@ -0,1 +1,2 @@

import { enableModuleImportTracing } from '{{cwd}}/.netlify/dist/run/handlers/import-time-debug.cjs'
import {

@@ -13,8 +14,12 @@ createRequestContext,

if (process.env.NETLIFY_OTLP_TRACE_EXPORTER_URL || process.env.NETLIFY_NEXT_PERF_DEBUG) {
tracing.start()
}
if (process.env.NETLIFY_NEXT_PERF_DEBUG) {
enableModuleImportTracing()
}
let cachedHandler
export default async function (req, context) {
if (process.env.NETLIFY_OTLP_TRACE_EXPORTER_URL) {
tracing.start()
}
const requestContext = createRequestContext(req.headers.get('x-next-debug-logging'))

@@ -21,0 +26,0 @@ const tracer = getTracer()

@@ -0,1 +1,2 @@

import { enableModuleImportTracing } from './.netlify/dist/run/handlers/import-time-debug.cjs'
import {

@@ -12,6 +13,11 @@ createRequestContext,

if (process.env.NETLIFY_OTLP_TRACE_EXPORTER_URL || process.env.NETLIFY_NEXT_PERF_DEBUG) {
tracing.start()
}
if (process.env.NETLIFY_NEXT_PERF_DEBUG) {
enableModuleImportTracing()
}
export default async function handler(req, context) {
if (process.env.NETLIFY_OTLP_TRACE_EXPORTER_URL) {
tracing.start()
}
const requestContext = createRequestContext(req.headers.get('x-next-debug-logging'))

@@ -18,0 +24,0 @@ const tracer = getTracer()

{
"name": "@netlify/plugin-nextjs",
"version": "5.3.1",
"version": "5.4.0-canary-perf-debug.0",
"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 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