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 1.5.7 to 1.5.8

.github/workflows/npm-test.yml

2

ava.config.js
export default {
files: ["tests/**/*.test.ts"],
extensions: ["ts"],
require: ["esbuild-runner/register"],
require: ["esbuild-runner/register"]
}
import type { IncomingMessage } from "http"
import type { RouteHas } from "../types/nextjs"
import { compile, pathToRegexp } from "next/dist/compiled/path-to-regexp"
import escapeStringRegexp from "next/dist/compiled/escape-string-regexp"
import { compile, pathToRegexp } from "path-to-regexp"
import escapeStringRegexp from "escape-string-regexp"
import { parseUrl } from "./parse-url"

@@ -6,0 +6,0 @@

{
"name": "nextjs-server-modules",
"version": "1.5.7",
"version": "1.5.8",
"main": "bin.js",

@@ -8,2 +8,3 @@ "repository": "git@github.com:hello-seam/nextjs-server-modules.git",

"scripts": {
"test": "cd ./tests/assets/nextjs-sample-project && yarn install && node ../../../bin.js build",
"build:old": "rimraf ./dist && swc ./lib -d ./dist/lib && swc ./nsm -d ./dist/nsm"

@@ -39,2 +40,3 @@ },

"debug": "^4.3.3",
"escape-string-regexp": "^4.0.0",
"execa": "^6.0.0",

@@ -41,0 +43,0 @@ "glob": "^7.2.0",

@@ -71,3 +71,3 @@ # NextJS Server Modules

### Why can't next.js bundle into an npm module?
### Why can't Next.js bundle into an npm module?

@@ -78,4 +78,4 @@ You can bundle nextjs into npm modules, but some static analysis isn't available

You'll also have problems running a `next` server within a vercel endpoint,
You'll also have problems running a `next` server within a Vercel endpoint,
because some vercel optimizations get rid of some webpack/next modules as an
optimization.
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