nextjs-server-modules
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -0,3 +1,4 @@ | ||
// @ts-nocheck | ||
// This file is replaced by scripts/generate-routes.js during the build | ||
// process | ||
export default {} |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import routes from "./generated_routes" | ||
@@ -2,0 +3,0 @@ import { Server } from "http" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// Modified version of: https://github.com/vercel/next.js/blob/e8408c70863b6bcd05437ff92a19194788716722/packages/next/server/api-utils.ts | ||
@@ -2,0 +3,0 @@ import { type IncomingMessage, type ServerResponse } from "http" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// https://github.com/vercel/next.js/blob/eb0bd63af48ea9bec85670ad1bcbc455c5f879ec/packages/next/shared/lib/i18n/normalize-locale-path.ts | ||
@@ -2,0 +3,0 @@ export interface PathLocale { |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
/** | ||
@@ -2,0 +3,0 @@ * Removes the trailing slash of a path if there is one. Preserves the root path `/`. |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import { searchParamsToUrlQuery } from "./querystring" | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import type { ParsedUrlQuery } from "querystring" | ||
@@ -2,0 +3,0 @@ import { searchParamsToUrlQuery } from "./querystring" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import * as pathToRegexp from "path-to-regexp" | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import type { IncomingMessage } from "http" | ||
@@ -2,0 +3,0 @@ import type { RouteHas } from "../types/nextjs" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// https://github.com/vercel/next.js/blob/136b75439612bf6f2f0cd3fd0d8226fdaa8c0f95/packages/next/shared/lib/router/utils/querystring.ts | ||
@@ -2,0 +3,0 @@ import { type ParsedUrlQuery } from "querystring" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import { type ParsedUrlQuery } from "querystring" | ||
@@ -2,0 +3,0 @@ import pathMatch from "./path-match" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// https://github.com/vercel/next.js/blob/402f0360cece821b9e0017f6ecb499d129993600/packages/next/shared/lib/router/utils/route-matcher.ts | ||
@@ -2,0 +3,0 @@ import { getRouteRegex } from "./route-regex" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import { getRouteRegex } from "./route-regex" | ||
@@ -2,0 +3,0 @@ import { getRouteMatcherFunc } from "./get-route-matcher-func" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// https://github.com/vercel/next.js/blob/e65c56e7e6c16c3c971984ce7acd161bca6b9c2f/packages/next/shared/lib/router/utils/route-regex.ts | ||
@@ -2,0 +3,0 @@ |
@@ -49,3 +49,4 @@ const glob = require("glob-promise") | ||
const routesFile = prettier.format( | ||
`import serveStatic from "./serve-static" | ||
`// @ts-nocheck | ||
import serveStatic from "./serve-static" | ||
export default { | ||
@@ -52,0 +53,0 @@ ${Object.entries(pagesManifest) |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
import mime from "mime-types" | ||
@@ -2,0 +3,0 @@ import { NextApiHandler } from "./types/nextjs" |
@@ -0,1 +1,2 @@ | ||
// @ts-nocheck | ||
// https://github.com/vercel/next.js/blob/e2c5952ef2fa03d4fb6dc4cb7ff50d26c76e7ea8/packages/next/shared/lib/utils.ts | ||
@@ -2,0 +3,0 @@ import { type ServerResponse, type IncomingMessage } from "http" |
{ | ||
"name": "nextjs-server-modules", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"main": "bin.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:hello-seam/nextjs-server-modules.git", |
62886
1845