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

nextjs-server-modules

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextjs-server-modules - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

nsm/package.json

12

nsm/scripts/copy-nextjs-config.js

@@ -11,3 +11,13 @@ const path = require("path")

if (existsSync(nextConfigPath)) {
nextConfig = require(nextConfigPath)
try {
nextConfig = require(nextConfigPath)
} catch (errorA) {
try {
nextConfig = await import(nextConfigPath)
} catch (errorB) {
console.error(errorA)
console.error(errorB)
throw new Error(`Failed to load ${nextConfigPath}`)
}
}

@@ -14,0 +24,0 @@ if (typeof nextConfig === "function") {

2

package.json
{
"name": "nextjs-server-modules",
"version": "2.2.0",
"version": "2.3.0",
"main": "bin.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:hello-seam/nextjs-server-modules.git",

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