@vercel/next 3.3.16 → 3.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -42975,7 +42975,9 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
42975
42975
  return isNextDataServerResolving
42976
42976
  ? [
42977
42977
  {
42978
- src: path_1.default.posix.join('^/', entryDirectory, trailingSlash ? '/' : '', '$'),
42978
+ src: path_1.default.posix.join('^/', entryDirectory !== '.'
42979
+ ? `${entryDirectory}${trailingSlash ? '/$' : '$'}`
42980
+ : '$'),
42979
42981
  has: [
42980
42982
  {
42981
42983
  type: 'header',
@@ -613,7 +613,9 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
613
613
  return isNextDataServerResolving
614
614
  ? [
615
615
  {
616
- src: path_1.default.posix.join('^/', entryDirectory, trailingSlash ? '/' : '', '$'),
616
+ src: path_1.default.posix.join('^/', entryDirectory !== '.'
617
+ ? `${entryDirectory}${trailingSlash ? '/$' : '$'}`
618
+ : '$'),
617
619
  has: [
618
620
  {
619
621
  type: 'header',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "3.3.16",
3
+ "version": "3.3.17",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -71,5 +71,5 @@
71
71
  "typescript": "4.5.2",
72
72
  "webpack-sources": "3.2.3"
73
73
  },
74
- "gitHead": "79ef5c37246c75973c0af9f5fd04afa51f0859ba"
74
+ "gitHead": "e174a06673de32a4d0db58e9f6343db5d476e7d0"
75
75
  }