nextjs-server-modules
Advanced tools
Comparing version 1.5.7 to 1.5.8
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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56746
31
17
+ Addedescape-string-regexp@^4.0.0
+ Addedescape-string-regexp@4.0.0(transitive)